|
Boost : |
From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-05-31 11:52:01
Ah, I see, and I think you're right. I didn't really see role 1 because I
don't use things like bind2nd nearly as much as I use associative
containers, but one only has to write
std::find_if(a, b, std::bind2nd(std::less<int>(), 2));
to come around to your point of view.
This also would spell trouble for functional libraries, like FACT!, FC++,
and Lambda,
for which users would write,
std::find_if(a,b, lambda::_1 < 2);
and expect exact duplicate behaviour to the previous code statement.
Yours,
-gary-
gary.powell_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk