Boost logo

Boost Users :

Subject: Re: [Boost-users] [operators] equality_comparable
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-13 17:50:35


AMDG

Robert Jones wrote:
> Given a template class like
>
> template < typename T > struct A
> {
> template < typename U > friend bool operator == ( const A &, const U & );
> template < typename U > friend bool operator == ( const U &, const A & );
> template < typename U > friend bool operator != ( const A &, const U & );
> template < typename U > friend bool operator != ( const U &, const A & );
> // ...other stuff...
> };
>
> can I express it using equality_comparable?
>

There aren't any template operators in boost::operators, AFAICT.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net