Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-03-26 13:40:06


Deane Yang wrote:
> Victor A. Wagner Jr. wrote:
>> why do you want to sort ONLY on the 1st element of the pair?
>
> I can't speak for the original poster, but I often have
> a collection of pairs of the form (time, data) and want
> to put the whole thing in chronological order.

The point is that the ordinary sort already does that.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net