$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [C++0x] Emulate C++0x char16_t, char32_t, std::u16string, and std::u32string
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-21 05:00:25
On 21/07/2011 04:07, Beman Dawes wrote:
> The idea is to do what is possible, allowing most non-conforming and
> legacy compilers and libraries to get more mileage out of Unicode
> encodings. It won't be perfect, and the typedef technique isn't
> pretty, but it does seem to solve a problem real users are asking be
> solved.
What's wrong with defining boost::char32 as a typedef of char32_t if it
is available and uint_least32_t otherwise?