Classes | Functions
absl::container_internal::memory_internal Namespace Reference

Classes

struct  IsLayoutCompatible
 
struct  OffsetOf
 
struct  OffsetOf< Pair, typename std::is_standard_layout< Pair >::type >
 
struct  WithConstructedImplF
 

Functions

template<class Alloc , class T , class Tuple , size_t... I>
void ConstructFromTupleImpl (Alloc *alloc, T *ptr, Tuple &&t, absl::index_sequence< I... >)
 
template<class F , class K , class V >
decltype(std::declval< F >()(std::declval< const K & >(), std::piecewise_construct, std::declval< std::tuple< K >>(), std::declval< V >())) DecomposePairImpl (F &&f, std::pair< std::tuple< K >, V > p)
 
template<class T >
auto TupleRef (T &&t) -> decltype(TupleRefImpl(std::forward< T >(t), absl::make_index_sequence< std::tuple_size< typename std::decay< T >::type >::value >()))
 
template<class T , size_t... Is>
auto TupleRefImpl (T &&t, absl::index_sequence< Is... >) -> decltype(std::forward_as_tuple(std::get< Is >(std::forward< T >(t))...))
 
template<class T , class Tuple , size_t... Is, class F >
decltype(std::declval< F >()(std::declval< T >())) WithConstructedImpl (Tuple &&t, absl::index_sequence< Is... >, F &&f)
 

Function Documentation

◆ ConstructFromTupleImpl()

template<class Alloc , class T , class Tuple , size_t... I>
void absl::container_internal::memory_internal::ConstructFromTupleImpl ( Alloc alloc,
T *  ptr,
Tuple &&  t,
absl::index_sequence< I... >   
)

Definition at line 79 of file container_memory.h.

◆ DecomposePairImpl()

template<class F , class K , class V >
decltype(std::declval<F>()(std::declval<const K&>(), std::piecewise_construct, std::declval<std::tuple<K>>(), std::declval<V>())) absl::container_internal::memory_internal::DecomposePairImpl ( F &&  f,
std::pair< std::tuple< K >, V >  p 
)

Definition at line 124 of file container_memory.h.

◆ TupleRef()

template<class T >
auto absl::container_internal::memory_internal::TupleRef ( T &&  t) -> decltype( TupleRefImpl(std::forward<T>(t), absl::make_index_sequence< std::tuple_size<typename std::decay<T>::type>::value>()))

Definition at line 111 of file container_memory.h.

◆ TupleRefImpl()

template<class T , size_t... Is>
auto absl::container_internal::memory_internal::TupleRefImpl ( T &&  t,
absl::index_sequence< Is... >   
) -> decltype(std::forward_as_tuple(std::get<Is>(std::forward<T>(t))...))

Definition at line 103 of file container_memory.h.

◆ WithConstructedImpl()

template<class T , class Tuple , size_t... Is, class F >
decltype(std::declval<F>()(std::declval<T>())) absl::container_internal::memory_internal::WithConstructedImpl ( Tuple &&  t,
absl::index_sequence< Is... >  ,
F &&  f 
)

Definition at line 96 of file container_memory.h.



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