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