This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/34449] use_facet<xxx_byname>(locale::classic()) returns true
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2007 21:25:36 -0000
- Subject: [Bug libstdc++/34449] use_facet<xxx_byname>(locale::classic()) returns true
- References: <bug-34449-1186@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from bkoz at gcc dot gnu dot org 2007-12-14 21:25 -------
Hey Martin! I agree, things are kind of wonky here. Certainly, changing
libstdc++ to have named locales implemented via the _byname facets would not be
hard. If it were specified, of course.
IMO, the _byname complexity is pointless, and these derived facets should be
folded into the base facet classes.
Then, the spec would be quite clear, as there would be only one way to do this.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34449