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

Name

Description

v

The range whose bytes are viewed.

Created with MrDocs