
22 Jul
2011
22 Jul
'11
9:03 a.m.
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.