NIM 跨平台 C++ SDK
|
类 | |
struct | IsLayoutCompatible |
struct | OffsetOf |
struct | OffsetOf< Pair, typename std::is_standard_layout< Pair >::type > |
struct | WithConstructedImplF |
函数 | |
template<class Alloc , class T , class Tuple , size_t... I> | |
void | ConstructFromTupleImpl (Alloc *alloc, T *ptr, Tuple &&t, phmap::index_sequence< I... >) |
template<class T , class Tuple , size_t... Is, class F > | |
decltype(std::declval< F >()(std::declval< T >())) | WithConstructedImpl (Tuple &&t, phmap::index_sequence< Is... >, F &&f) |
template<class T , size_t... Is> | |
auto | TupleRefImpl (T &&t, phmap::index_sequence< Is... >) -> decltype(std::forward_as_tuple(std::get< Is >(std::forward< T >(t))...)) |
template<class T > | |
auto | TupleRef (T &&t) -> decltype(TupleRefImpl(std::forward< T >(t), phmap::make_index_sequence< std::tuple_size< typename std::decay< T >::type >::value >())) |
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) |
void phmap::priv::memory_internal::ConstructFromTupleImpl | ( | Alloc * | alloc, |
T * | ptr, | ||
Tuple && | t, | ||
phmap::index_sequence< I... > | ) |
decltype(std::declval< F >()(std::declval< const K & >(), std::piecewise_construct, std::declval< std::tuple< K > >(), std::declval< V >())) phmap::priv::memory_internal::DecomposePairImpl | ( | F && | f, |
std::pair< std::tuple< K >, V > | p ) |
auto phmap::priv::memory_internal::TupleRef | ( | T && | t | ) | -> decltype( TupleRefImpl(std::forward<T>(t), phmap::make_index_sequence< std::tuple_size<typename std::decay<T>::type>::value>())) |
auto phmap::priv::memory_internal::TupleRefImpl | ( | T && | t, |
phmap::index_sequence< Is... > | ) -> decltype(std::forward_as_tuple(std::get<Is>(std::forward<T>(t))...)) |
decltype(std::declval< F >()(std::declval< T >())) phmap::priv::memory_internal::WithConstructedImpl | ( | Tuple && | t, |
phmap::index_sequence< Is... > | , | ||
F && | f ) |