id summary reporter owner description type status milestone component version severity resolution keywords cc 2903 istarts_with fails when called for a literal widechar string (VS2005 with /Zc:wchar_t-) boris.glick@… Thorsten Ottosen "When compiled with the flag /Zc:wchar_t-, this call returns false: istarts_with(L""Prefix.FollowedByText"", L""Prefix"") The reason, as far as I could determine: When /Zc:wchar_t- is defined, range_detail::is_char_ptr(L""Prefix"") returns false, and as_literal() treats its argument as an array. So boost::end() points past the terminating NULL character, and the comparison fails." Bugs closed range Boost 1.37.0 Problem fixed istarts_with, is_char_ptr, /Zc:wchar_t- droba@…