|
Boost Users : |
From: Christian Holmquist (c.holmquist_at_[hidden])
Date: 2007-04-13 05:24:37
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net