Skip to content
UPEEC

std::span

A non-owning view over a contiguous sequence (C++20).

Intermediate
Comments 0

void process(std::span<const int16_t> samples); accepts arrays, vectors and std::array.

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.