bind and mem_fn now support operator== and operator!=

[SVN r21978]
This commit is contained in:
Peter Dimov committed 2004-01-26 19:13:17 +00:00
1 parent f91de70d8e
commit ea8c0ef25e
9 files changed
+1021 -2

No files matched your search

+10
View File
@@ -308,6 +308,16 @@ public:
{
return (t.*f_);
}
bool operator==(dm const & rhs) const
{
return f_ == rhs.f_;
}
bool operator!=(dm const & rhs) const
{
return f_ != rhs.f_;
}
};
} // namespace _mfi