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