21 #ifndef ABSL_TYPES_BAD_VARIANT_ACCESS_H_ 22 #define ABSL_TYPES_BAD_VARIANT_ACCESS_H_ 28 #ifdef ABSL_HAVE_STD_VARIANT 33 using std::bad_variant_access;
36 #else // ABSL_HAVE_STD_VARIANT 65 const char*
what()
const noexcept
override;
68 namespace variant_internal {
76 #endif // ABSL_HAVE_STD_VARIANT 78 #endif // ABSL_TYPES_BAD_VARIANT_ACCESS_H_
~bad_variant_access() override
const char * what() const noexceptoverride
void ThrowBadVariantAccess()
bad_variant_access() noexcept=default