mem_fun1_ref_t is generally used as a type. The function mem_fun_ref (also defined in header <functional>) can be used to directly construct an object of this type.
This class is derived from binary_function and is typically defined as:
| 1 2 3 4 5 6 7 8 9 |
|
Members
- constructor
- Constructs a binary function object class from member function p of class T. The return type of this member function shall be type compatible with type S.
- S operator() (T* p, A x)
- Member function taking two parameters: p is an object of type T whose member is to be called with x as argument.
See also
| mem_fun_ref | Convert member function to function object (reference version) (class template) |
| mem_fun_ref_t | Generate function object class from parameterless member (reference version) (class template) |
| binary_function | Binary function object base class (class template) |
