$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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