HomeSort by relevance Sort by last modified time
    Searched refs:IsPod (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/third_party/WebKit/Source/wtf/
TypeTraits.cpp 55 COMPILE_ASSERT(IsPod<bool>::value, WTF_IsPod_bool_true);
56 COMPILE_ASSERT(IsPod<char>::value, WTF_IsPod_char_true);
57 COMPILE_ASSERT(IsPod<signed char>::value, WTF_IsPod_signed_char_true);
58 COMPILE_ASSERT(IsPod<unsigned char>::value, WTF_IsPod_unsigned_char_true);
59 COMPILE_ASSERT(IsPod<short>::value, WTF_IsPod_short_true);
60 COMPILE_ASSERT(IsPod<unsigned short>::value, WTF_IsPod_unsigned_short_true);
61 COMPILE_ASSERT(IsPod<int>::value, WTF_IsPod_int_true);
62 COMPILE_ASSERT(IsPod<unsigned int>::value, WTF_IsPod_unsigned_int_true);
63 COMPILE_ASSERT(IsPod<long>::value, WTF_IsPod_long_true);
64 COMPILE_ASSERT(IsPod<unsigned long>::value, WTF_IsPod_unsigned_long_true)
    [all...]
VectorTraits.h 35 template<bool isPod, typename T>
38 static const bool needsDestruction = !isPod;
39 static const bool needsInitialization = !isPod;
40 static const bool canInitializeWithMemset = isPod;
41 static const bool canMoveWithMemcpy = isPod;
42 static const bool canCopyWithMemcpy = isPod;
43 static const bool canFillWithMemset = isPod && (sizeof(T) == sizeof(char));
44 static const bool canCompareWithMemcmp = isPod;
48 struct VectorTraits : VectorTraitsBase<IsPod<T>::value, T> { };
TypeTraits.h 30 // IsPod<T>::value, see the definition for a note about its limitations
73 // IsPod is misnamed as it doesn't cover all plain old data (pod) types.
75 template <typename T> struct IsPod { static const bool value = IsArithmetic<T>::value; };
76 template <typename P> struct IsPod<P*> { static const bool value = true; };

Completed in 162 milliseconds