ReactOS 0.4.15-dev-8614-gbc76250
std::out_of_range_error Class Reference
Inheritance diagram for std::out_of_range_error:
Collaboration diagram for std::out_of_range_error:

Public Member Functions

 out_of_range_error (const char *msg) noexcept
 
virtual ~out_of_range_error ()
 
virtual const charwhat () const noexcept
 

Private Attributes

charm_msg
 

Additional Inherited Members

- Public Attributes inherited from __exception
vtable_ptrvtable
 
charname
 
int do_free
 
const vtable_ptrvtable
 
BOOL do_free
 

Detailed Description

Definition at line 15 of file __throw_out_of_range_fmt.cpp.

Constructor & Destructor Documentation

◆ out_of_range_error()

std::out_of_range_error::out_of_range_error ( const char msg)
inlineexplicitnoexcept

Definition at line 19 of file __throw_out_of_range_fmt.cpp.

20 {
21 size_t len = strlen(msg) + 1;
22 m_msg = (char*)malloc(len);
24 }
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
char * strcpy(char *DstString, const char *SrcString)
Definition: utclib.c:388
#define msg(x)
Definition: auth_time.c:54
#define malloc
Definition: debug_ros.c:4
GLenum GLsizei len
Definition: glext.h:6722

◆ ~out_of_range_error()

virtual std::out_of_range_error::~out_of_range_error ( )
inlinevirtual

Definition at line 25 of file __throw_out_of_range_fmt.cpp.

25{ free(m_msg); };
#define free
Definition: debug_ros.c:5

Member Function Documentation

◆ what()

virtual const char * std::out_of_range_error::what ( ) const
inlinevirtualnoexcept

Definition at line 26 of file __throw_out_of_range_fmt.cpp.

26{ return m_msg; }

Member Data Documentation

◆ m_msg

char* std::out_of_range_error::m_msg
private

Definition at line 17 of file __throw_out_of_range_fmt.cpp.

Referenced by out_of_range_error(), what(), and ~out_of_range_error().


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