Merge "libutils: T* is a trivial type" into main
This commit is contained in:
commit
cd3ffd1f2c
1 changed files with 5 additions and 0 deletions
|
|
@ -109,6 +109,11 @@ ANDROID_BASIC_TYPES_TRAITS( unsigned long long )
|
|||
ANDROID_BASIC_TYPES_TRAITS( float )
|
||||
ANDROID_BASIC_TYPES_TRAITS( double )
|
||||
|
||||
template<typename T> struct trait_trivial_ctor<T*> { enum { value = true }; };
|
||||
template<typename T> struct trait_trivial_dtor<T*> { enum { value = true }; };
|
||||
template<typename T> struct trait_trivial_copy<T*> { enum { value = true }; };
|
||||
template<typename T> struct trait_trivial_move<T*> { enum { value = true }; };
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue