Boost logo

Boost :

From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-08-28 11:46:27


--- Peter Dimov <pdimov_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk