Classes | Typedefs | Functions
absl::inlined_vector_internal Namespace Reference

Classes

struct  Allocation
 
class  AllocationTransaction
 
class  ConstructionTransaction
 
class  CopyValueAdapter
 
class  DefaultValueAdapter
 
struct  DestroyAdapter
 
struct  DestroyAdapter< A, false >
 
struct  DestroyAdapter< A, true >
 
class  IteratorValueAdapter
 
struct  MallocAdapter
 
class  Storage
 
struct  StorageView
 
struct  TypeIdentity
 

Typedefs

template<typename A >
using AllocatorTraits = std::allocator_traits< A >
 
template<typename A >
using ConstIterator = ConstPointer< A >
 
template<typename A >
using ConstPointer = typename AllocatorTraits< A >::const_pointer
 
template<typename A >
using ConstReference = const ValueType< A > &
 
template<typename A >
using ConstReverseIterator = typename std::reverse_iterator< ConstIterator< A > >
 
template<typename A >
using DifferenceType = typename AllocatorTraits< A >::difference_type
 
template<typename Iterator >
using IsAtLeastForwardIterator = std::is_convertible< typename std::iterator_traits< Iterator >::iterator_category, std::forward_iterator_tag >
 
template<typename A >
using IsMemcpyOk = absl::conjunction< std::is_same< A, std::allocator< ValueType< A > >>, absl::is_trivially_copy_constructible< ValueType< A > >, absl::is_trivially_copy_assignable< ValueType< A > >, absl::is_trivially_destructible< ValueType< A > >>
 
template<typename A >
using Iterator = Pointer< A >
 
template<typename A >
using MoveIterator = typename std::move_iterator< Iterator< A > >
 
template<typename T >
using NoTypeDeduction = typename TypeIdentity< T >::type
 
template<typename A >
using Pointer = typename AllocatorTraits< A >::pointer
 
template<typename A >
using Reference = ValueType< A > &
 
template<typename A >
using ReverseIterator = typename std::reverse_iterator< Iterator< A > >
 
template<typename A >
using SizeType = typename AllocatorTraits< A >::size_type
 
template<typename A >
using ValueType = typename AllocatorTraits< A >::value_type
 

Functions

template<typename Pointer , typename ValueAdapter , typename SizeType >
void AssignElements (Pointer assign_first, ValueAdapter *values_ptr, SizeType assign_size)
 
template<typename A , typename ValueAdapter >
void AssignElements (Pointer< A > assign_first, ValueAdapter &values, SizeType< A > assign_size)
 
template<typename AllocatorType , typename Pointer , typename ValueAdapter , typename SizeType >
void ConstructElements (AllocatorType *alloc_ptr, Pointer construct_first, ValueAdapter *values_ptr, SizeType construct_size)
 
template<typename A , typename ValueAdapter >
void ConstructElements (NoTypeDeduction< A > &allocator, Pointer< A > construct_first, ValueAdapter &values, SizeType< A > construct_size)
 
template<typename AllocatorType , typename Pointer , typename SizeType >
void DestroyElements (AllocatorType *alloc_ptr, Pointer destroy_first, SizeType destroy_size)
 
template<bool kUseMemcpy>
void MemcpyIfAllowed (void *dst, const void *src, size_t n)
 
template<>
void MemcpyIfAllowed< false > (void *, const void *, size_t)
 
template<>
void MemcpyIfAllowed< true > (void *dst, const void *src, size_t n)
 

Typedef Documentation

◆ AllocatorTraits

template<typename A >
using absl::inlined_vector_internal::AllocatorTraits = typedef std::allocator_traits<A>

◆ ConstIterator

template<typename A >
using absl::inlined_vector_internal::ConstIterator = typedef ConstPointer<A>

◆ ConstPointer

template<typename A >
using absl::inlined_vector_internal::ConstPointer = typedef typename AllocatorTraits<A>::const_pointer

◆ ConstReference

template<typename A >
using absl::inlined_vector_internal::ConstReference = typedef const ValueType<A>&

◆ ConstReverseIterator

template<typename A >
using absl::inlined_vector_internal::ConstReverseIterator = typedef typename std::reverse_iterator<ConstIterator<A> >

◆ DifferenceType

template<typename A >
using absl::inlined_vector_internal::DifferenceType = typedef typename AllocatorTraits<A>::difference_type

◆ IsAtLeastForwardIterator

template<typename Iterator >
using absl::inlined_vector_internal::IsAtLeastForwardIterator = typedef std::is_convertible< typename std::iterator_traits<Iterator>::iterator_category, std::forward_iterator_tag>

◆ IsMemcpyOk

◆ Iterator

template<typename A >
using absl::inlined_vector_internal::Iterator = typedef Pointer<A>

◆ MoveIterator

template<typename A >
using absl::inlined_vector_internal::MoveIterator = typedef typename std::move_iterator<Iterator<A> >

◆ NoTypeDeduction

template<typename T >
using absl::inlined_vector_internal::NoTypeDeduction = typedef typename TypeIdentity<T>::type

◆ Pointer

template<typename A >
using absl::inlined_vector_internal::Pointer = typedef typename AllocatorTraits<A>::pointer

◆ Reference

template<typename A >
using absl::inlined_vector_internal::Reference = typedef ValueType<A>&

◆ ReverseIterator

template<typename A >
using absl::inlined_vector_internal::ReverseIterator = typedef typename std::reverse_iterator<Iterator<A> >

◆ SizeType

template<typename A >
using absl::inlined_vector_internal::SizeType = typedef typename AllocatorTraits<A>::size_type

◆ ValueType

template<typename A >
using absl::inlined_vector_internal::ValueType = typedef typename AllocatorTraits<A>::value_type

Function Documentation

◆ AssignElements() [1/2]

template<typename Pointer , typename ValueAdapter , typename SizeType >
void absl::inlined_vector_internal::AssignElements ( Pointer  assign_first,
ValueAdapter *  values_ptr,
SizeType  assign_size 
)

◆ AssignElements() [2/2]

template<typename A , typename ValueAdapter >
void absl::inlined_vector_internal::AssignElements ( Pointer< A assign_first,
ValueAdapter &  values,
SizeType< A assign_size 
)

◆ ConstructElements() [1/2]

template<typename AllocatorType , typename Pointer , typename ValueAdapter , typename SizeType >
void absl::inlined_vector_internal::ConstructElements ( AllocatorType *  alloc_ptr,
Pointer  construct_first,
ValueAdapter *  values_ptr,
SizeType  construct_size 
)

◆ ConstructElements() [2/2]

template<typename A , typename ValueAdapter >
void absl::inlined_vector_internal::ConstructElements ( NoTypeDeduction< A > &  allocator,
Pointer< A construct_first,
ValueAdapter &  values,
SizeType< A construct_size 
)

◆ DestroyElements()

template<typename AllocatorType , typename Pointer , typename SizeType >
void absl::inlined_vector_internal::DestroyElements ( AllocatorType *  alloc_ptr,
Pointer  destroy_first,
SizeType  destroy_size 
)

◆ MemcpyIfAllowed()

template<bool kUseMemcpy>
void absl::inlined_vector_internal::MemcpyIfAllowed ( void *  dst,
const void *  src,
size_t  n 
)
inline

◆ MemcpyIfAllowed< false >()

template<>
void absl::inlined_vector_internal::MemcpyIfAllowed< false > ( void *  ,
const void *  ,
size_t   
)
inline

◆ MemcpyIfAllowed< true >()

template<>
void absl::inlined_vector_internal::MemcpyIfAllowed< true > ( void *  dst,
const void *  src,
size_t  n 
)
inline


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:51