Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-01-23 02:53:41


Thorsten Ottosen skrev:
> Hi Jan,

>
> #3
> I think it would be useful to add rotate() as a member function. AFAICT,
> it can in many times (if not all) be much faster than std::rotate()
> because it can simply move a few elements and then simply adjust the
> iterators.

Also, it seems like adding reverse() with O(1) complexity would be
useful too.

-Thorsten


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