|
| constexpr auto | size () const |
| |
| constexpr auto | empty () const -> bool |
| |
| constexpr auto | begin () -> T * |
| |
| constexpr auto | begin () const -> const T * |
| |
| constexpr auto | end () -> T * |
| |
| constexpr auto | end () const -> const T * |
| |
| constexpr auto | front () -> T & |
| |
| constexpr auto | front () const -> const T & |
| |
| constexpr auto | back () -> T & |
| |
| constexpr auto | back () const -> const T & |
| |
| template<typename IndexType > |
| constexpr auto | operator[] (IndexType &&idx) -> T & |
| |
| template<typename IndexType > |
| constexpr auto | operator[] (IndexType &&idx) const -> const T & |
| |
| constexpr auto | data () -> T * |
| |
| constexpr auto | data () const -> const T * |
| |
| template<std::size_t I> |
| constexpr auto | get () -> T & |
| |
| template<std::size_t I> |
| constexpr auto | get () const -> const T & |
| |
template<typename T, std::size_t N>
struct llama::Array< T, N >
Array class like std::array but suitable for use with offloading devices like GPUs.
- Template Parameters
-
| T | type if array elements. |
| N | rank of the array. |
Definition at line 20 of file Array.hpp.