[Bug libstdc++/34449] use_facet<xxx_byname>(locale::classic()) returns true

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Dec 14 21:25:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list