senf::remove_member_pointer< MemberPointer > Struct Template Reference

Remove member pointer from type. More...

#include <senf/Utils/type_traits.hh>

Public Types

typedef MemberPointer type
 

Detailed Description

template<class MemberPointer>
struct senf::remove_member_pointer< MemberPointer >

Remove member pointer from type.

This meta function will remove any type of member pointer from it's argument. Other types will be returned unchanged.

BOOST_STATIC_ASSERT(( boost::is_same<
senf::remove_member_pointer< int (Class::*) >::type,
int
>::value ));
BOOST_STATIC_ASSERT(( boost::is_same<
senf::remove_member_pointer< void (Class::*)(int) >::type,
void (int)
>::value ));
    \tparam MemberPointer type to remove member pointer from

Definition at line 113 of file type_traits.hh.

Member Typedef Documentation

◆ type

template<class MemberPointer>
typedef MemberPointer senf::remove_member_pointer< MemberPointer >::type

Definition at line 115 of file type_traits.hh.


The documentation for this struct was generated from the following file: