Boost logo

Boost :

Subject: Re: [boost] [iterator] std::sort on zip_iterator (repost)
From: Christopher Jefferson (chris_at_[hidden])
Date: 2009-05-28 11:15:49

On 28 May 2009, at 15:26, Steven Ross wrote:

> Is there a boost::iter_swap? It would be useful to enable use of a
> more
> specialized iter_swap for sorting. This would apply both to my hybrid
> algorithms and spreadsort.

One thing to watch out for (you might know this) is that standard
libraries are not required to use iter_swap for iterators, and in
general don't (they often use swap(*a,*b)).


Boost list run by bdawes at, gregod at, cpdaniel at, john at