MakeByteSpan

Return a read-only span of bytes viewing the same memory as the range v.

Synopsis

Declared in <span.h>

template<typename V>
auto
MakeByteSpan(V const& v) noexcept;

Return Value

A read-only span of bytes over the same memory as v.

Parameters

NameDescription
vThe range whose bytes are viewed.