Boost logo

Boost :

Subject: Re: [boost] [type_traits] Most Unifying Proposal for operator names Was: Review Typetraits Extension.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-20 18:27:04


AMDG

On 03/20/2011 01:00 AM, Joachim Faulhaber wrote:
> Also I don't understand, why inheritence form binary_function<T,U,R>
> is no longer declared, but instead of this, the redundant declaration
> of all associated types for every functor. Does this codereplication
> serve any purpose?

Yeah. The standard only guarantees the typedefs,
not inheritance from std::binary_function. The
implementation is free to use std::binary_function, however.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk