Namespaces
Variants
Views
Actions

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
Primary 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)
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++11)
Type trait constants
 
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.

[edit] Parameters

(none)

[edit] Exceptions

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