#include <inlined_vector.h>
Public Types | |
using | allocator_type = typename Storage::allocator_type |
using | const_iterator = typename Storage::const_iterator |
using | const_pointer = typename Storage::const_pointer |
using | const_reference = typename Storage::const_reference |
using | const_reverse_iterator = typename Storage::const_reverse_iterator |
using | difference_type = typename Storage::difference_type |
using | iterator = typename Storage::iterator |
using | pointer = typename Storage::pointer |
using | reference = typename Storage::reference |
using | reverse_iterator = typename Storage::reverse_iterator |
using | size_type = typename Storage::size_type |
using | value_type = typename Storage::value_type |
Public Member Functions | |
void | assign (size_type n, const_reference v) |
void | assign (std::initializer_list< value_type > list) |
template<typename ForwardIterator , EnableIfAtLeastForwardIterator< ForwardIterator > * = nullptr> | |
void | assign (ForwardIterator first, ForwardIterator last) |
template<typename InputIterator , DisableIfAtLeastForwardIterator< InputIterator > * = nullptr> | |
void | assign (InputIterator first, InputIterator last) |
reference | at (size_type i) |
const_reference | at (size_type i) const |
reference | back () |
const_reference | back () const |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
size_type | capacity () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
void | clear () noexcept |
const_reverse_iterator | crbegin () const noexcept |
const_reverse_iterator | crend () const noexcept |
pointer | data () noexcept |
const_pointer | data () const noexcept |
template<typename... Args> | |
iterator | emplace (const_iterator pos, Args &&... args) |
template<typename... Args> | |
reference | emplace_back (Args &&... args) |
bool | empty () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
iterator | erase (const_iterator pos) |
iterator | erase (const_iterator from, const_iterator to) |
reference | front () |
const_reference | front () const |
allocator_type | get_allocator () const |
InlinedVector () noexcept(noexcept(allocator_type())) | |
InlinedVector (const allocator_type &alloc) noexcept | |
InlinedVector (size_type n, const allocator_type &alloc=allocator_type()) | |
InlinedVector (size_type n, const_reference v, const allocator_type &alloc=allocator_type()) | |
InlinedVector (std::initializer_list< value_type > list, const allocator_type &alloc=allocator_type()) | |
template<typename ForwardIterator , EnableIfAtLeastForwardIterator< ForwardIterator > * = nullptr> | |
InlinedVector (ForwardIterator first, ForwardIterator last, const allocator_type &alloc=allocator_type()) | |
template<typename InputIterator , DisableIfAtLeastForwardIterator< InputIterator > * = nullptr> | |
InlinedVector (InputIterator first, InputIterator last, const allocator_type &alloc=allocator_type()) | |
InlinedVector (const InlinedVector &other) | |
InlinedVector (const InlinedVector &other, const allocator_type &alloc) | |
InlinedVector (InlinedVector &&other) noexcept(absl::allocator_is_nothrow< allocator_type >::value||std::is_nothrow_move_constructible< value_type >::value) | |
InlinedVector (InlinedVector &&other, const allocator_type &alloc) noexcept(absl::allocator_is_nothrow< allocator_type >::value) | |
iterator | insert (const_iterator pos, const_reference v) |
iterator | insert (const_iterator pos, rvalue_reference v) |
iterator | insert (const_iterator pos, size_type n, const_reference v) |
iterator | insert (const_iterator pos, std::initializer_list< value_type > list) |
template<typename ForwardIterator , EnableIfAtLeastForwardIterator< ForwardIterator > * = nullptr> | |
iterator | insert (const_iterator pos, ForwardIterator first, ForwardIterator last) |
template<typename InputIterator , DisableIfAtLeastForwardIterator< InputIterator > * = nullptr> | |
iterator | insert (const_iterator pos, InputIterator first, InputIterator last) |
size_type | max_size () const noexcept |
InlinedVector & | operator= (std::initializer_list< value_type > list) |
InlinedVector & | operator= (const InlinedVector &other) |
InlinedVector & | operator= (InlinedVector &&other) |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
void | pop_back () noexcept |
void | push_back (const_reference v) |
void | push_back (rvalue_reference v) |
reverse_iterator | rbegin () noexcept |
const_reverse_iterator | rbegin () const noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rend () const noexcept |
void | reserve (size_type n) |
void | resize (size_type n) |
void | resize (size_type n, const_reference v) |
void | shrink_to_fit () |
size_type | size () const noexcept |
void | swap (InlinedVector &other) |
~InlinedVector () | |
Private Types | |
using | AllocatorTraits = typename Storage::AllocatorTraits |
template<typename Iterator > | |
using | DisableIfAtLeastForwardIterator = absl::enable_if_t< !inlined_vector_internal::IsAtLeastForwardIterator< Iterator >::value > |
template<typename Iterator > | |
using | EnableIfAtLeastForwardIterator = absl::enable_if_t< inlined_vector_internal::IsAtLeastForwardIterator< Iterator >::value > |
using | rvalue_reference = typename Storage::rvalue_reference |
using | Storage = inlined_vector_internal::Storage< T, N, A > |
Private Member Functions | |
template<typename ForwardIt > | |
void | AppendForwardRange (ForwardIt first, ForwardIt last) |
template<typename... Args> | |
reference | Construct (pointer p, Args &&... args) |
void | Destroy (pointer from, pointer to) |
void | EnlargeBy (size_type delta) |
template<typename... Args> | |
reference | GrowAndEmplaceBack (Args &&... args) |
void | InitAssign (size_type n) |
void | InitAssign (size_type n, const_reference v) |
iterator | InsertWithCount (const_iterator position, size_type n, const_reference v) |
template<typename ForwardIt > | |
iterator | InsertWithForwardRange (const_iterator position, ForwardIt first, ForwardIt last) |
void | ResetAllocation (pointer new_data, size_type new_capacity, size_type new_size) |
std::pair< iterator, iterator > | ShiftRight (const_iterator position, size_type n) |
void | SwapImpl (InlinedVector &other) |
template<typename Iterator > | |
void | UninitializedCopy (Iterator src, Iterator src_last, pointer dst) |
template<typename... Args> | |
void | UninitializedFill (pointer dst, pointer dst_last, const Args &... args) |
Private Attributes | |
Storage | storage_ |
Friends | |
template<typename H , typename TheT , size_t TheN, typename TheA > | |
H | AbslHashValue (H h, const absl::InlinedVector< TheT, TheN, TheA > &a) |
Definition at line 68 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::allocator_type = typename Storage::allocator_type |
Definition at line 86 of file inlined_vector.h.
|
private |
Definition at line 73 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::const_iterator = typename Storage::const_iterator |
Definition at line 95 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::const_pointer = typename Storage::const_pointer |
Definition at line 89 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::const_reference = typename Storage::const_reference |
Definition at line 91 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::const_reverse_iterator = typename Storage::const_reverse_iterator |
Definition at line 97 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::difference_type = typename Storage::difference_type |
Definition at line 93 of file inlined_vector.h.
|
private |
Definition at line 81 of file inlined_vector.h.
|
private |
Definition at line 77 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::iterator = typename Storage::iterator |
Definition at line 94 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::pointer = typename Storage::pointer |
Definition at line 88 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::reference = typename Storage::reference |
Definition at line 90 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::reverse_iterator = typename Storage::reverse_iterator |
Definition at line 96 of file inlined_vector.h.
|
private |
Definition at line 83 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::size_type = typename Storage::size_type |
Definition at line 92 of file inlined_vector.h.
|
private |
Definition at line 72 of file inlined_vector.h.
using absl::InlinedVector< T, N, A >::value_type = typename Storage::value_type |
Definition at line 87 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 104 of file inlined_vector.h.
|
inlineexplicitnoexcept |
Definition at line 108 of file inlined_vector.h.
|
inlineexplicit |
Definition at line 112 of file inlined_vector.h.
|
inline |
Definition at line 119 of file inlined_vector.h.
|
inline |
Definition at line 126 of file inlined_vector.h.
|
inline |
Definition at line 140 of file inlined_vector.h.
|
inline |
Definition at line 150 of file inlined_vector.h.
|
inline |
Definition at line 157 of file inlined_vector.h.
|
inline |
Definition at line 161 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 189 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 223 of file inlined_vector.h.
|
inline |
Definition at line 251 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1066 of file inlined_vector.h.
|
inline |
Definition at line 499 of file inlined_vector.h.
|
inline |
Definition at line 522 of file inlined_vector.h.
|
inline |
Definition at line 530 of file inlined_vector.h.
|
inline |
Definition at line 555 of file inlined_vector.h.
|
inline |
Definition at line 328 of file inlined_vector.h.
|
inline |
Definition at line 338 of file inlined_vector.h.
|
inline |
Definition at line 364 of file inlined_vector.h.
|
inline |
Definition at line 371 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 379 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 383 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 286 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 397 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 402 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 795 of file inlined_vector.h.
|
inlineprivate |
Definition at line 892 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 429 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 435 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 296 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 304 of file inlined_vector.h.
|
inlineprivate |
Definition at line 909 of file inlined_vector.h.
|
inline |
Definition at line 675 of file inlined_vector.h.
|
inline |
Definition at line 702 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 260 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 388 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 392 of file inlined_vector.h.
|
inlineprivate |
Definition at line 928 of file inlined_vector.h.
|
inline |
Definition at line 752 of file inlined_vector.h.
|
inline |
Definition at line 766 of file inlined_vector.h.
|
inline |
Definition at line 349 of file inlined_vector.h.
|
inline |
Definition at line 356 of file inlined_vector.h.
|
inline |
Definition at line 440 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1017 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1035 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1050 of file inlined_vector.h.
|
inline |
Definition at line 619 of file inlined_vector.h.
|
inline |
Definition at line 625 of file inlined_vector.h.
|
inline |
Definition at line 632 of file inlined_vector.h.
|
inline |
Definition at line 639 of file inlined_vector.h.
|
inline |
Definition at line 651 of file inlined_vector.h.
|
inline |
Definition at line 661 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1082 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1096 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 270 of file inlined_vector.h.
|
inline |
Definition at line 450 of file inlined_vector.h.
|
inline |
Definition at line 457 of file inlined_vector.h.
|
inline |
Definition at line 470 of file inlined_vector.h.
|
inline |
Definition at line 313 of file inlined_vector.h.
|
inline |
Definition at line 320 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 733 of file inlined_vector.h.
|
inline |
Definition at line 721 of file inlined_vector.h.
|
inline |
Definition at line 725 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 407 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 411 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 418 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 422 of file inlined_vector.h.
|
inline |
Definition at line 817 of file inlined_vector.h.
|
inlineprivate |
Definition at line 873 of file inlined_vector.h.
|
inline |
Definition at line 570 of file inlined_vector.h.
|
inline |
Definition at line 594 of file inlined_vector.h.
|
inlineprivate |
Definition at line 958 of file inlined_vector.h.
|
inline |
Definition at line 835 of file inlined_vector.h.
|
inlinenoexcept |
Definition at line 265 of file inlined_vector.h.
|
inline |
Definition at line 863 of file inlined_vector.h.
|
inlineprivate |
Definition at line 1115 of file inlined_vector.h.
|
inlineprivate |
Definition at line 899 of file inlined_vector.h.
|
inlineprivate |
Definition at line 904 of file inlined_vector.h.
|
friend |
Definition at line 1294 of file inlined_vector.h.
|
private |
Definition at line 1205 of file inlined_vector.h.