mem_data_t< T, R > Class Template Reference |
Public Member Functions | |
mem_data_t () | |
mem_data_t (R T::*member) | |
R & | operator() (T &x) const |
const R & | operator() (const T &x) const |
Detailed Description
template<class T, typename R>
class adobe::mem_data_t< T, R >
Unlike boost::mem_fn() this is of use when you want to use a pointer to a member and have it return a reference.
- Todo:
- (sparent) Propose this addition back to Boost.
Definition at line 393 of file functional.hpp.
Constructor & Destructor Documentation
mem_data_t | ( | ) |
Definition at line 395 of file functional.hpp.
mem_data_t | ( | R T::* | member ) | [explicit] |
Definition at line 397 of file functional.hpp.
Member Function Documentation
R& operator() | ( | T & | x ) | const |
Definition at line 401 of file functional.hpp.
const R& operator() | ( | const T & | x ) | const |
Definition at line 404 of file functional.hpp.