On 8 February 2011 20:15, Adarsh Soodan <adarshsoodan@gmail.com> wrote:
The frequent heap usage of boost::any was problematic to me for small object sizes. So I made a small tweak in boost::any which provides inline allocation of objects smaller than a certain template defined size. It practically eliminated the performance overhead of heap allocation and deallocation in my project while providing all benefits of boost::any.

What are your exception safety guarantees compared with the current implementation of boost::any?
--
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404