Boost logo

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.



Boost list run by bdawes at, gregod at, cpdaniel at, john at