8 Dec
2005
8 Dec
'05
11:18 p.m.
Victor A. Wagner Jr. wrote:
I've added the following overload
sub_range& operator=( sub_range r ) { // // argument passed by value to avoid // const_iterator to iterator conversion // base::operator=( r ); return *this; }
and can now compile your program.
I've also committed this to the main cvs.
yes, it compiles, and runs on vc7.1 it does NOT compile on vs8.0 (which is currently my default compiler)
was there any difference in the compiler there? Is it still operator= in iterator_range that gets called? -Thorsten