Fix exception specification and msvc warning push/pop.

This commit is contained in:
jzmaddock
2020-01-21 10:14:37 +00:00
parent 2cd947f7c4
commit f64c22870f
3 changed files with 14 additions and 21 deletions

View File

@ -52,7 +52,7 @@ class BOOST_REGEX_DECL regex_error : public std::runtime_error
public:
explicit regex_error(const std::string& s, regex_constants::error_type err = regex_constants::error_unknown, std::ptrdiff_t pos = 0);
explicit regex_error(regex_constants::error_type err);
~regex_error() BOOST_NOEXCEPT;
~regex_error() BOOST_NOEXCEPT_OR_NOTHROW;
regex_constants::error_type code()const
{ return m_error_code; }
std::ptrdiff_t position()const