System::ReadOnlySpan::ReadOnlySpan constructor

ReadOnlySpan::ReadOnlySpan() constructor

Constructs an empty read-only span.

System::ReadOnlySpan<T>::ReadOnlySpan()

See Also

ReadOnlySpan::ReadOnlySpan(const Span<T>&) constructor

Constructs a read-only span from a regular span.

System::ReadOnlySpan<T>::ReadOnlySpan(const Span<T> &span)
ParameterTypeDescription
spanconst Span<T>&The span to create a read-only view of.

See Also

ReadOnlySpan::ReadOnlySpan(const typename std::enable_if<std::is_same<T1, uint8_t>::value, char>::type(&)) constructor

Constructs a read-only span from a string literal.

template<std::size_t,typename T1> System::ReadOnlySpan<T>::ReadOnlySpan(const typename std::enable_if<std::is_same<T1, uint8_t>::value, char>::type(&array)[N])
ParameterDescription
NLiteral size.
T1Serice SFINAE type.
ParameterTypeDescription
arrayconst typename std::enable_if<std::is_same<T1, uint8_t>::value, char>::type(&)The span to create a read-only view of.

See Also