Like the std::span constructor, but for (const) unsigned char member types only. Only works for (un)signed char containers.

Synopsis

Declared in <span.h>

template<typename V>
constexpr
decltype(UCharSpanCast(std::span{v}))
MakeUCharSpan(V const& v);

Return Value

A span of const unsigned char over the same memory as v.

Parameters

Name

Description

v

The (un)signed char range to view.

Created with MrDocs