Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
00013 # include <cstddef>
00014 # if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
00015 # error "This is not STLPort!"
00016 # endif
00017 #endif
00018
00019
00020
00021
00022
00023 #if (defined(__STL_STATIC_CONST_INIT_BUG) || defined(_STLP_STATIC_CONST_INIT_BUG)) && (__SGI_STL_PORT <= 0x400)
00024 # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
00025 #endif
00026
00027
00028
00029
00030
00031 #if !(defined(_STLP_CLASS_PARTIAL_SPECIALIZATION) || defined(__STL_CLASS_PARTIAL_SPECIALIZATION))
00032 # define BOOST_NO_STD_ITERATOR_TRAITS
00033 #endif
00034
00035
00036
00037
00038 #if (defined(__GNUC__) && (__GNUC__ < 3)) && !(defined(__SGI_STL_OWN_IOSTREAMS) || defined(_STLP_OWN_IOSTREAMS))
00039 # define BOOST_NO_STRINGSTREAM
00040 #endif
00041
00042
00043
00044
00045 #if defined(__STL_NO_IOSTREAMS) || defined(__STL_NO_NEW_IOSTREAMS) || defined(_STLP_NO_IOSTREAMS) || defined(_STLP_NO_NEW_IOSTREAMS)
00046 # define BOOST_NO_STD_LOCALE
00047 # define BOOST_NO_STRINGSTREAM
00048 #endif
00049
00050
00051
00052
00053
00054 #ifdef _STLPORT_VERSION
00055 # if !(_STLPORT_VERSION >= 0x500) && !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE) && !defined(__BORLANDC__)
00056 # define BOOST_NO_STD_LOCALE
00057 # endif
00058 #else
00059 # if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE) && !defined(__BORLANDC__)
00060 # define BOOST_NO_STD_LOCALE
00061 # endif
00062 #endif
00063
00064 #if defined(_STLPORT_VERSION) && (_STLPORT_VERSION < 0x500)
00065 # define BOOST_NO_STD_UNORDERED
00066 #endif
00067
00068
00069
00070
00071 #if !(defined(__STL_MEMBER_TEMPLATES) || defined(_STLP_MEMBER_TEMPLATES))
00072 # define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
00073 # define BOOST_NO_STD_ALLOCATOR
00074 #endif
00075
00076
00077
00078 #define BOOST_HAS_PARTIAL_STD_ALLOCATOR
00079
00080 #if !defined(_STLP_MEMBER_TEMPLATE_CLASSES) || defined(_STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE)
00081 # define BOOST_NO_STD_ALLOCATOR
00082 #endif
00083
00084 #if defined(_STLP_NO_MEMBER_TEMPLATE_KEYWORD) && defined(BOOST_MSVC) && (BOOST_MSVC <= 1300)
00085 # define BOOST_NO_STD_ALLOCATOR
00086 #endif
00087
00088
00089
00090
00091
00092 #if !defined(_STLP_HAS_WCHAR_T) && !defined(_STLP_WCHAR_T_IS_USHORT)
00093 # ifndef BOOST_NO_STD_WSTRING
00094 # define BOOST_NO_STD_WSTRING
00095 # endif
00096 # ifndef BOOST_NO_STD_WSTREAMBUF
00097 # define BOOST_NO_STD_WSTREAMBUF
00098 # endif
00099 #endif
00100
00101
00102
00103
00104 #ifndef _STLP_NO_EXTENSIONS
00105 #define BOOST_HAS_HASH
00106 #define BOOST_HAS_SLIST
00107 #endif
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120 #if !defined(__BORLANDC__) && !defined(__DMC__)
00121
00122
00123
00124
00125
00126
00127 # if (defined(__STL_IMPORT_VENDOR_CSTD) \
00128 || defined(__STL_USE_OWN_NAMESPACE) \
00129 || defined(_STLP_IMPORT_VENDOR_CSTD) \
00130 || defined(_STLP_USE_OWN_NAMESPACE)) \
00131 && (defined(__STL_VENDOR_GLOBAL_CSTD) || defined (_STLP_VENDOR_GLOBAL_CSTD))
00132 # define BOOST_NO_STDC_NAMESPACE
00133 # define BOOST_NO_EXCEPTION_STD_NAMESPACE
00134 # endif
00135 #elif defined(__BORLANDC__) && __BORLANDC__ < 0x560
00136
00137 #include <stdlib.h>
00138 namespace std { using ::abs; }
00139
00140 #include <string.h>
00141 #ifdef strcpy
00142 # undef strcpy
00143 #endif
00144 #ifdef strcmp
00145 # undef strcmp
00146 #endif
00147 #ifdef _STLP_VENDOR_CSTD
00148 namespace std{ using _STLP_VENDOR_CSTD::strcmp; using _STLP_VENDOR_CSTD::strcpy; }
00149 #endif
00150 #endif
00151
00152
00153
00154
00155 #if defined(__STL_NO_EXPLICIT_FUNCTION_TMPL_ARGS) || defined(_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS)
00156 # define BOOST_NO_STD_USE_FACET
00157 # define BOOST_HAS_STLP_USE_FACET
00158 #endif
00159
00160
00161
00162
00163
00164
00165 #if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS) && !defined(BOOST_NO_STDC_NAMESPACE)
00166 # define BOOST_NO_CWCHAR
00167 # define BOOST_NO_CWCTYPE
00168 #endif
00169
00170
00171
00172
00173
00174
00175 #if !defined( _STLP_HAS_WCHAR_T) || defined(_STLP_WCHAR_T_IS_USHORT)
00176 # undef BOOST_NO_INTRINSIC_WCHAR_T
00177 # define BOOST_NO_INTRINSIC_WCHAR_T
00178 #endif
00179
00180
00181
00182
00183
00184 #if defined(__BORLANDC__) && (__BORLANDC__ == 0x560)
00185 # undef BOOST_HAS_HASH
00186 #endif
00187
00188
00189
00190
00191 #if defined(__GNUC__) && (__GNUC__ < 3)
00192 # include <algorithm>
00193 # define BOOST_USING_STD_MIN() ((void)0)
00194 # define BOOST_USING_STD_MAX() ((void)0)
00195 namespace boost { using std::min; using std::max; }
00196 #endif
00197
00198 #define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)
00199
00200
00201
00202
00203
00204
00205
00206