libstdc++
std::_Maybe_wrap_member_pointer< _Tp > Struct Template Reference

#include <functional>

Public Types

typedef _Tp type
 

Static Public Member Functions

static constexpr _Tp && __do_wrap (_Tp &&__x)
 
static constexpr const _Tp & __do_wrap (const _Tp &__x)
 

Detailed Description

template<typename _Tp>
struct std::_Maybe_wrap_member_pointer< _Tp >

Maps member pointers into instances of _Mem_fn but leaves all other function objects untouched. Used by std::bind(). The primary template handles the non-member-pointer case.

Definition at line 861 of file functional.

Member Typedef Documentation

◆ type

template<typename _Tp >
typedef _Tp std::_Maybe_wrap_member_pointer< _Tp >::type

Definition at line 863 of file functional.

Member Function Documentation

◆ __do_wrap() [1/2]

template<typename _Tp >
static constexpr _Tp && std::_Maybe_wrap_member_pointer< _Tp >::__do_wrap ( _Tp &&  __x)
inlinestaticconstexpr

Definition at line 870 of file functional.

◆ __do_wrap() [2/2]

template<typename _Tp >
static constexpr const _Tp & std::_Maybe_wrap_member_pointer< _Tp >::__do_wrap ( const _Tp &  __x)
inlinestaticconstexpr

Definition at line 866 of file functional.


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