#include <atlas/util/vector.h>
template<typename T>
vector class
Public types
- using value_type = T
- using iterator = T*
- using const_iterator = T const *
Constructors, destructors, conversion operators
- vector() defaulted
-
template<typename size_t, typename std::vector(size_t size)
enable_if<std:: is_integral<size_t>::value, int>::type = 0> -
template<typename size_t, typename std::vector(size_t size, const value_type& value)
enable_if<std:: is_integral<size_t>::value, int>::type = 0> - vector(const vector& other)
- vector(vector&& other)
-
template<typename T2>vector(const std::
initializer_list<T2>& list) - ~vector()
Public functions
- auto operator=(vector other) -> vector&
-
auto at(idx_
t i) -> T& noexcept(…) -
auto at(idx_
t i) const -> T const & noexcept(…) -
auto operator[](idx_
t i) -> T& -
auto operator[](idx_
t i) const -> T const & - auto data() const -> const T*
- auto data() -> T*
-
auto size() const -> idx_
t -
auto capacity() const -> idx_
t -
template<typename Size, typename std::void assign(Size n, const value_type& value)
enable_if<std:: is_integral<Size>::value, int>::type = 0> -
template<typename Iter, typename std::void assign(const Iter& first, const Iter& last)
enable_if<!std:: is_integral<Iter>::value, int>::type = 0> -
template<typename Size, typename std::void reserve(Size size)
enable_if<std:: is_integral<Size>::value, int>::type = 0> -
template<typename size_t, typename std::void resize(size_t size)
enable_if<std:: is_integral<size_t>::value, int>::type = 0> - auto begin() const -> const_iterator
- auto end() const -> const_iterator
- auto begin() -> iterator
- auto end() -> iterator
- auto cbegin() const -> const_iterator
- auto cend() const -> const_iterator