Boost logo

Boost :

Subject: Re: [boost] What to do about std::binary_function andstd::unary_function?
From: Peter Dimov (lists_at_[hidden])
Date: 2016-05-06 17:36:59

Nick Matteo wrote:

> 2) Remove the inheritance from std::binary_function, and add the typedefs.
> 4) Just remove inheritance from std::binary_function (and don't provide
> typedefs.)

Either one of those would be fine, although I personally would do something
in-between and only provide result_type for boost::bind, mostly out of
nostalgia. :-)

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