5#include <vitrio/byte.hpp>
32 using value_type =
typename std::remove_cv<T>::type;
33 using size_type = std::size_t;
34 using difference_type = std::ptrdiff_t;
A multidimensional array of numbers in host memory.
Definition array.hpp:37
A view of a contiguous sequence of elements.
Definition span.hpp:29
constexpr size_type size() const noexcept
Get the number of elements.
constexpr reference front() const noexcept
Get the first element.
constexpr pointer data() const noexcept
Get the first element.
constexpr reference back() const noexcept
Get the last element.
constexpr iterator begin() const noexcept
Get an iterator to the first element.
constexpr span() noexcept
Construct a span of no elements.
constexpr iterator end() const noexcept
Get an iterator past the last element.
constexpr bool empty() const noexcept
Check whether the span has no elements.