Scroll to navigation

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

NAME

ost::StringObject - The StringObject class is used to derive subclasses that use the String managed memory pool for all space allocations by overriding new and delete operators.

SYNOPSIS

#include <string.h>

Public Member Functions


void * operator new (size_t size) NEW_THROWS
Create a new object in string managed space. void operator delete (void *obj)
Delete object from string managed space.

Detailed Description

The StringObject class is used to derive subclasses that use the String managed memory pool for all space allocations by overriding new and delete operators.

Due to size limits, StringObject should not hold very large objects.

Author

David Sugar dyfet@ostel.com

Objects managed in reusable String memory pools

Member Function Documentation

void ost::StringObject::operator delete (void * obj)

Delete object from string managed space.

void* ost::StringObject::operator new (size_t size)

Create a new object in string managed space.

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
Sun Dec 27 2020 GNU CommonC++