
13 Mar
2005
13 Mar
'05
5:28 p.m.
The documentation says that comparisons require EqualityComparable, and contains_test never tests with objects that define function_equal instead of operator==. Also, there seems to be no test for boost::bind objects being put in a function<> (although there is one for lambda::bind). The reason I'm posting this is that I just switched boost::bind to implement function_equal instead of operator==, and this functionality isn't covered by our current tests. -- Peter Dimov http://www.pdimov.com