Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-08-15 09:58:09


Alex Besogonov <cyberax_at_[hidden]> writes:

> If containers are reused then these allocations are performed only once,
> because STL containers don't deallocate underlying storage in their
> clear/reset/... methods.

I think that is only guaranteed to apply to vector. On some
implementations it applies to other containers as well.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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