|
Boost Users : |
Subject: [Boost-users] [operators] equality_comparable
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-05-13 17:19:24
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?
Thanks, Rob.
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