GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


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_tsize, 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_tsize, 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.



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.154 seconds. Last modified: November 04 2018 12:49:43.