#include <xmol/future/span.h>
template<typename T>
Span struct
Analogue of C++20 std::span.
Contents
Constructors, destructors, conversion operators
Public functions
- auto size() const -> size_t constexpr
- auto empty() const -> size_t
- auto begin() const -> T*
- auto end() const -> T*
- auto data() const -> T*
- auto operator[](size_t i) -> T&
- auto operator[](size_t i) const -> const T&
- void rebase(const T* from, T* to)