#include <legion_domain.h>
Classes | |
| class | iterator |
| class | reverse_iterator |
Public Member Functions | |
| Span (FT *b, size_t e, size_t s=sizeof(FT)) | |
| iterator | begin (void) const |
| iterator | end (void) const |
| reverse_iterator | rbegin (void) const |
| reverse_iterator | rend (void) const |
| FT & | front (void) const |
| FT & | back (void) const |
| FT & | operator[] (int index) const |
| FT * | data (void) const |
| uintptr_t | get_base (void) const |
| size_t | size (void) const |
| size_t | step (void) const |
| bool | empty (void) const |
A span class is used for handing back allocations of elements with a uniform stride that users can safely access simply by indexing the pointer as an array of elements. Note that the Legion definition of a span does not guarantee that elements are contiguous the same as the c++20 definition of a span.
1.8.6