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

+5
View File
@@ -151,6 +151,11 @@
l_.accept(v);
}
bool compare(this_type const & rhs) const
{
return ref_compare(f_, rhs.f_, 0) && l_ == rhs.l_;
}
private:
F f_;