ReactOS 0.4.15-dev-7889-g76290a6
PooledObj Class Reference

#include <bufpool.h>

Inheritance diagram for PooledObj:

Public Member Functions

voidoperator new (size_t, Pool &)
 
voidoperator new (size_t, void *)
 
voidoperator new (size_t s)
 
void operator delete (void *)
 
void operator delete (void *, Pool &)
 
void deleteMe (Pool &)
 

Detailed Description

Definition at line 118 of file bufpool.h.

Member Function Documentation

◆ deleteMe()

◆ operator delete() [1/2]

void PooledObj::operator delete ( void )
inline

Definition at line 124 of file bufpool.h.

124{ assert( 0 ); }
#define assert(x)
Definition: debug.h:53

◆ operator delete() [2/2]

void PooledObj::operator delete ( void ,
Pool  
)
inline

Definition at line 125 of file bufpool.h.

125{ assert( 0 ); }

◆ operator new() [1/3]

void * PooledObj::operator new ( size_t  s)
inline

Definition at line 122 of file bufpool.h.

123 { return ::new char[s]; }
GLdouble s
Definition: gl.h:2039

◆ operator new() [2/3]

void * PooledObj::operator new ( size_t  ,
Pool pool 
)
inline

Definition at line 130 of file bufpool.h.

131{
132 return pool.new_buffer();
133}

◆ operator new() [3/3]

void * PooledObj::operator new ( size_t  ,
void  
)
inline

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