Static variables in template functions
Mark Mitchell
mark@codesourcery.com
Thu Apr 21 03:32:00 GMT 2005
Jason Merrill wrote:
> That sounds about right. A compromise which I would support would be to
> always initialize non-const variables dynamically, but const variables
> statically, and warn if the const variables are addressable.
Very well; that's now enhancement-request PR 21139.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Libstdc++
mailing list