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

Boost list run by bdawes at, gregod at, cpdaniel at, john at