Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-11-13 11:12:06


David Ohlemacher <ohlemacher_at_[hidden]> writes:

> Hi all.
>
> Partway through my app's execution, I find that I no longer need the
> values in a custom property map (edge). The map potentially may be
> quite large.
>
> What is the best way to empty it?

It depends how the particular property map type is implemented.
Deleting values is not part of the interface of property maps in
general, and some property maps don't even support a way to do it
(e.g. a built-in array of integers).

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net