std_string.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #ifndef __STD_STRING_H__
  19. #define __STD_STRING_H__
  20. /**
  21. * \file
  22. * \brief C++ API: Central ICU header for including the C++ standard <string>
  23. * header and for related definitions.
  24. */
  25. #include "unicode/utypes.h"
  26. #if U_SHOW_CPLUSPLUS_API
  27. // Workaround for a libstdc++ bug before libstdc++4.6 (2011).
  28. // https://bugs.llvm.org/show_bug.cgi?id=13364
  29. #if defined(__GLIBCXX__)
  30. namespace std { class type_info; }
  31. #endif
  32. #include <string>
  33. #endif /* U_SHOW_CPLUSPLUS_API */
  34. #endif // __STD_STRING_H__