Class Garbage.

Inherited by Buffer, Class, Configuration, DictBase, DocBlock, Entropy, Enum, Error, File, Function, Intro, List, Log, Logger, MD5, ManPage, Map, MapTable, Output, Parser, Postscript, Scope, Singleton, String, StringData, TableBase and WebPage.

The Garbage class provides an object which will allocated using Allocator and be freed automatically when nothing points to it.

Almost all Oryx classes inherit Garbage directly or indirectly. Any that need special allocation handling (Allocator itself is one example) can avoid inheriting Garbage, or can provide their own operator new implementations which call ::malloc() or the Allocator's ::alloc() on their own.

Garbage::Garbage()

Creates garbage to justify garbage collection.

This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.