
1 Sep
2004
1 Sep
'04
4:32 p.m.
Right, the documentation for the tuples http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#relational_operat... 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? TJ
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 tjackson@ichips.intel.com "Annex Canada now! We need the room, and who's going to stop us?" -- Tom Neff