Index

, (comma operator), 39–40

?: (conditional operator), 15–16, 40–41

[ ] (allocating and deleting arrays), 35, 36, 168

( ) (allocating arrays), 35

-> (arrow operator), 58–60, 257–258

[ ] (index operator), 16–17

&& (logical operator), 40

|| (logical operator), 40

<<< (Sergeant operator), 48–49

A

access protection

Bridge pattern, 21–22

vs. data abstraction, 241–242

description, 19

inheritance, 23, 277–280

naming conventions, 23

vs. visibility, 19–23

accessor functions. See get/set interfaces.

ACM Code of Ethics..., 32

acquaintance vs. aggregation, 253–258

acronyms, 25–26

Acyclic Visitor pattern, 306

addresses

arithmetic errors, 77–78, 89, 101, 286

base class subobjects, 206–208

members. See pointers, to members.

of a non-lvalue return, 267 ...

Get C++ Gotchas: Avoiding Common Problems in Coding and Design 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.