
20 Mar
2008
20 Mar
'08
7:01 p.m.
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