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 TypeTraits_h | 22 #ifndef TypeTraits_h |
23 #define TypeTraits_h | 23 #define TypeTraits_h |
24 | 24 |
25 #include "wtf/Platform.h" | |
26 | |
27 #if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIME
NTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600)) | 25 #if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIME
NTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600)) |
28 #include <type_traits> | 26 #include <type_traits> |
29 #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMEN
TAL_CXX0X__) | 27 #if defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMEN
TAL_CXX0X__) |
30 #include <tr1/memory> | 28 #include <tr1/memory> |
31 #endif | 29 #endif |
32 #endif | 30 #endif |
33 | 31 |
34 namespace WTF { | 32 namespace WTF { |
35 | 33 |
36 // The following are provided in this file: | 34 // The following are provided in this file: |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 public: | 300 public: |
303 enum { | 301 enum { |
304 Value = true | 302 Value = true |
305 }; | 303 }; |
306 }; | 304 }; |
307 | 305 |
308 } // namespace WTF | 306 } // namespace WTF |
309 | 307 |
310 | 308 |
311 #endif // TypeTraits_h | 309 #endif // TypeTraits_h |
OLD | NEW |