Go to the documentation of this file.
15 #include "absl/types/bad_variant_access.h"
17 #ifndef ABSL_USES_STD_VARIANT
22 #include "absl/base/config.h"
23 #include "absl/base/internal/raw_logging.h"
35 return "Bad variant access";
38 namespace variant_internal {
41 #ifdef ABSL_HAVE_EXCEPTIONS
50 #ifdef ABSL_HAVE_EXCEPTIONS
54 "Internal error in absl::variant implementation. Attempted to "
55 "rethrow an exception when building with exceptions disabled.");
64 #endif // ABSL_USES_STD_VARIANT
~bad_variant_access() override
const char * what() const noexcept override
#define ABSL_NAMESPACE_END
#define ABSL_NAMESPACE_BEGIN
void ThrowBadVariantAccess()
#define ABSL_RAW_LOG(severity,...)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:45