mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 22:02:08 +02:00
Add workaround for old broken compilers that don't support template construct/assign to containers.
Fixes #6680. [SVN r79342]
This commit is contained in:
@ -191,6 +191,7 @@ void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_c
|
|||||||
this->m_pdata->m_status = error_code;
|
this->m_pdata->m_status = error_code;
|
||||||
m_position = m_end; // don't bother parsing anything else
|
m_position = m_end; // don't bother parsing anything else
|
||||||
|
|
||||||
|
#ifndef BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
||||||
//
|
//
|
||||||
// Augment error message with the regular expression text:
|
// Augment error message with the regular expression text:
|
||||||
//
|
//
|
||||||
@ -211,6 +212,7 @@ void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_c
|
|||||||
}
|
}
|
||||||
message += "'.";
|
message += "'.";
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef BOOST_NO_EXCEPTIONS
|
#ifndef BOOST_NO_EXCEPTIONS
|
||||||
if(0 == (this->flags() & regex_constants::no_except))
|
if(0 == (this->flags() & regex_constants::no_except))
|
||||||
|
Reference in New Issue
Block a user