[RFC] _NL_NUMERIC_*_WC vs _NL_MONETARY_*_WC

Paolo Carlini pcarlini@suse.de
Tue Apr 6 20:21:00 GMT 2004


Hi,

for the gnu locale model, in /monetary.cc/ we are using:

  _NL_NUMERIC_DECIMAL_POINT_WC,
  _NL_NUMERIC_THOUSANDS_SEP_WC

whereas, seem to me much more appropriate

  _NL_MONETARY_DECIMAL_POINT_WC
  _NL_MONETARY_THOUSANDS_SEP_WC

Is there something I'm missing?? Maybe just historical reasons? (the
latter extensions not available in old glibcs, dunno?!?)

I'm looking for feedback about that, otherwise, I'll prepare a patch
changing both (in mainline, for now)

Paolo.



More information about the Libstdc++ mailing list