MakeWritableUCharSpan

Like MakeUCharSpan, but returns a writable span of unsigned char.

Synopsis

Declared in <span.h>

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

Return Value

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

Parameters

NameDescription
vThe (un)signed char range to view.