Namespaces
Variants
Views
Actions

std::mem_fun_t, std::mem_fun1_t, std::const_mem_fun_t, std::const_mem_fun1_t

From cppreference.com
< cpp‎ | utility‎ | functional
Revision as of 13:11, 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
(deprecated)
(deprecated)
(deprecated)
(deprecated)
mem_fun_tmem_fun1_tconst_mem_fun_tconst_mem_fun1_t
(deprecated)(deprecated)(deprecated)(deprecated)
(deprecated)
(deprecated)(deprecated)(deprecated)(deprecated)
(deprecated)(deprecated)
(deprecated)(deprecated)
 

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

<td >
template< class S, class T >

class mem_fun_t : public unary_function<T*, S> {
public:
    explicit mem_fun_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 Arg >

class mem_fun1_t : public binary_function<T*, A, S> {
public:
    explicit mem_fun1_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_t : public unary_function<const T*, S> {
public:
    explicit const_mem_fun_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_t : public binary_function<const T*, A, S> {
public:
    explicit const_mem_fun1_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.