O'Reilly logo

An Introduction to Design Patterns in C++ with Qt 4 by Paul Ezust, Alan Ezust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

19.1

Operators

438

19.2

Evaluation of Logical Expressions

443

19.3

Enumerations

443

19.4

Signed and Unsigned Integral Types

445

19.5

Standard Expression Conversions

447

19.6

Explicit Conversions

449

19.7

Safer Typecasting Using ANSI C++ Typecasts

450

19.8

Run-Time Type Identification (RTTI)

454

19.9

Member Selection Operators

457

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required