Boost C++ Libraries: Ticket #1800: range/as_literal.hpp misses checks, whether wchar is even available https://svn.boost.org/trac10/ticket/1800 <p> range/as_literal.hpp declares overloads for length() and is_char_ptr(), which also includes overloads for (const) wchar_t*. </p> <p> This fails to compile on systems without wchar-Support. Also, you shouldn't rely on the presence of the system-header cwchar. There is a macro to test that. </p> <p> I attached a patch, which makes it at least work on my system. It's Linux/uclibc, where the header cwchar and and the type wchar_t are present, but non of the system functions concerning wchar_t are available. </p> <p> Kind regards, René </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1800 Trac 1.4.3 René Bürgel <r.buergel@…> Wed, 09 Apr 2008 14:03:30 GMT attachment set https://svn.boost.org/trac10/ticket/1800 https://svn.boost.org/trac10/ticket/1800 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">range_misses_wchar_check.patch</span> </li> </ul> <p> Patch </p> Ticket René Bürgel <r.buergel@…> Wed, 09 Apr 2008 14:11:08 GMT attachment set https://svn.boost.org/trac10/ticket/1800 https://svn.boost.org/trac10/ticket/1800 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">range_misses_wchar_check.2.patch</span> </li> </ul> Ticket Thorsten Ottosen Thu, 12 Jun 2008 10:47:35 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1800#comment:1 https://svn.boost.org/trac10/ticket/1800#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Applied </p> <p> Thanks! </p> <p> -Thorsten </p> Ticket