summaryrefslogtreecommitdiffstats
path: root/intl/icu/source/common/unicode/std_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/icu/source/common/unicode/std_string.h')
-rw-r--r--intl/icu/source/common/unicode/std_string.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/intl/icu/source/common/unicode/std_string.h b/intl/icu/source/common/unicode/std_string.h
new file mode 100644
index 000000000..10e49ff72
--- /dev/null
+++ b/intl/icu/source/common/unicode/std_string.h
@@ -0,0 +1,39 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+*******************************************************************************
+*
+* Copyright (C) 2009-2014, International Business Machines
+* Corporation and others. All Rights Reserved.
+*
+*******************************************************************************
+* file name: std_string.h
+* encoding: US-ASCII
+* tab size: 8 (not used)
+* indentation:4
+*
+* created on: 2009feb19
+* created by: Markus W. Scherer
+*/
+
+#ifndef __STD_STRING_H__
+#define __STD_STRING_H__
+
+/**
+ * \file
+ * \brief C++ API: Central ICU header for including the C++ standard <string>
+ * header and for related definitions.
+ */
+
+#include "unicode/utypes.h"
+
+#if U_HAVE_STD_STRING
+
+#if defined(__GLIBCXX__)
+namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364
+#endif
+#include <string>
+
+#endif // U_HAVE_STD_STRING
+
+#endif // __STD_STRING_H__