
15 Aug
2005
15 Aug
'05
2:58 p.m.
Alex Besogonov <cyberax@elewise.com> 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