out_of_memory Class
The exception that is thrown when a method fails because of a lack of system or device memory.
Syntax
class out_of_memory : public runtime_exception;
Members
Public Constructors
Name | Description |
---|---|
out_of_memory Constructor | Initializes a new instance of the out_of_memory class. |
Inheritance Hierarchy
exception
runtime_exception
out_of_memory
Requirements
Header: amprt.h
Namespace: Concurrency
out_of_memory
Initializes a new instance of the class.
Syntax
explicit out_of_memory(
const char * _Message ) throw();
out_of_memory () throw();
Parameters
_Message
A description of the error.
Return Value
A new instance of the out_of_memory
class.