Base Framework
|
#include <base/mem/Span.h>
Public Member Functions | |
ConstSpan () noexcept | |
ConstSpan (const TYPE *_buffer, MemorySize _size) noexcept | |
ConstSpan (const TYPE *_buffer, const TYPE *end) noexcept | |
ConstSpan (const Span< TYPE > &span) noexcept | |
const TYPE * | begin () const noexcept |
const TYPE * | end () const noexcept |
const TYPE * | cbegin () const noexcept |
const TYPE * | cend () const noexcept |
MemorySize | getSize () const noexcept |
const TYPE & | operator[] (MemorySize index) const noexcept |
operator bool () const noexcept | |
Sequence of values in memory. The memory is not owned by class. You must ensure that the memory is not released.
|
inlinenoexcept |
Initializes span.
|
inlinenoexcept |
Initializes span.
Initializes span.
|
inlinenoexcept |
Begin iterator.
|
inlinenoexcept |
Begin iterator.
|
inlinenoexcept |
End iterator.
|
inlinenoexcept |
End iterator.
|
inlinenoexcept |
Returns the size.
|
inlinenoexcept |
Returns true if non-empty.
|
inlinenoexcept |
Returns the item at the given index.