| (1) | (until C++17) (deprecated since C++11) | ||
| (2) | (until C++17) (deprecated since C++11) | ||
| (2) | (until C++17) (deprecated since C++11) | ||
| (4) | (until C++17) (deprecated since C++11) |
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
(until C++17) | creates a wrapper from a pointer to member function, callable with a pointer to object (function template) |
(until C++17)(until C++17)(until C++17)(until C++17) | wrapper for a pointer to nullary or unary member function, callable with a reference to object (class template) |
Please login to continue.