]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/unicode/std_string.h
ICU-62107.0.1.tar.gz
[apple/icu.git] / icuSources / common / unicode / std_string.h
index 67b1d6c5aad10a0b62837c2525477635b6b01f22..729c56399506eb38b2c9edc1c6420e5abbe5d897 100644 (file)
@@ -1,12 +1,14 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 *******************************************************************************
 *
-*   Copyright (C) 2009-2011, International Business Machines
+*   Copyright (C) 2009-2014, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 *******************************************************************************
 *   file name:  std_string.h
-*   encoding:   US-ASCII
+*   encoding:   UTF-8
 *   tab size:   8 (not used)
 *   indentation:4
 *
 #define __STD_STRING_H__
 
 /**
- * \file 
+ * \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
-
+// Workaround for a libstdc++ bug before libstdc++4.6 (2011).
+// https://bugs.llvm.org/show_bug.cgi?id=13364
+#if defined(__GLIBCXX__)
+namespace std { class type_info; }
+#endif
 #include <string>
 
-#endif  // U_HAVE_STD_STRING
-
 #endif  // __STD_STRING_H__