std::bad_cast::bad_cast

From cppreference.com
< cpp‎ | types‎ | bad cast
 
 
 
Type support
Basic types
Fundamental types
Fixed width integer types (C++11)
Numeric limits
C numeric limits interface
Runtime type information
Type traits
Type categories
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Type properties
(C++11)
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)(deprecated in C++17)
(C++11)
Type trait constants
Metafunctions
(C++17)
Supported operations
Relationships and property queries
(C++11)
(C++11)
(C++11)
(C++11)
Type modifications
(C++11)(C++11)(C++11)
Type transformations
(C++11)
(C++11)
(C++17)
(C++11)(deprecated in C++17)(C++17)
 
std::bad_cast
Member functions
bad_cast::bad_cast
Inherited from std::exception
 
bad_cast();

Constructs new std::bad_cast object. The contents of the byte string returned by what() are implementation defined.

Parameters

(none)

Exceptions

(none) (until C++11)
noexcept specification:  
noexcept
  
(since C++11)