@dittolive/ditto 4.5.0 → 4.5.1-experimental.aarch64-linux.1.aarch64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/README.md +2 -2
  2. package/node/ditto.cjs.js +2 -9620
  3. package/node/{ditto.linux-x64.node → ditto.linux-arm64.node} +0 -0
  4. package/package.json +38 -34
  5. package/types/ditto.d.ts +0 -2
  6. package/web/ditto.es6.js +1 -1
  7. package/web/ditto.umd.js +1 -1
  8. package/web/ditto.wasm +0 -0
  9. package/DittoReactNative.podspec +0 -27
  10. package/node/ditto.darwin-arm64.node +0 -0
  11. package/node/ditto.darwin-x64.node +0 -0
  12. package/node/ditto.linux-arm.node +0 -0
  13. package/node/ditto.win32-x64.node +0 -0
  14. package/node/transports.darwin-arm64.node +0 -0
  15. package/node/transports.darwin-x64.node +0 -0
  16. package/react-native/android/CMakeLists.txt +0 -37
  17. package/react-native/android/build.gradle +0 -203
  18. package/react-native/android/cpp-adapter.cpp +0 -254
  19. package/react-native/android/gradle.properties +0 -5
  20. package/react-native/android/src/main/AndroidManifest.xml +0 -4
  21. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKModule.java +0 -85
  22. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKPackage.java +0 -28
  23. package/react-native/boost/boost/assert.hpp +0 -85
  24. package/react-native/boost/boost/config/abi/borland_prefix.hpp +0 -27
  25. package/react-native/boost/boost/config/abi/borland_suffix.hpp +0 -12
  26. package/react-native/boost/boost/config/abi/msvc_prefix.hpp +0 -22
  27. package/react-native/boost/boost/config/abi/msvc_suffix.hpp +0 -8
  28. package/react-native/boost/boost/config/abi_prefix.hpp +0 -25
  29. package/react-native/boost/boost/config/abi_suffix.hpp +0 -25
  30. package/react-native/boost/boost/config/assert_cxx03.hpp +0 -211
  31. package/react-native/boost/boost/config/assert_cxx11.hpp +0 -209
  32. package/react-native/boost/boost/config/assert_cxx14.hpp +0 -47
  33. package/react-native/boost/boost/config/assert_cxx17.hpp +0 -62
  34. package/react-native/boost/boost/config/assert_cxx20.hpp +0 -59
  35. package/react-native/boost/boost/config/assert_cxx98.hpp +0 -23
  36. package/react-native/boost/boost/config/auto_link.hpp +0 -525
  37. package/react-native/boost/boost/config/compiler/borland.hpp +0 -339
  38. package/react-native/boost/boost/config/compiler/clang.hpp +0 -366
  39. package/react-native/boost/boost/config/compiler/clang_version.hpp +0 -83
  40. package/react-native/boost/boost/config/compiler/codegear.hpp +0 -385
  41. package/react-native/boost/boost/config/compiler/comeau.hpp +0 -59
  42. package/react-native/boost/boost/config/compiler/common_edg.hpp +0 -183
  43. package/react-native/boost/boost/config/compiler/compaq_cxx.hpp +0 -19
  44. package/react-native/boost/boost/config/compiler/cray.hpp +0 -446
  45. package/react-native/boost/boost/config/compiler/diab.hpp +0 -26
  46. package/react-native/boost/boost/config/compiler/digitalmars.hpp +0 -143
  47. package/react-native/boost/boost/config/compiler/gcc.hpp +0 -383
  48. package/react-native/boost/boost/config/compiler/gcc_xml.hpp +0 -114
  49. package/react-native/boost/boost/config/compiler/greenhills.hpp +0 -28
  50. package/react-native/boost/boost/config/compiler/hp_acc.hpp +0 -149
  51. package/react-native/boost/boost/config/compiler/intel.hpp +0 -577
  52. package/react-native/boost/boost/config/compiler/kai.hpp +0 -33
  53. package/react-native/boost/boost/config/compiler/metrowerks.hpp +0 -198
  54. package/react-native/boost/boost/config/compiler/mpw.hpp +0 -140
  55. package/react-native/boost/boost/config/compiler/nvcc.hpp +0 -61
  56. package/react-native/boost/boost/config/compiler/pathscale.hpp +0 -138
  57. package/react-native/boost/boost/config/compiler/pgi.hpp +0 -23
  58. package/react-native/boost/boost/config/compiler/sgi_mipspro.hpp +0 -29
  59. package/react-native/boost/boost/config/compiler/sunpro_cc.hpp +0 -222
  60. package/react-native/boost/boost/config/compiler/vacpp.hpp +0 -186
  61. package/react-native/boost/boost/config/compiler/visualc.hpp +0 -391
  62. package/react-native/boost/boost/config/compiler/xlcpp.hpp +0 -299
  63. package/react-native/boost/boost/config/compiler/xlcpp_zos.hpp +0 -173
  64. package/react-native/boost/boost/config/detail/cxx_composite.hpp +0 -203
  65. package/react-native/boost/boost/config/detail/posix_features.hpp +0 -95
  66. package/react-native/boost/boost/config/detail/select_compiler_config.hpp +0 -157
  67. package/react-native/boost/boost/config/detail/select_platform_config.hpp +0 -147
  68. package/react-native/boost/boost/config/detail/select_stdlib_config.hpp +0 -121
  69. package/react-native/boost/boost/config/detail/suffix.hpp +0 -1294
  70. package/react-native/boost/boost/config/header_deprecated.hpp +0 -26
  71. package/react-native/boost/boost/config/helper_macros.hpp +0 -37
  72. package/react-native/boost/boost/config/no_tr1/cmath.hpp +0 -28
  73. package/react-native/boost/boost/config/no_tr1/complex.hpp +0 -28
  74. package/react-native/boost/boost/config/no_tr1/functional.hpp +0 -28
  75. package/react-native/boost/boost/config/no_tr1/memory.hpp +0 -28
  76. package/react-native/boost/boost/config/no_tr1/utility.hpp +0 -28
  77. package/react-native/boost/boost/config/platform/aix.hpp +0 -33
  78. package/react-native/boost/boost/config/platform/amigaos.hpp +0 -15
  79. package/react-native/boost/boost/config/platform/beos.hpp +0 -26
  80. package/react-native/boost/boost/config/platform/bsd.hpp +0 -83
  81. package/react-native/boost/boost/config/platform/cloudabi.hpp +0 -18
  82. package/react-native/boost/boost/config/platform/cray.hpp +0 -18
  83. package/react-native/boost/boost/config/platform/cygwin.hpp +0 -71
  84. package/react-native/boost/boost/config/platform/haiku.hpp +0 -31
  85. package/react-native/boost/boost/config/platform/hpux.hpp +0 -87
  86. package/react-native/boost/boost/config/platform/irix.hpp +0 -31
  87. package/react-native/boost/boost/config/platform/linux.hpp +0 -106
  88. package/react-native/boost/boost/config/platform/macos.hpp +0 -87
  89. package/react-native/boost/boost/config/platform/qnxnto.hpp +0 -31
  90. package/react-native/boost/boost/config/platform/solaris.hpp +0 -31
  91. package/react-native/boost/boost/config/platform/symbian.hpp +0 -97
  92. package/react-native/boost/boost/config/platform/vms.hpp +0 -25
  93. package/react-native/boost/boost/config/platform/vxworks.hpp +0 -422
  94. package/react-native/boost/boost/config/platform/wasm.hpp +0 -23
  95. package/react-native/boost/boost/config/platform/win32.hpp +0 -90
  96. package/react-native/boost/boost/config/platform/zos.hpp +0 -32
  97. package/react-native/boost/boost/config/pragma_message.hpp +0 -31
  98. package/react-native/boost/boost/config/requires_threads.hpp +0 -92
  99. package/react-native/boost/boost/config/stdlib/dinkumware.hpp +0 -324
  100. package/react-native/boost/boost/config/stdlib/libcomo.hpp +0 -93
  101. package/react-native/boost/boost/config/stdlib/libcpp.hpp +0 -180
  102. package/react-native/boost/boost/config/stdlib/libstdcpp3.hpp +0 -482
  103. package/react-native/boost/boost/config/stdlib/modena.hpp +0 -79
  104. package/react-native/boost/boost/config/stdlib/msl.hpp +0 -98
  105. package/react-native/boost/boost/config/stdlib/roguewave.hpp +0 -208
  106. package/react-native/boost/boost/config/stdlib/sgi.hpp +0 -168
  107. package/react-native/boost/boost/config/stdlib/stlport.hpp +0 -258
  108. package/react-native/boost/boost/config/stdlib/vacpp.hpp +0 -74
  109. package/react-native/boost/boost/config/stdlib/xlcpp_zos.hpp +0 -61
  110. package/react-native/boost/boost/config/user.hpp +0 -133
  111. package/react-native/boost/boost/config/warning_disable.hpp +0 -47
  112. package/react-native/boost/boost/config/workaround.hpp +0 -305
  113. package/react-native/boost/boost/config.hpp +0 -67
  114. package/react-native/boost/boost/cstdint.hpp +0 -556
  115. package/react-native/boost/boost/intrusive_ptr.hpp +0 -18
  116. package/react-native/boost/boost/smart_ptr/detail/atomic_count.hpp +0 -103
  117. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp +0 -79
  118. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +0 -63
  119. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +0 -88
  120. package/react-native/boost/boost/smart_ptr/detail/atomic_count_nt.hpp +0 -66
  121. package/react-native/boost/boost/smart_ptr/detail/atomic_count_pt.hpp +0 -104
  122. package/react-native/boost/boost/smart_ptr/detail/atomic_count_spin.hpp +0 -69
  123. package/react-native/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +0 -67
  124. package/react-native/boost/boost/smart_ptr/detail/atomic_count_sync.hpp +0 -72
  125. package/react-native/boost/boost/smart_ptr/detail/atomic_count_win32.hpp +0 -70
  126. package/react-native/boost/boost/smart_ptr/detail/local_counted_base.hpp +0 -148
  127. package/react-native/boost/boost/smart_ptr/detail/local_sp_deleter.hpp +0 -91
  128. package/react-native/boost/boost/smart_ptr/detail/operator_bool.hpp +0 -64
  129. package/react-native/boost/boost/smart_ptr/detail/requires_cxx11.hpp +0 -23
  130. package/react-native/boost/boost/smart_ptr/detail/shared_count.hpp +0 -707
  131. package/react-native/boost/boost/smart_ptr/detail/sp_convertible.hpp +0 -92
  132. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base.hpp +0 -92
  133. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +0 -163
  134. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp +0 -152
  135. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +0 -185
  136. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +0 -148
  137. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +0 -170
  138. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +0 -200
  139. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +0 -194
  140. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +0 -179
  141. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +0 -186
  142. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp +0 -119
  143. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp +0 -147
  144. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +0 -174
  145. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp +0 -141
  146. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +0 -147
  147. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp +0 -165
  148. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +0 -163
  149. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp +0 -140
  150. package/react-native/boost/boost/smart_ptr/detail/sp_counted_impl.hpp +0 -309
  151. package/react-native/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp +0 -40
  152. package/react-native/boost/boost/smart_ptr/detail/sp_forward.hpp +0 -52
  153. package/react-native/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +0 -27
  154. package/react-native/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +0 -69
  155. package/react-native/boost/boost/smart_ptr/detail/sp_interlocked.hpp +0 -173
  156. package/react-native/boost/boost/smart_ptr/detail/sp_noexcept.hpp +0 -48
  157. package/react-native/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp +0 -45
  158. package/react-native/boost/boost/smart_ptr/detail/sp_obsolete.hpp +0 -32
  159. package/react-native/boost/boost/smart_ptr/detail/sp_thread_pause.hpp +0 -51
  160. package/react-native/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp +0 -104
  161. package/react-native/boost/boost/smart_ptr/detail/sp_thread_yield.hpp +0 -100
  162. package/react-native/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp +0 -58
  163. package/react-native/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp +0 -49
  164. package/react-native/boost/boost/smart_ptr/intrusive_ptr.hpp +0 -409
  165. package/react-native/boost/boost/smart_ptr/intrusive_ref_counter.hpp +0 -188
  166. package/react-native/cpp/include/Attachment.h +0 -16
  167. package/react-native/cpp/include/Authentication.h +0 -23
  168. package/react-native/cpp/include/Collection.h +0 -13
  169. package/react-native/cpp/include/DQL.h +0 -21
  170. package/react-native/cpp/include/Document.h +0 -17
  171. package/react-native/cpp/include/Identity.h +0 -17
  172. package/react-native/cpp/include/Lifecycle.h +0 -16
  173. package/react-native/cpp/include/LiveQuery.h +0 -17
  174. package/react-native/cpp/include/Logger.h +0 -22
  175. package/react-native/cpp/include/Misc.h +0 -26
  176. package/react-native/cpp/include/Presence.h +0 -14
  177. package/react-native/cpp/include/RetainableState.h +0 -24
  178. package/react-native/cpp/include/SmallPeerInfo.h +0 -17
  179. package/react-native/cpp/include/Transports.h +0 -25
  180. package/react-native/cpp/include/TypedArray.hpp +0 -167
  181. package/react-native/cpp/include/Utils.h +0 -61
  182. package/react-native/cpp/include/main.h +0 -10
  183. package/react-native/cpp/src/Attachment.cpp +0 -86
  184. package/react-native/cpp/src/Authentication.cpp +0 -224
  185. package/react-native/cpp/src/Collection.cpp +0 -54
  186. package/react-native/cpp/src/DQL.cpp +0 -254
  187. package/react-native/cpp/src/Document.cpp +0 -146
  188. package/react-native/cpp/src/Identity.cpp +0 -123
  189. package/react-native/cpp/src/Lifecycle.cpp +0 -75
  190. package/react-native/cpp/src/LiveQuery.cpp +0 -64
  191. package/react-native/cpp/src/Logger.cpp +0 -200
  192. package/react-native/cpp/src/Misc.cpp +0 -271
  193. package/react-native/cpp/src/Presence.cpp +0 -77
  194. package/react-native/cpp/src/RetainableState.cpp +0 -15
  195. package/react-native/cpp/src/SmallPeerInfo.cpp +0 -108
  196. package/react-native/cpp/src/Transports.cpp +0 -270
  197. package/react-native/cpp/src/TypedArray.cpp +0 -303
  198. package/react-native/cpp/src/Utils.cpp +0 -138
  199. package/react-native/cpp/src/main.cpp +0 -149
  200. package/react-native/dittoffi/dittoffi.h +0 -4698
  201. package/react-native/dittoffi/ifaddrs.cpp +0 -385
  202. package/react-native/dittoffi/ifaddrs.h +0 -206
  203. package/react-native/ios/DittoRNSDK.h +0 -7
  204. package/react-native/ios/DittoRNSDK.mm +0 -107
  205. package/react-native/ios/YeetJSIUtils.h +0 -60
  206. package/react-native/ios/YeetJSIUtils.mm +0 -196
  207. package/react-native/lib/commonjs/ditto.rn.js +0 -93
  208. package/react-native/lib/commonjs/ditto.rn.js.map +0 -1
  209. package/react-native/lib/commonjs/index.js +0 -14
  210. package/react-native/lib/commonjs/index.js.map +0 -1
  211. package/react-native/lib/module/ditto.rn.js +0 -83
  212. package/react-native/lib/module/ditto.rn.js.map +0 -1
  213. package/react-native/lib/module/index.js +0 -13
  214. package/react-native/lib/module/index.js.map +0 -1
  215. package/react-native/lib/typescript/ditto.rn.d.ts +0 -15
  216. package/react-native/lib/typescript/ditto.rn.d.ts.map +0 -1
  217. package/react-native/lib/typescript/index.d.ts +0 -1
  218. package/react-native/lib/typescript/index.d.ts.map +0 -1
  219. package/react-native/scripts/ruby/include_local_boost.rb +0 -78
  220. package/react-native/src/ditto.rn.ts +0 -91
  221. package/react-native/src/environment/environment.fallback.ts +0 -4
  222. package/react-native/src/index.ts +0 -26
  223. package/react-native/src/sources/@cbor-redux.ts +0 -2
  224. package/react-native/src/sources/@ditto.core.ts +0 -1
  225. package/react-native/src/sources/@environment.ts +0 -2
  226. package/react-native/src/sources/attachment-fetch-event.ts +0 -54
  227. package/react-native/src/sources/attachment-fetcher-manager.ts +0 -129
  228. package/react-native/src/sources/attachment-fetcher.ts +0 -124
  229. package/react-native/src/sources/attachment-token.ts +0 -48
  230. package/react-native/src/sources/attachment.ts +0 -59
  231. package/react-native/src/sources/augment.ts +0 -89
  232. package/react-native/src/sources/authenticator.ts +0 -314
  233. package/react-native/src/sources/base-pending-cursor-operation.ts +0 -237
  234. package/react-native/src/sources/base-pending-id-specific-operation.ts +0 -109
  235. package/react-native/src/sources/bridge.ts +0 -549
  236. package/react-native/src/sources/build-time-constants.ts +0 -4
  237. package/react-native/src/sources/cbor.ts +0 -35
  238. package/react-native/src/sources/collection-interface.ts +0 -67
  239. package/react-native/src/sources/collection.ts +0 -212
  240. package/react-native/src/sources/collections-event.ts +0 -99
  241. package/react-native/src/sources/counter.ts +0 -77
  242. package/react-native/src/sources/ditto.ts +0 -945
  243. package/react-native/src/sources/document-id.ts +0 -159
  244. package/react-native/src/sources/document-path.ts +0 -303
  245. package/react-native/src/sources/document.ts +0 -192
  246. package/react-native/src/sources/epilogue.ts +0 -24
  247. package/react-native/src/sources/error-codes.ts +0 -52
  248. package/react-native/src/sources/error.ts +0 -203
  249. package/react-native/src/sources/essentials.ts +0 -53
  250. package/react-native/src/sources/ffi-error.ts +0 -117
  251. package/react-native/src/sources/ffi.ts +0 -1972
  252. package/react-native/src/sources/identity.ts +0 -163
  253. package/react-native/src/sources/init.ts +0 -70
  254. package/react-native/src/sources/internal.ts +0 -113
  255. package/react-native/src/sources/keep-alive.ts +0 -69
  256. package/react-native/src/sources/key-path.ts +0 -195
  257. package/react-native/src/sources/live-query-event.ts +0 -208
  258. package/react-native/src/sources/live-query-manager.ts +0 -101
  259. package/react-native/src/sources/live-query.ts +0 -164
  260. package/react-native/src/sources/logger.ts +0 -196
  261. package/react-native/src/sources/observer-manager.ts +0 -175
  262. package/react-native/src/sources/observer.ts +0 -77
  263. package/react-native/src/sources/pending-collections-operation.ts +0 -232
  264. package/react-native/src/sources/pending-cursor-operation.ts +0 -218
  265. package/react-native/src/sources/pending-id-specific-operation.ts +0 -216
  266. package/react-native/src/sources/presence-manager.ts +0 -160
  267. package/react-native/src/sources/presence.ts +0 -238
  268. package/react-native/src/sources/query-result-item.ts +0 -116
  269. package/react-native/src/sources/query-result.ts +0 -55
  270. package/react-native/src/sources/register.ts +0 -92
  271. package/react-native/src/sources/small-peer-info.ts +0 -176
  272. package/react-native/src/sources/static-tcp-client.ts +0 -6
  273. package/react-native/src/sources/store-observer.ts +0 -176
  274. package/react-native/src/sources/store.ts +0 -365
  275. package/react-native/src/sources/subscription-manager.ts +0 -98
  276. package/react-native/src/sources/subscription.ts +0 -88
  277. package/react-native/src/sources/sync-subscription.ts +0 -90
  278. package/react-native/src/sources/sync.ts +0 -495
  279. package/react-native/src/sources/test-helpers.ts +0 -24
  280. package/react-native/src/sources/transport-conditions-manager.ts +0 -104
  281. package/react-native/src/sources/transport-config.ts +0 -428
  282. package/react-native/src/sources/update-result.ts +0 -66
  283. package/react-native/src/sources/update-results-map.ts +0 -57
  284. package/react-native/src/sources/websocket-client.ts +0 -6
  285. package/react-native/src/sources/write-transaction-collection.ts +0 -122
  286. package/react-native/src/sources/write-transaction-pending-cursor-operation.ts +0 -101
  287. package/react-native/src/sources/write-transaction-pending-id-specific-operation.ts +0 -72
  288. package/react-native/src/sources/write-transaction.ts +0 -119
  289. package/react-native.config.js +0 -9
