Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Beyond the C++ Standard Library: An Introduction to Boost
 
See larger image
 

Beyond the C++ Standard Library: An Introduction to Boost [Paperback]

Björn Karlsson
4.0 out of 5 stars  See all reviews (1 customer review)
List Price: CDN$ 67.99
Price: CDN$ 53.44 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 14.55 (21%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.ca. Gift-wrap available.
Only 1 left in stock--order soon (more on the way).
Want it delivered Monday, May 28? Choose One-Day Shipping at checkout.

Product Details


Product Description

Book Description

Introducing the Boost libraries: the next breakthrough in C++ programming

Boost takes you far beyond the C++ Standard Library, making C++ programming more elegant, robust, and productive. Now, for the first time, a leading Boost expert systematically introduces the broad set of Boost libraries and teaches best practices for their use.

Writing for intermediate-to-advanced C++ developers, Björn Karlsson briefly outlines all 58 Boost libraries, and then presents comprehensive coverage of 12 libraries you're likely to find especially useful. Karlsson's topics range from smart pointers and conversions to containers and data structures, explaining exactly how using each library can improve your code. He offers detailed coverage of higher-order function objects that enable you to write code that is more concise, expressive, and readable. He even takes you "behind the scenes" with Boost, revealing tools and techniques for creating your own generic libraries.

Coverage includes

  • Smart pointers that provide automatic lifetime management of objects and simplify resource sharing
  • Consistent, best-practice solutions for performing type conversions and lexical conversions
  • Utility classes that make programming simpler and clearer
  • Flexible container libraries that solve common problems not covered by the C++ Standard Library
  • Powerful support for regular expressions with Boost.Regex
  • Function objects defined at the call site with Boost.Bind and Boost.Lambda
  • More flexible callbacks with Boost.Function
  • Managed signals and slots (a.k.a. the Observer pattern) with Boost.Signals

The Boost libraries are proving so useful that many of them are planned for inclusion in the next version of the C++ Standard Library. Get your head start now, with Beyond the C++ Standard Library.

From the Inside Flap

PrefacePreface

Dear Reader,

Welcome to Beyond the C++ Standard Library: An Introduction to Boost.

If you are interested in generic programming, library design, and the C++ Standard Library, this book is for you. Because the intended audience for the book is intermediate to advanced C++ programmers, there is little coverage of basic C++ concepts. As the title suggests, the focus of this book is on the Boost libraries—general usage, best practices, implementation techniques, and design rationale.

Almost from the day I discovered Boost, the people behind it, and the extraordinary libraries in it, I've wanted to write this book. It is amazing that a language as mature as C++ still offers room for exploration into higher-level abstractions as well as technical detail, all without requiring changes to the language. Of course, this is what sets C++ apart from many other programming languages: It is specifically and intentionally designed for extension, and the language's facilities for generic constructs are extremely powerful. This exploration is at the core of the Boost libraries and the Boost community itself. Boost is about making programming in C++ more elegant, more robust, and more productive. As discoveries are made and best practices are shaped, a great challenge faces the C++ community; to share this knowledge with others. In isolation, there is limited value to these remarkable findings, but when exposed to a larger audience, a whole industry will evolve.

This book shows how to use a selection of the wonderfully useful Boost libraries, teaches best practices for their use, and even goes behind the scenes to see how they actually work.From a standardization point of view, there are three primary areas where the C++ Standard Library is likely to change:

  • Fixing broken libraries

  • Augmenting missing features to existing libraries

  • Adding libraries that provide functionality that is missing in the Standard Library

The Boost libraries address all of these areas in one way or another. Of the 12 libraries covered in this book, six have already been accepted for inclusion in the upcoming Library Technical Report, which means that they will most likely be part of the next version of the Standard Library. Thus, learning about these libraries has excellent long-term value. I hope that you will find this book to be a valuable tool for using, understanding, and extending the Boost libraries. From that vantage, you'll want to incorporate those libraries and the knowledge enshrined within them into your own designs and implementations. That's what I call reuse.

Thank you for reading.

Björn Karlsson


© Copyright Pearson Education. All rights reserved.


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

1 Review
5 star:    (0)
4 star:
 (1)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (1 customer review)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

1 of 1 people found the following review helpful
4.0 out of 5 stars The must read to get started with boost, Nov 7 2008
By 
Hubert Figuiere (Hull, Quebec, Canada) - See all my reviews
(REAL NAME)   
This review is from: Beyond the C++ Standard Library: An Introduction to Boost (Paperback)
This book is aimed at C++ programmers that are already limited by what the standard C++ library provides. It gives a very detailled introduction to the Boost library explaining the most general purpose modules.

Smart pointers, utilities, conversion, regex, containers, functional programming and binders are amongst the most used modules and the one that will save the programmers times. Several of them already made their in the the next revision of the C++ standard. The author go through them and explain in detail how to use them, with examples.

Some regrets though: the book does not talk about the Boost.Testing and Boost.Threads.

Any serious C++ developer should have read this book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.4 out of 5 stars (18 customer reviews)

26 of 26 people found the following review helpful
5.0 out of 5 stars Essential for intermediate programmers using Boost, Sep 14 2005
By G. Powell - Published on Amazon.com
This review is from: Beyond the C++ Standard Library: An Introduction to Boost (Paperback)
This book is not just a rehash of the online documentation of the boost library. This book is way more than that, it's a why you should use these libraries and how to book. Not a how to write the libraries, or program in C++. As such this book is geared toward the intermediate to advanced C++ programmer who has heard about www.boost.org but isn't using all of the libraries yet.

This is not an unbiased review, as I reviewed the chapter on Lambda as I'm one of the original authors of the library. However I'm not on the payroll so you can trust me when I say, buy the book, you'll be glad you did.

Why should you care? Well boost is a proving ground for many of the upcoming C++ 0X standard libaries. Before the libraries get accepted by the standards committee, often there is reference implementation done for boost. And those that don't make the standard cut, well, often its not poor quality code, but rather a narrow focus library. Boost may have just the thing you need, so check it out.

And as every good programmer knows, the fastest way to use new code is to get stuff that has documentation (this book) that is tested, and is free. (sorry the book isn't free, but the code is!)

So save yourself several days of head scratching and buy the book.

23 of 25 people found the following review helpful
4.0 out of 5 stars If you're not using Boost, you're not getting the most out of C++., Oct 14 2005
By Paul M. Dubuc - Published on Amazon.com
This review is from: Beyond the C++ Standard Library: An Introduction to Boost (Paperback)
All professional C++ programmers should become familiar with this freely available source of high quality, peer reviewed C++ code. Boost is a collection of libraries that are designed to complement the C++ Standard Library and provide very useful solutions to difficult program design tasks. This book is a very good introduction to Boost. There is an introductory chapter that gives a brief description of each Boost library (almost 60 of them as of version 1.32). Seven of these libraries have been accepted for the upcoming C++ Standard Library Technical Report which means that they will probably become part of the next version of the C++ standard. The remainder of the book gives a more in-depth tutorial introduction of a good sampling of 12 Boost libraries. This material complements the documentation on the Boost.org web site. It provides clear examples that illustrate the use and usefulness of each library.

My only complaint is that they didn't make the book longer and include more libraries in this detailed treatment. Some of the libraries are very extensive and have other books devoted specifically to them. (See The Boost Graph Library, by Siek, Lee and Sumsdaine; and C++ Template Metaprogramming, by Abrahams and Gurtovoy which covers Boost MPL.) But I think the book would be more valuable if some of the other libraries like Multi-index, Format and Serialization had been explained in more detail. Articles on these have appeared in recent issues of the C/C++ User's Journal. Still, this is a great book to have. I highly recommend it and expect that expanded editions will come out in the future. Already Boost 1.33 has been released with with 5 new libraries and significant updates to existing libraries. C++ programming has never been better.

16 of 19 people found the following review helpful
3.0 out of 5 stars OK, but start with the boost site itself, Feb 13 2007
By J Jacob Jingleheimer Schmidt - Published on Amazon.com
This review is from: Beyond the C++ Standard Library: An Introduction to Boost (Paperback)
The book is well-written, clear, and honest to the title -- it truly is an intro. In fact, it's honest to the title a bit too much: I found it shallow. It is very much like most of the other recent C++ books (although it's one of the better-written ones), that is it has a distinct publish-or-perish taste to it, like a paper produced by another graduate student who doesn't really want to write it but has to. Not enough depth. It is, however, free from many sins of this PhD-indited flood: it's NOT pompous, it IS simple and clear, it has no pseudo-scientific pretense in it. I mean it's almost good; just not enough indepth.

Someone asked me recently, a bit confrontationally, well, you don't like anything, what's a good book then? No problem: books you tended to get a decade and more back; mostly written by practising professionals rather than CS PhD students; written by people motivated by either love of their work, or vanity, or greed -- all valid motivators, frequently resulting in good products. Unlike, I mean to say, the publish-or-perish imperative of the typical graduate student/newly minted PhD, who produce inflated and unnecessary, poorly written drivel about undeserving minutia. Abrash, Meyers, Stevens wrote good books. If you want STL, fine: Mark Nelson wrote a wonderful book on STL. It is unfortunately out of print (and behind the times a bit), but it's done right -- it really works on things, tweaks them, pokes them with a finger, looks inside, considers alternatives -- you end up really understanding the subject matter. Karlsson's book is well written, but along other books of the same kind (Josuttis, etc.) is limited to a verbal exposition of header files' contents with a teensy-weensy bit of sample code -- waaaaaay too little to be of much practical use. Whoever wants to write an STLish sorta book should check out Mark Nelson's book on STL and use it as a guide.

To summarise: The book is not bad by any means, but is superficial. Bjorn Karlsson writes very clearly, which is good and is not to be taken for granted -- and I hope Bjorn Karlsson will rewrite this book to make it more indepth, augment it with things like, you know: not only WHAT can be done, but HOW it is done (dig into the library itself: for example, how can you not want to stick your nose into the lambda library? It looks magical, I want to know how it's done... It is completely inadequate simply to mention what it can do, add a two-liner example, and be off to something else). OK, so do I recommend this book? Er... uhm... it's OK. A Quick Intro Guide, if you know what I mean. From a fifty-dollar book you'll want more.

So, I say, first go to boost and read what they've got there; I don't feel this book gets you more than the site itself -- jeez, what am I saying, of course it is less, it covers only a small part of the overall deal, but it's better written and more consistent. So, if you got fifty bucks to spare then get the book as well. I mean, it's an OK book. Were it sold for fifteen bucks, I'd give it five stars.

----------------------

PS. Bibliography is deficient: there's a couple of standard formats any style guide will describe; neither is used in here: what we have here is a kind of home-brewn summaries w/o year, publisher, etc., just the title and authors. Also, it seems that only books from Addison-Wesley made it into the bibliography (hmmm....)
 Go to Amazon.com to see all 18 reviews  3.4 out of 5 stars 
 
 
Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges