stlport.hpp cstddef BOOST_NO_STD_ITERATOR_TRAITS BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS BOOST_NO_STD_ALLOCATOR BOOST_HAS_PARTIAL_STD_ALLOCATOR BOOST_NO_STD_ALLOCATOR BOOST_NO_STD_WSTRING BOOST_NO_STD_WSTREAMBUF BOOST_HAS_HASH BOOST_HAS_SLIST BOOST_NO_INTRINSIC_WCHAR_T BOOST_NO_0X_HDR_ARRAY BOOST_NO_0X_HDR_CHRONO BOOST_NO_0X_HDR_CODECVT BOOST_NO_0X_HDR_CONDITION_VARIABLE BOOST_NO_0X_HDR_FORWARD_LIST BOOST_NO_0X_HDR_FUTURE BOOST_NO_0X_HDR_INITIALIZER_LIST BOOST_NO_0X_HDR_MUTEX BOOST_NO_0X_HDR_RANDOM BOOST_NO_0X_HDR_RATIO BOOST_NO_0X_HDR_REGEX BOOST_NO_0X_HDR_SYSTEM_ERROR BOOST_NO_0X_HDR_THREAD BOOST_NO_0X_HDR_TUPLE BOOST_NO_0X_HDR_TYPE_TRAITS BOOST_NO_0X_HDR_TYPEINDEX BOOST_NO_STD_UNORDERED BOOST_NO_0X_HDR_UNORDERED_MAP BOOST_NO_0X_HDR_UNORDERED_SET BOOST_NO_NUMERIC_LIMITS_LOWEST BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT) //(C)CopyrightJohnMaddock2001-2002. //(C)CopyrightDarinAdler2001. //(C)CopyrightJensMaurer2001. //Use,modificationanddistributionaresubjecttothe //BoostSoftwareLicense,Version1.0.(Seeaccompanyingfile //LICENSE_1_0.txtorcopyathttp://www.boost.org/LICENSE_1_0.txt) //Seehttp://www.boost.orgformostrecentversion. //STLPortstandardlibraryconfig: #if!defined(__SGI_STL_PORT)&&!defined(_STLPORT_VERSION) #include<cstddef> #if!defined(__SGI_STL_PORT)&&!defined(_STLPORT_VERSION) #error"ThisisnotSTLPort!" #endif #endif //Appledoesn'tseemtoreliablydefineda*unix*macro #if!defined(CYGWIN)&&(defined(__unix__)\ ||defined(__unix)\ ||defined(unix)\ ||defined(__APPLE__)\ ||defined(__APPLE)\ ||defined(APPLE)) #include<unistd.h> #endif // //__STL_STATIC_CONST_INIT_BUGimpliesBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS //forversionspriorto4.1(beta) // #if(defined(__STL_STATIC_CONST_INIT_BUG)||defined(_STLP_STATIC_CONST_INIT_BUG))&&(__SGI_STL_PORT<=0x400) #defineBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS #endif // //IfSTLportthinksthatthereisnopartialspecialisation,thenthereisno //std::iteratortraits: // #if!(defined(_STLP_CLASS_PARTIAL_SPECIALIZATION)||defined(__STL_CLASS_PARTIAL_SPECIALIZATION)) #defineBOOST_NO_STD_ITERATOR_TRAITS #endif // //NonewstyleiostreamsonGCCwithoutSTLport'siostreamsenabled: // #if(defined(__GNUC__)&&(__GNUC__<3))&&!(defined(__SGI_STL_OWN_IOSTREAMS)||defined(_STLP_OWN_IOSTREAMS)) #defineBOOST_NO_STRINGSTREAM #endif // //Nonewiostreamsimpliesnostd::locale,andnostd::stringstream: // #ifdefined(__STL_NO_IOSTREAMS)||defined(__STL_NO_NEW_IOSTREAMS)||defined(_STLP_NO_IOSTREAMS)||defined(_STLP_NO_NEW_IOSTREAMS) #defineBOOST_NO_STD_LOCALE #defineBOOST_NO_STRINGSTREAM #endif // //Ifthestreamsarenotnative,andwehavea"using::x"compilerbug //thentheiostreamfacetsarenotavailableinnamespacestd:: // #ifdef_STLPORT_VERSION #if!(_STLPORT_VERSION>=0x500)&&!defined(_STLP_OWN_IOSTREAMS)&&defined(_STLP_USE_NAMESPACES)&&defined(BOOST_NO_USING_TEMPLATE)&&!defined(__BORLANDC__) #defineBOOST_NO_STD_LOCALE #endif #else #if!defined(__SGI_STL_OWN_IOSTREAMS)&&defined(__STL_USE_NAMESPACES)&&defined(BOOST_NO_USING_TEMPLATE)&&!defined(__BORLANDC__) #defineBOOST_NO_STD_LOCALE #endif #endif #ifdefined(_STLPORT_VERSION)&&((_STLPORT_VERSION<0x500)||(_STLPORT_VERSION>=0x520)) #defineBOOST_NO_STD_UNORDERED #endif #ifdefined(_STLPORT_VERSION)&&(_STLPORT_VERSION>=0x520) #defineBOOST_HAS_TR1_UNORDERED_SET #defineBOOST_HAS_TR1_UNORDERED_MAP #endif // //Withoutmembertemplatesupportenabled,theirarenotemplate //iterateconstructors,andnostd::allocator: // #if!(defined(__STL_MEMBER_TEMPLATES)||defined(_STLP_MEMBER_TEMPLATES)) #defineBOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS #defineBOOST_NO_STD_ALLOCATOR #endif // //howeverwealwayshaveatleastapartialallocator: // #defineBOOST_HAS_PARTIAL_STD_ALLOCATOR #if!defined(_STLP_MEMBER_TEMPLATE_CLASSES)||defined(_STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE) #defineBOOST_NO_STD_ALLOCATOR #endif #ifdefined(_STLP_NO_MEMBER_TEMPLATE_KEYWORD)&&defined(BOOST_MSVC)&&(BOOST_MSVC<=1300) #defineBOOST_NO_STD_ALLOCATOR #endif // //IfSTLportthinksthereisnowchar_tatall,thenwehavetodisable //thesupportfortherelevantspecilazationsofstd::templates. // #if!defined(_STLP_HAS_WCHAR_T)&&!defined(_STLP_WCHAR_T_IS_USHORT) #ifndefBOOST_NO_STD_WSTRING #defineBOOST_NO_STD_WSTRING #endif #ifndefBOOST_NO_STD_WSTREAMBUF #defineBOOST_NO_STD_WSTREAMBUF #endif #endif // //WealwayshaveSGIstylehash_set,hash_map,andslist: // #ifndef_STLP_NO_EXTENSIONS #defineBOOST_HAS_HASH #defineBOOST_HAS_SLIST #endif // //STLportdoesagoodjobofimportingnamesintonamespacestd::, //butdoesn'talwaysgetthemall,defineBOOST_NO_STDC_NAMESPACE,sinceour //workarounddoesnotconflictwithSTLports: // // //HaroldHowesays: //BorlandswitchedtoSTLportinBCB6.DefiningBOOST_NO_STDC_NAMESPACEwith //BCB6doescauseproblems.IfwedetectC++Builder,thendon'tdefine //BOOST_NO_STDC_NAMESPACE // #if!defined(__BORLANDC__)&&!defined(__DMC__) // //IfSTLportisusingit'sownnamespace,andtherealnamesarein //theglobalnamespace,thenweduplicateSTLport'susingdeclarations //(bydefiningBOOST_NO_STDC_NAMESPACE),wedothisbecauseSTLportdoesn't //necessarilyimportallthenamesweneedintonamespacestd:: // #if(defined(__STL_IMPORT_VENDOR_CSTD)\ ||defined(__STL_USE_OWN_NAMESPACE)\ ||defined(_STLP_IMPORT_VENDOR_CSTD)\ ||defined(_STLP_USE_OWN_NAMESPACE))\ &&(defined(__STL_VENDOR_GLOBAL_CSTD)||defined(_STLP_VENDOR_GLOBAL_CSTD)) #defineBOOST_NO_STDC_NAMESPACE #defineBOOST_NO_EXCEPTION_STD_NAMESPACE #endif #elifdefined(__BORLANDC__)&&__BORLANDC__<0x560 //STLportdoesn'timportstd::abscorrectly: #include<stdlib.h> namespacestd{using ::abs;} //andstrcmp/strcpydon'tgetimportedeither('costheyaremacros) #include<string.h> #ifdefstrcpy #undefstrcpy #endif #ifdefstrcmp #undefstrcmp #endif #ifdef_STLP_VENDOR_CSTD namespacestd{using_STLP_VENDOR_CSTD::strcmp;using_STLP_VENDOR_CSTD::strcpy;} #endif #endif // //std::use_facetmaybenon-standard,usesaclassinstead: // #ifdefined(__STL_NO_EXPLICIT_FUNCTION_TMPL_ARGS)||defined(_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS) #defineBOOST_NO_STD_USE_FACET #defineBOOST_HAS_STLP_USE_FACET #endif // //IfSTLportthinkstherearenowidefunctions,<cwchar>etc.isnotworking;but //onlyifBOOST_NO_STDC_NAMESPACEisnotdefined(ifitisthenwedotheimport //intostd::ourselves). // #ifdefined(_STLP_NO_NATIVE_WIDE_FUNCTIONS)&&!defined(BOOST_NO_STDC_NAMESPACE) #defineBOOST_NO_CWCHAR #defineBOOST_NO_CWCTYPE #endif // //IfSTLportforsomereasonwasconfiguredsothatitthinksthatwchar_t //isnotanintrinsictype,thenwehavetodisablethesupportforitas //well(wewouldbemissingrequiredspecializationsotherwise). // #if!defined(_STLP_HAS_WCHAR_T)||defined(_STLP_WCHAR_T_IS_USHORT) #undefBOOST_NO_INTRINSIC_WCHAR_T #defineBOOST_NO_INTRINSIC_WCHAR_T #endif // //BorlandshipsaversionofSTLportwithC++Builder6thatlacks //hashtablesandthelike: // #ifdefined(__BORLANDC__)&&(__BORLANDC__==0x560) #undefBOOST_HAS_HASH #endif // //gcc-2.95.3/STLPortdoesnotliketheusingdeclarationsweusetogetADLwithstd::min/max // #ifdefined(__GNUC__)&&(__GNUC__<3) #include<algorithm>//forstd::minandstd::max #defineBOOST_USING_STD_MIN()((void)0) #defineBOOST_USING_STD_MAX()((void)0) namespaceboost{usingstd::min;usingstd::max;} #endif //C++0xheadersnotyetimplemented // #defineBOOST_NO_0X_HDR_ARRAY #defineBOOST_NO_0X_HDR_CHRONO #defineBOOST_NO_0X_HDR_CODECVT #defineBOOST_NO_0X_HDR_CONDITION_VARIABLE #defineBOOST_NO_0X_HDR_FORWARD_LIST #defineBOOST_NO_0X_HDR_FUTURE #defineBOOST_NO_0X_HDR_INITIALIZER_LIST #defineBOOST_NO_0X_HDR_MUTEX #defineBOOST_NO_0X_HDR_RANDOM #defineBOOST_NO_0X_HDR_RATIO #defineBOOST_NO_0X_HDR_REGEX #defineBOOST_NO_0X_HDR_SYSTEM_ERROR #defineBOOST_NO_0X_HDR_THREAD #defineBOOST_NO_0X_HDR_TUPLE #defineBOOST_NO_0X_HDR_TYPE_TRAITS #defineBOOST_NO_0X_HDR_TYPEINDEX #defineBOOST_NO_STD_UNORDERED//deprecated;seefollowing #defineBOOST_NO_0X_HDR_UNORDERED_MAP #defineBOOST_NO_0X_HDR_UNORDERED_SET #defineBOOST_NO_NUMERIC_LIMITS_LOWEST #defineBOOST_STDLIB"STLPortstandardlibraryversion"BOOST_STRINGIZE(__SGI_STL_PORT)