
Jaakko Jarvi <jarvi@cs.tamu.edu> writes:
= between the elements etc. So I think == and < should stay as they are now, but
The specification of tuples was changed in the committee from the original proposal along the way. In particular, comparison operators were changed and the implementation in Fusion reflects the old specs. According to the old implementation, each operator only relied on the same elementwise operator. E.g. != was defined in terms of != between the elements, >= only used the definition of !=, <=, >= and > should be changed to be defined in terms of == and < for tuples.
Shouldn't that be std::less instead of < ? I'm thinking of tuples of pointers, naturally. -- Dave Abrahams Boost Consulting www.boost-consulting.com