On 8 February 2011 20:15, Adarsh Soodan <span dir="ltr"><<a href="mailto:adarshsoodan@gmail.com">adarshsoodan@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> 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.<br></blockquote><div><br></div><div>What are your exception safety guarantees compared with the current implementation of boost::any?</div></div>-- <br>�Nevin ":-)" Liber� <mailto:<a href="mailto:nevin@eviloverlord.com" target="_blank">nevin@eviloverlord.com</a>>� (847) 691-1404<br>