OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TStandardAllocator Class Reference

Provides class-specific operator new and operator delete that simply call the global operator new and operator delete. More...

#include <owl/template.h>

Public Member Functions

void operator delete (void *ptr)
 
voidoperator new (size_t sz)
 
voidAlloc (size_t sz)
 
void Free (void *ptr)
 
voidReAlloc (void *ptr, size_t sz)
 

Detailed Description

Provides class-specific operator new and operator delete that simply call the global operator new and operator delete.

That is, TStandardAllocator does not provide any specialized behavior. It is used in the non-managed versions of the parametrized containers.

Definition at line 37 of file template.h.

Member Function Documentation

◆ Alloc()

void * owl::TStandardAllocator::Alloc ( size_t sz)
inline

Definition at line 62 of file template.h.

◆ Free()

void owl::TStandardAllocator::Free ( void * ptr)
inline

Definition at line 65 of file template.h.

◆ operator delete()

void owl::TStandardAllocator::operator delete ( void * ptr)
inline

Definition at line 55 of file template.h.

◆ operator new()

void * owl::TStandardAllocator::operator new ( size_t sz)
inline

Definition at line 58 of file template.h.

◆ ReAlloc()

void * owl::TStandardAllocator::ReAlloc ( void * ptr,
size_t sz )
inline

Definition at line 68 of file template.h.


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