Code Samples |
CODE EXAMPLE 6-1 Example of Local Type as Template Argument Problem
CODE EXAMPLE 6-2 Example of Friend Declaration Problem
CODE EXAMPLE 7-1 Redundant Definition Entry
CODE EXAMPLE 7-2 Definition of Static Data Members and Use of Simple Names
CODE EXAMPLE 7-3 Template Member Function Definition
CODE EXAMPLE 7-4 Definition of Template Functions in Different Source Files
CODE EXAMPLE 7-5 nocheck Option
CODE EXAMPLE 7-6 special Entry
CODE EXAMPLE 7-7 Example of When special Entry Should Be Used
CODE EXAMPLE 7-8 Overloading special Entries
CODE EXAMPLE 7-9 Specializing a Template Class
CODE EXAMPLE 7-10 Specializing a Static Template Class Member
CODE EXAMPLE 11-1 Checking Error State
CODE EXAMPLE 11-2 Calling gcount
CODE EXAMPLE 11-3 User-Defined I/O Operations
CODE EXAMPLE 11-4 Disabling MT-Safety
CODE EXAMPLE 11-5 Switching to MT-Unsafe
CODE EXAMPLE 11-6 Using Synchronization With MT-Unsafe Objects
CODE EXAMPLE 11-7 New Classes
CODE EXAMPLE 11-8 New Class Hierarchy
CODE EXAMPLE 11-9 New Functions
CODE EXAMPLE 11-10 Example of Using Locking Operations
CODE EXAMPLE 11-11 Making I/O Operation and Error Checking Atomic
CODE EXAMPLE 11-12 Destroying a Shared Object
CODE EXAMPLE 11-13 Using iostream Objects in an MT-Safe Way
CODE EXAMPLE 14-1 string Extraction Operator
CODE EXAMPLE A-1 Preprocessor Example Program foo.cc
CODE EXAMPLE A-2 Preprocessor Output of foo.cc Using -E Option
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.