View RSS Feed

Recent Blogs Posts

  1. Boost: Function Object Programming

    by , 05-24-2009 at 04:34 PM
    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 ...
    Tags: boost, c++ Add / Edit Tags
    Categories
    Uncategorized
  2. Boost Casts Rock!

    by , 05-13-2009 at 04:23 PM
    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 ...
    Tags: boost, c++ Add / Edit Tags
    Categories
    Uncategorized