This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/5110: num_put caches num_punct values
- From: Martin Sebor <sebor at roguewave dot com>
- To: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 Jan 2002 16:27:48 -0700
- Subject: Re: libstdc++/5110: num_put caches num_punct values
- Organization: Rogue Wave Software, Inc.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5110
It turns out that the caching of values returned from facet virtuals
is not only meant to be allowed, but it was even specifically intended
when locale was designed. I will be submitting an issue to clarify the
standard to that effect. The opinion of the rest of the LWG is that
behavior of the test case should be unspecified.
Thanks
Martin