
On Thu, Jul 21, 2011 at 5:35 PM, Mathias Gaunard <mathias.gaunard@ens-lyon.org> wrote:
On 07/21/2011 04:58 PM, Beman Dawes wrote:
But consider this... The two most widely used compilers, GCC and VC++, are already shipping with char16_t and char32_t in the global namespace. GCC via actual keywords, VC++ via typedefs. So other compilers are bound to soon follow. Thus it seems a bit of a detour for boost to introduce boost::char16_t/boost::char32_t.
Note that you can't have boost::char16_t, since char16_t is a keyword.
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. The filesystem path POSIX implementation of the char16_t/char32_t support is underway, still using the header I posted. No problems so far. --Beman