ReactOS  0.4.14-dev-608-gd495a4f
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]

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 ); }
#define assert(x)
Definition: debug.h:53

◆ operator new() [1/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() [2/3]

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

◆ operator new() [3/3]

Definition at line 122 of file bufpool.h.

123  { return ::new char[s]; }
#define new(TYPE, numElems)
Definition: treelist.c:54
GLdouble s
Definition: gl.h:2039

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