Scroll to navigation

ost::MemPagerObject(3) Library Functions Manual ost::MemPagerObject(3)

NAME

ost::MemPagerObject - This class is used to create derived classes which are constructed within a memory pager pool.

SYNOPSIS

#include <misc.h>

Public Member Functions


void * operator new (size_t size, MemPager &pager)
Allocate memory from a memory pager. void * operator new[] (size_t size, MemPager &pager)
Allocate array from a memory pager. void operator delete (void *)
Mempager delete does nothing; the pool purges. void operator delete[] (void *)
Array mempager delete does nothing; the pool purges.

Detailed Description

This class is used to create derived classes which are constructed within a memory pager pool.

create objects in a memory pager.

Author

David Sugar dyfet@ostel.com

Member Function Documentation

void ost::MemPagerObject::operator delete (void *) [inline]

Mempager delete does nothing; the pool purges.

void ost::MemPagerObject::operator delete[] (void *) [inline]

Array mempager delete does nothing; the pool purges.

void* ost::MemPagerObject::operator new (size_t size, MemPager & pager) [inline]

Allocate memory from a memory pager.

Parameters

size of new passed from operator.
pager to allocate from.

void* ost::MemPagerObject::operator new[] (size_t size, MemPager & pager) [inline]

Allocate array from a memory pager.

Parameters

size of new passed from operator.
pager to allocate from.

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sat Dec 28 2019 GNU CommonC++