Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
absl::InlinedVector< T, N, A > Class Template Reference

#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
 
InlinedVectoroperator= (std::initializer_list< value_type > list)
 
InlinedVectoroperator= (const InlinedVector &other)
 
InlinedVectoroperator= (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, iteratorShiftRight (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 >
AbslHashValue (H h, const absl::InlinedVector< TheT, TheN, TheA > &a)
 

Detailed Description

template<typename T, size_t N, typename A = std::allocator<T>>
class absl::InlinedVector< T, N, A >

Definition at line 68 of file inlined_vector.h.

Member Typedef Documentation

◆ allocator_type

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::allocator_type = typename Storage::allocator_type

Definition at line 86 of file inlined_vector.h.

◆ AllocatorTraits

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::AllocatorTraits = typename Storage::AllocatorTraits
private

Definition at line 73 of file inlined_vector.h.

◆ const_iterator

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::const_iterator = typename Storage::const_iterator

Definition at line 95 of file inlined_vector.h.

◆ const_pointer

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::const_pointer = typename Storage::const_pointer

Definition at line 89 of file inlined_vector.h.

◆ const_reference

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::const_reference = typename Storage::const_reference

Definition at line 91 of file inlined_vector.h.

◆ const_reverse_iterator

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::const_reverse_iterator = typename Storage::const_reverse_iterator

Definition at line 97 of file inlined_vector.h.

◆ difference_type

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::difference_type = typename Storage::difference_type

Definition at line 93 of file inlined_vector.h.

◆ DisableIfAtLeastForwardIterator

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename Iterator >
using absl::InlinedVector< T, N, A >::DisableIfAtLeastForwardIterator = absl::enable_if_t< !inlined_vector_internal::IsAtLeastForwardIterator<Iterator>::value>
private

Definition at line 81 of file inlined_vector.h.

◆ EnableIfAtLeastForwardIterator

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename Iterator >
using absl::InlinedVector< T, N, A >::EnableIfAtLeastForwardIterator = absl::enable_if_t< inlined_vector_internal::IsAtLeastForwardIterator<Iterator>::value>
private

Definition at line 77 of file inlined_vector.h.

◆ iterator

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::iterator = typename Storage::iterator

Definition at line 94 of file inlined_vector.h.

◆ pointer

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::pointer = typename Storage::pointer

Definition at line 88 of file inlined_vector.h.

◆ reference

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::reference = typename Storage::reference

Definition at line 90 of file inlined_vector.h.

◆ reverse_iterator

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::reverse_iterator = typename Storage::reverse_iterator

Definition at line 96 of file inlined_vector.h.

◆ rvalue_reference

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::rvalue_reference = typename Storage::rvalue_reference
private

Definition at line 83 of file inlined_vector.h.

◆ size_type

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::size_type = typename Storage::size_type

Definition at line 92 of file inlined_vector.h.

◆ Storage

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::Storage = inlined_vector_internal::Storage<T, N, A>
private

Definition at line 72 of file inlined_vector.h.

◆ value_type

template<typename T, size_t N, typename A = std::allocator<T>>
using absl::InlinedVector< T, N, A >::value_type = typename Storage::value_type

Definition at line 87 of file inlined_vector.h.

Constructor & Destructor Documentation

◆ InlinedVector() [1/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( )
inlinenoexcept

Definition at line 104 of file inlined_vector.h.

◆ InlinedVector() [2/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( const allocator_type alloc)
inlineexplicitnoexcept

Definition at line 108 of file inlined_vector.h.

◆ InlinedVector() [3/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( size_type  n,
const allocator_type alloc = allocator_type() 
)
inlineexplicit

Definition at line 112 of file inlined_vector.h.

◆ InlinedVector() [4/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( size_type  n,
const_reference  v,
const allocator_type alloc = allocator_type() 
)
inline

Definition at line 119 of file inlined_vector.h.

◆ InlinedVector() [5/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( std::initializer_list< value_type list,
const allocator_type alloc = allocator_type() 
)
inline

Definition at line 126 of file inlined_vector.h.

◆ InlinedVector() [6/11]

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename ForwardIterator , EnableIfAtLeastForwardIterator< ForwardIterator > * = nullptr>
absl::InlinedVector< T, N, A >::InlinedVector ( ForwardIterator  first,
ForwardIterator  last,
const allocator_type alloc = allocator_type() 
)
inline

Definition at line 140 of file inlined_vector.h.

◆ InlinedVector() [7/11]

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename InputIterator , DisableIfAtLeastForwardIterator< InputIterator > * = nullptr>
absl::InlinedVector< T, N, A >::InlinedVector ( InputIterator  first,
InputIterator  last,
const allocator_type alloc = allocator_type() 
)
inline

Definition at line 150 of file inlined_vector.h.

◆ InlinedVector() [8/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( const InlinedVector< T, N, A > &  other)
inline

Definition at line 157 of file inlined_vector.h.

◆ InlinedVector() [9/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( const InlinedVector< T, N, A > &  other,
const allocator_type alloc 
)
inline

Definition at line 161 of file inlined_vector.h.

◆ InlinedVector() [10/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( InlinedVector< T, N, A > &&  other)
inlinenoexcept

Definition at line 189 of file inlined_vector.h.

◆ InlinedVector() [11/11]

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::InlinedVector ( InlinedVector< T, N, A > &&  other,
const allocator_type alloc 
)
inlinenoexcept

Definition at line 223 of file inlined_vector.h.

◆ ~InlinedVector()

template<typename T, size_t N, typename A = std::allocator<T>>
absl::InlinedVector< T, N, A >::~InlinedVector ( )
inline

Definition at line 251 of file inlined_vector.h.

Member Function Documentation

◆ AppendForwardRange()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename ForwardIt >
void absl::InlinedVector< T, N, A >::AppendForwardRange ( ForwardIt  first,
ForwardIt  last 
)
inlineprivate

Definition at line 1066 of file inlined_vector.h.

◆ assign() [1/4]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::assign ( size_type  n,
const_reference  v 
)
inline

Definition at line 499 of file inlined_vector.h.

◆ assign() [2/4]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::assign ( std::initializer_list< value_type list)
inline

Definition at line 522 of file inlined_vector.h.

◆ assign() [3/4]

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename ForwardIterator , EnableIfAtLeastForwardIterator< ForwardIterator > * = nullptr>
void absl::InlinedVector< T, N, A >::assign ( ForwardIterator  first,
ForwardIterator  last 
)
inline

Definition at line 530 of file inlined_vector.h.

◆ assign() [4/4]

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename InputIterator , DisableIfAtLeastForwardIterator< InputIterator > * = nullptr>
void absl::InlinedVector< T, N, A >::assign ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 555 of file inlined_vector.h.

◆ at() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
reference absl::InlinedVector< T, N, A >::at ( size_type  i)
inline

Definition at line 328 of file inlined_vector.h.

◆ at() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_reference absl::InlinedVector< T, N, A >::at ( size_type  i) const
inline

Definition at line 338 of file inlined_vector.h.

◆ back() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
reference absl::InlinedVector< T, N, A >::back ( )
inline

Definition at line 364 of file inlined_vector.h.

◆ back() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_reference absl::InlinedVector< T, N, A >::back ( ) const
inline

Definition at line 371 of file inlined_vector.h.

◆ begin() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::begin ( )
inlinenoexcept

Definition at line 379 of file inlined_vector.h.

◆ begin() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_iterator absl::InlinedVector< T, N, A >::begin ( ) const
inlinenoexcept

Definition at line 383 of file inlined_vector.h.

◆ capacity()

template<typename T, size_t N, typename A = std::allocator<T>>
size_type absl::InlinedVector< T, N, A >::capacity ( ) const
inlinenoexcept

Definition at line 286 of file inlined_vector.h.

◆ cbegin()

template<typename T, size_t N, typename A = std::allocator<T>>
const_iterator absl::InlinedVector< T, N, A >::cbegin ( ) const
inlinenoexcept

Definition at line 397 of file inlined_vector.h.

◆ cend()

template<typename T, size_t N, typename A = std::allocator<T>>
const_iterator absl::InlinedVector< T, N, A >::cend ( ) const
inlinenoexcept

Definition at line 402 of file inlined_vector.h.

◆ clear()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::clear ( )
inlinenoexcept

Definition at line 795 of file inlined_vector.h.

◆ Construct()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename... Args>
reference absl::InlinedVector< T, N, A >::Construct ( pointer  p,
Args &&...  args 
)
inlineprivate

Definition at line 892 of file inlined_vector.h.

◆ crbegin()

template<typename T, size_t N, typename A = std::allocator<T>>
const_reverse_iterator absl::InlinedVector< T, N, A >::crbegin ( ) const
inlinenoexcept

Definition at line 429 of file inlined_vector.h.

◆ crend()

template<typename T, size_t N, typename A = std::allocator<T>>
const_reverse_iterator absl::InlinedVector< T, N, A >::crend ( ) const
inlinenoexcept

Definition at line 435 of file inlined_vector.h.

◆ data() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
pointer absl::InlinedVector< T, N, A >::data ( )
inlinenoexcept

Definition at line 296 of file inlined_vector.h.

◆ data() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_pointer absl::InlinedVector< T, N, A >::data ( ) const
inlinenoexcept

Definition at line 304 of file inlined_vector.h.

◆ Destroy()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::Destroy ( pointer  from,
pointer  to 
)
inlineprivate

Definition at line 909 of file inlined_vector.h.

◆ emplace()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename... Args>
iterator absl::InlinedVector< T, N, A >::emplace ( const_iterator  pos,
Args &&...  args 
)
inline

Definition at line 675 of file inlined_vector.h.

◆ emplace_back()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename... Args>
reference absl::InlinedVector< T, N, A >::emplace_back ( Args &&...  args)
inline

Definition at line 702 of file inlined_vector.h.

◆ empty()

template<typename T, size_t N, typename A = std::allocator<T>>
bool absl::InlinedVector< T, N, A >::empty ( ) const
inlinenoexcept

Definition at line 260 of file inlined_vector.h.

◆ end() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::end ( )
inlinenoexcept

Definition at line 388 of file inlined_vector.h.

◆ end() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_iterator absl::InlinedVector< T, N, A >::end ( ) const
inlinenoexcept

Definition at line 392 of file inlined_vector.h.

◆ EnlargeBy()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::EnlargeBy ( size_type  delta)
inlineprivate

Definition at line 928 of file inlined_vector.h.

◆ erase() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::erase ( const_iterator  pos)
inline

Definition at line 752 of file inlined_vector.h.

◆ erase() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::erase ( const_iterator  from,
const_iterator  to 
)
inline

Definition at line 766 of file inlined_vector.h.

◆ front() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
reference absl::InlinedVector< T, N, A >::front ( )
inline

Definition at line 349 of file inlined_vector.h.

◆ front() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_reference absl::InlinedVector< T, N, A >::front ( ) const
inline

Definition at line 356 of file inlined_vector.h.

◆ get_allocator()

template<typename T, size_t N, typename A = std::allocator<T>>
allocator_type absl::InlinedVector< T, N, A >::get_allocator ( ) const
inline

Definition at line 440 of file inlined_vector.h.

◆ GrowAndEmplaceBack()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename... Args>
reference absl::InlinedVector< T, N, A >::GrowAndEmplaceBack ( Args &&...  args)
inlineprivate

Definition at line 1017 of file inlined_vector.h.

◆ InitAssign() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::InitAssign ( size_type  n)
inlineprivate

Definition at line 1035 of file inlined_vector.h.

◆ InitAssign() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::InitAssign ( size_type  n,
const_reference  v 
)
inlineprivate

Definition at line 1050 of file inlined_vector.h.

◆ insert() [1/6]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::insert ( const_iterator  pos,
const_reference  v 
)
inline

Definition at line 619 of file inlined_vector.h.

◆ insert() [2/6]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::insert ( const_iterator  pos,
rvalue_reference  v 
)
inline

Definition at line 625 of file inlined_vector.h.

◆ insert() [3/6]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::insert ( const_iterator  pos,
size_type  n,
const_reference  v 
)
inline

Definition at line 632 of file inlined_vector.h.

◆ insert() [4/6]

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::insert ( const_iterator  pos,
std::initializer_list< value_type list 
)
inline

Definition at line 639 of file inlined_vector.h.

◆ insert() [5/6]

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename ForwardIterator , EnableIfAtLeastForwardIterator< ForwardIterator > * = nullptr>
iterator absl::InlinedVector< T, N, A >::insert ( const_iterator  pos,
ForwardIterator  first,
ForwardIterator  last 
)
inline

Definition at line 651 of file inlined_vector.h.

◆ insert() [6/6]

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename InputIterator , DisableIfAtLeastForwardIterator< InputIterator > * = nullptr>
iterator absl::InlinedVector< T, N, A >::insert ( const_iterator  pos,
InputIterator  first,
InputIterator  last 
)
inline

Definition at line 661 of file inlined_vector.h.

◆ InsertWithCount()

template<typename T, size_t N, typename A = std::allocator<T>>
iterator absl::InlinedVector< T, N, A >::InsertWithCount ( const_iterator  position,
size_type  n,
const_reference  v 
)
inlineprivate

Definition at line 1082 of file inlined_vector.h.

◆ InsertWithForwardRange()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename ForwardIt >
iterator absl::InlinedVector< T, N, A >::InsertWithForwardRange ( const_iterator  position,
ForwardIt  first,
ForwardIt  last 
)
inlineprivate

Definition at line 1096 of file inlined_vector.h.

◆ max_size()

template<typename T, size_t N, typename A = std::allocator<T>>
size_type absl::InlinedVector< T, N, A >::max_size ( ) const
inlinenoexcept

Definition at line 270 of file inlined_vector.h.

◆ operator=() [1/3]

template<typename T, size_t N, typename A = std::allocator<T>>
InlinedVector& absl::InlinedVector< T, N, A >::operator= ( std::initializer_list< value_type list)
inline

Definition at line 450 of file inlined_vector.h.

◆ operator=() [2/3]

template<typename T, size_t N, typename A = std::allocator<T>>
InlinedVector& absl::InlinedVector< T, N, A >::operator= ( const InlinedVector< T, N, A > &  other)
inline

Definition at line 457 of file inlined_vector.h.

◆ operator=() [3/3]

template<typename T, size_t N, typename A = std::allocator<T>>
InlinedVector& absl::InlinedVector< T, N, A >::operator= ( InlinedVector< T, N, A > &&  other)
inline

Definition at line 470 of file inlined_vector.h.

◆ operator[]() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
reference absl::InlinedVector< T, N, A >::operator[] ( size_type  i)
inline

Definition at line 313 of file inlined_vector.h.

◆ operator[]() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_reference absl::InlinedVector< T, N, A >::operator[] ( size_type  i) const
inline

Definition at line 320 of file inlined_vector.h.

◆ pop_back()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::pop_back ( )
inlinenoexcept

Definition at line 733 of file inlined_vector.h.

◆ push_back() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::push_back ( const_reference  v)
inline

Definition at line 721 of file inlined_vector.h.

◆ push_back() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::push_back ( rvalue_reference  v)
inline

Definition at line 725 of file inlined_vector.h.

◆ rbegin() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
reverse_iterator absl::InlinedVector< T, N, A >::rbegin ( )
inlinenoexcept

Definition at line 407 of file inlined_vector.h.

◆ rbegin() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_reverse_iterator absl::InlinedVector< T, N, A >::rbegin ( ) const
inlinenoexcept

Definition at line 411 of file inlined_vector.h.

◆ rend() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
reverse_iterator absl::InlinedVector< T, N, A >::rend ( )
inlinenoexcept

Definition at line 418 of file inlined_vector.h.

◆ rend() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
const_reverse_iterator absl::InlinedVector< T, N, A >::rend ( ) const
inlinenoexcept

Definition at line 422 of file inlined_vector.h.

◆ reserve()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::reserve ( size_type  n)
inline

Definition at line 817 of file inlined_vector.h.

◆ ResetAllocation()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::ResetAllocation ( pointer  new_data,
size_type  new_capacity,
size_type  new_size 
)
inlineprivate

Definition at line 873 of file inlined_vector.h.

◆ resize() [1/2]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::resize ( size_type  n)
inline

Definition at line 570 of file inlined_vector.h.

◆ resize() [2/2]

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::resize ( size_type  n,
const_reference  v 
)
inline

Definition at line 594 of file inlined_vector.h.

◆ ShiftRight()

template<typename T, size_t N, typename A = std::allocator<T>>
std::pair<iterator, iterator> absl::InlinedVector< T, N, A >::ShiftRight ( const_iterator  position,
size_type  n 
)
inlineprivate

Definition at line 958 of file inlined_vector.h.

◆ shrink_to_fit()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::shrink_to_fit ( )
inline

Definition at line 835 of file inlined_vector.h.

◆ size()

template<typename T, size_t N, typename A = std::allocator<T>>
size_type absl::InlinedVector< T, N, A >::size ( ) const
inlinenoexcept

Definition at line 265 of file inlined_vector.h.

◆ swap()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::swap ( InlinedVector< T, N, A > &  other)
inline

Definition at line 863 of file inlined_vector.h.

◆ SwapImpl()

template<typename T, size_t N, typename A = std::allocator<T>>
void absl::InlinedVector< T, N, A >::SwapImpl ( InlinedVector< T, N, A > &  other)
inlineprivate

Definition at line 1115 of file inlined_vector.h.

◆ UninitializedCopy()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename Iterator >
void absl::InlinedVector< T, N, A >::UninitializedCopy ( Iterator  src,
Iterator  src_last,
pointer  dst 
)
inlineprivate

Definition at line 899 of file inlined_vector.h.

◆ UninitializedFill()

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename... Args>
void absl::InlinedVector< T, N, A >::UninitializedFill ( pointer  dst,
pointer  dst_last,
const Args &...  args 
)
inlineprivate

Definition at line 904 of file inlined_vector.h.

Friends And Related Function Documentation

◆ AbslHashValue

template<typename T, size_t N, typename A = std::allocator<T>>
template<typename H , typename TheT , size_t TheN, typename TheA >
H AbslHashValue ( h,
const absl::InlinedVector< TheT, TheN, TheA > &  a 
)
friend

Definition at line 1294 of file inlined_vector.h.

Member Data Documentation

◆ storage_

template<typename T, size_t N, typename A = std::allocator<T>>
Storage absl::InlinedVector< T, N, A >::storage_
private

Definition at line 1205 of file inlined_vector.h.


The documentation for this class was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22