Chapter 71. Boost.Swap Chapter 71. Boost.Swap If you use many Boost libraries and also use std::swap() to swap data, consider using boost::swap() as an alternative. boost::sw...
Chapter 70. Boost.Assign Exercise Chapter 70. Boost.Assign The library Boost.Assign provides helper functions to initialize containers or add elements to containers. These fu...
Chapter 61. Boost.NumericConversion Chapter 61. Boost.NumericConversion The library Boost.NumericConversion can be used to convert numbers of one numeric type to a different n...
Chapter 52. Boost.Foreach Chapter 52. Boost.Foreach Boost.Foreach provides a macro that simulates the range-based for loop from C++11. You can use the macro BOOST_FOREACH , d...
Chapter 50. Boost.Fusion Exercise Chapter 50. Boost.Fusion The standard library provides numerous containers that have one thing in common: They are homogeneous. That is, cont...
Chapter 43. Boost.Lambda Chapter 43. Boost.Lambda Before C++11, you needed to use a library like Boost.Lambda to take advantage of lambda functions. Since C++11, this library ...
Chapter 42. Boost.Ref Chapter 42. Boost.Ref The library Boost.Ref provides two functions, boost::ref() and boost::cref() , in the header file boost/ref.hpp . They are useful ...
Chapter 40. Boost.Function Chapter 40. Boost.Function Boost.Function provides a class called boost::function to encapsulate function pointers. It is defined in boost/function...