| Index: Source/wtf/TypeTraits.h
|
| diff --git a/Source/wtf/TypeTraits.h b/Source/wtf/TypeTraits.h
|
| index 4d91f674704663c2113c9209e901bc452212ef7b..18a21e63fd648babc47082c5181941fd1815b5a4 100644
|
| --- a/Source/wtf/TypeTraits.h
|
| +++ b/Source/wtf/TypeTraits.h
|
| @@ -29,7 +29,6 @@ namespace WTF {
|
| // The following are provided in this file:
|
| //
|
| // IsInteger<T>::value
|
| - // IsPod<T>::value, see the definition for a note about its limitations
|
| // IsConvertibleToInteger<T>::value
|
| //
|
| // IsArray<T>::value
|
| @@ -79,11 +78,6 @@ namespace WTF {
|
| WeakHandlingInCollections
|
| };
|
|
|
| - // IsPod is misnamed as it doesn't cover all plain old data (pod) types.
|
| - // Specifically, it doesn't allow for enums or for structs.
|
| - template <typename T> struct IsPod { static const bool value = IsArithmetic<T>::value; };
|
| - template <typename P> struct IsPod<P*> { static const bool value = true; };
|
| -
|
| template<typename T> class IsConvertibleToInteger {
|
| // Avoid "possible loss of data" warning when using Microsoft's C++ compiler
|
| // by not converting int's to doubles.
|
|
|