Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

7.1 Introducing the Smart Pointer Package

Smart pointers are objects that encapsulate built-in, or raw, pointers. They are useful as building blocks for implementing many idioms, including the handle-body and singleton patterns provided by this package. Smart pointers by themselves are useful for both exception-safe programming and automated garbage collection. Threads Module has always used some smart pointers internally, but in this release they have been uncovered and extended for your use.

The Threads Module Smart Pointer package provides the following features:

7.1.1 Interpackage Dependencies

The Smart Pointer package depends on the Thread-compatible Exception, Execution Tracing, and Synchronization packages of the Threads Module.

7.1.2 Including the Smart Pointer Header Files

The rw\pointer directory contains a header file for each class, named classname.h. You can also access the declarations for the entire Smart Pointer package through pointer.h, an umbrella file that includes the header files for all the classes.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.