Template Struct span

Struct Documentation

template<typename T>
struct span

Public Functions

inline span(const T *_ptr, size_t _length)
inline span()
inline constexpr size_t len() const noexcept
inline const T &operator[](size_t index) const noexcept

Public Members

const T *ptr
size_t length