Skip to content
UPEEC

Expressions and Statements in C++

Mostly like C, plus range-based `for`, `if`/`switch` with initialisers, and `if constexpr`.

Beginner
Comments 0

if (auto it = m.find(k); it != m.end()) use(it->second);

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.