
christopher diggins writes:
I have developed a type very similar to boost::any which requires less memory and significantly reduces the number of allocations / deallocations. If anyone is interested I have posted a brief article about it at CodeProject http://www.codeproject.com/useritems/dynamic_typing.asp and I have uploaded the source to the vault ( http://boost-sandbox.sourceforge.net/vault/index.php ). Is there any interest?
Sorry to respond to my own post, but the pretentious subject line has me embarassed. It is by no means an "improved" boost::any. It is a performance enhanced version, but as a colleague pointed out it is not exception safe. So in fact it is a worse version :-( but perhaps the performance enhancements may pique some people's interest.
FWIW, we (Meta) would be definitely interested in a version that boosts any's perfomance without compromising its exception safety guarantees ;). -- Aleksey Gurtovoy MetaCommunications Engineering