OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 2009-2011, International Business Machines | 4 * Copyright (C) 2009-2014, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * file name: std_string.h | 8 * file name: std_string.h |
9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
11 * indentation:4 | 11 * indentation:4 |
12 * | 12 * |
13 * created on: 2009feb19 | 13 * created on: 2009feb19 |
14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
15 */ | 15 */ |
16 | 16 |
17 #ifndef __STD_STRING_H__ | 17 #ifndef __STD_STRING_H__ |
18 #define __STD_STRING_H__ | 18 #define __STD_STRING_H__ |
19 | 19 |
20 /** | 20 /** |
21 * \file | 21 * \file |
22 * \brief C++ API: Central ICU header for including the C++ standard <string&
gt; | 22 * \brief C++ API: Central ICU header for including the C++ standard <string&
gt; |
23 * header and for related definitions. | 23 * header and for related definitions. |
24 */ | 24 */ |
25 | 25 |
26 #include "unicode/utypes.h" | 26 #include "unicode/utypes.h" |
27 | 27 |
28 #if U_HAVE_STD_STRING | 28 #if U_HAVE_STD_STRING |
29 | 29 |
| 30 #if !defined(_MSC_VER) |
| 31 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.
cgi?id=13364 |
| 32 #endif |
30 #include <string> | 33 #include <string> |
31 | 34 |
32 #endif // U_HAVE_STD_STRING | 35 #endif // U_HAVE_STD_STRING |
33 | 36 |
34 #endif // __STD_STRING_H__ | 37 #endif // __STD_STRING_H__ |
OLD | NEW |