|
| | TSpan ()=default |
| | The default class constructor.
|
| | TSpan (const T *ptr, size_t size) |
| | The class constructor with the pointer and the size of the array.
|
| | ~TSpan ()=default |
| | The class destructor.
|
| const T * | data () const |
| | Will return the data pointer showing to the first entry.
|
| size_t | size () const |
| | Will return the number of items in the view.
|
| bool | empty () const |
| | Will return true, if the span view is empty.
|
| Iterator | begin () |
| | Will return the begin iterator.
|
| Iterator | end () |
| | Will return the end iterator.
|
| T | operator[] (size_t index) |
| | Will return the item at the given index.
|
| const T | operator[] (size_t index) const |
| | Will return the item at the given index.
|
template<class T>
class cppcore::TSpan< T >
This class implements a view onto array data.
Definition at line 38 of file TSpan.h.