Member Data Accessor |
Classes | |
class | mem_data_t< T, R > |
Adaptor similar to boost::mem_fn() used by boost::bind . More... | |
Functions | |
template<class T , typename R > | |
mem_data_t< T, R > | mem_data (R T::*member) |
Detailed Description
This library provides access to member data, similar to boost::mem_fn() except it returns a reference (or const reference for a const object) to the data.
Function Documentation
adobe::mem_data_t< T, R > mem_data | ( | R T::* | member ) |
Returns a function object, which given an object of type T
, will return the value of the member pointed to by member
.
- Parameters:
-
member pointer to member data.
- Returns:
- An adobe::mem_data_t function object.
Definition at line 426 of file functional.hpp.