|
Boost : |
From: Roland Richter (roland_at_[hidden])
Date: 2002-12-10 01:22:20
>
> Does this mean a view is mutable? For example, using Boost.View,
> can I write a bounded<std::list> that automatically drops the
> last element on push_front if size() is at some upper limit value
> before adding the new element? This is the sort of thing I
No. A view is not mutable; sometimes the underlying data is.
Methods for inserting and removing elements, however, are typically
*not* part of a view's interface.
- Roland
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk