November 03, 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 ஶ்ரீரமணஶர்மா श्रीरमणशर्मा

November 03, 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