#include <fixed_array.h>
Classes | |
struct | EmptyInlinedStorage |
struct | NonEmptyInlinedStorage |
class | Storage |
struct | StorageElementWrapper |
Public Types | |
using | allocator_type = typename AllocatorTraits::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 | size_type = typename allocator_type::size_type |
using | value_type = typename allocator_type::value_type |
Static Public Attributes | |
static constexpr size_type | inline_elements |
Private Types | |
using | AllocatorTraits = std::allocator_traits< A > |
template<typename Iterator > | |
using | EnableIfForwardIterator = absl::enable_if_t< std::is_convertible< typename std::iterator_traits< Iterator >::iterator_category, std::forward_iterator_tag >::value > |
using | InlinedStorage = absl::conditional_t< inline_elements==0, EmptyInlinedStorage, NonEmptyInlinedStorage > |
using | StorageElement = absl::conditional_t< std::is_array< value_type >::value, StorageElementWrapper< value_type >, value_type > |
using | StorageElementBuffer = absl::aligned_storage_t< sizeof(StorageElement), alignof(StorageElement)> |
Static Private Member Functions | |
static pointer | AsValueType (pointer ptr) |
static pointer | AsValueType (StorageElementWrapper< value_type > *ptr) |
static constexpr bool | DefaultConstructorIsNonTrivial () |
static constexpr bool | NoexceptCopyable () |
static constexpr bool | NoexceptMovable () |
Private Attributes | |
Storage | storage_ |
Static Private Attributes | |
static constexpr size_t | kInlineBytesDefault = 256 |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, const FixedArray &v) |
bool | operator!= (const FixedArray &lhs, const FixedArray &rhs) |
bool | operator< (const FixedArray &lhs, const FixedArray &rhs) |
bool | operator<= (const FixedArray &lhs, const FixedArray &rhs) |
bool | operator== (const FixedArray &lhs, const FixedArray &rhs) |
bool | operator> (const FixedArray &lhs, const FixedArray &rhs) |
bool | operator>= (const FixedArray &lhs, const FixedArray &rhs) |
Definition at line 82 of file fixed_array.h.
using absl::FixedArray< T, N, A >::allocator_type = typename AllocatorTraits::allocator_type |
Definition at line 108 of file fixed_array.h.
|
private |
Definition at line 88 of file fixed_array.h.
using absl::FixedArray< T, N, A >::const_iterator = const_pointer |
Definition at line 117 of file fixed_array.h.
using absl::FixedArray< T, N, A >::const_pointer = typename allocator_type::const_pointer |
Definition at line 111 of file fixed_array.h.
using absl::FixedArray< T, N, A >::const_reference = typename allocator_type::const_reference |
Definition at line 113 of file fixed_array.h.
using absl::FixedArray< T, N, A >::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 119 of file fixed_array.h.
using absl::FixedArray< T, N, A >::difference_type = typename allocator_type::difference_type |
Definition at line 115 of file fixed_array.h.
|
private |
Definition at line 94 of file fixed_array.h.
|
private |
Definition at line 436 of file fixed_array.h.
using absl::FixedArray< T, N, A >::iterator = pointer |
Definition at line 116 of file fixed_array.h.
using absl::FixedArray< T, N, A >::pointer = typename allocator_type::pointer |
Definition at line 110 of file fixed_array.h.
using absl::FixedArray< T, N, A >::reference = typename allocator_type::reference |
Definition at line 112 of file fixed_array.h.
using absl::FixedArray< T, N, A >::reverse_iterator = std::reverse_iterator<iterator> |
Definition at line 118 of file fixed_array.h.
using absl::FixedArray< T, N, A >::size_type = typename allocator_type::size_type |
Definition at line 114 of file fixed_array.h.
|
private |
Definition at line 398 of file fixed_array.h.
|
private |
Definition at line 400 of file fixed_array.h.
using absl::FixedArray< T, N, A >::value_type = typename allocator_type::value_type |
Definition at line 109 of file fixed_array.h.
|
inlinenoexcept |
Definition at line 125 of file fixed_array.h.
|
inlinenoexcept |
Definition at line 130 of file fixed_array.h.
|
inlineexplicit |
Definition at line 138 of file fixed_array.h.
|
inline |
Definition at line 147 of file fixed_array.h.
|
inline |
Definition at line 155 of file fixed_array.h.
|
inline |
Definition at line 163 of file fixed_array.h.
|
inlinenoexcept |
Definition at line 169 of file fixed_array.h.
|
inlinestaticprivate |
Definition at line 402 of file fixed_array.h.
|
inlinestaticprivate |
Definition at line 403 of file fixed_array.h.
|
inline |
Definition at line 236 of file fixed_array.h.
|
inline |
Definition at line 245 of file fixed_array.h.
|
inline |
Definition at line 264 of file fixed_array.h.
|
inline |
Definition at line 268 of file fixed_array.h.
|
inline |
Definition at line 273 of file fixed_array.h.
|
inline |
Definition at line 277 of file fixed_array.h.
|
inline |
Definition at line 282 of file fixed_array.h.
|
inline |
Definition at line 296 of file fixed_array.h.
|
inline |
Definition at line 312 of file fixed_array.h.
|
inline |
Definition at line 328 of file fixed_array.h.
|
inline |
Definition at line 208 of file fixed_array.h.
|
inline |
Definition at line 213 of file fixed_array.h.
|
inlinestaticprivate |
Definition at line 103 of file fixed_array.h.
|
inline |
Definition at line 197 of file fixed_array.h.
|
inline |
Definition at line 287 of file fixed_array.h.
|
inline |
Definition at line 291 of file fixed_array.h.
|
inline |
Definition at line 333 of file fixed_array.h.
|
inline |
Definition at line 255 of file fixed_array.h.
|
inline |
Definition at line 259 of file fixed_array.h.
|
inline |
Definition at line 190 of file fixed_array.h.
|
inline |
Definition at line 202 of file fixed_array.h.
|
inlinestaticprivate |
Definition at line 95 of file fixed_array.h.
|
inlinestaticprivate |
Definition at line 99 of file fixed_array.h.
|
delete |
|
delete |
|
inline |
Definition at line 219 of file fixed_array.h.
|
inline |
Definition at line 227 of file fixed_array.h.
|
inline |
Definition at line 301 of file fixed_array.h.
|
inline |
Definition at line 305 of file fixed_array.h.
|
inline |
Definition at line 317 of file fixed_array.h.
|
inline |
Definition at line 321 of file fixed_array.h.
|
inline |
Definition at line 183 of file fixed_array.h.
|
friend |
Definition at line 363 of file fixed_array.h.
|
friend |
Definition at line 341 of file fixed_array.h.
|
friend |
Definition at line 345 of file fixed_array.h.
|
friend |
Definition at line 354 of file fixed_array.h.
|
friend |
Definition at line 337 of file fixed_array.h.
|
friend |
Definition at line 350 of file fixed_array.h.
|
friend |
Definition at line 358 of file fixed_array.h.
|
static |
Definition at line 121 of file fixed_array.h.
|
staticprivate |
Definition at line 86 of file fixed_array.h.
|
private |
Definition at line 486 of file fixed_array.h.