NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
phmap::type_traits_internal::is_trivially_copyable_impl< T > 模板类 参考

#include <btree.h>

静态 Public 属性

static constexpr bool kValue
 

Private 类型

using ExtentsRemoved = typename std::remove_all_extents< T >::type
 

静态 Private 属性

static constexpr bool kIsCopyOrMoveConstructible
 
static constexpr bool kIsCopyOrMoveAssignable
 

成员类型定义说明

◆ ExtentsRemoved

template<typename T >
using phmap::type_traits_internal::is_trivially_copyable_impl< T >::ExtentsRemoved = typename std::remove_all_extents<T>::type
private

类成员变量说明

◆ kIsCopyOrMoveAssignable

template<typename T >
constexpr bool phmap::type_traits_internal::is_trivially_copyable_impl< T >::kIsCopyOrMoveAssignable
staticconstexprprivate

◆ kIsCopyOrMoveConstructible

template<typename T >
constexpr bool phmap::type_traits_internal::is_trivially_copyable_impl< T >::kIsCopyOrMoveConstructible
staticconstexprprivate
初始值:
=
std::is_copy_constructible<ExtentsRemoved>::value ||
std::is_move_constructible<ExtentsRemoved>::value

◆ kValue

template<typename T >
constexpr bool phmap::type_traits_internal::is_trivially_copyable_impl< T >::kValue
staticconstexpr
初始值:
=
(__has_trivial_copy(ExtentsRemoved) || !kIsCopyOrMoveConstructible) &&
(__has_trivial_assign(ExtentsRemoved) || !kIsCopyOrMoveAssignable) &&
is_trivially_destructible<ExtentsRemoved>::value &&
!std::is_reference<ExtentsRemoved>::value
typename std::remove_all_extents< T >::type ExtentsRemoved
Definition: btree.h:148
static constexpr bool kIsCopyOrMoveAssignable
Definition: btree.h:152
static constexpr bool kIsCopyOrMoveConstructible
Definition: btree.h:149

该类的文档由以下文件生成: