
30 Jun
2005
30 Jun
'05
12:43 p.m.
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?