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

Public Types

typedef logic_error _Mybase
 

Public Member Functions

 out_of_range (const string &_Message)
 
 out_of_range (const char *_Message)
 
- Public Member Functions inherited from logic_error
 logic_error (const string &_Message)
 
 logic_error (const char *_Message)
 
- Public Member Functions inherited from exception
__CLR_OR_THIS_CALL exception (const char *_Message="unknown", int=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
 

Member Typedef Documentation

Constructor & Destructor Documentation

out_of_range::out_of_range ( const string _Message)
inlineexplicit
135  : _Mybase(_Message.c_str())
136  { // construct from message string
137  }
_Ret_z_ const _Elem * c_str() const _NOEXCEPT
Definition: xstring:3001
logic_error _Mybase
Definition: stdexcept:132
out_of_range::out_of_range ( const char _Message)
inlineexplicit
140  : _Mybase(_Message)
141  { // construct from message string
142  }
logic_error _Mybase
Definition: stdexcept:132

Member Function Documentation

virtual void out_of_range::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from logic_error.

149  { // perform class-specific exception handling
150  _RAISE(*this);
151  }
#define _RAISE(x)
Definition: xstddef:31

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