On this page
std::mem_fun_t, std::mem_fun1_t, std::const_mem_fun_t, std::const_mem_fun1_t
Defined in header <functional> |
||
---|---|---|
|
(1) | (deprecated in C++11) (removed in C++17) |
|
(2) | (deprecated in C++11) (removed in C++17) |
|
(3) | (deprecated in C++11) (removed in C++17) |
|
(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()
.
1) Wraps a non-const member function with no parameters.
2) Wraps a const member function with no parameters.
3) Wraps a non-const member function with a single parameter.
4) Wraps a const member function with a single parameter.
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) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/functional/mem_fun_t