
13 Sep
2011
13 Sep
'11
4:38 p.m.
On 13 September 2011 11:13, Dave Abrahams
I know this isn't the answer you're looking for, but IMO you should just avoid std::binary_function and friends. They don't buy you anything you can't get from embedding the typedefs directly, and they can inhibit the empty base optimization.
And they are deprecated in C++11 (along with mem_fun and mem_fun_ref, for that matter). -- Nevin ":-)" Liber mailto:nevin@eviloverlord.com (847) 691-1404