2003-02-11 Jerry Quinn <jlquinn@optonline.net> Benjamin Kosnik <benjamin@redhat.com> * include/bits/locale_facets.h (__num_base): Add _S_atoms_out. Add indexes into this array. (__num_base::_S_atoms): To _S_atoms_in. (num_put::_M_insert): Rename to _M_pad. (num_put::_M_convert_int): Adjust remove __mod, __modl arguments. (num_put::_M_widen_int): Rename to _M_group_int. (num_put::_M_widen_float): Rename to _M_group_float. * include/bits/locale_facets.tcc (__int_to_char): New inline function and adapter functions. (num_put::_M_group_int): Streamline. (num_put::_M_group_float): Streamline. (num_put::_M_convert_int): Remove unused parameter names. Choose large enough buffer for text. Use __int_to_char instead of __convert_from_v. Formatted text is now at the end of the buffer. (num_put::_M_convert_float): Preliminary fixups. * src/locale-inst.cc (__convert_from_v<long long>): Add ifdef. (__int_to_char<unsigned long long>): Same. (__int_to_char<char, unsigned long>): New. (__int_to_char<char, unsigned long long>): New. (__int_to_char<wchar_t, unsigned long>): New. (__int_to_char<wchar_t, unsigned long long>): New. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r62731
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
config | Loading commit data... | |
docs | Loading commit data... | |
include | Loading commit data... | |
libio | Loading commit data... | |
libmath | Loading commit data... | |
libsupc++ | Loading commit data... | |
po | Loading commit data... | |
src | Loading commit data... | |
testsuite | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog-2000 | Loading commit data... | |
ChangeLog-2001 | Loading commit data... | |
ChangeLog-2002 | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
README | Loading commit data... | |
acconfig.h | Loading commit data... | |
acinclude.m4 | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.in | Loading commit data... | |
configure.target | Loading commit data... | |
mkcheck.in | Loading commit data... | |
testsuite_flags.in | Loading commit data... |