c++/9156: static variables in member functions should not retain value across class instances

ehrhardt@mathematik.uni-ulm.de ehrhardt@mathematik.uni-ulm.de
Fri Jan 3 14:06:00 GMT 2003


Synopsis: static variables in member functions should not retain value across class instances

State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Fri Jan  3 06:06:42 2003
State-Changed-Why:
    Not a bug. The variable is declared static and 3.7.1 states that
    the storage of static variables shall last for the duration
    of the program.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9156



More information about the Gcc-bugs mailing list