Boost logo

Boost :

Subject: Re: [boost] Boost.Algorithm design question
From: Andrew Sutton (asutton.list_at_[hidden])
Date: 2011-11-01 21:56:15

>> But I'm not requiring both sides to be the same -- only related.
> I'm not sure how you're doing that. I thought that this was about using the
> EqualityComparable standard requirement, which does require the two sides of
> == to be of the same type, and == to be an equivalence relation.

The standard does not say that about EqualityComparable.
[utility.arg.requirements] only says that a == b is convertible to
bool and is an equivalence relation.

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