Hi,
I am not sure if it is the proper newsgroup to get answers
related to boost usage.
I am facing a problem with boost::sub_range for a const container
which is not allowing me to access the indexed operator.
Below a short program to demonstrate the problem. Necessary headers
are included. Boost version 1.33.1
typedef vector<int> VI;
VI v(10);
int data[] = {0,1,2,3,4,5,6,7,8,9};
copy(data,data+10,v.begin());///inserted a few int to std::vector<int>
///prints 0 1 2 3 4 5 6 7 8 9
copy(v.begin(),v.end(),ostream_iterator<int>(cout," ")); cout<