template <typename TYPE>

struct traits

Defined at line 43 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h

Enumerations

enum (unnamed)
Name Value Comments
is_pointer trait_pointer<TYPE>::value

whether this type is a pointer

has_trivial_ctor is_pointer || trait_trivial_ctor<TYPE>::value

whether this type's constructor is a no-op

has_trivial_dtor is_pointer || trait_trivial_dtor<TYPE>::value

whether this type's destructor is a no-op

has_trivial_copy is_pointer || trait_trivial_copy<TYPE>::value

whether this type type can be copy-constructed with memcpy

has_trivial_move is_pointer || trait_trivial_move<TYPE>::value

whether this type can be moved with memmove

Defined at line 44 of file ../../third_party/android/platform/system/core/include/utils/TypeHelpers.h