Boost logo

Boost Users :

Subject: Re: [Boost-users] from range_iterator to range_value
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-29 16:54:24


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


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