This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/41560] Bus error on operator[] override



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]