More C++ Idioms/Small Object Optimization

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

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