DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Getting Started

Low-level types

Another category of components provides fundamental, low-level types. These are low-level in the sense that you would be more likely to use them to build other components than to use them directly in an application. Pool(3C++), Objection(3C++), and the ``pointer'' classes provided by List(3C++) and Set(3C++) fall into this category. For example, one of the facilities of the Pool(3C++) component, class Pool, manages fixed-size chunks of storage very efficiently. It is useful in building other classes that allocate and free many instances of some fixed-size type T. As a proof of concept, several of the components in C++ Standard Components use Pools for their internal storage management. List(3C++), for example, uses Pools to allocate List nodes.


Next topic: Container types
Previous topic: Simple types

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004