Open CASCADE Technology  7.9.3
Data Structures | Macros
Standard_OutOfMemory.hxx File Reference
#include <Standard_Type.hxx>
#include <Standard_ProgramError.hxx>

Data Structures

class  Standard_OutOfMemory
 Standard_OutOfMemory exception is defined explicitly and not by macro DEFINE_STANDARD_EXCEPTION, to avoid necessity of dynamic memory allocations during throwing and stack unwinding: More...
 

Macros

#define Standard_OutOfMemory_Raise_if(CONDITION, MESSAGE)
 

Macro Definition Documentation

#define Standard_OutOfMemory_Raise_if (   CONDITION,
  MESSAGE 
)
Value:
if (CONDITION) \
throw Standard_OutOfMemory(MESSAGE);
Standard_OutOfMemory exception is defined explicitly and not by macro DEFINE_STANDARD_EXCEPTION, to avoid necessity of dynamic memory allocations during throwing and stack unwinding:
Definition: Standard_OutOfMemory.hxx:48