]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/unicode/std_string.h
2 *******************************************************************************
4 * Copyright (C) 2009-2010, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * file name: std_string.h
10 * tab size: 8 (not used)
13 * created on: 2009feb19
14 * created by: Markus W. Scherer
17 #ifndef __STD_STRING_H__
18 #define __STD_STRING_H__
22 * \brief C++ API: Central ICU header for including the C++ standard <string>
23 * header and for related definitions.
26 #include "unicode/utypes.h"
29 * \def U_HAVE_STD_STRING
30 * Define whether the standard C++ (STL) <string> header is available.
33 #ifndef U_HAVE_STD_STRING
34 #define U_HAVE_STD_STRING 1
43 * Define the namespace to use for standard C++ (STL) classes.
44 * Either std or empty.
50 * Define the namespace qualifier to use for standard C++ (STL) classes.
51 * Either std:: or empty.
53 * U_STD_NSQ string StringFromUnicodeString(const UnicodeString &unistr);
59 * This is used to specify that the rest of the code uses the
60 * standard (STL) namespace.
61 * Either "using namespace std;" or empty.
67 # define U_STD_NSQ U_STD_NS::
68 # define U_STD_NS_USE using namespace U_STD_NS;
76 #endif // U_HAVE_STD_STRING
78 #endif // __STD_STRING_H__