Boost logo

Boost :

Subject: Re: [boost] [C++0x] Emulate C++0x char16_t, char32_t, std::u16string, and std::u32string
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-07-22 09:51:47

On Fri, Jul 22, 2011 at 5:03 AM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> On 07/22/2011 04:13 AM, Beman Dawes wrote:
>> Right, instead you have to write BOOST_CHAR16_T, which is defined as
>> boost::char16_t or char16_t depending on availability of C++0x or
>> Microsoft char16_t. Ugly. Ugly. Ugly.
> Or, as I said, you use boost::char16, which is a typedef to char16_t if
> available.
> No macro, no ugliness, portable and safe.

Ah! Sorry, I missed the lack of _t.

Yes, that would be a better approach.


Boost list run by bdawes at, gregod at, cpdaniel at, john at