2009/8/8 Björn Karlsson <Bjorn.Karlsson@readsoft.com>

 template <typename U> T operator()(const std::pair<U,T>& element) const
 {
   return element.second;
 }
};

To enable writing to the element.second, shouldn't that 'second' extractor
return a reference?

- Rob.



--
ACCU - Professionalism in programming - http://www.accu.org