Go to the documentation of this file.
165 for(
size_t i=0; i<s.
size(); i++)
179 #endif //__span_hpp__
INLINE_FUNCTION_HD label size() const
Returns the number of elements in the span.
const INLINE_FUNCTION_HD T & operator[](int32 i) const
INLINE_FUNCTION_HD bool empty() const
INLINE_FUNCTION_HD T & operator[](label i)
virtual bool check(const char *operation) 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.
INLINE_FUNCTION_HD T & operator[](int32 i)
INLINE_FUNCTION_HD span & operator=(const span &)=default
assignment
@ END_LIST
End list [isseparator].
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
INLINE_FUNCTION_HD constIterator cend() const
Returns an iterator to one past the end of the span.
INLINE_FUNCTION_HD T * data() const
INLINE_FUNCTION_HD span(T *data, label size)
const INLINE_FUNCTION_HD T & operator[](label i) const
@ BEGIN_LIST
Begin list [isseparator].
TypeInfoTemplateNV("span", T)
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD constIterator end() const
Returns an iterator to one past the end of the span.