#include <senf/Utils/type_traits.hh>
Returns the class, an arbitrary member pointer belongs to. If the argument is not a member pointer, void is returned.
BOOST_STATIC_ASSERT(( boost::is_same<
senf::member_class< int (Class::*) >::type,
Class
>::value ));
BOOST_STATIC_ASSERT(( boost::is_Same<
senf::member_class< int * >::type,
void
>::value ));
| MemberPointer | Type to get the member pointer class from |
Definition at line 159 of file type_traits.hh.
Public Types |
|
| typedef void | type |
| typedef void senf::member_class< MemberPointer >:: | ||||
| type | ||||
Definition at line 161 of file type_traits.hh.