Fwd: char16_t and char32_t

Mike via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 3 14:59:10 PST 2014


On Monday, 3 November 2014 at 18:24:13 UTC, Shriramana Sharma via 
Digitalmars-d wrote:
> 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.
>

If you believe the D documentation needs updating, you are 
welcome and encouraged to submit a pull request to 
https://github.com/D-Programming-Language/dlang.org.  Also see 
http://forum.dlang.org/post/nplvjskmuywijvztmpbg@forum.dlang.org 
For info on compiling the dd files.

Mike



More information about the Digitalmars-d mailing list