digitalmars.hpp
Go to the documentation of this file.
00001 //  Copyright (C) Christof Meerwald 2003
00002 //  Copyright (C) Dan Watkins 2003
00003 //
00004 //  Use, modification and distribution are subject to the 
00005 //  Boost Software License, Version 1.0. (See accompanying file 
00006 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00007 
00008 //  Digital Mars C++ compiler setup:
00009 #define BOOST_COMPILER __DMC_VERSION_STRING__
00010 
00011 #define BOOST_HAS_LONG_LONG
00012 #define BOOST_HAS_PRAGMA_ONCE
00013 
00014 #if (__DMC__ <= 0x833)
00015 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00016 #define BOOST_NO_TEMPLATE_TEMPLATES
00017 #define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING
00018 #define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
00019 #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00020 #endif
00021 #if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG)
00022 #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00023 #define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
00024 #define BOOST_NO_OPERATORS_IN_NAMESPACE
00025 #define BOOST_NO_UNREACHABLE_RETURN_DETECTION
00026 #define BOOST_NO_SFINAE
00027 #define BOOST_NO_USING_TEMPLATE
00028 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00029 #define BOOST_NO_INITIALIZER_LISTS
00030 #endif
00031 
00032 //
00033 // has macros:
00034 #if (__DMC__ >= 0x840)
00035 #define BOOST_HAS_DIRENT_H
00036 #define BOOST_HAS_STDINT_H
00037 #define BOOST_HAS_WINTHREADS
00038 #endif
00039 
00040 #if (__DMC__ >= 0x847)
00041 #define BOOST_HAS_EXPM1
00042 #define BOOST_HAS_LOG1P
00043 #endif
00044 
00045 //
00046 // Is this really the best way to detect whether the std lib is in namespace std?
00047 //
00048 #include <cstddef>
00049 #if !defined(__STL_IMPORT_VENDOR_CSTD) && !defined(_STLP_IMPORT_VENDOR_CSTD)
00050 #  define BOOST_NO_STDC_NAMESPACE
00051 #endif
00052 
00053 
00054 // check for exception handling support:
00055 #ifndef _CPPUNWIND
00056 #  define BOOST_NO_EXCEPTIONS
00057 #endif
00058 
00059 //
00060 // C++0x features
00061 //
00062 #define BOOST_NO_CHAR16_T
00063 #define BOOST_NO_CHAR32_T
00064 #define BOOST_NO_CONSTEXPR
00065 #define BOOST_NO_DECLTYPE
00066 #define BOOST_NO_DEFAULTED_FUNCTIONS
00067 #define BOOST_NO_DELETED_FUNCTIONS
00068 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
00069 #define BOOST_NO_EXTERN_TEMPLATE
00070 #define BOOST_NO_RAW_LITERALS
00071 #define BOOST_NO_RVALUE_REFERENCES
00072 #define BOOST_NO_SCOPED_ENUMS
00073 #define BOOST_NO_STATIC_ASSERT
00074 #define BOOST_NO_UNICODE_LITERALS
00075 #define BOOST_NO_VARIADIC_TEMPLATES
00076 #define BOOST_NO_AUTO_DECLARATIONS
00077 #define BOOST_NO_AUTO_MULTIDECLARATIONS
00078 #if __DMC__ < 0x800
00079 #error "Compiler not supported or configured - please reconfigure"
00080 #endif
00081 //
00082 // last known and checked version is ...:
00083 #if (__DMC__ > 0x848)
00084 #  if defined(BOOST_ASSERT_CONFIG)
00085 #     error "Unknown compiler version - please run the configure tests and report the results"
00086 #  endif
00087 #endif


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29