stlab.adobe.com Adobe Systems Incorporated

Classes

class  mem_data_t< T, R >
 

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

◆ mem_data()

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
memberpointer to member data.
Returns
An adobe::mem_data_t function object.

Definition at line 426 of file functional.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google