Fixed capacity vector with an implicit conversion to tcb::span. Capacity is specified as a template parameter. At runtime one may use up to the specified capacity.
More...
#include <static_vector.hpp>
|
| StaticVector ()=default |
| Construct an empty vector.
|
|
template<typename Collection > |
| StaticVector (Collection const &collection) |
| Construct from another container.
|
|
| StaticVector (std::initializer_list< T > const &collection) |
| Construct from a std::initializer_list.
|
|
auto | begin () |
| Get a mutable begin iterator.
|
|
auto | begin () const |
| Get a const begin iterator.
|
|
auto | end () |
| Get a mutable end iterator.
|
|
auto | end () const |
| Get a const end iterator.
|
|
| operator tcb::span< T > () |
| Implicit conversion to tcb::span<T>
|
|
| operator tcb::span< T const > () const |
| Implicit conversion to tcb::span<T const>
|
|
template<typename T, size_t capacity>
class rsl::StaticVector< T, capacity >
Fixed capacity vector with an implicit conversion to tcb::span. Capacity is specified as a template parameter. At runtime one may use up to the specified capacity.
The documentation for this class was generated from the following file: