Boost logo

Boost :

From: Trey Jackson (tjackson_at_[hidden])
Date: 2004-09-01 11:32:54

Right, the documentation for the tuples
says that the operators ==, !=, <, >, etc. are deduced from the
elementary operators.

So, since my tuple contains just 'int', I would expect tuple to create
an operator<() for me.

Is this not correct?


>Things that go into sets must be less-than-able. The operators less
>than are in
>in tuple_comparison.hpp. Add that and your example works....

Trey Jackson
"Annex Canada now! We need the room, and who's going to stop us?"
-- Tom Neff

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