Documentation Home
> C++ Migration Guide
C++ Migration Guide
Book Information
Preface
Chapter 1 Introduction
The C++ Language
Compiler Modes of Operation
Standard Mode
Compatibility Mode
Binary Compatibility Issues
Language Changes
Mixing Old and New Binaries
Conditional Expressions
Function Pointers and void*
Chapter 2 Using Compatibility Mode
Compatibility Mode
Keywords in Compatibility Mode
Language Semantics
Chapter 3 Using Standard Mode
Standard Mode
Keywords in Standard Mode
Templates
Resolving Type Names
Converting to the New Rules
Explicit Instantiation and Specialization
Template Repository
Templates and the Standard Library
Class Name Injection
for-Statement Variables
String Literals and char*
New Forms of new and delete
Array Forms of new and delete
Exception Specifications
Replacement Functions
Header Inclusions
Boolean Type
Pointers to extern "C" Functions
Language Linkage
A Less-Portable Solution
Pointers to Functions as Function Parameters
Runtime Type Identification (RTTI)
Standard Exceptions
Chapter 4 Using Iostreams and Library Headers
Iostreams
Task (Coroutine) Library
Rogue Wave Tools.h++
C Library Headers
Standard Header Implementation
Chapter 5 Migrating From C++ 3.0 to C++ 5.0
Keywords Added Since the C++ 3.0 Compiler
Source Code Incompatibilities
Cfront Link-Time Instantiation
Chapter 6 Moving From C to C++
Reserved and Predefined Words
Creating Generic Header Files
Linking to C Functions
© 2010, Oracle Corporation and/or its affiliates