bad_any_cast
class
Objects thrown by a failed any_cast
.
Syntax
class bad_any_cast ;
Members
Name | Description |
---|---|
what |
Returns the type. |
bad_any_cast::what
Returns the type.
const char* what() const noexcept override;
Requirements
Header: <any>
Namespace: std
Standard: C++17 (Use at least /std:c++17
to compile.)