STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
bad_cast Class Reference
Inheritance diagram for bad_cast:
exception

Public Member Functions

 bad_cast (const char *_Message="bad cast") _THROW0()
 
virtual ~bad_cast () _NOEXCEPT
 
- Public Member Functions inherited from exception
__CLR_OR_THIS_CALL exception (const char *_Message="unknown", int x=1) _THROW0()
 
__CLR_OR_THIS_CALL exception (const exception &_Right) _THROW0()
 
exception &__CLR_OR_THIS_CALL operator= (const exception &_Right) _THROW0()
 
virtual __CLR_OR_THIS_CALL ~exception () _NOEXCEPT
 
virtual const char *__CLR_OR_THIS_CALL what () const _THROW0()
 
void __CLR_OR_THIS_CALL _Raise () const
 

Protected Member Functions

virtual void _Doraise () const
 

Additional Inherited Members

- Static Public Member Functions inherited from exception
static _STD _Prhand _Set_raise_handler (_STD _Prhand _Pnew)
 
- Protected Attributes inherited from exception
const char * _Ptr
 

Constructor & Destructor Documentation

bad_cast::bad_cast ( const char *  _Message = "bad cast")
inline
194  : exception(_Message)
195  { // construct from message string
196  }
__CLR_OR_THIS_CALL exception(const char *_Message="unknown", int x=1) _THROW0()
Definition: exception:238
virtual bad_cast::~bad_cast ( )
inlinevirtual
199  { // destroy the object
200  }

Member Function Documentation

virtual void bad_cast::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from exception.

204  { // perform class-specific exception handling
205  _RAISE(*this);
206  }
#define _RAISE(x)
Definition: xstddef:70

The documentation for this class was generated from the following file: