1 | // © 2016 and later: Unicode, Inc. and others. |
2 | // License & terms of use: http://www.unicode.org/copyright.html |
3 | /* |
4 | ******************************************************************************* |
5 | * |
6 | * Copyright (C) 2009-2014, International Business Machines |
7 | * Corporation and others. All Rights Reserved. |
8 | * |
9 | ******************************************************************************* |
10 | * file name: std_string.h |
11 | * encoding: UTF-8 |
12 | * tab size: 8 (not used) |
13 | * indentation:4 |
14 | * |
15 | * created on: 2009feb19 |
16 | * created by: Markus W. Scherer |
17 | */ |
18 | |
19 | #ifndef __STD_STRING_H__ |
20 | #define __STD_STRING_H__ |
21 | |
22 | /** |
23 | * \file |
24 | * \brief C++ API: Central ICU header for including the C++ standard <string> |
25 | * header and for related definitions. |
26 | */ |
27 | |
28 | #include "unicode/utypes.h" |
29 | |
30 | #if U_SHOW_CPLUSPLUS_API |
31 | |
32 | // Workaround for a libstdc++ bug before libstdc++4.6 (2011). |
33 | // https://bugs.llvm.org/show_bug.cgi?id=13364 |
34 | #if defined(__GLIBCXX__) |
35 | namespace std { class type_info; } |
36 | #endif |
37 | #include <string> |
38 | |
39 | #endif /* U_SHOW_CPLUSPLUS_API */ |
40 | |
41 | #endif // __STD_STRING_H__ |
42 | |