Scroll to navigation

std::bad_any_cast(3cxx) std::bad_any_cast(3cxx)

NAME

std::bad_any_cast - Exception class thrown by a failed any_cast.

SYNOPSIS

Inherits std::bad_cast.

Public Member Functions


virtual const char * what () const noexcept

Detailed Description

Exception class thrown by a failed any_cast.

Definition at line 55 of file any.

Member Function Documentation

virtual const char * std::bad_any_cast::what () const [inline], [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::bad_cast.

Definition at line 58 of file any.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++