44. Compatibility

You go ahead and follow your customs, and I’ll follow mine.

– C. Napier

Introduction

C++11 Extensions

Language Features; Standard-Library Components; Deprecated Features; Coping with Older C++ Implementations

C/C++ Compatibility

C and C++ Are Siblings; “Silent” Differences; C Code That Is Not C++; C++ Code That Is Not C

Advice

44.1. Introduction

This chapter discusses the differences between Standard C++ (as defined by ISO/IEC 14882-2011) and earlier versions (such as ISO/IEC 14882-1998), Standard C (as defined by ISO/IEC 9899-2011) and earlier versions (such as Classic C). The purposes are

• To concisely list what is new in C++11

• To document differences that can cause problems for a programmer

• To point to ways ...

Get The C++ Programming Language, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.