|
constexpr value_type * | begin () |
| Return a pointer to the first element of the vector.
|
|
constexpr auto | data () |
| Return a pointer to the underlaying data.
|
|
constexpr bool | empty () const |
| Check if the vector is empty.
|
|
constexpr value_type * | end () |
| Return a pointer past the last element of the vector.
|
|
constexpr const value_type & | operator[] (int i) const |
| Return the element i of the vector.
|
|
constexpr void | push_back (const value_type &v) |
| Add an element at the end of a vector.
|
|
constexpr std::size_t | size () const |
| Return the size of the used portion of the vector.
|
|
template<typename T, std::size_t SIZE>
class flecsi::util::inplace_vector< T, SIZE >
A small implementation of std::inplace_vector as proposed for C++26.
This class is supported for GPU execution.