description | title | ms.date | f1_keywords | helpviewer_keywords | no-loc | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about the std::bad_any_cast class from the C++ Standard Library. |
bad_any_cast class |
09/20/2021 |
|
|
|
Objects thrown by a failed any_cast
.
class bad_any_cast ;
Name | Description |
---|---|
what |
Returns the type. |
Returns the type.
const char* what() const noexcept override;
Header: <any>
Namespace: std
Standard: C++17 (Use at least /std:c++17
to compile.)