Chapter 10. Classes
Those types are not “abstract”; they are as real as | ||
--Doug McIlroy |
Concepts and classes — class members — access control — constructors — static members — default copy — const member functions — this — structs — in-class function definition — concrete classes — member functions and helper functions — overloaded operators — use of concrete classes — destructors — default construction — local variables — user-defined copy — new and delete — member objects — arrays — static storage — temporary variables — unions — advice — exercises.
Introduction
The aim of the C++ class concept is to provide the programmer with a tool for creating new types that can be used as conveniently as the built-in types. In addition, derived ...
Get The C++ Programming Language, Special 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.