# std_string.h File Reference

C++ API: Central ICU header for including the C++ standard <string> header and for related definitions. More...

`#include "unicode/utypes.h"`
`#include <string>`

Go to the source code of this file.

## Defines
#define | U_STD_NS std
| Define the namespace to use for standard C++ (STL) classes.
#define | U_STD_NSQ U_STD_NS::
| Define the namespace qualifier to use for standard C++ (STL) classes.
#define | U_STD_NS_USE using namespace U_STD_NS;
| This is used to specify that the rest of the code uses the standard (STL) namespace.

## Detailed Description

C++ API: Central ICU header for including the C++ standard <string> header and for related definitions.

Definition in file std_string.h.

## Define Documentation

#define U_STD_NS std

Define the namespace to use for standard C++ (STL) classes.

Either std or empty.

Draft:
  This API may be changed in the future versions and was introduced in ICU 4.2

Definition at line 66 of file std_string.h.

#define U_STD_NS_USE using namespace U_STD_NS;

This is used to specify that the rest of the code uses the standard (STL) namespace.

Either "using namespace std;" or empty.

Draft:
  This API may be changed in the future versions and was introduced in ICU 4.2

Definition at line 68 of file std_string.h.

#define U_STD_NSQ U_STD_NS::

Define the namespace qualifier to use for standard C++ (STL) classes.

Either std:: or empty. For example, U_STD_NSQ string StringFromUnicodeString(const UnicodeString &unistr);

Draft:
  This API may be changed in the future versions and was introduced in ICU 4.2

Definition at line 67 of file std_string.h.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines