This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 184.108.40.206.2 [ostream.inserters.arithmetic] Status: CD1 Submitter: Daniel Krügler Opened: 2007-02-17 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [ostream.inserters.arithmetic].
View all issues with CD1 status.
The arithmetic inserters are described in 220.127.116.11.2 [ostream.inserters.arithmetic]. Although the section starts with a listing of the inserters including the new ones:
operator<<(long long val ); operator<<(unsigned long long val );
the text in paragraph 1, which describes the corresponding effects of the inserters, depending on the actual type of val, does not handle the types long long and unsigned long long.
[ Alisdair: In addition to the (unsigned) long long problem, that whole paragraph misses any reference to extended integral types supplied by the implementation - one of the additions by core a couple of working papers back. ]
In 18.104.22.168.2 [ostream.inserters.arithmetic]/1 change the third sentence
When val is of type bool, long, unsigned long, double, long double, or const void*, the formatting conversion occurs as if it performed the following code fragment: