Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-06-30 07:43:39

Tobias Schwinger wrote:
> John Maddock wrote:
>>> // Result: bool, Concept: MPL-Integral Constant
>>> template<typename T> struct is_function_pointer;
>>> template<typename T> struct is_function_reference;
>>> template<typename T> struct is_member_function_pointer_;
>>I think the trailing underscore has to go from there as well IMO. Ideally
>>this one and the type traits one should be the same template. They have the
>>same semantics don't they?
> They have the same semantics, except is_function which /defaults/ to it. If this
> is a problem we can split off 'is_function_of_kind<T,Tag>' from 'is_function<T>'.

Is it?

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