Code Samples

CODE EXAMPLE 6-1small space Example of Local Type as Template Argument Problem

CODE EXAMPLE 6-2small space Example of Friend Declaration Problem

CODE EXAMPLE 7-1small space Redundant Definition Entry

CODE EXAMPLE 7-2small space Definition of Static Data Members and Use of Simple Names

CODE EXAMPLE 7-3small space Template Member Function Definition

CODE EXAMPLE 7-4small space Definition of Template Functions in Different Source Files

CODE EXAMPLE 7-5small space nocheck Option

CODE EXAMPLE 7-6small space special Entry

CODE EXAMPLE 7-7small space Example of When special Entry Should Be Used

CODE EXAMPLE 7-8small space Overloading special Entries

CODE EXAMPLE 7-9small space Specializing a Template Class

CODE EXAMPLE 7-10small space Specializing a Static Template Class Member

CODE EXAMPLE 11-1small space Checking Error State

CODE EXAMPLE 11-2small space Calling gcount

CODE EXAMPLE 11-3small space User-Defined I/O Operations

CODE EXAMPLE 11-4small space Disabling MT-Safety

CODE EXAMPLE 11-5small space Switching to MT-Unsafe

CODE EXAMPLE 11-6small space Using Synchronization With MT-Unsafe Objects

CODE EXAMPLE 11-7small space New Classes

CODE EXAMPLE 11-8small space New Class Hierarchy

CODE EXAMPLE 11-9small space New Functions

CODE EXAMPLE 11-10small space Example of Using Locking Operations

CODE EXAMPLE 11-11small space Making I/O Operation and Error Checking Atomic

CODE EXAMPLE 11-12small space Destroying a Shared Object

CODE EXAMPLE 11-13small space Using iostream Objects in an MT-Safe Way

CODE EXAMPLE 14-1small space string Extraction Operator

CODE EXAMPLE A-1small space Preprocessor Example Program foo.cc

CODE EXAMPLE A-2small space Preprocessor Output of foo.cc Using -E Option