|  | Home | Libraries | People | FAQ | More | 
Returns the type that will be returned by dereferencing the data property referenced by an associative iterator.
template< typename I > struct deref_data { typedef unspecified type; };
Table 1.21. Parameters
| Parameter | Requirement | Description | 
|---|---|---|
| 
                     | Model of Associative Iterator | Operation's argument | 
result_of::deref_data<I>::type
Return type: Any type
          Semantics: Returns the result of dereferencing
          the data property referenced by an associative iterator of type I.
        
#include <boost/fusion/iterator/deref_data.hpp> #include <boost/fusion/include/deref_data.hpp>
typedef map<pair<float, int> > map_type; typedef boost::fusion::result_of::begin<map_type>::type i_type; typedef boost::fusion::result_of::deref_data<i_type>::type r_type; BOOST_STATIC_ASSERT((boost::is_same<r_type, int&>::value));