Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:08

0001 //  (C) Copyright John Maddock 2001. 
0002 //  (C) Copyright Darin Adler 2001. 
0003 //  Use, modification and distribution are subject to the 
0004 //  Boost Software License, Version 1.0. (See accompanying file 
0005 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 //  See http://www.boost.org for most recent version.
0008 
0009 //  Metrowerks standard library:
0010 
0011 #ifndef __MSL_CPP__
0012 #  include <boost/config/no_tr1/utility.hpp>
0013 #  ifndef __MSL_CPP__
0014 #     error This is not the MSL standard library!
0015 #  endif
0016 #endif
0017 
0018 #if __MSL_CPP__ >= 0x6000  // Pro 6
0019 #  define BOOST_HAS_HASH
0020 #  define BOOST_STD_EXTENSION_NAMESPACE Metrowerks
0021 #endif
0022 #define BOOST_HAS_SLIST
0023 
0024 #if __MSL_CPP__ < 0x6209
0025 #  define BOOST_NO_STD_MESSAGES
0026 #endif
0027 
0028 // check C lib version for <stdint.h>
0029 #include <cstddef>
0030 
0031 #if defined(__MSL__) && (__MSL__ >= 0x5000)
0032 #  define BOOST_HAS_STDINT_H
0033 #  if !defined(__PALMOS_TRAPS__)
0034 #    define BOOST_HAS_UNISTD_H
0035 #  endif
0036    // boilerplate code:
0037 #  include <boost/config/detail/posix_features.hpp>
0038 #endif
0039 
0040 #if defined(_MWMT) || _MSL_THREADSAFE
0041 #  define BOOST_HAS_THREADS
0042 #endif
0043 
0044 #ifdef _MSL_NO_EXPLICIT_FUNC_TEMPLATE_ARG
0045 #  define BOOST_NO_STD_USE_FACET
0046 #  define BOOST_HAS_TWO_ARG_USE_FACET
0047 #endif
0048 
0049 //  C++0x headers not yet implemented
0050 //
0051 #  define BOOST_NO_CXX11_HDR_ARRAY
0052 #  define BOOST_NO_CXX11_HDR_CHRONO
0053 #  define BOOST_NO_CXX11_HDR_CODECVT
0054 #  define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
0055 #  define BOOST_NO_CXX11_HDR_FORWARD_LIST
0056 #  define BOOST_NO_CXX11_HDR_FUTURE
0057 #  define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
0058 #  define BOOST_NO_CXX11_HDR_MUTEX
0059 #  define BOOST_NO_CXX11_HDR_RANDOM
0060 #  define BOOST_NO_CXX11_HDR_RATIO
0061 #  define BOOST_NO_CXX11_HDR_REGEX
0062 #  define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
0063 #  define BOOST_NO_CXX11_HDR_THREAD
0064 #  define BOOST_NO_CXX11_HDR_TUPLE
0065 #  define BOOST_NO_CXX11_HDR_TYPE_TRAITS
0066 #  define BOOST_NO_CXX11_HDR_TYPEINDEX
0067 #  define BOOST_NO_CXX11_HDR_UNORDERED_MAP
0068 #  define BOOST_NO_CXX11_HDR_UNORDERED_SET
0069 #  define BOOST_NO_CXX11_NUMERIC_LIMITS
0070 #  define BOOST_NO_CXX11_ALLOCATOR
0071 #  define BOOST_NO_CXX11_POINTER_TRAITS
0072 #  define BOOST_NO_CXX11_ATOMIC_SMART_PTR
0073 #  define BOOST_NO_CXX11_SMART_PTR
0074 #  define BOOST_NO_CXX11_HDR_FUNCTIONAL
0075 #  define BOOST_NO_CXX11_HDR_ATOMIC
0076 #  define BOOST_NO_CXX11_STD_ALIGN
0077 #  define BOOST_NO_CXX11_ADDRESSOF
0078 #  define BOOST_NO_CXX11_HDR_EXCEPTION
0079 
0080 #if defined(__has_include)
0081 #if !__has_include(<shared_mutex>)
0082 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
0083 #elif __cplusplus < 201402
0084 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
0085 #endif
0086 #else
0087 #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
0088 #endif
0089 
0090 // C++14 features
0091 #  define BOOST_NO_CXX14_STD_EXCHANGE
0092 
0093 // C++17 features
0094 #  define BOOST_NO_CXX17_STD_APPLY
0095 #  define BOOST_NO_CXX17_STD_INVOKE
0096 #  define BOOST_NO_CXX17_ITERATOR_TRAITS
0097 
0098 #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)