money_get should heed frac_digits
Benjamin Kosnik
bkoz@redhat.com
Tue May 27 04:50:00 GMT 2003
>In tfrac-diffs.txt, I've presented one approach to correct this. There is one
>curious issue in the fix, though---the name "__sep_pos" is no longer correct.
>It's being used both to note the thousands separator and, now, how far we've
>gone past the decimal-point that came.
Looks excellent, thanks.
>Another approach, aside from renaming it, is actually using a new variable to
>count how far we've come since the decimal-point, and thus keeping them
>separated.
I don't feel strongly about this. I think what you've got now seems
fine, and understandable.
This testsuite entry would go in as
testsuite/22_locale/money_get/get/wchar_t/9.cc
Usually we try to test both char and wchar_t instantiations. Thanks!
-benjamin
More information about the Libstdc++
mailing list