Subject: [Boost-bugs] [Boost C++ Libraries] #8763: format does not compile with char16_t strings and libc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-02 13:08:21
#8763: format does not compile with char16_t strings and libc++
------------------------------+---------------------------
Reporter: timblechmann | Owner: samuel_krempp
Type: Bugs | Status: new
Milestone: To Be Determined | Component: format
Version: Boost 1.54.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------
the following code does not compile with clang:
{{{
#include <boost/format.hpp>
int main(int argc, const char * argv[])
{
std::basic_string<char16_t> abc =
(boost::basic_format<char16_t>(u"Hello")).str();
return 0;
}
}}}
the reason is that libc++ does not provide std::ctype<char16_t>, as it is
not provided by the standard.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8763> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC