forked from boostorg/regex
Added another check to try and diagnode sunpro issue.
[SVN r26898]
This commit is contained in:
@ -107,6 +107,11 @@ void print_cpp_char(charT c)
|
|||||||
std::basic_string<charT> result = col.transform(&c, &c+1);
|
std::basic_string<charT> result = col.transform(&c, &c+1);
|
||||||
std::cout << result.size() << " ";
|
std::cout << result.size() << " ";
|
||||||
print_string(result);
|
print_string(result);
|
||||||
|
std::size_t n = result.find(charT(0));
|
||||||
|
if(n != std::basic_string<charT>::npos)
|
||||||
|
{
|
||||||
|
std::cerr << "(Error in location of null, found: " << n << ")";
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user