Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Adaptor similar to boost::mem_fn()
used by std::bind
.
More...
#include <functional.hpp>
Public Member Functions | |
mem_data_t () | |
mem_data_t (R T::*member) | |
R & | operator() (T &x) const |
const R & | operator() (const T &x) const |
Unlike boost::mem_fn() this is of use when you want to use a pointer to a member and have it return a reference.
Definition at line 281 of file functional.hpp.
mem_data_t | ( | ) |
Definition at line 282 of file functional.hpp.
|
explicit |
Definition at line 284 of file functional.hpp.
R & operator() | ( | T & | x | ) | const |
Definition at line 286 of file functional.hpp.
const R & operator() | ( | const T & | x | ) | const |
Definition at line 288 of file functional.hpp.