[boost] Re: Re: [boost.variant] It is possible to make a variantLessThanComparable

2003-09-01 Thread Eric Friedman
Peter Dimov wrote: When there is one and only one strict weak ordering (equality) for a type, not using operator and operator== because some users might have different expectations is misguided. It is pretty clear what setvariant or find(first, last, v) is supposed to do; variant_less or

[boost] Re: Re: [boost.variant] It is possible to make a variantLessThanComparable

2003-08-31 Thread Dirk Schreib
Peter Dimov [EMAIL PROTECTED] wrote David Abrahams wrote: But, IIUC, if operator is not provided, you'd oppose a std::less specialization, right? Right. When there is one and only one strict weak ordering (equality) for a type, not using operator and operator== because some users might