Boost logo

Boost :

From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-11-13 13:23:58


Darin Adler wrote:

> Darin:
> >> This only works for member function versions of operator ==.
>
> Valentin:
> > Why ?
>
> What I meant to say is, "This creates member function versions of the
> operators (like operator !=)."

We are not talking about the same things; I am talking about (roughly):

template <class T>
struct equalty_comparable
{
friend bool operator!= (T, T);
};

-- 
Valentin Bonnard

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk