--- Peter Dimov <[EMAIL PROTECTED]> wrote:
> 
> You can use all smart pointers except shared_ptr and shared_array as they do
> not allocate any memory. In particular, intrusive_ptr is a good candidate if
> memory is a concern as it has smaller memory footprint than shared_ptr.

Thanks, I'll consider it next time.
However if Boost doesn't have a clear memory management 
concept, how can I guarantee that the next time around,
intrusive_ptr or something else in boost 
won't start allocating memory under the covers.
It is perfectly legal in Boost.
How will I even know it, the documentation is completely
ignorant on the memory issues.
 
> You can also use Boost.Regex, it is completely allocator-enabled. ;-)

I never said that I am a huge allocators fan but at least
it seems that regex has one of the most consistent memory
management concepts in the library. :)

Eugene



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to