HFT CORE SYSTEMS

Value categories, moves, forwarding, and copy elision

Lesson 46 of 96Phase 05: Low-latency C++
Video lesson coming soon

The written objectives and hands-on lab are available now.

cppvalley on YouTube ↗

Learning objectives

What you should understand

  1. Reason about lvalues, xvalues and prvalues
  2. Use move and forwarding without accidental pessimization
  3. 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

Phase 05

Low-latency C++

Full curriculum