@dittolive/ditto 4.4.4 → 4.5.0

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/DittoReactNative.podspec +27 -0
  2. package/README.md +68 -51
  3. package/node/ditto.cjs.js +1639 -851
  4. package/node/ditto.darwin-arm64.node +0 -0
  5. package/node/ditto.darwin-x64.node +0 -0
  6. package/node/ditto.linux-arm.node +0 -0
  7. package/node/ditto.linux-x64.node +0 -0
  8. package/node/ditto.win32-x64.node +0 -0
  9. package/node/transports.darwin-arm64.node +0 -0
  10. package/node/transports.darwin-x64.node +0 -0
  11. package/package.json +34 -38
  12. package/react-native/android/CMakeLists.txt +37 -0
  13. package/react-native/android/build.gradle +203 -0
  14. package/react-native/android/cpp-adapter.cpp +254 -0
  15. package/react-native/android/gradle.properties +5 -0
  16. package/react-native/android/src/main/AndroidManifest.xml +4 -0
  17. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKModule.java +85 -0
  18. package/react-native/android/src/main/java/com/dittolive/rnsdk/DittoRNSDKPackage.java +28 -0
  19. package/react-native/boost/boost/assert.hpp +85 -0
  20. package/react-native/boost/boost/config/abi/borland_prefix.hpp +27 -0
  21. package/react-native/boost/boost/config/abi/borland_suffix.hpp +12 -0
  22. package/react-native/boost/boost/config/abi/msvc_prefix.hpp +22 -0
  23. package/react-native/boost/boost/config/abi/msvc_suffix.hpp +8 -0
  24. package/react-native/boost/boost/config/abi_prefix.hpp +25 -0
  25. package/react-native/boost/boost/config/abi_suffix.hpp +25 -0
  26. package/react-native/boost/boost/config/assert_cxx03.hpp +211 -0
  27. package/react-native/boost/boost/config/assert_cxx11.hpp +209 -0
  28. package/react-native/boost/boost/config/assert_cxx14.hpp +47 -0
  29. package/react-native/boost/boost/config/assert_cxx17.hpp +62 -0
  30. package/react-native/boost/boost/config/assert_cxx20.hpp +59 -0
  31. package/react-native/boost/boost/config/assert_cxx98.hpp +23 -0
  32. package/react-native/boost/boost/config/auto_link.hpp +525 -0
  33. package/react-native/boost/boost/config/compiler/borland.hpp +339 -0
  34. package/react-native/boost/boost/config/compiler/clang.hpp +366 -0
  35. package/react-native/boost/boost/config/compiler/clang_version.hpp +83 -0
  36. package/react-native/boost/boost/config/compiler/codegear.hpp +385 -0
  37. package/react-native/boost/boost/config/compiler/comeau.hpp +59 -0
  38. package/react-native/boost/boost/config/compiler/common_edg.hpp +183 -0
  39. package/react-native/boost/boost/config/compiler/compaq_cxx.hpp +19 -0
  40. package/react-native/boost/boost/config/compiler/cray.hpp +446 -0
  41. package/react-native/boost/boost/config/compiler/diab.hpp +26 -0
  42. package/react-native/boost/boost/config/compiler/digitalmars.hpp +143 -0
  43. package/react-native/boost/boost/config/compiler/gcc.hpp +383 -0
  44. package/react-native/boost/boost/config/compiler/gcc_xml.hpp +114 -0
  45. package/react-native/boost/boost/config/compiler/greenhills.hpp +28 -0
  46. package/react-native/boost/boost/config/compiler/hp_acc.hpp +149 -0
  47. package/react-native/boost/boost/config/compiler/intel.hpp +577 -0
  48. package/react-native/boost/boost/config/compiler/kai.hpp +33 -0
  49. package/react-native/boost/boost/config/compiler/metrowerks.hpp +198 -0
  50. package/react-native/boost/boost/config/compiler/mpw.hpp +140 -0
  51. package/react-native/boost/boost/config/compiler/nvcc.hpp +61 -0
  52. package/react-native/boost/boost/config/compiler/pathscale.hpp +138 -0
  53. package/react-native/boost/boost/config/compiler/pgi.hpp +23 -0
  54. package/react-native/boost/boost/config/compiler/sgi_mipspro.hpp +29 -0
  55. package/react-native/boost/boost/config/compiler/sunpro_cc.hpp +222 -0
  56. package/react-native/boost/boost/config/compiler/vacpp.hpp +186 -0
  57. package/react-native/boost/boost/config/compiler/visualc.hpp +391 -0
  58. package/react-native/boost/boost/config/compiler/xlcpp.hpp +299 -0
  59. package/react-native/boost/boost/config/compiler/xlcpp_zos.hpp +173 -0
  60. package/react-native/boost/boost/config/detail/cxx_composite.hpp +203 -0
  61. package/react-native/boost/boost/config/detail/posix_features.hpp +95 -0
  62. package/react-native/boost/boost/config/detail/select_compiler_config.hpp +157 -0
  63. package/react-native/boost/boost/config/detail/select_platform_config.hpp +147 -0
  64. package/react-native/boost/boost/config/detail/select_stdlib_config.hpp +121 -0
  65. package/react-native/boost/boost/config/detail/suffix.hpp +1294 -0
  66. package/react-native/boost/boost/config/header_deprecated.hpp +26 -0
  67. package/react-native/boost/boost/config/helper_macros.hpp +37 -0
  68. package/react-native/boost/boost/config/no_tr1/cmath.hpp +28 -0
  69. package/react-native/boost/boost/config/no_tr1/complex.hpp +28 -0
  70. package/react-native/boost/boost/config/no_tr1/functional.hpp +28 -0
  71. package/react-native/boost/boost/config/no_tr1/memory.hpp +28 -0
  72. package/react-native/boost/boost/config/no_tr1/utility.hpp +28 -0
  73. package/react-native/boost/boost/config/platform/aix.hpp +33 -0
  74. package/react-native/boost/boost/config/platform/amigaos.hpp +15 -0
  75. package/react-native/boost/boost/config/platform/beos.hpp +26 -0
  76. package/react-native/boost/boost/config/platform/bsd.hpp +83 -0
  77. package/react-native/boost/boost/config/platform/cloudabi.hpp +18 -0
  78. package/react-native/boost/boost/config/platform/cray.hpp +18 -0
  79. package/react-native/boost/boost/config/platform/cygwin.hpp +71 -0
  80. package/react-native/boost/boost/config/platform/haiku.hpp +31 -0
  81. package/react-native/boost/boost/config/platform/hpux.hpp +87 -0
  82. package/react-native/boost/boost/config/platform/irix.hpp +31 -0
  83. package/react-native/boost/boost/config/platform/linux.hpp +106 -0
  84. package/react-native/boost/boost/config/platform/macos.hpp +87 -0
  85. package/react-native/boost/boost/config/platform/qnxnto.hpp +31 -0
  86. package/react-native/boost/boost/config/platform/solaris.hpp +31 -0
  87. package/react-native/boost/boost/config/platform/symbian.hpp +97 -0
  88. package/react-native/boost/boost/config/platform/vms.hpp +25 -0
  89. package/react-native/boost/boost/config/platform/vxworks.hpp +422 -0
  90. package/react-native/boost/boost/config/platform/wasm.hpp +23 -0
  91. package/react-native/boost/boost/config/platform/win32.hpp +90 -0
  92. package/react-native/boost/boost/config/platform/zos.hpp +32 -0
  93. package/react-native/boost/boost/config/pragma_message.hpp +31 -0
  94. package/react-native/boost/boost/config/requires_threads.hpp +92 -0
  95. package/react-native/boost/boost/config/stdlib/dinkumware.hpp +324 -0
  96. package/react-native/boost/boost/config/stdlib/libcomo.hpp +93 -0
  97. package/react-native/boost/boost/config/stdlib/libcpp.hpp +180 -0
  98. package/react-native/boost/boost/config/stdlib/libstdcpp3.hpp +482 -0
  99. package/react-native/boost/boost/config/stdlib/modena.hpp +79 -0
  100. package/react-native/boost/boost/config/stdlib/msl.hpp +98 -0
  101. package/react-native/boost/boost/config/stdlib/roguewave.hpp +208 -0
  102. package/react-native/boost/boost/config/stdlib/sgi.hpp +168 -0
  103. package/react-native/boost/boost/config/stdlib/stlport.hpp +258 -0
  104. package/react-native/boost/boost/config/stdlib/vacpp.hpp +74 -0
  105. package/react-native/boost/boost/config/stdlib/xlcpp_zos.hpp +61 -0
  106. package/react-native/boost/boost/config/user.hpp +133 -0
  107. package/react-native/boost/boost/config/warning_disable.hpp +47 -0
  108. package/react-native/boost/boost/config/workaround.hpp +305 -0
  109. package/react-native/boost/boost/config.hpp +67 -0
  110. package/react-native/boost/boost/cstdint.hpp +556 -0
  111. package/react-native/boost/boost/intrusive_ptr.hpp +18 -0
  112. package/react-native/boost/boost/smart_ptr/detail/atomic_count.hpp +103 -0
  113. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc.hpp +79 -0
  114. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +63 -0
  115. package/react-native/boost/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +88 -0
  116. package/react-native/boost/boost/smart_ptr/detail/atomic_count_nt.hpp +66 -0
  117. package/react-native/boost/boost/smart_ptr/detail/atomic_count_pt.hpp +104 -0
  118. package/react-native/boost/boost/smart_ptr/detail/atomic_count_spin.hpp +69 -0
  119. package/react-native/boost/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +67 -0
  120. package/react-native/boost/boost/smart_ptr/detail/atomic_count_sync.hpp +72 -0
  121. package/react-native/boost/boost/smart_ptr/detail/atomic_count_win32.hpp +70 -0
  122. package/react-native/boost/boost/smart_ptr/detail/local_counted_base.hpp +148 -0
  123. package/react-native/boost/boost/smart_ptr/detail/local_sp_deleter.hpp +91 -0
  124. package/react-native/boost/boost/smart_ptr/detail/operator_bool.hpp +64 -0
  125. package/react-native/boost/boost/smart_ptr/detail/requires_cxx11.hpp +23 -0
  126. package/react-native/boost/boost/smart_ptr/detail/shared_count.hpp +707 -0
  127. package/react-native/boost/boost/smart_ptr/detail/sp_convertible.hpp +92 -0
  128. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base.hpp +92 -0
  129. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +163 -0
  130. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_aix.hpp +152 -0
  131. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +185 -0
  132. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +148 -0
  133. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +170 -0
  134. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +200 -0
  135. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +194 -0
  136. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +179 -0
  137. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +186 -0
  138. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_nt.hpp +119 -0
  139. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_pt.hpp +147 -0
  140. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +174 -0
  141. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_spin.hpp +141 -0
  142. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +147 -0
  143. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_sync.hpp +165 -0
  144. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +163 -0
  145. package/react-native/boost/boost/smart_ptr/detail/sp_counted_base_w32.hpp +140 -0
  146. package/react-native/boost/boost/smart_ptr/detail/sp_counted_impl.hpp +309 -0
  147. package/react-native/boost/boost/smart_ptr/detail/sp_disable_deprecated.hpp +40 -0
  148. package/react-native/boost/boost/smart_ptr/detail/sp_forward.hpp +52 -0
  149. package/react-native/boost/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +27 -0
  150. package/react-native/boost/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +69 -0
  151. package/react-native/boost/boost/smart_ptr/detail/sp_interlocked.hpp +173 -0
  152. package/react-native/boost/boost/smart_ptr/detail/sp_noexcept.hpp +48 -0
  153. package/react-native/boost/boost/smart_ptr/detail/sp_nullptr_t.hpp +45 -0
  154. package/react-native/boost/boost/smart_ptr/detail/sp_obsolete.hpp +32 -0
  155. package/react-native/boost/boost/smart_ptr/detail/sp_thread_pause.hpp +51 -0
  156. package/react-native/boost/boost/smart_ptr/detail/sp_thread_sleep.hpp +104 -0
  157. package/react-native/boost/boost/smart_ptr/detail/sp_thread_yield.hpp +100 -0
  158. package/react-native/boost/boost/smart_ptr/detail/sp_typeinfo_.hpp +58 -0
  159. package/react-native/boost/boost/smart_ptr/detail/sp_win32_sleep.hpp +49 -0
  160. package/react-native/boost/boost/smart_ptr/intrusive_ptr.hpp +409 -0
  161. package/react-native/boost/boost/smart_ptr/intrusive_ref_counter.hpp +188 -0
  162. package/react-native/cpp/include/Attachment.h +16 -0
  163. package/react-native/cpp/include/Authentication.h +23 -0
  164. package/react-native/cpp/include/Collection.h +13 -0
  165. package/react-native/cpp/include/DQL.h +21 -0
  166. package/react-native/cpp/include/Document.h +17 -0
  167. package/react-native/cpp/include/Identity.h +17 -0
  168. package/react-native/cpp/include/Lifecycle.h +16 -0
  169. package/react-native/cpp/include/LiveQuery.h +17 -0
  170. package/react-native/cpp/include/Logger.h +22 -0
  171. package/react-native/cpp/include/Misc.h +26 -0
  172. package/react-native/cpp/include/Presence.h +14 -0
  173. package/react-native/cpp/include/RetainableState.h +24 -0
  174. package/react-native/cpp/include/SmallPeerInfo.h +17 -0
  175. package/react-native/cpp/include/Transports.h +25 -0
  176. package/react-native/cpp/include/TypedArray.hpp +167 -0
  177. package/react-native/cpp/include/Utils.h +61 -0
  178. package/react-native/cpp/include/main.h +10 -0
  179. package/react-native/cpp/src/Attachment.cpp +86 -0
  180. package/react-native/cpp/src/Authentication.cpp +224 -0
  181. package/react-native/cpp/src/Collection.cpp +54 -0
  182. package/react-native/cpp/src/DQL.cpp +254 -0
  183. package/react-native/cpp/src/Document.cpp +146 -0
  184. package/react-native/cpp/src/Identity.cpp +123 -0
  185. package/react-native/cpp/src/Lifecycle.cpp +75 -0
  186. package/react-native/cpp/src/LiveQuery.cpp +64 -0
  187. package/react-native/cpp/src/Logger.cpp +200 -0
  188. package/react-native/cpp/src/Misc.cpp +271 -0
  189. package/react-native/cpp/src/Presence.cpp +77 -0
  190. package/react-native/cpp/src/RetainableState.cpp +15 -0
  191. package/react-native/cpp/src/SmallPeerInfo.cpp +108 -0
  192. package/react-native/cpp/src/Transports.cpp +270 -0
  193. package/react-native/cpp/src/TypedArray.cpp +303 -0
  194. package/react-native/cpp/src/Utils.cpp +138 -0
  195. package/react-native/cpp/src/main.cpp +149 -0
  196. package/react-native/dittoffi/dittoffi.h +4698 -0
  197. package/react-native/dittoffi/ifaddrs.cpp +385 -0
  198. package/react-native/dittoffi/ifaddrs.h +206 -0
  199. package/react-native/ios/DittoRNSDK.h +7 -0
  200. package/react-native/ios/DittoRNSDK.mm +107 -0
  201. package/react-native/ios/YeetJSIUtils.h +60 -0
  202. package/react-native/ios/YeetJSIUtils.mm +196 -0
  203. package/react-native/lib/commonjs/ditto.rn.js +93 -0
  204. package/react-native/lib/commonjs/ditto.rn.js.map +1 -0
  205. package/react-native/lib/commonjs/index.js +14 -0
  206. package/react-native/lib/commonjs/index.js.map +1 -0
  207. package/react-native/lib/module/ditto.rn.js +83 -0
  208. package/react-native/lib/module/ditto.rn.js.map +1 -0
  209. package/react-native/lib/module/index.js +13 -0
  210. package/react-native/lib/module/index.js.map +1 -0
  211. package/react-native/lib/typescript/ditto.rn.d.ts +15 -0
  212. package/react-native/lib/typescript/ditto.rn.d.ts.map +1 -0
  213. package/react-native/lib/typescript/index.d.ts +1 -0
  214. package/react-native/lib/typescript/index.d.ts.map +1 -0
  215. package/react-native/scripts/ruby/include_local_boost.rb +78 -0
  216. package/react-native/src/ditto.rn.ts +91 -0
  217. package/react-native/src/environment/environment.fallback.ts +4 -0
  218. package/react-native/src/index.ts +26 -0
  219. package/react-native/src/sources/@cbor-redux.ts +2 -0
  220. package/react-native/src/sources/@ditto.core.ts +1 -0
  221. package/react-native/src/sources/@environment.ts +2 -0
  222. package/react-native/src/sources/attachment-fetch-event.ts +54 -0
  223. package/react-native/src/sources/attachment-fetcher-manager.ts +129 -0
  224. package/react-native/src/sources/attachment-fetcher.ts +124 -0
  225. package/react-native/src/sources/attachment-token.ts +48 -0
  226. package/react-native/src/sources/attachment.ts +59 -0
  227. package/react-native/src/sources/augment.ts +89 -0
  228. package/react-native/src/sources/authenticator.ts +314 -0
  229. package/react-native/src/sources/base-pending-cursor-operation.ts +237 -0
  230. package/react-native/src/sources/base-pending-id-specific-operation.ts +109 -0
  231. package/react-native/src/sources/bridge.ts +549 -0
  232. package/react-native/src/sources/build-time-constants.ts +4 -0
  233. package/react-native/src/sources/cbor.ts +35 -0
  234. package/react-native/src/sources/collection-interface.ts +67 -0
  235. package/react-native/src/sources/collection.ts +212 -0
  236. package/react-native/src/sources/collections-event.ts +99 -0
  237. package/react-native/src/sources/counter.ts +77 -0
  238. package/react-native/src/sources/ditto.ts +945 -0
  239. package/react-native/src/sources/document-id.ts +159 -0
  240. package/react-native/src/sources/document-path.ts +303 -0
  241. package/react-native/src/sources/document.ts +192 -0
  242. package/react-native/src/sources/epilogue.ts +24 -0
  243. package/react-native/src/sources/error-codes.ts +52 -0
  244. package/react-native/src/sources/error.ts +203 -0
  245. package/react-native/src/sources/essentials.ts +53 -0
  246. package/react-native/src/sources/ffi-error.ts +117 -0
  247. package/react-native/src/sources/ffi.ts +1972 -0
  248. package/react-native/src/sources/identity.ts +163 -0
  249. package/react-native/src/sources/init.ts +70 -0
  250. package/react-native/src/sources/internal.ts +113 -0
  251. package/react-native/src/sources/keep-alive.ts +69 -0
  252. package/react-native/src/sources/key-path.ts +195 -0
  253. package/react-native/src/sources/live-query-event.ts +208 -0
  254. package/react-native/src/sources/live-query-manager.ts +101 -0
  255. package/react-native/src/sources/live-query.ts +164 -0
  256. package/react-native/src/sources/logger.ts +196 -0
  257. package/react-native/src/sources/observer-manager.ts +175 -0
  258. package/react-native/src/sources/observer.ts +77 -0
  259. package/react-native/src/sources/pending-collections-operation.ts +232 -0
  260. package/react-native/src/sources/pending-cursor-operation.ts +218 -0
  261. package/react-native/src/sources/pending-id-specific-operation.ts +216 -0
  262. package/react-native/src/sources/presence-manager.ts +160 -0
  263. package/react-native/src/sources/presence.ts +238 -0
  264. package/react-native/src/sources/query-result-item.ts +116 -0
  265. package/react-native/src/sources/query-result.ts +55 -0
  266. package/react-native/src/sources/register.ts +92 -0
  267. package/react-native/src/sources/small-peer-info.ts +176 -0
  268. package/react-native/src/sources/static-tcp-client.ts +6 -0
  269. package/react-native/src/sources/store-observer.ts +176 -0
  270. package/react-native/src/sources/store.ts +365 -0
  271. package/react-native/src/sources/subscription-manager.ts +98 -0
  272. package/react-native/src/sources/subscription.ts +88 -0
  273. package/react-native/src/sources/sync-subscription.ts +90 -0
  274. package/react-native/src/sources/sync.ts +495 -0
  275. package/react-native/src/sources/test-helpers.ts +24 -0
  276. package/react-native/src/sources/transport-conditions-manager.ts +104 -0
  277. package/react-native/src/sources/transport-config.ts +428 -0
  278. package/react-native/src/sources/update-result.ts +66 -0
  279. package/react-native/src/sources/update-results-map.ts +57 -0
  280. package/react-native/src/sources/websocket-client.ts +6 -0
  281. package/react-native/src/sources/write-transaction-collection.ts +122 -0
  282. package/react-native/src/sources/write-transaction-pending-cursor-operation.ts +101 -0
  283. package/react-native/src/sources/write-transaction-pending-id-specific-operation.ts +72 -0
  284. package/react-native/src/sources/write-transaction.ts +119 -0
  285. package/react-native.config.js +9 -0
  286. package/types/ditto.d.ts +1230 -798
  287. package/web/ditto.es6.js +1 -1
  288. package/web/ditto.umd.js +1 -1
  289. package/web/ditto.wasm +0 -0
