
6 May
2016
6 May
'16
9:36 p.m.
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. :-)