forked from boostorg/regex
Fix concept check regression, and suppress various VC-related warnings.
[SVN r32014]
This commit is contained in:
@ -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);
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
return m_subs[sub].length();
|
||||
return 0;
|
||||
}
|
||||
difference_type position(unsigned int sub = 0) const
|
||||
difference_type position(size_type sub = 0) const
|
||||
{
|
||||
sub += 2;
|
||||
if(sub < m_subs.size())
|
||||
|
@ -45,7 +45,7 @@ OutputIterator regex_replace(OutputIterator out,
|
||||
}
|
||||
else
|
||||
{
|
||||
BidirectionalIterator last_m = first;
|
||||
BidirectionalIterator last_m(first);
|
||||
while(i != j)
|
||||
{
|
||||
if(!(flags & regex_constants::format_no_copy))
|
||||
|
Reference in New Issue
Block a user