from range_iterator to range_value

Hello, Is this, or a class that achieves the same goal, already defined somewhere in the boost? template<typename R> struct range_value{ typedef typename iterator_value<typename boost::range_iterator<R0>::type>::type type; }; Thanks.

AMDG er wrote:
Is this, or a class that achieves the same goal, already defined somewhere in the boost?
template<typename R> struct range_value{ typedef typename iterator_value<typename boost::range_iterator<R0>::type>::type
type; };
#include <boost/range/value_type.hpp> In Christ, Steven Watanabe

Steven Watanabe wrote:
AMDG
er wrote:
Is this, or a class that achieves the same goal, already defined somewhere in the boost?
template<typename R> struct range_value{ typedef typename iterator_value<typename boost::range_iterator<R0>::type>::type
type; };
#include <boost/range/value_type.hpp>
In Christ, Steven Watanabe
Oops!
participants (2)
-
er
-
Steven Watanabe