C or C++ "C" locale in numpunct facet
Andrey Tsyvarev
tsyvarev@ispras.ru
Thu Dec 11 14:50:00 GMT 2008
Hello,
I have a question about the meaning of one fragment of the
standard, namely 22.2.3.1, p1:
The instantiations required in Table 51 (22.1.1.1.1), namely
numpunct<wchar_t> and numpunct<char>, provide classic "C" numeric formats, i.e. they contain
information equivalent to that contained in the "C" locale or their wide character counterparts as if obtained
by a call to widen.
Does 'classic "C"' mean "C" ("POSIX") locale in C or C++ sense?
In other words, does this phrase mean C-locale with name "C", or its C++
variant, which may be a simple wrapper around C-locale "C" ("POSIX"), but,
generally speaking, may differ from it (the standard does not forbid this explicitly)?
--
Andrey Tsyvarev
Linux Verification Center, ISPRAS
web: http://www.linuxtesting.org
e-mail: tsyvarev@ispras.ru
More information about the Libstdc++
mailing list