Fwd: char16_t and char32_t

Shriramana Sharma via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 3 05:06:41 PST 2014


I wonder if posting this message to this list is more appropriate than
to d.learn?

---------- Forwarded message ----------
In the following pages (which have differing file naming patterns for
whatever reason!):

http://dlang.org/interfaceToC.html
http://dlang.org/cpp_interface

I would suggest to add the info that wchar is compatible with the
char16_t and dchar with char32_t of C11. See:

http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29#Changes_from_C99

Currently wchar and dchar are marked as being compatible with wchar_t
depending on the sizeof(wchar_t). That's true, but I guess
char{16,32}_t provide a stable mapping.

--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा



More information about the Digitalmars-d mailing list