@@ -1,391 +0,0 @@
1
- // (C) Copyright John Maddock 2001 - 2003.
2
- // (C) Copyright Darin Adler 2001 - 2002.
3
- // (C) Copyright Peter Dimov 2001.
4
- // (C) Copyright Aleksey Gurtovoy 2002.
5
- // (C) Copyright David Abrahams 2002 - 2003.
6
- // (C) Copyright Beman Dawes 2002 - 2003.
7
- // Use, modification and distribution are subject to the
8
- // Boost Software License, Version 1.0. (See accompanying file
9
- // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10
-
11
- // See http://www.boost.org for most recent version.
12
- //
13
- // Microsoft Visual C++ compiler setup:
14
- //
15
- // We need to be careful with the checks in this file, as contrary
16
- // to popular belief there are versions with _MSC_VER with the final
17
- // digit non-zero (mainly the MIPS cross compiler).
18
- //
19
- // So we either test _MSC_VER >= XXXX or else _MSC_VER < XXXX.
20
- // No other comparisons (==, >, or <=) are safe.
21
- //
22
-
23
- #define BOOST_MSVC _MSC_VER
24
-
25
- //
26
- // Helper macro BOOST_MSVC_FULL_VER for use in Boost code:
27
- //
28
- #if _MSC_FULL_VER > 100000000
29
- # define BOOST_MSVC_FULL_VER _MSC_FULL_VER
30
- #else
31
- # define BOOST_MSVC_FULL_VER (_MSC_FULL_VER * 10)
32
- #endif
33
-
34
- // Attempt to suppress VC6 warnings about the length of decorated names (obsolete):
35
- #pragma warning( disable : 4503 ) // warning: decorated name length exceeded
36
-
37
- #define BOOST_HAS_PRAGMA_ONCE
38
-
39
- //
40
- // versions check:
41
- // we don't support Visual C++ prior to version 7.1:
42
- #if _MSC_VER < 1310
43
- # error "Compiler not supported or configured - please reconfigure"
44
- #endif
45
-
46
- // VS2005 (VC8) docs: __assume has been in Visual C++ for multiple releases
47
- #define BOOST_UNREACHABLE_RETURN(x) __assume(0);
48
-
49
- #if _MSC_FULL_VER < 180020827
50
- # define BOOST_NO_FENV_H
51
- #endif
52
-
53
- #if _MSC_VER < 1400
54
- // although a conforming signature for swprint exists in VC7.1
55
- // it appears not to actually work:
56
- # define BOOST_NO_SWPRINTF
57
- // Our extern template tests also fail for this compiler:
58
- # define BOOST_NO_CXX11_EXTERN_TEMPLATE
59
- // Variadic macros do not exist for VC7.1 and lower
60
- # define BOOST_NO_CXX11_VARIADIC_MACROS
61
- # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
62
- #endif
63
-
64
- #if _MSC_VER < 1500 // 140X == VC++ 8.0
65
- # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
66
- #endif
67
-
68
- #if _MSC_VER < 1600 // 150X == VC++ 9.0
69
- // A bug in VC9:
70
- # define BOOST_NO_ADL_BARRIER
71
- #endif
72
-
73
-
74
- #ifndef _NATIVE_WCHAR_T_DEFINED
75
- # define BOOST_NO_INTRINSIC_WCHAR_T
76
- #endif
77
-
78
- //
79
- // check for exception handling support:
80
- #if !defined(_CPPUNWIND) && !defined(BOOST_NO_EXCEPTIONS)
81
- # define BOOST_NO_EXCEPTIONS
82
- #endif
83
-
84
- //
85
- // __int64 support:
86
- //
87
- #define BOOST_HAS_MS_INT64
88
- #if defined(_MSC_EXTENSIONS) || (_MSC_VER >= 1400)
89
- # define BOOST_HAS_LONG_LONG
90
- #else
91
- # define BOOST_NO_LONG_LONG
92
- #endif
93
- #if (_MSC_VER >= 1400) && !defined(_DEBUG)
94
- # define BOOST_HAS_NRVO
95
- #endif
96
- #if _MSC_VER >= 1600 // 160X == VC++ 10.0
97
- # define BOOST_HAS_PRAGMA_DETECT_MISMATCH
98
- #endif
99
- //
100
- // disable Win32 API's if compiler extensions are
101
- // turned off:
102
- //
103
- #if !defined(_MSC_EXTENSIONS) && !defined(BOOST_DISABLE_WIN32)
104
- # define BOOST_DISABLE_WIN32
105
- #endif
106
- #if !defined(_CPPRTTI) && !defined(BOOST_NO_RTTI)
107
- # define BOOST_NO_RTTI
108
- #endif
109
-
110
- // Deprecated symbol markup
111
- #if (_MSC_VER >= 1400)
112
- #define BOOST_DEPRECATED(msg) __declspec(deprecated(msg))
113
- #else
114
- // MSVC 7.1 only supports the attribute without a message
115
- #define BOOST_DEPRECATED(msg) __declspec(deprecated)
116
- #endif
117
-
118
- //
119
- // TR1 features:
120
- //
121
- #if (_MSC_VER >= 1700) && defined(_HAS_CXX17) && (_HAS_CXX17 > 0)
122
- // # define BOOST_HAS_TR1_HASH // don't know if this is true yet.
123
- // # define BOOST_HAS_TR1_TYPE_TRAITS // don't know if this is true yet.
124
- # define BOOST_HAS_TR1_UNORDERED_MAP
125
- # define BOOST_HAS_TR1_UNORDERED_SET
126
- #endif
127
-
128
- //
129
- // C++0x features
130
- //
131
- // See above for BOOST_NO_LONG_LONG
132
-
133
- // C++ features supported by VC++ 10 (aka 2010)
134
- //
135
- #if _MSC_VER < 1600
136
- # define BOOST_NO_CXX11_AUTO_DECLARATIONS
137
- # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
138
- # define BOOST_NO_CXX11_LAMBDAS
139
- # define BOOST_NO_CXX11_RVALUE_REFERENCES
140
- # define BOOST_NO_CXX11_STATIC_ASSERT
141
- # define BOOST_NO_CXX11_NULLPTR
142
- # define BOOST_NO_CXX11_DECLTYPE
143
- #endif // _MSC_VER < 1600
144
-
145
- #if _MSC_VER >= 1600
146
- # define BOOST_HAS_STDINT_H
147
- #endif
148
-
149
- // C++11 features supported by VC++ 11 (aka 2012)
150
- //
151
- #if _MSC_VER < 1700
152
- # define BOOST_NO_CXX11_FINAL
153
- # define BOOST_NO_CXX11_RANGE_BASED_FOR
154
- # define BOOST_NO_CXX11_SCOPED_ENUMS
155
- # define BOOST_NO_CXX11_OVERRIDE
156
- #endif // _MSC_VER < 1700
157
-
158
- // C++11 features supported by VC++ 12 (aka 2013).
159
- //
160
- #if _MSC_FULL_VER < 180020827
161
- # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
162
- # define BOOST_NO_CXX11_DELETED_FUNCTIONS
163
- # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
164
- # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
165
- # define BOOST_NO_CXX11_RAW_LITERALS
166
- # define BOOST_NO_CXX11_TEMPLATE_ALIASES
167
- # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
168
- # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
169
- # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
170
- # define BOOST_NO_CXX11_DECLTYPE_N3276
171
- #endif
172
-
173
- #if _MSC_FULL_VER >= 180020827
174
- #define BOOST_HAS_EXPM1
175
- #define BOOST_HAS_LOG1P
176
- #endif
177
-
178
- // C++11 features supported by VC++ 14 (aka 2015)
179
- //
180
- #if (_MSC_FULL_VER < 190023026)
181
- # define BOOST_NO_CXX11_NOEXCEPT
182
- # define BOOST_NO_CXX11_DEFAULTED_MOVES
183
- # define BOOST_NO_CXX11_REF_QUALIFIERS
184
- # define BOOST_NO_CXX11_USER_DEFINED_LITERALS
185
- # define BOOST_NO_CXX11_ALIGNAS
186
- # define BOOST_NO_CXX11_ALIGNOF
187
- # define BOOST_NO_CXX11_INLINE_NAMESPACES
188
- # define BOOST_NO_CXX11_CHAR16_T
189
- # define BOOST_NO_CXX11_CHAR32_T
190
- # define BOOST_NO_CXX11_UNICODE_LITERALS
191
- # define BOOST_NO_CXX14_DECLTYPE_AUTO
192
- # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
193
- # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
194
- # define BOOST_NO_CXX14_BINARY_LITERALS
195
- # define BOOST_NO_CXX14_GENERIC_LAMBDAS
196
- # define BOOST_NO_CXX14_DIGIT_SEPARATORS
197
- # define BOOST_NO_CXX11_THREAD_LOCAL
198
- # define BOOST_NO_CXX11_UNRESTRICTED_UNION
199
- #endif
200
- // C++11 features supported by VC++ 14 update 3 (aka 2015)
201
- //
202
- #if (_MSC_FULL_VER < 190024210)
203
- # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
204
- # define BOOST_NO_SFINAE_EXPR
205
- # define BOOST_NO_CXX11_CONSTEXPR
206
- #endif
207
-
208
- // C++14 features supported by VC++ 14.1 (Visual Studio 2017)
209
- //
210
- #if (_MSC_VER < 1910)
211
- # define BOOST_NO_CXX14_AGGREGATE_NSDMI
212
- #endif
213
-
214
- // C++17 features supported by VC++ 14.1 (Visual Studio 2017) Update 3
215
- //
216
- #if (_MSC_VER < 1911) || (_MSVC_LANG < 201703)
217
- # define BOOST_NO_CXX17_STRUCTURED_BINDINGS
218
- # define BOOST_NO_CXX17_IF_CONSTEXPR
219
- // Let the defaults handle these now:
220
- //# define BOOST_NO_CXX17_HDR_OPTIONAL
221
- //# define BOOST_NO_CXX17_HDR_STRING_VIEW
222
- #endif
223
-
224
- // MSVC including version 14 has not yet completely
225
- // implemented value-initialization, as is reported:
226
- // "VC++ does not value-initialize members of derived classes without
227
- // user-declared constructor", reported in 2009 by Sylvester Hesp:
228
- // https://connect.microsoft.com/VisualStudio/feedback/details/484295
229
- // "Presence of copy constructor breaks member class initialization",
230
- // reported in 2009 by Alex Vakulenko:
231
- // https://connect.microsoft.com/VisualStudio/feedback/details/499606
232
- // "Value-initialization in new-expression", reported in 2005 by
233
- // Pavel Kuznetsov (MetaCommunications Engineering):
234
- // https://connect.microsoft.com/VisualStudio/feedback/details/100744
235
- // Reported again by John Maddock in 2015 for VC14:
236
- // https://connect.microsoft.com/VisualStudio/feedback/details/1582233/c-subobjects-still-not-value-initialized-correctly
237
- // See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
238
- // (Niels Dekker, LKEB, May 2010)
239
- // Still present in VC15.5, Dec 2017.
240
- #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
241
- //
242
- // C++ 11:
243
- //
244
- // This is supported with /permissive- for 15.5 onwards, unfortunately we appear to have no way to tell
245
- // if this is in effect or not, in any case nothing in Boost is currently using this, so we'll just go
246
- // on defining it for now:
247
- //
248
- #if (_MSC_FULL_VER < 193030705) || (_MSVC_LANG < 202004)
249
- # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
250
- #endif
251
-
252
- #if (_MSC_VER < 1912) || (_MSVC_LANG < 201402)
253
- // Supported from msvc-15.5 onwards:
254
- #define BOOST_NO_CXX11_SFINAE_EXPR
255
- #endif
256
- #if (_MSC_VER < 1915) || (_MSVC_LANG < 201402)
257
- // C++ 14:
258
- // Still gives internal compiler error for msvc-15.5:
259
- # define BOOST_NO_CXX14_CONSTEXPR
260
- #endif
261
- // C++ 17:
262
- #if (_MSC_VER < 1912) || (_MSVC_LANG < 201703)
263
- #define BOOST_NO_CXX17_INLINE_VARIABLES
264
- #define BOOST_NO_CXX17_FOLD_EXPRESSIONS
265
- #endif
266
-
267
- //
268
- // Things that don't work in clr mode:
269
- //
270
- #ifdef _M_CEE
271
- #ifndef BOOST_NO_CXX11_THREAD_LOCAL
272
- # define BOOST_NO_CXX11_THREAD_LOCAL
273
- #endif
274
- #if !defined(BOOST_NO_SFINAE_EXPR) && !defined(_MSVC_LANG)
275
- # define BOOST_NO_SFINAE_EXPR
276
- #endif
277
- #ifndef BOOST_NO_CXX11_REF_QUALIFIERS
278
- # define BOOST_NO_CXX11_REF_QUALIFIERS
279
- #endif
280
- #endif
281
- #ifdef _M_CEE_PURE
282
- #ifndef BOOST_NO_CXX11_CONSTEXPR
283
- # define BOOST_NO_CXX11_CONSTEXPR
284
- #endif
285
- #endif
286
-
287
- //
288
- // prefix and suffix headers:
289
- //
290
- #ifndef BOOST_ABI_PREFIX
291
- # define BOOST_ABI_PREFIX "boost/config/abi/msvc_prefix.hpp"
292
- #endif
293
- #ifndef BOOST_ABI_SUFFIX
294
- # define BOOST_ABI_SUFFIX "boost/config/abi/msvc_suffix.hpp"
295
- #endif
296
-
297
- //
298
- // Approximate compiler conformance version
299
- //
300
- #ifdef _MSVC_LANG
301
- # define BOOST_CXX_VERSION _MSVC_LANG
302
- #elif defined(_HAS_CXX17)
303
- # define BOOST_CXX_VERSION 201703L
304
- #elif BOOST_MSVC >= 1916
305
- # define BOOST_CXX_VERSION 201402L
306
- #endif
307
-
308
- #ifndef BOOST_COMPILER
309
- // TODO:
310
- // these things are mostly bogus. 1200 means version 12.0 of the compiler. The
311
- // artificial versions assigned to them only refer to the versions of some IDE
312
- // these compilers have been shipped with, and even that is not all of it. Some
313
- // were shipped with freely downloadable SDKs, others as crosscompilers in eVC.
314
- // IOW, you can't use these 'versions' in any sensible way. Sorry.
315
- # if defined(UNDER_CE)
316
- # if _MSC_VER < 1400
317
- // Note: I'm not aware of any CE compiler with version 13xx
318
- # if defined(BOOST_ASSERT_CONFIG)
319
- # error "boost: Unknown EVC++ compiler version - please run the configure tests and report the results"
320
- # else
321
- # pragma message("boost: Unknown EVC++ compiler version - please run the configure tests and report the results")
322
- # endif
323
- # elif _MSC_VER < 1500
324
- # define BOOST_COMPILER_VERSION evc8
325
- # elif _MSC_VER < 1600
326
- # define BOOST_COMPILER_VERSION evc9
327
- # elif _MSC_VER < 1700
328
- # define BOOST_COMPILER_VERSION evc10
329
- # elif _MSC_VER < 1800
330
- # define BOOST_COMPILER_VERSION evc11
331
- # elif _MSC_VER < 1900
332
- # define BOOST_COMPILER_VERSION evc12
333
- # elif _MSC_VER < 2000
334
- # define BOOST_COMPILER_VERSION evc14
335
- # else
336
- # if defined(BOOST_ASSERT_CONFIG)
337
- # error "boost: Unknown EVC++ compiler version - please run the configure tests and report the results"
338
- # else
339
- # pragma message("boost: Unknown EVC++ compiler version - please run the configure tests and report the results")
340
- # endif
341
- # endif
342
- # else
343
- # if _MSC_VER < 1200
344
- // Note: Versions up to 10.0 aren't supported.
345
- # define BOOST_COMPILER_VERSION 5.0
346
- # elif _MSC_VER < 1300
347
- # define BOOST_COMPILER_VERSION 6.0
348
- # elif _MSC_VER < 1310
349
- # define BOOST_COMPILER_VERSION 7.0
350
- # elif _MSC_VER < 1400
351
- # define BOOST_COMPILER_VERSION 7.1
352
- # elif _MSC_VER < 1500
353
- # define BOOST_COMPILER_VERSION 8.0
354
- # elif _MSC_VER < 1600
355
- # define BOOST_COMPILER_VERSION 9.0
356
- # elif _MSC_VER < 1700
357
- # define BOOST_COMPILER_VERSION 10.0
358
- # elif _MSC_VER < 1800
359
- # define BOOST_COMPILER_VERSION 11.0
360
- # elif _MSC_VER < 1900
361
- # define BOOST_COMPILER_VERSION 12.0
362
- # elif _MSC_VER < 1910
363
- # define BOOST_COMPILER_VERSION 14.0
364
- # elif _MSC_VER < 1920
365
- # define BOOST_COMPILER_VERSION 14.1
366
- # elif _MSC_VER < 1930
367
- # define BOOST_COMPILER_VERSION 14.2
368
- # elif _MSC_VER < 1940
369
- # define BOOST_COMPILER_VERSION 14.3
370
- # else
371
- # define BOOST_COMPILER_VERSION _MSC_VER
372
- # endif
373
- # endif
374
-
375
- # define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
376
- #endif
377
-
378
- #include <boost/config/pragma_message.hpp>
379
-
380
- //
381
- // last known and checked version is 19.3x (VS2022):
382
- #if (_MSC_VER >= 1940)
383
- # if defined(BOOST_ASSERT_CONFIG)
384
- # error "Boost.Config is older than your current compiler version."
385
- # elif !defined(BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE)
386
- //
387
- // Disabled as of March 2018 - the pace of VS releases is hard to keep up with
388
- // and in any case, we have relatively few defect macros defined now.
389
- // BOOST_PRAGMA_MESSAGE("Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an updated Boost version. Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.")
390
- # endif
391
- #endif
@@ -1,299 +0,0 @@
1
- // (C) Copyright Douglas Gregor 2010
2
- //
3
- // Use, modification and distribution are subject to the
4
- // Boost Software License, Version 1.0. (See accompanying file
5
- // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
-
7
- // See http://www.boost.org for most recent version.
8
-
9
- // compiler setup for IBM XL C/C++ for Linux (Little Endian) based on clang.
10
-
11
- #define BOOST_HAS_PRAGMA_ONCE
12
-
13
- // Detecting `-fms-extension` compiler flag assuming that _MSC_VER defined when that flag is used.
14
- #if defined (_MSC_VER) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4))
15
- # define BOOST_HAS_PRAGMA_DETECT_MISMATCH
16
- #endif
17
-
18
- // When compiling with clang before __has_extension was defined,
19
- // even if one writes 'defined(__has_extension) && __has_extension(xxx)',
20
- // clang reports a compiler error. So the only workaround found is:
21
-
22
- #ifndef __has_extension
23
- #define __has_extension __has_feature
24
- #endif
25
-
26
- #ifndef __has_cpp_attribute
27
- #define __has_cpp_attribute(x) 0
28
- #endif
29
-
30
- #if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS)
31
- # define BOOST_NO_EXCEPTIONS
32
- #endif
33
-
34
- #if !__has_feature(cxx_rtti) && !defined(BOOST_NO_RTTI)
35
- # define BOOST_NO_RTTI
36
- #endif
37
-
38
- #if !__has_feature(cxx_rtti) && !defined(BOOST_NO_TYPEID)
39
- # define BOOST_NO_TYPEID
40
- #endif
41
-
42
- #if defined(__int64) && !defined(__GNUC__)
43
- # define BOOST_HAS_MS_INT64
44
- #endif
45
-
46
- #define BOOST_HAS_NRVO
47
-
48
- // Branch prediction hints
49
- #if defined(__has_builtin)
50
- #if __has_builtin(__builtin_expect)
51
- #define BOOST_LIKELY(x) __builtin_expect(x, 1)
52
- #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
53
- #endif
54
- #endif
55
-
56
- // Clang supports "long long" in all compilation modes.
57
- #define BOOST_HAS_LONG_LONG
58
-
59
- //
60
- // Dynamic shared object (DSO) and dynamic-link library (DLL) support
61
- //
62
- #if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
63
- # define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
64
- # define BOOST_SYMBOL_IMPORT
65
- # define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
66
- #endif
67
-
68
- //
69
- // The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through
70
- // between switch labels.
71
- //
72
- #if __cplusplus >= 201103L && defined(__has_warning)
73
- # if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
74
- # define BOOST_FALLTHROUGH [[clang::fallthrough]]
75
- # endif
76
- #endif
77
-
78
- #if !__has_feature(cxx_auto_type)
79
- # define BOOST_NO_CXX11_AUTO_DECLARATIONS
80
- # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
81
- #endif
82
-
83
- //
84
- // Currently clang on Windows using VC++ RTL does not support C++11's char16_t or char32_t
85
- //
86
- #if defined(_MSC_VER) || !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
87
- # define BOOST_NO_CXX11_CHAR16_T
88
- # define BOOST_NO_CXX11_CHAR32_T
89
- #endif
90
-
91
- #if !__has_feature(cxx_constexpr)
92
- # define BOOST_NO_CXX11_CONSTEXPR
93
- #endif
94
-
95
- #if !__has_feature(cxx_decltype)
96
- # define BOOST_NO_CXX11_DECLTYPE
97
- #endif
98
-
99
- #if !__has_feature(cxx_decltype_incomplete_return_types)
100
- # define BOOST_NO_CXX11_DECLTYPE_N3276
101
- #endif
102
-
103
- #if !__has_feature(cxx_defaulted_functions)
104
- # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
105
- #endif
106
-
107
- #if !__has_feature(cxx_deleted_functions)
108
- # define BOOST_NO_CXX11_DELETED_FUNCTIONS
109
- #endif
110
-
111
- #if !__has_feature(cxx_explicit_conversions)
112
- # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
113
- #endif
114
-
115
- #if !__has_feature(cxx_default_function_template_args)
116
- # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
117
- #endif
118
-
119
- #if !__has_feature(cxx_generalized_initializers)
120
- # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
121
- #endif
122
-
123
- #if !__has_feature(cxx_lambdas)
124
- # define BOOST_NO_CXX11_LAMBDAS
125
- #endif
126
-
127
- #if !__has_feature(cxx_local_type_template_args)
128
- # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
129
- #endif
130
-
131
- #if !__has_feature(cxx_noexcept)
132
- # define BOOST_NO_CXX11_NOEXCEPT
133
- #endif
134
-
135
- #if !__has_feature(cxx_nullptr)
136
- # define BOOST_NO_CXX11_NULLPTR
137
- #endif
138
-
139
- #if !__has_feature(cxx_range_for)
140
- # define BOOST_NO_CXX11_RANGE_BASED_FOR
141
- #endif
142
-
143
- #if !__has_feature(cxx_raw_string_literals)
144
- # define BOOST_NO_CXX11_RAW_LITERALS
145
- #endif
146
-
147
- #if !__has_feature(cxx_reference_qualified_functions)
148
- # define BOOST_NO_CXX11_REF_QUALIFIERS
149
- #endif
150
-
151
- #if !__has_feature(cxx_generalized_initializers)
152
- # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
153
- #endif
154
-
155
- #if !__has_feature(cxx_rvalue_references)
156
- # define BOOST_NO_CXX11_RVALUE_REFERENCES
157
- #endif
158
-
159
- #if !__has_feature(cxx_strong_enums)
160
- # define BOOST_NO_CXX11_SCOPED_ENUMS
161
- #endif
162
-
163
- #if !__has_feature(cxx_static_assert)
164
- # define BOOST_NO_CXX11_STATIC_ASSERT
165
- #endif
166
-
167
- #if !__has_feature(cxx_alias_templates)
168
- # define BOOST_NO_CXX11_TEMPLATE_ALIASES
169
- #endif
170
-
171
- #if !__has_feature(cxx_unicode_literals)
172
- # define BOOST_NO_CXX11_UNICODE_LITERALS
173
- #endif
174
-
175
- #if !__has_feature(cxx_variadic_templates)
176
- # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
177
- #endif
178
-
179
- #if !__has_feature(cxx_user_literals)
180
- # define BOOST_NO_CXX11_USER_DEFINED_LITERALS
181
- #endif
182
-
183
- #if !__has_feature(cxx_alignas)
184
- # define BOOST_NO_CXX11_ALIGNAS
185
- #endif
186
-
187
- #if !__has_feature(cxx_alignof)
188
- # define BOOST_NO_CXX11_ALIGNOF
189
- #endif
190
-
191
- #if !__has_feature(cxx_trailing_return)
192
- # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
193
- #endif
194
-
195
- #if !__has_feature(cxx_inline_namespaces)
196
- # define BOOST_NO_CXX11_INLINE_NAMESPACES
197
- #endif
198
-
199
- #if !__has_feature(cxx_override_control)
200
- # define BOOST_NO_CXX11_FINAL
201
- # define BOOST_NO_CXX11_OVERRIDE
202
- #endif
203
-
204
- #if !__has_feature(cxx_unrestricted_unions)
205
- # define BOOST_NO_CXX11_UNRESTRICTED_UNION
206
- #endif
207
-
208
- #if !(__has_feature(__cxx_binary_literals__) || __has_extension(__cxx_binary_literals__))
209
- # define BOOST_NO_CXX14_BINARY_LITERALS
210
- #endif
211
-
212
- #if !__has_feature(__cxx_decltype_auto__)
213
- # define BOOST_NO_CXX14_DECLTYPE_AUTO
214
- #endif
215
-
216
- #if !__has_feature(__cxx_aggregate_nsdmi__)
217
- # define BOOST_NO_CXX14_AGGREGATE_NSDMI
218
- #endif
219
-
220
- #if !__has_feature(__cxx_init_captures__)
221
- # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
222
- #endif
223
-
224
- #if !__has_feature(__cxx_generic_lambdas__)
225
- # define BOOST_NO_CXX14_GENERIC_LAMBDAS
226
- #endif
227
-
228
- // clang < 3.5 has a defect with dependent type, like following.
229
- //
230
- // template <class T>
231
- // constexpr typename enable_if<pred<T> >::type foo(T &)
232
- // { } // error: no return statement in constexpr function
233
- //
234
- // This issue also affects C++11 mode, but C++11 constexpr requires return stmt.
235
- // Therefore we don't care such case.
236
- //
237
- // Note that we can't check Clang version directly as the numbering system changes depending who's
238
- // creating the Clang release (see https://github.com/boostorg/config/pull/39#issuecomment-59927873)
239
- // so instead verify that we have a feature that was introduced at the same time as working C++14
240
- // constexpr (generic lambda's in this case):
241
- //
242
- #if !__has_feature(__cxx_generic_lambdas__) || !__has_feature(__cxx_relaxed_constexpr__)
243
- # define BOOST_NO_CXX14_CONSTEXPR
244
- #endif
245
-
246
- #if !__has_feature(__cxx_return_type_deduction__)
247
- # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
248
- #endif
249
-
250
- #if !__has_feature(__cxx_variable_templates__)
251
- # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
252
- #endif
253
-
254
- #if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606)
255
- # define BOOST_NO_CXX17_STRUCTURED_BINDINGS
256
- #endif
257
-
258
- #if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
259
- # define BOOST_NO_CXX17_IF_CONSTEXPR
260
- #endif
261
-
262
- // Clang 3.9+ in c++1z
263
- #if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L
264
- # define BOOST_NO_CXX17_INLINE_VARIABLES
265
- # define BOOST_NO_CXX17_FOLD_EXPRESSIONS
266
- #endif
267
-
268
- #if !__has_feature(cxx_thread_local)
269
- # define BOOST_NO_CXX11_THREAD_LOCAL
270
- #endif
271
-
272
- #if __cplusplus < 201400
273
- // All versions with __cplusplus above this value seem to support this:
274
- # define BOOST_NO_CXX14_DIGIT_SEPARATORS
275
- #endif
276
-
277
- // Deprecated symbol markup
278
- #if __has_attribute(deprecated)
279
- #define BOOST_DEPRECATED(msg) __attribute__((deprecated(msg)))
280
- #endif
281
-
282
- // Unused attribute:
283
- #if defined(__GNUC__) && (__GNUC__ >= 4)
284
- # define BOOST_ATTRIBUTE_UNUSED __attribute__((unused))
285
- #endif
286
-
287
- // Type aliasing hint.
288
- #if __has_attribute(__may_alias__)
289
- # define BOOST_MAY_ALIAS __attribute__((__may_alias__))
290
- #endif
291
-
292
- #ifndef BOOST_COMPILER
293
- # define BOOST_COMPILER "Clang version " __clang_version__
294
- #endif
295
-
296
- // Macro used to identify the Clang compiler.
297
- #define BOOST_CLANG 1
298
-
299
- #define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)