Learning objectives
What you should understand
- Reason about lvalues, xvalues and prvalues
- Use move and forwarding without accidental pessimization
- Know when copy elision removes construction
Lab
Hands-on exercise
Instrument a small type to trace copies, moves and elision.
Deliverable
Evidence of completion
A call-path matrix showing ownership and construction behavior.
- Prerequisite
- EP 45