Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-08-17 12:50:05

The following code:
   < class Container
test_iter_range(Container& a_cont)
     typedef typename range_result_iterator<Container>::type citer_type;
     typedef iterator_range<citer_type> riter_type;
     riter_type a_riter(a_cont.begin(),a_cont.end());
Gives compile time error when Container is const.
See test driver and compiler output in
sandbox vault under cppljevans and in file

Is this an error in the range lib or am I doing something wrong?



Boost list run by bdawes at, gregod at, cpdaniel at, john at