More C++ Idioms/Small Object Optimization

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

As seen in boost::function to implement type erasure but a magnitude faster than the heap allocated holder object