[Bug c++/47861] New: static variables inside member functions
michal.t at tiscali dot it
gcc-bugzilla@gcc.gnu.org
Wed Feb 23 16:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47861
Summary: static variables inside member functions
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: michal.t@tiscali.it
I know it has been probably discussed several times and probably eons ago.
The language semanthics may induct to assume static variables defined in a
member function are going to be modified only for a specifc class instance -
obviously this is not happening.
Not a c++ bug, a c++ trap.
More information about the Gcc-bugs
mailing list