18 #ifndef INCLUDED_PS_SPAN 19 #define INCLUDED_PS_SPAN 23 #include <type_traits> 55 template<
typename OtherT,
size_t N>
56 constexpr
span(
const std::array<OtherT, N>& arr)
59 constexpr
span(
const span& other) =
default;
66 constexpr
bool empty()
const {
return size() == 0; }
80 template<
typename T,
size_t N>
85 #endif // INCLUDED_PS_SPAN constexpr span(iterator first, size_type extent)
Definition: Span.h:49
size_t size_type
Definition: Span.h:41
pointer m_Pointer
Definition: Span.h:76
constexpr span(iterator first, iterator last)
Definition: Span.h:52
constexpr reference operator[](size_type index) const
Definition: Span.h:67
constexpr span & operator=(const span &other)=default
constexpr iterator begin() const
Definition: Span.h:70
constexpr bool empty() const
Definition: Span.h:66
Renderer::Backend::Vulkan::CTexture *const & reference
Definition: Span.h:43
std::remove_cv_t< Renderer::Backend::Vulkan::CTexture *const > value_type
Definition: Span.h:40
#define T(string_literal)
Definition: secure_crt.cpp:77
constexpr pointer data() const
Definition: Span.h:68
constexpr span()
Definition: Span.h:46
pointer iterator
Definition: Span.h:44
constexpr span(const std::array< OtherT, N > &arr)
Definition: Span.h:56
Renderer::Backend::Vulkan::CTexture *const * pointer
Definition: Span.h:42
size_type m_Extent
Definition: Span.h:77
constexpr span subspan(size_type offset) const
Definition: Span.h:73
constexpr iterator end() const
Definition: Span.h:71
constexpr size_type size() const
Definition: Span.h:65
Renderer::Backend::Vulkan::CTexture *const element_type
Definition: Span.h:39
Simplifed version of std::span (C++20) as we don't support the original one yet.
Definition: Span.h:36