|
| | RADSpan ()=default |
| | Creates an empty span. More...
|
| |
| | RADSpan (T *data, size_t size) |
| | Creates a span over pointer and element count. More...
|
| |
| template<typename Container > |
| | RADSpan (Container &container) |
| | Creates a span over a std::vector-compatible container. More...
|
| |
| T * | data () const |
| | Returns mutable pointer to first element. More...
|
| |
| size_t | size () const |
| | Returns element count. More...
|
| |
| bool | empty () const |
| | Returns true when the span is empty. More...
|
| |
| T & | operator[] (size_t index) const |
| | Returns element at index without bounds checking. More...
|
| |
| T * | begin () const |
| | Returns pointer to first element. More...
|
| |
| T * | end () const |
| | Returns pointer one past last element. More...
|
| |
template<typename T>
class RADCore::RADSpan< T >
Non-owning contiguous view over T values.