ostream.tcc (basic_ostream<>::operator<<(long), [...]): Don't deal with oct and hex and casts to unsigned here... 2005-07-11 Paolo Carlini <pcarlini@suse.de> * include/bits/ostream.tcc (basic_ostream<>::operator<<(long), basic_ostream<>::operator<<(long long)): Don't deal with oct and hex and casts to unsigned here... * include/bits/locale_facets.tcc (__int_to_char(_CharT*, long, const _CharT*, ios_base::fmtflags), __int_to_char(_CharT*, long long, const _CharT*, ios_base::fmtflags)): ... do that here, instead, as per Table 57. (num_put<>::_M_insert_int): Tidy treatment of numeric base and sign. * include/std/std_ostream.h (operator<<(short), operator<<(int)): Adjust logic, as per the letter of the resolution of DR117 [WP]. * testsuite/22_locale/num_put/put/char/10.cc: New. * testsuite/22_locale/num_put/put/wchar_t/10.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc: Likewise. From-SVN: r101872
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| std_algorithm.h | Loading commit data... | |
| std_bitset.h | Loading commit data... | |
| std_complex.h | Loading commit data... | |
| std_deque.h | Loading commit data... | |
| std_fstream.h | Loading commit data... | |
| std_functional.h | Loading commit data... | |
| std_iomanip.h | Loading commit data... | |
| std_ios.h | Loading commit data... | |
| std_iosfwd.h | Loading commit data... | |
| std_iostream.h | Loading commit data... | |
| std_istream.h | Loading commit data... | |
| std_iterator.h | Loading commit data... | |
| std_limits.h | Loading commit data... | |
| std_list.h | Loading commit data... | |
| std_locale.h | Loading commit data... | |
| std_map.h | Loading commit data... | |
| std_memory.h | Loading commit data... | |
| std_numeric.h | Loading commit data... | |
| std_ostream.h | Loading commit data... | |
| std_queue.h | Loading commit data... | |
| std_set.h | Loading commit data... | |
| std_sstream.h | Loading commit data... | |
| std_stack.h | Loading commit data... | |
| std_stdexcept.h | Loading commit data... | |
| std_streambuf.h | Loading commit data... | |
| std_string.h | Loading commit data... | |
| std_utility.h | Loading commit data... | |
| std_valarray.h | Loading commit data... | |
| std_vector.h | Loading commit data... |