Boost logo

Boost :

From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2000-06-08 14:21:12

> How often have you written an aggregate class from which you needed
> to use all or some data members to form a sort key for a standard
> container or algorithm? Happens to me all the time. As such, I
> propose the following suite of template functions as an addition to
> utility.hpp (please, someone, suggest a better name!)
Alternatively to the pair suggestion, you could use Jaakko Jarvi's "tuples".
It doesn't have a global operator<(tuple,tuple) but we could add it easy



  The tuple code is used in the Lambda library, but is a stand-a-lone

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