This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Static variables in template functions


On Sun, 17 Apr 2005 12:28:12 +0200, Paolo Carlini <pcarlini@suse.de> wrote:

> Jason Merrill wrote:
>
>>4. Defer the warning until end of function, and then only give it if the
>>   variable turns out to be addressable.

...this would only apply to const variables, of course.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]