
13 Apr
2007
13 Apr
'07
9:24 a.m.
Sorry for beeing off-topic, but is there a utility in boost for dereferencing an iterator, such as the below (but that also works for boost::reference_wrapper) template<class Iterator> typename std::iterator_traits<Iterator>::reference deref(Iterator i) { return *i; } Thanks, Christian