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

Single-size block allocator. More...

#include <owl/template.h>

Inheritance diagram for owl::TMemBlocks:
owl::TMMemBlocks< TStandardAllocator >

Public Member Functions

 TMemBlocks (size_t sz, unsigned n=100)
 
- Public Member Functions inherited from owl::TMMemBlocks< TStandardAllocator >
 TMMemBlocks (size_t sz, unsigned int count=100)
 
voidAllocate (size_t sz)
 
void Free (void *block)
 

Detailed Description

Single-size block allocator.

Allocates blocks of the size specified in the constructor, using the global operator new and operator delete.

Definition at line 475 of file template.h.

Constructor & Destructor Documentation

◆ TMemBlocks()

owl::TMemBlocks::TMemBlocks ( size_t sz,
unsigned n = 100 )
inline

Definition at line 477 of file template.h.


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