@@ -0,0 +1,383 @@
1
+ // (C) Copyright John Maddock 2001 - 2003.
2
+ // (C) Copyright Darin Adler 2001 - 2002.
3
+ // (C) Copyright Jens Maurer 2001 - 2002.
4
+ // (C) Copyright Beman Dawes 2001 - 2003.
5
+ // (C) Copyright Douglas Gregor 2002.
6
+ // (C) Copyright David Abrahams 2002 - 2003.
7
+ // (C) Copyright Synge Todo 2003.
8
+ // Use, modification and distribution are subject to the
9
+ // Boost Software License, Version 1.0. (See accompanying file
10
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11
+
12
+ // See http://www.boost.org for most recent version.
13
+
14
+ // GNU C++ compiler setup.
15
+
16
+ //
17
+ // Define BOOST_GCC so we know this is "real" GCC and not some pretender:
18
+ //
19
+ #define BOOST_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
20
+ #if !defined(__CUDACC__)
21
+ #define BOOST_GCC BOOST_GCC_VERSION
22
+ #endif
23
+
24
+ #if defined(__GXX_EXPERIMENTAL_CXX0X__) || (__cplusplus >= 201103L)
25
+ # define BOOST_GCC_CXX11
26
+ #endif
27
+
28
+ #if __GNUC__ == 3
29
+ # if defined (__PATHSCALE__)
30
+ # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
31
+ # define BOOST_NO_IS_ABSTRACT
32
+ # endif
33
+
34
+ # if __GNUC_MINOR__ < 4
35
+ # define BOOST_NO_IS_ABSTRACT
36
+ # endif
37
+ # define BOOST_NO_CXX11_EXTERN_TEMPLATE
38
+ #endif
39
+ #if __GNUC__ < 4
40
+ //
41
+ // All problems to gcc-3.x and earlier here:
42
+ //
43
+ #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
44
+ # ifdef __OPEN64__
45
+ # define BOOST_NO_IS_ABSTRACT
46
+ # endif
47
+ #endif
48
+
49
+ // GCC prior to 3.4 had #pragma once too but it didn't work well with filesystem links
50
+ #if BOOST_GCC_VERSION >= 30400
51
+ #define BOOST_HAS_PRAGMA_ONCE
52
+ #endif
53
+
54
+ #if BOOST_GCC_VERSION < 40400
55
+ // Previous versions of GCC did not completely implement value-initialization:
56
+ // GCC Bug 30111, "Value-initialization of POD base class doesn't initialize
57
+ // members", reported by Jonathan Wakely in 2006,
58
+ // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30111 (fixed for GCC 4.4)
59
+ // GCC Bug 33916, "Default constructor fails to initialize array members",
60
+ // reported by Michael Elizabeth Chastain in 2007,
61
+ // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33916 (fixed for GCC 4.2.4)
62
+ // See also: http://www.boost.org/libs/utility/value_init.htm#compiler_issues
63
+ #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
64
+ #endif
65
+
66
+ #if !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
67
+ # define BOOST_NO_EXCEPTIONS
68
+ #endif
69
+
70
+
71
+ //
72
+ // Threading support: Turn this on unconditionally here (except for
73
+ // those platforms where we can know for sure). It will get turned off again
74
+ // later if no threading API is detected.
75
+ //
76
+ #if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
77
+ # define BOOST_HAS_THREADS
78
+ #endif
79
+
80
+ //
81
+ // gcc has "long long"
82
+ // Except on Darwin with standard compliance enabled (-pedantic)
83
+ // Apple gcc helpfully defines this macro we can query
84
+ //
85
+ #if !defined(__DARWIN_NO_LONG_LONG)
86
+ # define BOOST_HAS_LONG_LONG
87
+ #endif
88
+
89
+ //
90
+ // gcc implements the named return value optimization since version 3.1
91
+ //
92
+ #define BOOST_HAS_NRVO
93
+
94
+ // Branch prediction hints
95
+ #define BOOST_LIKELY(x) __builtin_expect(x, 1)
96
+ #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
97
+
98
+ //
99
+ // Dynamic shared object (DSO) and dynamic-link library (DLL) support
100
+ //
101
+ #if __GNUC__ >= 4
102
+ # if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__)
103
+ // All Win32 development environments, including 64-bit Windows and MinGW, define
104
+ // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment,
105
+ // so does not define _WIN32 or its variants, but still supports dllexport/dllimport.
106
+ # define BOOST_HAS_DECLSPEC
107
+ # define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__))
108
+ # define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__))
109
+ # else
110
+ # define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
111
+ # define BOOST_SYMBOL_IMPORT
112
+ # endif
113
+ # define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
114
+ #else
115
+ // config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined
116
+ # define BOOST_SYMBOL_EXPORT
117
+ #endif
118
+
119
+ //
120
+ // RTTI and typeinfo detection is possible post gcc-4.3:
121
+ //
122
+ #if BOOST_GCC_VERSION > 40300
123
+ # ifndef __GXX_RTTI
124
+ # ifndef BOOST_NO_TYPEID
125
+ # define BOOST_NO_TYPEID
126
+ # endif
127
+ # ifndef BOOST_NO_RTTI
128
+ # define BOOST_NO_RTTI
129
+ # endif
130
+ # endif
131
+ #endif
132
+
133
+ //
134
+ // Recent GCC versions have __int128 when in 64-bit mode.
135
+ //
136
+ // We disable this if the compiler is really nvcc with C++03 as it
137
+ // doesn't actually support __int128 as of CUDA_VERSION=7500
138
+ // even though it defines __SIZEOF_INT128__.
139
+ // See https://svn.boost.org/trac/boost/ticket/8048
140
+ // https://svn.boost.org/trac/boost/ticket/11852
141
+ // Only re-enable this for nvcc if you're absolutely sure
142
+ // of the circumstances under which it's supported:
143
+ //
144
+ #if defined(__CUDACC__)
145
+ # if defined(BOOST_GCC_CXX11)
146
+ # define BOOST_NVCC_CXX11
147
+ # else
148
+ # define BOOST_NVCC_CXX03
149
+ # endif
150
+ #endif
151
+
152
+ #if defined(__SIZEOF_INT128__) && !defined(BOOST_NVCC_CXX03)
153
+ # define BOOST_HAS_INT128
154
+ #endif
155
+ //
156
+ // Recent GCC versions have a __float128 native type, we need to
157
+ // include a std lib header to detect this - not ideal, but we'll
158
+ // be including <cstddef> later anyway when we select the std lib.
159
+ //
160
+ // Nevertheless, as of CUDA 7.5, using __float128 with the host
161
+ // compiler in pre-C++11 mode is still not supported.
162
+ // See https://svn.boost.org/trac/boost/ticket/11852
163
+ //
164
+ #ifdef __cplusplus
165
+ #include <cstddef>
166
+ #else
167
+ #include <stddef.h>
168
+ #endif
169
+ #if defined(_GLIBCXX_USE_FLOAT128) && !defined(__STRICT_ANSI__) && !defined(BOOST_NVCC_CXX03)
170
+ # define BOOST_HAS_FLOAT128
171
+ #endif
172
+
173
+ // C++0x features in 4.3.n and later
174
+ //
175
+ #if (BOOST_GCC_VERSION >= 40300) && defined(BOOST_GCC_CXX11)
176
+ // C++0x features are only enabled when -std=c++0x or -std=gnu++0x are
177
+ // passed on the command line, which in turn defines
178
+ // __GXX_EXPERIMENTAL_CXX0X__.
179
+ # define BOOST_HAS_DECLTYPE
180
+ # define BOOST_HAS_RVALUE_REFS
181
+ # define BOOST_HAS_STATIC_ASSERT
182
+ # define BOOST_HAS_VARIADIC_TMPL
183
+ #else
184
+ # define BOOST_NO_CXX11_DECLTYPE
185
+ # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
186
+ # define BOOST_NO_CXX11_RVALUE_REFERENCES
187
+ # define BOOST_NO_CXX11_STATIC_ASSERT
188
+ #endif
189
+
190
+ // C++0x features in 4.4.n and later
191
+ //
192
+ #if (BOOST_GCC_VERSION < 40400) || !defined(BOOST_GCC_CXX11)
193
+ # define BOOST_NO_CXX11_AUTO_DECLARATIONS
194
+ # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
195
+ # define BOOST_NO_CXX11_CHAR16_T
196
+ # define BOOST_NO_CXX11_CHAR32_T
197
+ # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
198
+ # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
199
+ # define BOOST_NO_CXX11_DELETED_FUNCTIONS
200
+ # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
201
+ # define BOOST_NO_CXX11_INLINE_NAMESPACES
202
+ # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
203
+ #endif
204
+
205
+ #if BOOST_GCC_VERSION < 40500
206
+ # define BOOST_NO_SFINAE_EXPR
207
+ #endif
208
+
209
+ // GCC 4.5 forbids declaration of defaulted functions in private or protected sections
210
+ #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ == 5) || !defined(BOOST_GCC_CXX11)
211
+ # define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS
212
+ #endif
213
+
214
+ // C++0x features in 4.5.0 and later
215
+ //
216
+ #if (BOOST_GCC_VERSION < 40500) || !defined(BOOST_GCC_CXX11)
217
+ # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
218
+ # define BOOST_NO_CXX11_LAMBDAS
219
+ # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
220
+ # define BOOST_NO_CXX11_RAW_LITERALS
221
+ # define BOOST_NO_CXX11_UNICODE_LITERALS
222
+ # define BOOST_NO_CXX11_ALIGNOF
223
+ #endif
224
+
225
+ // C++0x features in 4.5.1 and later
226
+ //
227
+ #if (BOOST_GCC_VERSION < 40501) || !defined(BOOST_GCC_CXX11)
228
+ // scoped enums have a serious bug in 4.4.0, so define BOOST_NO_CXX11_SCOPED_ENUMS before 4.5.1
229
+ // See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38064
230
+ # define BOOST_NO_CXX11_SCOPED_ENUMS
231
+ #endif
232
+
233
+ // C++0x features in 4.6.n and later
234
+ //
235
+ #if (BOOST_GCC_VERSION < 40600) || !defined(BOOST_GCC_CXX11)
236
+ #define BOOST_NO_CXX11_DEFAULTED_MOVES
237
+ #define BOOST_NO_CXX11_NOEXCEPT
238
+ #define BOOST_NO_CXX11_NULLPTR
239
+ #define BOOST_NO_CXX11_RANGE_BASED_FOR
240
+ #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
241
+ #endif
242
+
243
+ // C++0x features in 4.7.n and later
244
+ //
245
+ #if (BOOST_GCC_VERSION < 40700) || !defined(BOOST_GCC_CXX11)
246
+ // Note that while constexpr is partly supported in gcc-4.6 it's a
247
+ // pre-std version with several bugs:
248
+ # define BOOST_NO_CXX11_CONSTEXPR
249
+ # define BOOST_NO_CXX11_FINAL
250
+ # define BOOST_NO_CXX11_TEMPLATE_ALIASES
251
+ # define BOOST_NO_CXX11_USER_DEFINED_LITERALS
252
+ # define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
253
+ # define BOOST_NO_CXX11_OVERRIDE
254
+ #endif
255
+
256
+ // C++0x features in 4.8.n and later
257
+ //
258
+ #if (BOOST_GCC_VERSION < 40800) || !defined(BOOST_GCC_CXX11)
259
+ # define BOOST_NO_CXX11_THREAD_LOCAL
260
+ # define BOOST_NO_CXX11_SFINAE_EXPR
261
+ #endif
262
+
263
+ // C++0x features in 4.8.1 and later
264
+ //
265
+ #if (BOOST_GCC_VERSION < 40801) || !defined(BOOST_GCC_CXX11)
266
+ # define BOOST_NO_CXX11_DECLTYPE_N3276
267
+ # define BOOST_NO_CXX11_REF_QUALIFIERS
268
+ # define BOOST_NO_CXX14_BINARY_LITERALS
269
+ #endif
270
+
271
+ // C++0x features in 4.9.n and later
272
+ //
273
+ #if (BOOST_GCC_VERSION < 40900) || !defined(BOOST_GCC_CXX11)
274
+ // Although alignas support is added in gcc 4.8, it does not accept
275
+ // dependent constant expressions as an argument until gcc 4.9.
276
+ # define BOOST_NO_CXX11_ALIGNAS
277
+ #endif
278
+
279
+ // C++0x features in 5.1 and later
280
+ //
281
+ #if (BOOST_GCC_VERSION < 50100) || !defined(BOOST_GCC_CXX11)
282
+ # define BOOST_NO_CXX11_UNRESTRICTED_UNION
283
+ #endif
284
+
285
+ // C++14 features in 4.9.0 and later
286
+ //
287
+ #if (BOOST_GCC_VERSION < 40900) || (__cplusplus < 201300)
288
+ # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
289
+ # define BOOST_NO_CXX14_GENERIC_LAMBDAS
290
+ # define BOOST_NO_CXX14_DIGIT_SEPARATORS
291
+ # define BOOST_NO_CXX14_DECLTYPE_AUTO
292
+ # if !((BOOST_GCC_VERSION >= 40801) && (BOOST_GCC_VERSION < 40900) && defined(BOOST_GCC_CXX11))
293
+ # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
294
+ # endif
295
+ #endif
296
+
297
+
298
+ // C++ 14:
299
+ #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
300
+ # define BOOST_NO_CXX14_AGGREGATE_NSDMI
301
+ #endif
302
+ #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
303
+ # define BOOST_NO_CXX14_CONSTEXPR
304
+ #endif
305
+ #if (BOOST_GCC_VERSION < 50200) || !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
306
+ # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
307
+ #endif
308
+
309
+ // C++17
310
+ #if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606)
311
+ # define BOOST_NO_CXX17_STRUCTURED_BINDINGS
312
+ #endif
313
+ #if !defined(__cpp_inline_variables) || (__cpp_inline_variables < 201606)
314
+ # define BOOST_NO_CXX17_INLINE_VARIABLES
315
+ #endif
316
+ #if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
317
+ # define BOOST_NO_CXX17_FOLD_EXPRESSIONS
318
+ #endif
319
+ #if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
320
+ # define BOOST_NO_CXX17_IF_CONSTEXPR
321
+ #endif
322
+
323
+ #if __GNUC__ >= 7
324
+ # define BOOST_FALLTHROUGH __attribute__((fallthrough))
325
+ #endif
326
+
327
+ #if (__GNUC__ < 11) && defined(__MINGW32__) && !defined(__MINGW64__)
328
+ // thread_local was broken on mingw for all 32bit compiler releases prior to 11.x, see
329
+ // https://sourceforge.net/p/mingw-w64/bugs/527/
330
+ // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562
331
+ // Not setting this causes program termination on thread exit.
332
+ #define BOOST_NO_CXX11_THREAD_LOCAL
333
+ #endif
334
+
335
+ //
336
+ // Unused attribute:
337
+ #if __GNUC__ >= 4
338
+ # define BOOST_ATTRIBUTE_UNUSED __attribute__((__unused__))
339
+ #endif
340
+
341
+ // Type aliasing hint. Supported since gcc 3.3.
342
+ #define BOOST_MAY_ALIAS __attribute__((__may_alias__))
343
+
344
+ // Unreachable code markup
345
+ #if BOOST_GCC_VERSION >= 40500
346
+ #define BOOST_UNREACHABLE_RETURN(x) __builtin_unreachable();
347
+ #endif
348
+
349
+ // Deprecated symbol markup
350
+ #if BOOST_GCC_VERSION >= 40500
351
+ #define BOOST_DEPRECATED(msg) __attribute__((deprecated(msg)))
352
+ #else
353
+ #define BOOST_DEPRECATED(msg) __attribute__((deprecated))
354
+ #endif
355
+
356
+ #ifndef BOOST_COMPILER
357
+ # define BOOST_COMPILER "GNU C++ version " __VERSION__
358
+ #endif
359
+
360
+ // ConceptGCC compiler:
361
+ // http://www.generic-programming.org/software/ConceptGCC/
362
+ #ifdef __GXX_CONCEPTS__
363
+ # define BOOST_HAS_CONCEPTS
364
+ # define BOOST_COMPILER "ConceptGCC version " __VERSION__
365
+ #endif
366
+
367
+ // versions check:
368
+ // we don't know gcc prior to version 3.30:
369
+ #if (BOOST_GCC_VERSION < 30300)
370
+ # error "Compiler not configured - please reconfigure"
371
+ #endif
372
+ //
373
+ // last known and checked version is 8.1:
374
+ #if (BOOST_GCC_VERSION > 80100)
375
+ # if defined(BOOST_ASSERT_CONFIG)
376
+ # error "Boost.Config is older than your compiler - please check for an updated Boost release."
377
+ # else
378
+ // we don't emit warnings here anymore since there are no defect macros defined for
379
+ // gcc post 3.4, so any failures are gcc regressions...
380
+ //# warning "boost: Unknown compiler version - please run the configure tests and report the results"
381
+ # endif
382
+ #endif
383
+
@@ -0,0 +1,114 @@
1
+ // (C) Copyright John Maddock 2006.
2
+ // Use, modification and distribution are subject to the
3
+ // Boost Software License, Version 1.0. (See accompanying file
4
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ // See http://www.boost.org for most recent version.
7
+
8
+ // GCC-XML C++ compiler setup:
9
+
10
+ # if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3))
11
+ # define BOOST_NO_IS_ABSTRACT
12
+ # endif
13
+
14
+ //
15
+ // Threading support: Turn this on unconditionally here (except for
16
+ // those platforms where we can know for sure). It will get turned off again
17
+ // later if no threading API is detected.
18
+ //
19
+ #if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__)
20
+ # define BOOST_HAS_THREADS
21
+ #endif
22
+
23
+ //
24
+ // gcc has "long long"
25
+ //
26
+ #define BOOST_HAS_LONG_LONG
27
+
28
+ // C++0x features:
29
+ //
30
+ # define BOOST_NO_CXX11_CONSTEXPR
31
+ # define BOOST_NO_CXX11_NULLPTR
32
+ # define BOOST_NO_CXX11_TEMPLATE_ALIASES
33
+ # define BOOST_NO_CXX11_DECLTYPE
34
+ # define BOOST_NO_CXX11_DECLTYPE_N3276
35
+ # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
36
+ # define BOOST_NO_CXX11_RVALUE_REFERENCES
37
+ # define BOOST_NO_CXX11_STATIC_ASSERT
38
+ # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
39
+ # define BOOST_NO_CXX11_VARIADIC_MACROS
40
+ # define BOOST_NO_CXX11_AUTO_DECLARATIONS
41
+ # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
42
+ # define BOOST_NO_CXX11_CHAR16_T
43
+ # define BOOST_NO_CXX11_CHAR32_T
44
+ # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
45
+ # define BOOST_NO_CXX11_DELETED_FUNCTIONS
46
+ # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
47
+ # define BOOST_NO_CXX11_SCOPED_ENUMS
48
+ # define BOOST_NO_SFINAE_EXPR
49
+ # define BOOST_NO_CXX11_SFINAE_EXPR
50
+ # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
51
+ # define BOOST_NO_CXX11_LAMBDAS
52
+ # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
53
+ # define BOOST_NO_CXX11_RANGE_BASED_FOR
54
+ # define BOOST_NO_CXX11_RAW_LITERALS
55
+ # define BOOST_NO_CXX11_UNICODE_LITERALS
56
+ # define BOOST_NO_CXX11_NOEXCEPT
57
+ # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
58
+ # define BOOST_NO_CXX11_USER_DEFINED_LITERALS
59
+ # define BOOST_NO_CXX11_ALIGNAS
60
+ # define BOOST_NO_CXX11_ALIGNOF
61
+ # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
62
+ # define BOOST_NO_CXX11_INLINE_NAMESPACES
63
+ # define BOOST_NO_CXX11_REF_QUALIFIERS
64
+ # define BOOST_NO_CXX11_FINAL
65
+ # define BOOST_NO_CXX11_OVERRIDE
66
+ # define BOOST_NO_CXX11_THREAD_LOCAL
67
+ # define BOOST_NO_CXX11_UNRESTRICTED_UNION
68
+
69
+ // C++ 14:
70
+ #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
71
+ # define BOOST_NO_CXX14_AGGREGATE_NSDMI
72
+ #endif
73
+ #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
74
+ # define BOOST_NO_CXX14_BINARY_LITERALS
75
+ #endif
76
+ #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
77
+ # define BOOST_NO_CXX14_CONSTEXPR
78
+ #endif
79
+ #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
80
+ # define BOOST_NO_CXX14_DECLTYPE_AUTO
81
+ #endif
82
+ #if (__cplusplus < 201304) // There's no SD6 check for this....
83
+ # define BOOST_NO_CXX14_DIGIT_SEPARATORS
84
+ #endif
85
+ #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
86
+ # define BOOST_NO_CXX14_GENERIC_LAMBDAS
87
+ #endif
88
+ #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
89
+ # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
90
+ #endif
91
+ #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
92
+ # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
93
+ #endif
94
+ #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
95
+ # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
96
+ #endif
97
+
98
+ // C++17
99
+ #if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606)
100
+ # define BOOST_NO_CXX17_STRUCTURED_BINDINGS
101
+ #endif
102
+ #if !defined(__cpp_inline_variables) || (__cpp_inline_variables < 201606)
103
+ # define BOOST_NO_CXX17_INLINE_VARIABLES
104
+ #endif
105
+ #if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
106
+ # define BOOST_NO_CXX17_FOLD_EXPRESSIONS
107
+ #endif
108
+ #if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
109
+ # define BOOST_NO_CXX17_IF_CONSTEXPR
110
+ #endif
111
+
112
+ #define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
113
+
114
+
@@ -0,0 +1,28 @@
1
+ // (C) Copyright John Maddock 2001.
2
+ // Use, modification and distribution are subject to the
3
+ // Boost Software License, Version 1.0. (See accompanying file
4
+ // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
+
6
+ // See http://www.boost.org for most recent version.
7
+
8
+ // Greenhills C++ compiler setup:
9
+
10
+ #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs)
11
+
12
+ #include <boost/config/compiler/common_edg.hpp>
13
+
14
+ //
15
+ // versions check:
16
+ // we don't support Greenhills prior to version 0:
17
+ #if __ghs < 0
18
+ # error "Compiler not supported or configured - please reconfigure"
19
+ #endif
20
+ //
21
+ // last known and checked version is 0:
22
+ #if (__ghs > 0)
23
+ # if defined(BOOST_ASSERT_CONFIG)
24
+ # error "boost: Unknown compiler version - please run the configure tests and report the results"
25
+ # endif
26
+ #endif
27
+
28
+
@@ -0,0 +1,149 @@
1
+ // (C) Copyright John Maddock 2001 - 2003.
2
+ // (C) Copyright Jens Maurer 2001 - 2003.
3
+ // (C) Copyright Aleksey Gurtovoy 2002.
4
+ // (C) Copyright David Abrahams 2002 - 2003.
5
+ // (C) Copyright Toon Knapen 2003.
6
+ // (C) Copyright Boris Gubenko 2006 - 2007.
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
+ // HP aCC C++ compiler setup:
14
+
15
+ #if defined(__EDG__)
16
+ #include <boost/config/compiler/common_edg.hpp>
17
+ #endif
18
+
19
+ #if (__HP_aCC <= 33100)
20
+ # define BOOST_NO_INTEGRAL_INT64_T
21
+ # define BOOST_NO_OPERATORS_IN_NAMESPACE
22
+ # if !defined(_NAMESPACE_STD)
23
+ # define BOOST_NO_STD_LOCALE
24
+ # define BOOST_NO_STRINGSTREAM
25
+ # endif
26
+ #endif
27
+
28
+ #if (__HP_aCC <= 33300)
29
+ // member templates are sufficiently broken that we disable them for now
30
+ # define BOOST_NO_MEMBER_TEMPLATES
31
+ # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
32
+ # define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
33
+ #endif
34
+
35
+ #if (__HP_aCC <= 38000)
36
+ # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
37
+ #endif
38
+
39
+ #if (__HP_aCC > 50000) && (__HP_aCC < 60000)
40
+ # define BOOST_NO_UNREACHABLE_RETURN_DETECTION
41
+ # define BOOST_NO_TEMPLATE_TEMPLATES
42
+ # define BOOST_NO_SWPRINTF
43
+ # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
44
+ # define BOOST_NO_IS_ABSTRACT
45
+ # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
46
+ #endif
47
+
48
+ // optional features rather than defects:
49
+ #if (__HP_aCC >= 33900)
50
+ # define BOOST_HAS_LONG_LONG
51
+ # define BOOST_HAS_PARTIAL_STD_ALLOCATOR
52
+ #endif
53
+
54
+ #if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 )
55
+ # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
56
+ #endif
57
+
58
+ // This macro should not be defined when compiling in strict ansi
59
+ // mode, but, currently, we don't have the ability to determine
60
+ // what standard mode we are compiling with. Some future version
61
+ // of aCC6 compiler will provide predefined macros reflecting the
62
+ // compilation options, including the standard mode.
63
+ #if (__HP_aCC >= 60000) || ((__HP_aCC > 38000) && defined(__hpxstd98))
64
+ # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
65
+ #endif
66
+
67
+ #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
68
+
69
+ //
70
+ // versions check:
71
+ // we don't support HP aCC prior to version 33000:
72
+ #if __HP_aCC < 33000
73
+ # error "Compiler not supported or configured - please reconfigure"
74
+ #endif
75
+
76
+ //
77
+ // Extended checks for supporting aCC on PA-RISC
78
+ #if __HP_aCC > 30000 && __HP_aCC < 50000
79
+ # if __HP_aCC < 38000
80
+ // versions prior to version A.03.80 not supported
81
+ # error "Compiler version not supported - version A.03.80 or higher is required"
82
+ # elif !defined(__hpxstd98)
83
+ // must compile using the option +hpxstd98 with version A.03.80 and above
84
+ # error "Compiler option '+hpxstd98' is required for proper support"
85
+ # endif //PA-RISC
86
+ #endif
87
+
88
+ //
89
+ // C++0x features
90
+ //
91
+ // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
92
+ //
93
+ #if !defined(__EDG__)
94
+
95
+ #define BOOST_NO_CXX11_AUTO_DECLARATIONS
96
+ #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
97
+ #define BOOST_NO_CXX11_CHAR16_T
98
+ #define BOOST_NO_CXX11_CHAR32_T
99
+ #define BOOST_NO_CXX11_CONSTEXPR
100
+ #define BOOST_NO_CXX11_DECLTYPE
101
+ #define BOOST_NO_CXX11_DECLTYPE_N3276
102
+ #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
103
+ #define BOOST_NO_CXX11_DELETED_FUNCTIONS
104
+ #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
105
+ #define BOOST_NO_CXX11_EXTERN_TEMPLATE
106
+ #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
107
+ #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
108
+ #define BOOST_NO_CXX11_LAMBDAS
109
+ #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
110
+ #define BOOST_NO_CXX11_NOEXCEPT
111
+ #define BOOST_NO_CXX11_NULLPTR
112
+ #define BOOST_NO_CXX11_RANGE_BASED_FOR
113
+ #define BOOST_NO_CXX11_RAW_LITERALS
114
+ #define BOOST_NO_CXX11_RVALUE_REFERENCES
115
+ #define BOOST_NO_CXX11_SCOPED_ENUMS
116
+ #define BOOST_NO_SFINAE_EXPR
117
+ #define BOOST_NO_CXX11_SFINAE_EXPR
118
+ #define BOOST_NO_CXX11_STATIC_ASSERT
119
+ #define BOOST_NO_CXX11_TEMPLATE_ALIASES
120
+ #define BOOST_NO_CXX11_UNICODE_LITERALS
121
+ #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
122
+ #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
123
+ #define BOOST_NO_CXX11_ALIGNAS
124
+ #define BOOST_NO_CXX11_ALIGNOF
125
+ #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
126
+ #define BOOST_NO_CXX11_INLINE_NAMESPACES
127
+ #define BOOST_NO_CXX11_REF_QUALIFIERS
128
+ #define BOOST_NO_CXX11_THREAD_LOCAL
129
+ #define BOOST_NO_CXX11_UNRESTRICTED_UNION
130
+
131
+ /*
132
+ See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and
133
+ https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443436
134
+ */
135
+
136
+ #if (__HP_aCC < 62500) || !defined(HP_CXX0x_SOURCE)
137
+ #define BOOST_NO_CXX11_VARIADIC_MACROS
138
+ #endif
139
+
140
+ #endif
141
+
142
+ //
143
+ // last known and checked version for HP-UX/ia64 is 61300
144
+ // last known and checked version for PA-RISC is 38000
145
+ #if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
146
+ # if defined(BOOST_ASSERT_CONFIG)
147
+ # error "boost: Unknown compiler version - please run the configure tests and report the results"
148
+ # endif
149
+ #endif