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

Function Documentation

template<typename T>
inline Span<T> gpa::playback::detail::MakeSpan(T *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