|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-13 12:28:25
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk