Since boost::get may throw boost::bad_get (in the event of a failed application on the given arg), all boost::get overloads for refs or ptrs to boost::spirit::x3::variant objects in boost/spirit/home/x3/support/ast/variant.hpp should at least lack BOOST_NOEXCEPT (which leads to std::terminate invocation when a function indeed throws).
Since
boost::get
may throwboost::bad_get
(in the event of a failed application on the given arg), allboost::get
overloads for refs or ptrs toboost::spirit::x3::variant
objects inboost/spirit/home/x3/support/ast/variant.hpp
should at least lackBOOST_NOEXCEPT
(which leads tostd::terminate
invocation when a function indeed throws).Example: