logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                          ost::MemPagerObject(3)

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

voidost::MemPagerObject::operatordelete(void*)[inline]
       Mempager delete does nothing; the pool purges.

   voidost::MemPagerObject::operatordelete[](void*)[inline]
       Array mempager delete does nothing; the pool purges.

   void*ost::MemPagerObject::operatornew(size_tsize,MemPager&pager)[inline]
       Allocate memory from a memory pager.

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

   void*ost::MemPagerObject::operatornew[](size_tsize,MemPager&pager)[inline]
       Allocate array from a memory pager.

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

Name

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

Synopsis

       #include <misc.h>

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

See Also