Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 1.46 KB

out-of-memory-class.md

File metadata and controls

69 lines (51 loc) · 1.46 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
out_of_memory Class | Microsoft Docs
11/04/2016
cpp-windows
article
out_of_memory
AMPRT/out_of_memory
AMPRT/Concurrency::out_of_memory::out_of_memory
C++
out_of_memory class
3aa7e682-8f13-4ae6-9188-31fb423956e4
11
mikeblome
mblome
ghogen

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.

See Also

Concurrency Namespace (C++ AMP)