| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef SKY_ENGINE_WTF_TYPETRAITS_H_ | 22 #ifndef SKY_ENGINE_WTF_TYPETRAITS_H_ |
| 23 #define SKY_ENGINE_WTF_TYPETRAITS_H_ | 23 #define SKY_ENGINE_WTF_TYPETRAITS_H_ |
| 24 | 24 |
| 25 #include <cstddef> |
| 25 #include <utility> | 26 #include <utility> |
| 26 | 27 |
| 27 namespace WTF { | 28 namespace WTF { |
| 28 | 29 |
| 29 // The following are provided in this file: | 30 // The following are provided in this file: |
| 30 // | 31 // |
| 31 // IsInteger<T>::value | 32 // IsInteger<T>::value |
| 32 // IsPod<T>::value, see the definition for a note about its limitations | 33 // IsPod<T>::value, see the definition for a note about its limitations |
| 33 // IsConvertibleToInteger<T>::value | 34 // IsConvertibleToInteger<T>::value |
| 34 // | 35 // |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 template<typename From> class IsPointerConvertible<From, blink::JSONValue> { | 303 template<typename From> class IsPointerConvertible<From, blink::JSONValue> { |
| 303 public: | 304 public: |
| 304 enum { | 305 enum { |
| 305 Value = true | 306 Value = true |
| 306 }; | 307 }; |
| 307 }; | 308 }; |
| 308 | 309 |
| 309 } // namespace WTF | 310 } // namespace WTF |
| 310 | 311 |
| 311 #endif // SKY_ENGINE_WTF_TYPETRAITS_H_ | 312 #endif // SKY_ENGINE_WTF_TYPETRAITS_H_ |
| OLD | NEW |