diff -Naur boost_1_35_0/boost/range/as_literal.hpp boost_1_35_0/boost/range/as_literal.hpp --- boost_1_35_0/boost/range/as_literal.hpp 2008-03-22 22:45:55.000000000 +0100 +++ boost_1_35_0/boost/range/as_literal.hpp 2008-04-09 15:24:20.000000000 +0200 @@ -25,7 +25,9 @@ #include #include +#ifndef BOOST_NO_CWCHAR #include +#endif namespace boost { @@ -36,10 +38,12 @@ return strlen( s ); } +#ifndef BOOST_NO_INTRINSIC_WCHAR_T inline std::size_t length( const wchar_t* s ) { return wcslen( s ); } +#endif // // Remark: the compiler cannot choose between T* and T[sz]