Boost logo

Boost Users :

Subject: [Boost-users] from range_iterator to range_value
From: er (erwann.rogard_at_[hidden])
Date: 2009-01-29 16:49:00


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.


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