This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C or C++ "C" locale in numpunct facet


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]