Chapter 19. Types and Expressions
This chapter seeks to provide a deeper understanding of C++’s strong typing system, and shows how expressions are evaluated and converted.
Operators | ||
Evaluation of Logical Expressions | ||
Enumerations | ||
Signed and Unsigned Integral Types | ||
Standard Expression Conversions | ||
Explicit Conversions | ||
Safer Typecasting Using ANSI C++ Typecasts | ||
Run-Time Type Identification (RTTI) | ||
Member Selection Operators |
Here we formally define some terms that we have been using. Operators are special kinds of functions that perform calculations on operands and return results. Operands are the arguments supplied to the operator.
Operators can be thought of as ordinary functions, except that it ...
Get An Introduction to Design Patterns in C++ with Qt 4 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.