|
Boost : |
From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2004-07-29 11:08:40
Tobias Schwinger wrote:
> Dear Boosters,
>
>
> what is the reason for the absence of "member_function_pointer_traits"
> (or alike) in the type_traits library ?
> To be precise: is it a design decision or just something not yet
> implemented ?
>
> In the latter case I hereby volunteer for implementing it.
>
> I suggest an interface similar to the one of function_traits
Please, no more trait blobs! IMO you should separate the traits into
individual meta functions that works on all function pointer types. For
instance:
function_arity<T>::type
Self explanatory.
function_signature<T>::type
MPL sequence containing all types of the function signature,
including return type and type of *this if T is a member function
pointer.
And while we're at it, why not deprecate function_traits?
-- Daniel Wallin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk