std:: mem_fun_t, std:: mem_fun1_t, std:: const_mem_fun_t, std:: const_mem_fun1_t
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Old binders and adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Defined in header
<functional>
|
||
template
<
class
S,
class
T
>
class
mem_fun_t
:
public
unary_function
<
T
*
,S
>
{
|
(1) |
(deprecated in C++11)
(removed in C++17) |
template
<
class
S,
class
T
>
class
const_mem_fun_t
:
public
unary_function
<
const
T
*
,S
>
{
|
(2) |
(deprecated in C++11)
(removed in C++17) |
template
<
class
S,
class
T,
class
A
>
class
mem_fun1_t
:
public
binary_function
<
T
*
,A,S
>
{
|
(3) |
(deprecated in C++11)
(removed in C++17) |
template
<
class
S,
class
T,
class
A
>
class
const_mem_fun1_t
:
public
binary_function
<
const
T
*
,A,S
>
{
|
(4) |
(deprecated in C++11)
(removed in C++17) |
Wrapper around a member function pointer. The class instance whose member function to call is passed as a pointer to the
operator()
.
See also
(deprecated in C++11)
(removed in C++17)
|
creates a wrapper from a pointer to member function, callable with a pointer to object
(function template) |
(deprecated in C++11)
(removed in C++17)
|
wrapper for a pointer to nullary or unary member function, callable with a reference to object
(class template) |