ADTF  3.18.2
ReferenceCountedObject< IErrorDescription, ErrorDescriptionType >

Specialization to disable dynamic allocation with new() by providing an operator new overload. More...

Public Member Functions

 ReferenceCountedObject (...)
 CTOR, does nothing and should never be used directly.
 

Static Public Member Functions

static void * operator new (std::size_t) throw ()
 Overload operator new() to prevent dynamic memory allocation.
 
static void operator delete (void *, std::size_t)
 Overload operator delete() to prevent dynamic memory freeing.
 

Detailed Description

Specialization to disable dynamic allocation with new() by providing an operator new overload.

Definition at line 34 of file reference_counted_object_disable_dynamic_alloc.h.