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] | |
On 15/05/14 13:30 +0100, Jonathan Wakely wrote:
We are missing specializations for wchar_t, char16_t and char32_t. The preprocessor condition I've added at the top of <type_traits> is to avoid needing to #include <cstdint>, which drops names in the global namespace. GCC defines __UINT_LEAST16_TYPE__ and __UINT_LEAST32_TYPE__ so we can use them, but other compilers may not (Clang doesn't) so just #include <cstdint> and accept that <stdint.h> might put its contents in the global namespace. Tested x86_64-linux, committed to trunk. I'd like to put this on the branch for 4.9.1 too, but will wait a while.
Here's the 4.9 version of the change, committed.
Attachment:
patch-2.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |