|  | Home | Libraries | People | FAQ | More | 
Dereferences an iterator.
template<
    typename I
    >
typename result_of::deref<I>::type operator*(I const& i);
Table 1.8. Parameters
| Parameter | Requirement | Description | 
|---|---|---|
| 
                     | Model of Forward Iterator | Operation's argument | 
*i
          Return type: Equivalent to the return
          type of deref(i)
          Semantics: Equivalent to deref(i)
#include <boost/fusion/iterator/deref.hpp> #include <boost/fusion/include/deref.hpp>
typedefvector<int,int&> vec; int i(0); vec v(1,i); assert(*begin(v) == 1); assert(*next(begin(v)) == 0); assert(&(*next(begin(v))) == &i);