Inherits sleipnir::detail::small_vector_base< Allocator, InlineCapacity >.
|
constexpr | small_vector () noexcept(noexcept(allocator_type()))=default |
|
constexpr | small_vector (const small_vector &other) |
|
constexpr | small_vector (small_vector &&other) noexcept(std::is_nothrow_move_constructible_v< value_type >||InlineCapacity==0) |
|
constexpr | small_vector (const allocator_type &alloc) noexcept |
|
constexpr | small_vector (const small_vector &other, const allocator_type &alloc) |
|
constexpr | small_vector (small_vector &&other, const allocator_type &alloc) |
|
constexpr | small_vector (size_type count, const allocator_type &alloc=allocator_type()) |
|
constexpr | small_vector (size_type count, const_reference value, const allocator_type &alloc=allocator_type()) |
|
template<typename Generator >
requires std::invocable<Generator&> && EmplaceConstructible<std::invoke_result_t<Generator&>> |
::value constexpr | small_vector (size_type count, Generator g, const allocator_type &alloc=allocator_type()) |
|
template<std::input_iterator InputIt>
requires EmplaceConstructible<std::iter_reference_t<InputIt>> |
::value &&std::forward_iterator< InputIt > MoveInsertable constexpr | small_vector (InputIt first, InputIt last, const allocator_type &alloc=allocator_type()) |
|
constexpr | small_vector (std::initializer_list< value_type > init, const allocator_type &alloc=allocator_type()) |
|
template<unsigned I>
requires CopyInsertable |
constexpr | small_vector (const small_vector< T, I, Allocator > &other) |
|
template<unsigned I>
requires MoveInsertable |
constexpr | small_vector (small_vector< T, I, Allocator > &&other) noexcept(std::is_nothrow_move_constructible< value_type >::value &&I< InlineCapacity) |
|
template<unsigned I>
requires CopyInsertable |
constexpr | small_vector (const small_vector< T, I, Allocator > &other, const allocator_type &alloc) |
|
template<unsigned I>
requires MoveInsertable |
constexpr | small_vector (small_vector< T, I, Allocator > &&other, const allocator_type &alloc) |
|
constexpr | ~small_vector ()=default |
|
constexpr small_vector & | operator= (const small_vector &other) &&CopyAssignable |
|
constexpr small_vector & | operator= (small_vector &&other) noexcept((std::is_same_v< std::allocator< value_type >, Allocator >||std::allocator_traits< Allocator >::propagate_on_container_move_assignment::value||std::allocator_traits< Allocator >::is_always_equal::value) &&((std::is_nothrow_move_assignable_v< value_type > &&std::is_nothrow_move_constructible_v< value_type >)||InlineCapacity==0)) &&MoveAssignable |
|
constexpr small_vector & | operator= (std::initializer_list< value_type > ilist) &&CopyAssignable |
|
constexpr void | assign (size_type count, const_reference value) &&CopyAssignable |
|
template<std::input_iterator InputIt>
requires EmplaceConstructible<std::iter_reference_t<InputIt>> |
::value &&std::forward_iterator< InputIt > MoveInsertable constexpr void | assign (InputIt first, InputIt last) |
|
constexpr void | assign (std::initializer_list< value_type > ilist) |
|
constexpr void | assign (small_vector &&other) noexcept((std::is_same_v< std::allocator< value_type >, Allocator >||std::allocator_traits< Allocator >::propagate_on_container_move_assignment::value||std::allocator_traits< Allocator >::is_always_equal::value) &&((std::is_nothrow_move_assignable_v< value_type > &&std::is_nothrow_move_constructible_v< value_type >)||InlineCapacity==0)) &&MoveAssignable |
|
template<unsigned I>
requires MoveInsertable |
&&MoveAssignable constexpr void | assign (small_vector< T, I, Allocator > &&other) noexcept(I<=InlineCapacity &&(std::is_same_v< std::allocator< value_type >, Allocator >||std::allocator_traits< Allocator >::propagate_on_container_move_assignment::value||std::allocator_traits< Allocator >::is_always_equal::value) &&std::is_nothrow_move_assignable_v< value_type > &&std::is_nothrow_move_constructible_v< value_type >) |
|
constexpr void | swap (small_vector &other) noexcept((std::is_same_v< std::allocator< value_type >, Allocator >||std::allocator_traits< Allocator >::propagate_on_container_swap::value||std::allocator_traits< Allocator >::is_always_equal::value) &&((std::is_nothrow_move_constructible_v< value_type > &&std::is_nothrow_move_assignable_v< value_type > &&std::is_nothrow_swappable_v< value_type >)||InlineCapacity==0)) |
|
constexpr iterator | begin () noexcept |
|
constexpr const_iterator | begin () const noexcept |
|
constexpr const_iterator | cbegin () const noexcept |
|
constexpr iterator | end () noexcept |
|
constexpr const_iterator | end () const noexcept |
|
constexpr const_iterator | cend () const noexcept |
|
constexpr reverse_iterator | rbegin () noexcept |
|
constexpr const_reverse_iterator | rbegin () const noexcept |
|
constexpr const_reverse_iterator | crbegin () const noexcept |
|
constexpr reverse_iterator | rend () noexcept |
|
constexpr const_reverse_iterator | rend () const noexcept |
|
constexpr const_reverse_iterator | crend () const noexcept |
|
constexpr reference | at (size_type pos) |
|
constexpr const_reference | at (size_type pos) const |
|
constexpr reference | operator[] (size_type pos) |
|
constexpr const_reference | operator[] (size_type pos) const |
|
constexpr reference | front () |
|
constexpr const_reference | front () const |
|
constexpr reference | back () |
|
constexpr const_reference | back () const |
|
constexpr pointer | data () noexcept |
|
constexpr const_pointer | data () const noexcept |
|
constexpr size_type | size () const noexcept |
|
constexpr bool | empty () const noexcept |
|
constexpr size_type | max_size () const noexcept |
|
constexpr size_type | capacity () const noexcept |
|
constexpr allocator_type | get_allocator () const noexcept |
|
constexpr iterator | insert (const_iterator pos, const_reference value) &&CopyAssignable |
|
constexpr iterator | insert (const_iterator pos, value_type &&value) &&MoveAssignable |
|
constexpr iterator | insert (const_iterator pos, size_type count, const_reference value) &&CopyAssignable |
|
template<std::input_iterator InputIt>
requires EmplaceConstructible<std::iter_reference_t<InputIt>> |
::value &&MoveInsertable &&MoveAssignable constexpr iterator | insert (const_iterator pos, InputIt first, InputIt last) |
|
constexpr iterator | insert (const_iterator pos, std::initializer_list< value_type > ilist) |
|
constexpr iterator | erase (const_iterator pos) &&Erasable |
|
constexpr iterator | erase (const_iterator first, const_iterator last) &&Erasable |
|
constexpr void | push_back (const_reference value) |
|
constexpr void | push_back (value_type &&value) |
|
template<typename... Args>
requires EmplaceConstructible<Args...> |
::value &&MoveInsertable constexpr reference | emplace_back (Args &&... args) |
|
constexpr void | pop_back () |
|
constexpr void | reserve (size_type new_capacity) |
|
constexpr void | shrink_to_fit () |
|
constexpr void | clear () noexcept |
|
constexpr void | resize (size_type count) &&DefaultInsertable |
|
constexpr void | resize (size_type count, const_reference value) |
|
constexpr bool | inlined () const noexcept |
|
constexpr bool | inlinable () const noexcept |
|
template<std::input_iterator InputIt>
requires EmplaceConstructible<std::iter_reference_t<InputIt>> |
::value &&MoveInsertable constexpr small_vector & | append (InputIt first, InputIt last) |
|