rsl
1.1.0
ROS Support Library
|
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>
Public Member Functions | |
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> | |
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.