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: [Patch] First bits of char16_t, char32_t support


... Kris pointed out in private that of course short unsigned int and unsigned int are just the *default* underlying types: of course, just consider targets where unsigned ints are 16 bits wide. Therefore I decided to change the numeric_limits test the safe way, by using, when available, <cstdint>, thus the exact definition of char16_t and char32_t. Tested x86_64-linux, will commit in a moment.

Paolo.

/////////////////

Attachment: patch_33979_1_2
Description: Binary data


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