Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2008-03-20 15:01:29


Corrado Zoccolo wrote:
> You can have a look at the optional polymorphic value object in the vault (
> http://tinyurl.com/2og6st).
> In the accompaining examples (http://tinyurl.com/2o3wrn), there is a sample
> re-implementation of boost::any that benefits from the small object
> optimization guaranteed by the polymorphic container.

Why not:

   typedef poly<void> any;

Regards,

-- 
Shunsuke Sogame

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk