Fix concept check regression, and suppress various VC-related warnings.

[SVN r32014]
This commit is contained in:
John Maddock
2005-12-13 18:30:53 +00:00
parent 9d0e60bd74
commit afc5ce05cd
4 changed files with 11 additions and 5 deletions

View File

@ -572,7 +572,7 @@ re_syntax_base* basic_regex_creator<charT, traits>::append_set(
// Oops error:
return 0;
}
BOOST_ASSERT(c3[1] == 0);
BOOST_ASSERT(c3[1] == charT(0));
for(unsigned i = 0; i < (1u << CHAR_BIT); ++i)
{
c3[0] = static_cast<charT>(i);