Go to the documentation of this file.
181 reinterpret_cast<char*
>(s.
data()),
191 reinterpret_cast<const char*
>(s.
data()),
216 #endif //__span_hpp__
INLINE_FUNCTION_HD T & operator[](uint32 i)
const INLINE_FUNCTION_HD T & operator[](int32 i) const
INLINE_FUNCTION_HD uint32 size() const
Returns the number of elements in the span.
INLINE_FUNCTION_HD bool empty() const
INLINE_FUNCTION_HD span()=default
Constructor.
INLINE_FUNCTION_HD constIterator cbegin() const
Returns an iterator to the beginning of the span.
INLINE_FUNCTION_HD constIterator begin() const
Returns an iterator to the beginning of the span.
TypeInfoTemplateNV11("span", T)
INLINE_FUNCTION_HD T & operator[](int32 i)
INLINE_FUNCTION_HD span & operator=(const span &)=default
assignment
INLINE_FUNCTION_HD constIterator cend() const
Returns an iterator to one past the end of the span.
INLINE_FUNCTION_HD T * data() const
span< char > charSpan(span< T > s)
INLINE_FUNCTION_HD span(T *data, uint32 size)
const INLINE_FUNCTION_HD T & operator[](uint32 i) const
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD constIterator end() const
Returns an iterator to one past the end of the span.