Created on 2002-08-08.00:00:00 last changed 172 months ago
Rationale:
Regardless of whether the return value is int or unsigned, it's always conceivable that frac_digits might return a nonsensical value. (Is 4294967295 really any better than -1?) The clients of moneypunct, the get and put facets, can and do perform range checks.
In section [locale.moneypunct.members], frac_digits() returns type "int". This implies that frac_digits() might return a negative value, but a negative value is nonsensical. It should return "unsigned".
Similarly, in section [locale.moneypunct.virtuals], do_frac_digits() should return "unsigned".
History | |||
---|---|---|---|
Date | User | Action | Args |
2010-10-21 18:28:33 | admin | set | messages: + msg2399 |
2002-08-08 00:00:00 | admin | create |