This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9156: static variables in member functions should not retain value across class instances
- From: ehrhardt at mathematik dot uni-ulm dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, stashelp at yahoo dot com
- Date: 3 Jan 2003 14:06:43 -0000
- Subject: Re: c++/9156: static variables in member functions should not retain value across class instances
- Reply-to: ehrhardt at mathematik dot uni-ulm dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, stashelp at yahoo dot com, gcc-gnats at gcc dot gnu dot org
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