12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef BOOST_VARIANT_BAD_VISIT_HPP
- #define BOOST_VARIANT_BAD_VISIT_HPP
- #include <boost/config.hpp>
- #include <exception>
- namespace boost {
- struct BOOST_SYMBOL_VISIBLE bad_visit
- : std::exception
- {
- public:
- const char * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE
- {
- return "boost::bad_visit: "
- "failed visitation using boost::apply_visitor";
- }
- };
- }
- #endif
|