BVB Source Codes

mars Show digitalmars.hpp Source code

Return Download mars: download digitalmars.hpp Source code - Download mars Source code - Type:.hpp
  1. //  Copyright (C) Christof Meerwald 2003
  2. //  Copyright (C) Dan Watkins 2003
  3. //
  4. //  Use, modification and distribution are subject to the
  5. //  Boost Software License, Version 1.0. (See accompanying file
  6. //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7.  
  8. //  Digital Mars C++ compiler setup:
  9. #define BOOST_COMPILER __DMC_VERSION_STRING__
  10.  
  11. #define BOOST_HAS_LONG_LONG
  12. #define BOOST_HAS_PRAGMA_ONCE
  13.  
  14. #if !defined(BOOST_STRICT_CONFIG)
  15. #define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
  16. #define BOOST_NO_OPERATORS_IN_NAMESPACE
  17. #define BOOST_NO_UNREACHABLE_RETURN_DETECTION
  18. #define BOOST_NO_SFINAE
  19. #define BOOST_NO_USING_TEMPLATE
  20. #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
  21. #endif
  22.  
  23. //
  24. // has macros:
  25. #define BOOST_HAS_DIRENT_H
  26. #define BOOST_HAS_STDINT_H
  27. #define BOOST_HAS_WINTHREADS
  28.  
  29. #if (__DMC__ >= 0x847)
  30. #define BOOST_HAS_EXPM1
  31. #define BOOST_HAS_LOG1P
  32. #endif
  33.  
  34. //
  35. // Is this really the best way to detect whether the std lib is in namespace std?
  36. //
  37. #ifdef __cplusplus
  38. #include <cstddef>
  39. #endif
  40. #if !defined(__STL_IMPORT_VENDOR_CSTD) && !defined(_STLP_IMPORT_VENDOR_CSTD)
  41. #  define BOOST_NO_STDC_NAMESPACE
  42. #endif
  43.  
  44.  
  45. // check for exception handling support:
  46. #if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
  47. #  define BOOST_NO_EXCEPTIONS
  48. #endif
  49.  
  50. //
  51. // C++0x features
  52. //
  53. #define BOOST_NO_CXX11_AUTO_DECLARATIONS
  54. #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
  55. #define BOOST_NO_CXX11_CHAR16_T
  56. #define BOOST_NO_CXX11_CHAR32_T
  57. #define BOOST_NO_CXX11_CONSTEXPR
  58. #define BOOST_NO_CXX11_DECLTYPE
  59. #define BOOST_NO_CXX11_DECLTYPE_N3276
  60. #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
  61. #define BOOST_NO_CXX11_DELETED_FUNCTIONS
  62. #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
  63. #define BOOST_NO_CXX11_EXTERN_TEMPLATE
  64. #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
  65. #define BOOST_NO_CXX11_LAMBDAS
  66. #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
  67. #define BOOST_NO_CXX11_NOEXCEPT
  68. #define BOOST_NO_CXX11_NULLPTR
  69. #define BOOST_NO_CXX11_RANGE_BASED_FOR
  70. #define BOOST_NO_CXX11_RAW_LITERALS
  71. #define BOOST_NO_CXX11_RVALUE_REFERENCES
  72. #define BOOST_NO_CXX11_SCOPED_ENUMS
  73. #define BOOST_NO_SFINAE_EXPR
  74. #define BOOST_NO_CXX11_STATIC_ASSERT
  75. #define BOOST_NO_CXX11_TEMPLATE_ALIASES
  76. #define BOOST_NO_CXX11_UNICODE_LITERALS
  77. #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
  78. #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
  79. #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
  80. #define BOOST_NO_CXX11_ALIGNAS
  81. #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
  82. #define BOOST_NO_CXX11_INLINE_NAMESPACES
  83. #define BOOST_NO_CXX11_REF_QUALIFIERS
  84. #define BOOST_NO_CXX11_FINAL
  85.  
  86. // C++ 14:
  87. #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
  88. #  define BOOST_NO_CXX14_AGGREGATE_NSDMI
  89. #endif
  90. #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
  91. #  define BOOST_NO_CXX14_BINARY_LITERALS
  92. #endif
  93. #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
  94. #  define BOOST_NO_CXX14_CONSTEXPR
  95. #endif
  96. #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
  97. #  define BOOST_NO_CXX14_DECLTYPE_AUTO
  98. #endif
  99. #if (__cplusplus < 201304) // There's no SD6 check for this....
  100. #  define BOOST_NO_CXX14_DIGIT_SEPARATORS
  101. #endif
  102. #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
  103. #  define BOOST_NO_CXX14_GENERIC_LAMBDAS
  104. #endif
  105. #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
  106. #  define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
  107. #endif
  108. #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
  109. #  define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
  110. #endif
  111. #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
  112. #  define BOOST_NO_CXX14_VARIABLE_TEMPLATES
  113. #endif
  114.  
  115. #if (__DMC__ <= 0x840)
  116. #error "Compiler not supported or configured - please reconfigure"
  117. #endif
  118. //
  119. // last known and checked version is ...:
  120. #if (__DMC__ > 0x848)
  121. #  if defined(BOOST_ASSERT_CONFIG)
  122. #     error "Unknown compiler version - please run the configure tests and report the results"
  123. #  endif
  124. #endif
  125.  
downloaddigitalmars.hpp Source code - Download mars Source code
Related Source Codes/Software:
Hero - Elegant transition library for iOS & tvOS 2017-06-09
deep-photo-styletransfer - Code and data for paper "Deep Photo Style Transfer... 2017-06-09
mastodon - A GNU Social-compatible microblogging server ... 2017-06-09
plyr - A simple HTML5, YouTube and Vimeo player ... 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
Public-APIs - 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
lectures - Oxford Deep NLP 2017 course 2017-06-10
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top