This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Dec 14, 2005, at 10:51 AM, Howard Hinnant wrote:
That proxy test is still on the way...
Ok, below is a test. ...
struct equal_to
{
template <class _Lhs, class _Rhs>
bool operator()(const _Lhs& __lhs, const _Lhs& __rhs) const
{return __lhs == __rhs;}
};
public:
operator T& () const {return iter_->dirty_deref();}
operator const T& () {return iter_->deref();}
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |