RavEngine
Loading...
Searching...
No Matches
ozz::span< _Ty > Struct Template Reference

Public Types

using element_type = _Ty
 
using value_type = _Ty
 
using index_type = size_t
 
using difference_type = ptrdiff_t
 
using pointer = _Ty *
 
using const_pointer = const _Ty *
 
using reference = _Ty &
 
using const_reference = const _Ty &
 
using iterator = pointer
 
using const_iterator = const_pointer
 

Public Member Functions

 span (_Ty *_begin, _Ty *_end)
 
 span (_Ty *_begin, size_t _size)
 
void operator= (const span &_other)
 
 span (_Ty &_element)
 
template<size_t _size>
 span (_Ty(&_array)[_size])
 
template<size_t _size>
void operator= (_Ty(&_array)[_size])
 
 operator span< const _Ty > () const
 
span< element_type > first (index_type _count) const
 
span< element_type > last (index_type _count) const
 
span< element_type > subspan (index_type _offset, index_type _count) const
 
_Ty & operator[] (size_t _i) const
 
bool empty () const
 
_Ty * data () const
 
size_t size () const
 
size_t size_bytes () const
 
iterator begin () const
 
iterator end () const
 

The documentation for this struct was generated from the following file: