
----- Original Message ----
From: Beman Dawes <bdawes@acm.org> To: Boost Developers List <boost@lists.boost.org> Sent: Mon, July 18, 2011 7:17:19 PM Subject: [boost] [regex] How robust are the <boost/regex/pending/unicode_iterator.hpp> adapters?
Boost.Filesystem needs the UTF-32 to UTF-16 and UTF-16 to UTF-32 adapters to implement char16_t and char32_t support.
UTF-16 to UTF-32 and backward is quite trivial and can be done in 10-20 rows of code. You can borrow some code from Boost.Locale it is really trivial. If you need I'll give you samples. Really, don't add dependency for this...
Do they have any known bugs or other outstanding problems?
I can tell you char16_t and char32_t are far-far-far-far from being useful especially if you want to use codecvt or something like that. http://cppcms.sourceforge.net/boost_locale/html/status_of_cpp0x_characters_s... So don't be in hurry to implement anything useful for them, currently these characters support is totally broken with major compilers.
TIA,
--Beman
Best, Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.sf.net/ CppDB - C++ SQL Connectivity: http://cppcms.sf.net/sql/cppdb/