Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:04:33

0001 //  Copyright (C) Christof Meerwald 2003
0002 //  Copyright (C) Dan Watkins 2003
0003 //
0004 //  Use, modification and distribution are subject to the
0005 //  Boost Software License, Version 1.0. (See accompanying file
0006 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 //  Digital Mars C++ compiler setup:
0009 #define BOOST_COMPILER __DMC_VERSION_STRING__
0010 
0011 #define BOOST_HAS_LONG_LONG
0012 #define BOOST_HAS_PRAGMA_ONCE
0013 
0014 #if !defined(BOOST_STRICT_CONFIG)
0015 #define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
0016 #define BOOST_NO_OPERATORS_IN_NAMESPACE
0017 #define BOOST_NO_UNREACHABLE_RETURN_DETECTION
0018 #define BOOST_NO_SFINAE
0019 #define BOOST_NO_USING_TEMPLATE
0020 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
0021 #endif
0022 
0023 //
0024 // has macros:
0025 #define BOOST_HAS_DIRENT_H
0026 #define BOOST_HAS_STDINT_H
0027 #define BOOST_HAS_WINTHREADS
0028 
0029 #if (__DMC__ >= 0x847)
0030 #define BOOST_HAS_EXPM1
0031 #define BOOST_HAS_LOG1P
0032 #endif
0033 
0034 //
0035 // Is this really the best way to detect whether the std lib is in namespace std?
0036 //
0037 #ifdef __cplusplus
0038 #include <cstddef>
0039 #endif
0040 #if !defined(__STL_IMPORT_VENDOR_CSTD) && !defined(_STLP_IMPORT_VENDOR_CSTD)
0041 #  define BOOST_NO_STDC_NAMESPACE
0042 #endif
0043 
0044 
0045 // check for exception handling support:
0046 #if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
0047 #  define BOOST_NO_EXCEPTIONS
0048 #endif
0049 
0050 //
0051 // C++0x features
0052 //
0053 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
0054 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
0055 #define BOOST_NO_CXX11_CHAR16_T
0056 #define BOOST_NO_CXX11_CHAR32_T
0057 #define BOOST_NO_CXX11_CONSTEXPR
0058 #define BOOST_NO_CXX11_DECLTYPE
0059 #define BOOST_NO_CXX11_DECLTYPE_N3276
0060 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
0061 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
0062 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
0063 #define BOOST_NO_CXX11_EXTERN_TEMPLATE
0064 #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
0065 #define BOOST_NO_CXX11_LAMBDAS
0066 #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
0067 #define BOOST_NO_CXX11_NOEXCEPT
0068 #define BOOST_NO_CXX11_NULLPTR
0069 #define BOOST_NO_CXX11_RANGE_BASED_FOR
0070 #define BOOST_NO_CXX11_RAW_LITERALS
0071 #define BOOST_NO_CXX11_RVALUE_REFERENCES
0072 #define BOOST_NO_CXX11_SCOPED_ENUMS
0073 #define BOOST_NO_SFINAE_EXPR
0074 #define BOOST_NO_CXX11_SFINAE_EXPR
0075 #define BOOST_NO_CXX11_STATIC_ASSERT
0076 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
0077 #define BOOST_NO_CXX11_UNICODE_LITERALS
0078 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
0079 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
0080 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
0081 #define BOOST_NO_CXX11_ALIGNAS
0082 #define BOOST_NO_CXX11_ALIGNOF
0083 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
0084 #define BOOST_NO_CXX11_INLINE_NAMESPACES
0085 #define BOOST_NO_CXX11_REF_QUALIFIERS
0086 #define BOOST_NO_CXX11_FINAL
0087 #define BOOST_NO_CXX11_OVERRIDE
0088 #define BOOST_NO_CXX11_THREAD_LOCAL
0089 #define BOOST_NO_CXX11_UNRESTRICTED_UNION
0090 
0091 // C++ 14:
0092 #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
0093 #  define BOOST_NO_CXX14_AGGREGATE_NSDMI
0094 #endif
0095 #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
0096 #  define BOOST_NO_CXX14_BINARY_LITERALS
0097 #endif
0098 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
0099 #  define BOOST_NO_CXX14_CONSTEXPR
0100 #endif
0101 #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
0102 #  define BOOST_NO_CXX14_DECLTYPE_AUTO
0103 #endif
0104 #if (__cplusplus < 201304) // There's no SD6 check for this....
0105 #  define BOOST_NO_CXX14_DIGIT_SEPARATORS
0106 #endif
0107 #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
0108 #  define BOOST_NO_CXX14_GENERIC_LAMBDAS
0109 #endif
0110 #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
0111 #  define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
0112 #endif
0113 #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
0114 #  define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
0115 #endif
0116 #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
0117 #  define BOOST_NO_CXX14_VARIABLE_TEMPLATES
0118 #endif
0119 
0120 // C++17
0121 #if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606)
0122 #  define BOOST_NO_CXX17_STRUCTURED_BINDINGS
0123 #endif
0124 #if !defined(__cpp_inline_variables) || (__cpp_inline_variables < 201606)
0125 #  define BOOST_NO_CXX17_INLINE_VARIABLES
0126 #endif
0127 #if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
0128 #  define BOOST_NO_CXX17_FOLD_EXPRESSIONS
0129 #endif
0130 #if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
0131 #  define BOOST_NO_CXX17_IF_CONSTEXPR
0132 #endif
0133 
0134 #if (__DMC__ <= 0x840)
0135 #error "Compiler not supported or configured - please reconfigure"
0136 #endif
0137 //
0138 // last known and checked version is ...:
0139 #if (__DMC__ > 0x848)
0140 #  if defined(BOOST_ASSERT_CONFIG)
0141 #     error "boost: Unknown compiler version - please run the configure tests and report the results"
0142 #  endif
0143 #endif