Boost logo

Boost :

From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2007-12-30 12:04:55


Herve Bronnimann wrote:
> Phil: Pardon my ignorance about ptr_vector, but you may be thinking
> about the wrong STL algorithm: try rotate instead of copy:

Yes, rotate would do something similar to the for loop in my example.

The point is that ptr_containers can't use mutating std::algorithms;
instead, they provide their own implementations of some of them as
members. rotate isn't one of them, so I need some other way of doing it.

Phil.


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