Multiple ChoiceIntermediate 45s
std::span static_extent Purpose
A std::span<T, N> with N != std::dynamic_extent means:
Options
- 1It stores exactly N elements by value and rejects any span of a different extent
- 2It is a fixed-capacity container that owns N elements and manages their lifetime
- 3It can only view arrays with static storage duration and not heap or member buffers
- 4Its extent (number of elements) is fixed at compile time and encoded in the type
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.