Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Book Excerpt: Beyond the C++ Standard Library: An Introduction to Boost

The Boost libraries are touted by some as the next breakthrough in C/C++ programming. This book takes you through each of 12 of the most useful Boost libraries, explaining how each can improve your code. Chapter 9 focuses on the Bind library.


advertisement
oost 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.

Chapter 9 is on the Bind Library. Although the Standard Library does offer some productive tools, such as bind1st and bind2nd, this is rarely enough. Even when the functionality suffices, that often implies suffering from awkward syntax that obfuscates the code for programmers who are not familiar with those tools. What you need, then, is a solution that both adds functionality and normalizes the syntax for creating function objects on-the-fly, and this is what Boost.Bind does.



Download Chapter 9, "The Bind Library."

Beyond the C++ Standard Library: An Introduction to Boost By Björn Karlsson. Published by Addison Wesley. ISBN: 0321133544; Published: Aug 31, 2005; Copyright 2006; Dimensions 7-3/8x9-1/4 ; Pages: 432; Edition: 1st.



   
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap