vector.hpp
Go to the documentation of this file.
140 vector(T, U...) -> vector<std::enable_if_t<(std::is_same_v<T, U> && ...), T>, 1 + sizeof...(U)>;
vector(const T(&)[N]) -> vector< T, N >
deduction guide for aggregate initialization
constexpr decltype(auto) make_vector(Args... args)
constructs a vector from arguments
Definition: vector.hpp:124
vector(T, U...) -> vector< std::enable_if_t<(std::is_same_v< T, U > &&...), T >, 1+sizeof...(U)>
deduction guide for uniform initialization
Definition: pair.hpp:31
constexpr T * end() noexcept
returns an iterator to the end
Definition: vector.hpp:92
constexpr const T * cbegin() const noexcept
returns an iterator to the beginning
Definition: vector.hpp:97
static constexpr size_type size
size of the vector
Definition: vector.hpp:56
constexpr const T * cend() const noexcept
returns an iterator to the end
Definition: vector.hpp:102
constexpr T * begin() noexcept
returns an iterator to the beginning
Definition: vector.hpp:83
constexpr const T & operator[](size_type i) const noexcept
access specified element
Definition: vector.hpp:71
constexpr T & operator[](size_type i) noexcept
access specified element
Definition: vector.hpp:66