Boost logo

Boost Users :

Subject: Re: [Boost-users] boost + stlport : Failed to specialize function template
From: Stjepan Rajko (stipe_at_[hidden])
Date: 2008-10-30 15:02:46


On Wed, Oct 29, 2008 at 7:33 PM, gatotkaca <dio_chernobyl_at_[hidden]> wrote:
>
> Hello!
>
> I'm trying to compile following code (msvc8 + boost1.36.0 + stlport5.1.7)
>
> template <typename Range>
> typename boost::range_iterator<Range>::type::value_type

That (and other occurrences) should be:
typename boost::range_value<Range>::type

and you need

#include <boost/range/value_type.hpp>

;-)

Best,

Stjepan


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