Template Function gpa::playback::detail::MakeSpan(T const *, size_t)

Function Documentation

template<typename T>
inline Span<T const> gpa::playback::detail::MakeSpan(T const *pData, size_t count)

Creates a Span<> from a given pointer and count.

Parameters
  • <T> -- The type of Span<> to create

  • pData -- The data to reference via Span<>

  • count -- The number of elements to reference via Span<>

Returns

A Span<> referncing the given data