This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Static variables in template functions
- From: Jason Merrill <jason at redhat dot com>
- To: mark at codesourcery dot com
- Cc: libstdc++ at gcc dot gnu dot org, nathan at codesourcery dot com
- Date: Sun, 17 Apr 2005 12:18:13 +0200
- Subject: Re: Static variables in template functions
- References: <200504170430.j3H4U5fk017819@sirius.codesourcery.com>
4. Defer the warning until end of function, and then only give it if the
variable turns out to be addressable.
That would be my preference.
Jason