[WIP] Add <cuchar>

Ed Smith-Rowland 3dw4rd@verizon.net
Thu Nov 21 22:51:00 GMT 2013


This patch is attempting to add the C++11 header cuchar that wraps the C11 uchar.h header that provides means of conversion between char16_t, char32_t and multibyte character sequences.  Recent glib versions ship with this support and it would be nice to forward this in C++11.

It's not ready but I wanted to get some feedback largely on configuration and autohell issues.  Also, in the case where there is no support on the system for uchar.h, what should we do?  I added a #warning that the capability is not supported and left the guts of cuchar #if-d out.  Honestly, my goal was to check off a low-priority box and lean some things.

Thanks,

Ed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CL_cuchar_2
Type: application/octet-stream
Size: 575 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20131121/dadaa4bd/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_cuchar_5
Type: application/octet-stream
Size: 11901 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20131121/dadaa4bd/attachment-0001.obj>


More information about the Libstdc++ mailing list