mirror of
https://github.com/boostorg/regex.git
synced 2025-07-21 16:22:43 +02:00
@ -113,6 +113,10 @@ inline unsigned utf8_trailing_byte_count(boost::uint8_t c)
|
|||||||
return utf8_byte_count(c) - 1;
|
return utf8_byte_count(c) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BOOST_MSVC
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4100)
|
||||||
|
#endif
|
||||||
inline void invalid_utf32_code_point(::boost::uint32_t val)
|
inline void invalid_utf32_code_point(::boost::uint32_t val)
|
||||||
{
|
{
|
||||||
#ifndef BOOST_NO_STD_LOCALE
|
#ifndef BOOST_NO_STD_LOCALE
|
||||||
@ -124,6 +128,9 @@ inline void invalid_utf32_code_point(::boost::uint32_t val)
|
|||||||
#endif
|
#endif
|
||||||
boost::throw_exception(e);
|
boost::throw_exception(e);
|
||||||
}
|
}
|
||||||
|
#ifdef BOOST_MSVC
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
Reference in New Issue
Block a user