Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-03-19 19:20:52

Sergei Politov wrote:
> As far as I understand it is possible to use in boost::any techniques similar to
> boost::function. I.e. split virtual behavior and actual data. It will help to
> avoid heap allocation while copying boost::any with stored small objects.
> What do you think about adding it to next releases of boost?

Personally, I wonder if it wouldn't be more interesting to create an
unified allocator system that allows Small Buffer Optimization, rather
than rewriting the wheel for every component that may need it.

Boost list run by bdawes at, gregod at, cpdaniel at, john at