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]

Re: [RFC] moneypunct<wchar_t>: mbsrtowcs or just btowc?


Paolo Carlini wrote:

What makes you think otherwise?

perhaps, a little too terse info in the C standard and in the glibc docs (that just talk about char*)

In particular, in 7.11.2.1, p3, "the members of the structure with type char* are pointers to strings". I find this talking about "strings" instead of "multi byte sequences" really misleading.

While we are at it, the description of int_curr_symbol is quite complex...

But we are dealing with it exactly in the same way of currency_symbol!

For the C++ library purposes, should we actually discard the 4th char??

Paolo.


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