Boost C++ Libraries: Ticket #8763: format does not compile with char16_t strings and libc++ https://svn.boost.org/trac10/ticket/8763 <p> the following code does not compile with clang: </p> <pre class="wiki">#include &lt;boost/format.hpp&gt; int main(int argc, const char * argv[]) { std::basic_string&lt;char16_t&gt; abc = (boost::basic_format&lt;char16_t&gt;(u"Hello")).str(); return 0; } </pre><p> the reason is that libc++ does not provide std::ctype&lt;char16_t&gt;, as it is not provided by the standard. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8763 Trac 1.4.3 James E. King, III Fri, 13 Oct 2017 19:44:22 GMT owner, status changed https://svn.boost.org/trac10/ticket/8763#comment:1 https://svn.boost.org/trac10/ticket/8763#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Samuel Krempp</span> to <span class="trac-author">James E. King, III</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket James E. King, III Fri, 13 Oct 2017 19:50:53 GMT milestone changed https://svn.boost.org/trac10/ticket/8763#comment:2 https://svn.boost.org/trac10/ticket/8763#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> <p> This is not a Boost.Format concern. Implementations are not required to provide <code>std::ctype&lt;char16_t&gt;</code>. This failure also happens with libstdc++ 6.3.0, for example. </p> <p> For more information, see: </p> <p> <a class="ext-link" href="https://stackoverflow.com/questions/28360223/gcc-stdctype-specialisation-streams"><span class="icon">​</span>https://stackoverflow.com/questions/28360223/gcc-stdctype-specialisation-streams</a> <a class="ext-link" href="https://stackoverflow.com/questions/41315675/why-does-stdbasic-ifstreamchar16-t-not-work-in-c11"><span class="icon">​</span>https://stackoverflow.com/questions/41315675/why-does-stdbasic-ifstreamchar16-t-not-work-in-c11</a> </p> Ticket James E. King, III Fri, 13 Oct 2017 19:51:02 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8763#comment:3 https://svn.boost.org/trac10/ticket/8763#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> Ticket