[Bug c++/41560] Bus error on operator[] override
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 3 22:19:00 GMT 2009
------- Comment #2 from rguenth at gcc dot gnu dot org 2009-10-03 22:19 -------
Not valid. At least 4.0.4 and later say
t.C: In member function Âconst T& MyVector<T>::operator[](size_t) constÂ:
t.C:7: error: expected `(' before ÂoperatorÂ
t.C:7: error: expected Â;Â before ÂoperatorÂ
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41560
More information about the Gcc-bugs
mailing list