Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2004-07-04 04:07:45


On Thu, 01 Jul 2004 11:48:25 +0200, Daniel Frey
<daniel.frey_at_[hidden]> wrote:

>Hi,
>
>I just wrote a small helper function to clear a container. Well, OK, we
>already have that, do we? For a container 'cont':
>
> cont.clear();
>
>But this doesn't neccessarily free the memory allocated.

Does the swap trick necessarily free the memory?

--
Genny.

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