Boost logo

Boost Users :

From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2005-12-08 18:18:55


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


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