http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30378

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|gcc-bugs at gcc dot gnu.org        |
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.8.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
This is fixed in 4.8.0:

30378.C: In instantiation of ‘void B<T>::operator=(const A<T>&) [with T =
int]’:
30378.C:15:7:   required from here
30378.C:5:15: error: no match for ‘operator+=’ (operand types are ‘A<int>’ and
‘const A<int>’)
         a [0] += x;
               ^

Reply via email to