Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-02 23:46:30


I don't understand why there are so many implementations of the
range_value metafunction. It seems to me that it should always be
defined to be:

  template <class R>
  struct range_value
    : boost::iterator_value<
          typename range_iterator<R>::type
>::type
  {};

What am I missing?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk