The final section of Beyond the C++ Standard Library: An Introduction to Boost is about enhancing function support. I would love to tell you wonderful stories about how Bind, Lambda, Function, and Signals can revolutionize your programming, but the reality is that what I really learned was the limitations of my knowledge of C++. The C++ Standard Template Library, part of the Standard Library, is loaded with tons of useful little algorithms, containers, and amazing functionality that ...
The Boost library adds four "casts" to the C++ language: polymorphic_cast, polymorphic_downcast, numeric_cast, and lexical_cast. The first two, polymorphic_cast and polymorphic_downcast allow you to be a little bit safer or clearer than using dynamic_cast and static_cast. These are interesting to me, but nothing compared to the awesomeness that is numeric_cast and lexical_cast. numeric_cast allows you to deal with overflows when converting between integral types. It handles both ...