Boost logo

Boost Users :

Subject: Re: [Boost-users] Question on std::binary_function template arguments
From: Nevin Liber (nevin_at_[hidden])
Date: 2011-09-13 12:38:20

On 13 September 2011 11:13, Dave Abrahams <dave_at_[hidden]> wrote:

> 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_at_[hidden]>  (847) 691-1404

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at