Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2000-11-08 02:00:49


> should a clear function be added to support the more explicit
> approach? Ie a.clear() as opposed to a = any().

Yes. The other possibility would be a.reset() if you thought
any was more like auto_ptr than a container. But given we're
more or less settled on empty() for the query, then clear() is
natural.

Mark


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