Home
Quick reference
Focused C++20 summaries for finding syntax and important distinctions quickly.
Topics
9 topicsVariables
Fundamental types
Function parameters
- 03Choosing a parameter typeA quick guide to value, reference, and pointer parameters.
- 04Pass by valueGive a function its own value without modifying the caller's variable.
- 05Pass by const referenceRead an existing object without copying or modifying it.
- 06Pass by referenceLet a function modify an existing required object.
- 07Pass by pointerPass an object's address when the object may be optional.