Namespaces
Variants
Views
Actions

std::mem_fun_ref_t, std::mem_fun1_ref_t, std::const_mem_fun_ref_t, std::const_mem_fun1_ref_t

From cppreference.com
< cpp‎ | utility‎ | functional
Revision as of 13:13, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
Function objects
Function wrappers
(C++11)
(C++11)
Bind
(C++11)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
Deprecated binders and adaptors
(until C++17)
(until C++17)
(until C++17)
(until C++17)
(until C++17)(until C++17)(until C++17)(until C++17)
(until C++17)
mem_fun_ref_tmem_fun1_ref_tconst_mem_fun_ref_tconst_mem_fun1_ref_t
(until C++17)(until C++17)(until C++17)(until C++17)
(until C++17)(until C++17)
(until C++17)(until C++17)
 

Template:ddcl list begin <tr class="t-dcl ">

<td >
template< class S, class T >

class mem_fun_ref_t : public unary_function<T, S> {
public:
    explicit mem_fun_ref_t(S (T::*p)());
    S operator()(T& p) const;

};
</td>

<td > (1) </td> <td > (deprecated) </td> </tr> <tr class="t-dcl ">

<td >
template< class S, class T, class A >

class mem_fun1_ref_t : public binary_function<T, A, S> {
public:
    explicit mem_fun1_ref_t(S (T::*p)(A));
    S operator()(T& p, A x) const;

};
</td>

<td > (2) </td> <td > (deprecated) </td> </tr> <tr class="t-dcl ">

<td >
template< class S, class T >

class const_mem_fun_ref_t : public unary_function<T, S> {
public:
    explicit const_mem_fun_ref_t(S (T::*p)() const);
    S operator()(const T& p) const;

};
</td>

<td > (3) </td> <td > (deprecated) </td> </tr> <tr class="t-dcl ">

<td >
template< class S, class T, class A >

class const_mem_fun1_ref_t : public binary_function<T, A, S> {
public:
    explicit const_mem_fun1_ref_t(S (T::*p)(A) const);
    S operator()(const T& p, A x) const;

};
</td>

<td > (4) </td> <td > (deprecated) </td> </tr> Template:ddcl list end

Wrapper around a member function pointer.