More C++ Idioms/Small Object Optimization

From Wikibooks, open books for an open world
Jump to: navigation, search

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