http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185
--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-02-09
16:44:20 UTC ---
Comeau C++ does not error out either.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185
--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2012-02-09
17:11:40 UTC ---
[class.this] says, In a const member function, the object for which the
function is called is accessed through a const access path;
That doesn't mean the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52185
--- Comment #4 from xfg lsoltysiak at gmail dot com 2012-02-09 18:30:34 UTC
---
Ok, I understood. Pointers are also quite good examples, to explain that.
Thanks Jonathan.