std::span –

This post was originally published on this site

std:: span. std:: span. The class template span describes an object that can refer to a contiguous sequence of objects with the first element of the sequence at position zero. A span can either have a static extent, in which case the number of elements in the sequence is known at compile-time and encoded in the type, or a dynamic extent.

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart