#include <inlined_vector.h>
Classes | |
struct | Allocated |
union | Data |
struct | Inlined |
Public Types | |
using | allocator_type = A |
using | AllocatorTraits = std::allocator_traits< allocator_type > |
using | const_iterator = const_pointer |
using | const_pointer = typename allocator_type::const_pointer |
using | const_reference = typename allocator_type::const_reference |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
using | difference_type = typename allocator_type::difference_type |
using | iterator = pointer |
using | pointer = typename allocator_type::pointer |
using | reference = typename allocator_type::reference |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | rvalue_reference = typename allocator_type::value_type && |
using | size_type = typename allocator_type::size_type |
using | value_type = typename allocator_type::value_type |
Public Member Functions | |
void | AddSize (size_type count) |
size_type | GetAllocatedCapacity () const |
pointer | GetAllocatedData () |
const_pointer | GetAllocatedData () const |
allocator_type * | GetAllocPtr () |
const allocator_type * | GetAllocPtr () const |
pointer | GetInlinedData () |
const_pointer | GetInlinedData () const |
bool | GetIsAllocated () const |
size_type | GetSize () const |
void | SetAllocatedCapacity (size_type capacity) |
void | SetAllocatedData (pointer data) |
void | SetAllocatedSize (size_type size) |
void | SetInlinedSize (size_type size) |
Storage (const allocator_type &alloc) | |
void | SwapAllocatedSizeAndCapacity (Storage *other) |
void | SwapSizeAndIsAllocated (Storage *other) |
Private Types | |
using | Metadata = container_internal::CompressedTuple< allocator_type, size_type > |
Private Member Functions | |
size_type & | GetSizeAndIsAllocated () |
const size_type & | GetSizeAndIsAllocated () const |
Private Attributes | |
Data | data_ |
Metadata | metadata_ |
Definition at line 63 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::allocator_type = A |
Definition at line 65 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::AllocatorTraits = std::allocator_traits<allocator_type> |
Definition at line 78 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::const_iterator = const_pointer |
Definition at line 75 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::const_pointer = typename allocator_type::const_pointer |
Definition at line 68 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::const_reference = typename allocator_type::const_reference |
Definition at line 70 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 77 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::difference_type = typename allocator_type::difference_type |
Definition at line 73 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::iterator = pointer |
Definition at line 74 of file internal/inlined_vector.h.
|
private |
Definition at line 147 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::pointer = typename allocator_type::pointer |
Definition at line 67 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::reference = typename allocator_type::reference |
Definition at line 69 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 76 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::rvalue_reference = typename allocator_type::value_type&& |
Definition at line 71 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::size_type = typename allocator_type::size_type |
Definition at line 72 of file internal/inlined_vector.h.
using absl::inlined_vector_internal::Storage< T, N, A >::value_type = typename allocator_type::value_type |
Definition at line 66 of file internal/inlined_vector.h.
|
inlineexplicit |
Definition at line 80 of file internal/inlined_vector.h.
|
inline |
Definition at line 121 of file internal/inlined_vector.h.
|
inline |
Definition at line 103 of file internal/inlined_vector.h.
|
inline |
Definition at line 97 of file internal/inlined_vector.h.
|
inline |
Definition at line 99 of file internal/inlined_vector.h.
|
inline |
Definition at line 107 of file internal/inlined_vector.h.
|
inline |
Definition at line 111 of file internal/inlined_vector.h.
|
inline |
Definition at line 87 of file internal/inlined_vector.h.
|
inline |
Definition at line 92 of file internal/inlined_vector.h.
|
inline |
Definition at line 85 of file internal/inlined_vector.h.
|
inline |
Definition at line 83 of file internal/inlined_vector.h.
|
inlineprivate |
Definition at line 140 of file internal/inlined_vector.h.
|
inlineprivate |
Definition at line 142 of file internal/inlined_vector.h.
|
inline |
Definition at line 125 of file internal/inlined_vector.h.
|
inline |
Definition at line 123 of file internal/inlined_vector.h.
|
inline |
Definition at line 115 of file internal/inlined_vector.h.
|
inline |
Definition at line 119 of file internal/inlined_vector.h.
|
inline |
Definition at line 134 of file internal/inlined_vector.h.
|
inline |
Definition at line 129 of file internal/inlined_vector.h.
|
private |
Definition at line 166 of file internal/inlined_vector.h.
|
private |
Definition at line 165 of file internal/inlined_vector.h.