All challenges
Multiple ChoiceIntermediate 45s

std::span static_extent Purpose

A std::span<T, N> with N != std::dynamic_extent means:
Options
  1. 1It stores exactly N elements by value and rejects any span of a different extent
  2. 2It is a fixed-capacity container that owns N elements and manages their lifetime
  3. 3It can only view arrays with static storage duration and not heap or member buffers
  4. 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.

Play this in a 3-minute battle