passenger 6.0.7 → 6.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2051) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +95 -0
  3. data/CONTRIBUTORS +7 -0
  4. data/README.md +2 -9
  5. data/bin/passenger-install-nginx-module +1 -0
  6. data/build/common_library.rb +5 -5
  7. data/build/packaging.rb +4 -2
  8. data/build/support/cxx_dependency_map.rb +1 -0
  9. data/dev/copy_boost_headers +20 -3
  10. data/dev/index_cxx_dependencies.rb +1 -1
  11. data/dev/webpacketpp.patch +39 -0
  12. data/package.json +1 -1
  13. data/resources/release.txt +1 -0
  14. data/resources/templates/config/installation_utils/user_support_binaries_dir_not_writable.txt.erb +1 -0
  15. data/resources/templates/standalone/global.erb +4 -0
  16. data/src/agent/Core/AdminPanelConnector.h +1 -1
  17. data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +2 -2
  18. data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
  19. data/src/agent/Core/ApplicationPool/Group.h +1 -1
  20. data/src/agent/Core/ApplicationPool/Options.h +2 -2
  21. data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
  22. data/src/agent/Core/ApplicationPool/Pool.h +1 -1
  23. data/src/agent/Core/Config.h +2 -2
  24. data/src/agent/Core/Controller/Config.h +2 -2
  25. data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
  26. data/src/agent/Core/SpawningKit/Handshake/Perform.h +1 -1
  27. data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
  28. data/src/agent/Core/SpawningKit/SmartSpawner.h +1 -1
  29. data/src/agent/Core/SpawningKit/Spawner.h +1 -0
  30. data/src/agent/Core/TelemetryCollector.h +1 -1
  31. data/src/agent/Shared/ApiServerUtils.h +1 -1
  32. data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
  33. data/src/agent/Watchdog/Config.h +1 -1
  34. data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -1
  35. data/src/agent/Watchdog/WatchdogMain.cpp +1 -1
  36. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +27 -27
  37. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
  38. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +2 -2
  39. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
  40. data/src/cxx_supportlib/BackgroundEventLoop.cpp +1 -1
  41. data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
  42. data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
  43. data/src/cxx_supportlib/Constants.h +2 -2
  44. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
  45. data/src/cxx_supportlib/FileDescriptor.h +8 -0
  46. data/src/cxx_supportlib/FileTools/FileManip.cpp +10 -1
  47. data/src/cxx_supportlib/FileTools/FileManip.h +16 -0
  48. data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
  49. data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
  50. data/src/cxx_supportlib/SafeLibev.h +1 -1
  51. data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
  52. data/src/cxx_supportlib/StaticString.h +2 -0
  53. data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
  54. data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
  55. data/src/cxx_supportlib/WebSocketCommandReverseServer.h +9 -12
  56. data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +5 -1
  57. data/src/cxx_supportlib/oxt/thread.hpp +1 -1
  58. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/compare.hpp +3 -3
  59. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +5 -2
  60. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +3 -1
  61. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
  62. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/finder.hpp +15 -15
  63. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/formatter.hpp +1 -1
  64. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/trim.hpp +3 -3
  65. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_format.hpp +1 -2
  66. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +0 -1
  67. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/iter_find.hpp +8 -0
  68. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/predicate.hpp +4 -3
  69. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/split.hpp +12 -0
  70. data/src/cxx_supportlib/vendor-modified/boost/array.hpp +2 -3
  71. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +302 -0
  72. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +2 -8
  73. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +39 -22
  74. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +426 -65
  75. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +135 -0
  76. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +440 -257
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +178 -113
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +441 -257
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +293 -143
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +315 -96
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +245 -60
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +365 -227
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +983 -461
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +21 -44
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +15 -35
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +336 -197
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +221 -115
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +13 -49
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +416 -89
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +23 -27
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +31 -30
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +23 -27
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +473 -0
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +138 -0
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +136 -120
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +3 -3
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +35 -12
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +114 -0
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +20 -1
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +4 -3
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +149 -27
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +109 -0
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +107 -1
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +90 -0
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +11 -6
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +9 -1
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +531 -136
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +1 -1
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +1 -1
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +29 -12
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +25 -7
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +36 -16
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +36 -16
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +1 -1
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +1 -1
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +2 -2
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +206 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +1 -1
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
  143. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +1 -1
  145. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
  146. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
  147. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
  148. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +1 -1
  150. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
  151. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +55 -6
  152. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
  153. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +24 -1
  154. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +27 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +1 -1
  156. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +454 -35
  157. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
  158. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
  159. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +218 -84
  160. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +1 -1
  161. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +1 -1
  162. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +1 -1
  163. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +1 -1
  164. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +20 -14
  165. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +40 -2
  166. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +1 -1
  167. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +6 -2
  168. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
  169. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +11 -6
  170. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
  171. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
  172. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
  173. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
  174. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +5 -4
  175. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +16 -19
  176. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +4 -4
  177. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +37 -33
  178. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +92 -4
  179. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +1 -1
  180. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +8 -3
  181. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
  182. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
  183. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +22 -23
  184. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +678 -285
  185. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +15 -6
  186. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +198 -25
  187. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
  188. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +7 -38
  189. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +34 -9
  190. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
  191. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +1 -1
  192. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +1 -1
  193. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
  194. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
  195. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +174 -0
  196. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +65 -16
  197. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
  198. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
  199. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +1 -1
  200. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
  201. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
  202. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +4 -1
  203. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
  204. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +56 -0
  205. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
  206. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +7 -1
  207. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
  208. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
  209. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -1
  210. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +1 -1
  211. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
  212. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +63 -52
  213. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
  214. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
  215. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
  216. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
  217. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
  218. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
  219. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
  220. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +2 -2
  221. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +14 -8
  222. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +15 -2
  223. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
  224. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
  225. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
  226. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
  227. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
  228. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
  229. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
  230. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +22 -6
  231. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +62 -34
  232. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +15 -7
  233. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_serial_port_service.hpp +15 -14
  234. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +53 -28
  235. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +20 -10
  236. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +43 -19
  237. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +42 -16
  238. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +26 -13
  239. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +48 -20
  240. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +43 -17
  241. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +82 -80
  242. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +77 -47
  243. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +15 -7
  244. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +1 -1
  245. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +1 -1
  246. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +4 -2
  247. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +1 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +16 -16
  249. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
  250. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +31 -13
  251. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
  252. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +32 -16
  253. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +22 -22
  254. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +37 -19
  255. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +22 -6
  256. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
  257. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
  258. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
  259. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
  260. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
  261. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +1 -1
  262. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
  263. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
  264. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +11 -7
  265. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
  266. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +1 -1
  267. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +24 -12
  268. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
  269. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +47 -1
  270. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
  271. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +2 -2
  272. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +2 -1
  273. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
  274. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +47 -0
  275. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
  276. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +13 -1
  277. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
  278. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
  279. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
  282. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +33 -2
  283. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +8 -6
  284. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
  285. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
  286. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
  287. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +11 -1
  288. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +72 -3
  289. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +1 -1
  290. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +1 -1
  291. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +1 -1
  292. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
  293. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +1 -1
  294. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
  295. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +1 -1
  296. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +1 -1
  297. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
  298. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +73 -3
  299. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +177 -2
  300. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +13 -8
  301. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +1 -1
  302. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
  303. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +84 -8
  304. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +46 -10
  305. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +29 -16
  306. data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +1 -1
  307. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +339 -0
  308. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +2348 -0
  309. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +49 -0
  310. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +1553 -0
  311. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +1214 -0
  312. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +399 -0
  313. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +1217 -0
  314. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +493 -0
  315. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +235 -0
  316. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +223 -0
  317. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +154 -0
  318. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +107 -0
  319. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +130 -0
  320. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +263 -0
  321. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +235 -0
  322. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +92 -0
  323. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +289 -0
  324. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +254 -0
  325. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +42 -0
  326. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +38 -0
  327. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +73 -0
  328. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +1118 -0
  329. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +228 -0
  330. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +96 -0
  331. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +869 -0
  332. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +333 -0
  333. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +282 -0
  334. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +50 -0
  335. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +867 -0
  336. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +291 -0
  337. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +88 -0
  338. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +313 -0
  339. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +254 -0
  340. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +254 -0
  341. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +487 -0
  342. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +251 -0
  343. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +454 -0
  344. data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +48 -0
  345. data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +3 -2
  346. data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +8 -2
  347. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +145 -13
  348. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +137 -0
  349. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +245 -0
  350. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +2 -2
  351. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +4 -4
  352. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
  353. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
  354. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +4 -4
  355. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +4 -4
  356. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +4 -4
  357. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +29 -6
  358. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
  359. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +30 -4
  360. data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
  361. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +438 -0
  362. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +156 -56
  363. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +150 -52
  364. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +300 -0
  365. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +639 -0
  366. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +317 -261
  367. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +210 -35
  368. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +132 -0
  369. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +205 -36
  370. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
  371. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +8 -6
  372. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
  373. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +16 -102
  374. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +6 -1
  375. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +16 -7
  376. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +214 -115
  377. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +4 -3
  378. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +51 -0
  379. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +210 -35
  380. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +657 -158
  381. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +195 -91
  382. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +2321 -452
  383. data/src/cxx_supportlib/vendor-modified/boost/asio/{experimental/impl → impl}/redirect_error.hpp +149 -52
  384. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
  385. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
  386. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +63 -71
  387. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +5 -1
  388. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
  389. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +25 -6
  390. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +114 -14
  391. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +266 -39
  392. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +73 -8
  393. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +281 -0
  394. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +131 -40
  395. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +600 -158
  396. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +186 -92
  397. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +734 -60
  398. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +46 -54
  399. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
  400. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
  401. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +57 -27
  402. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +52 -26
  403. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
  404. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
  405. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +85 -39
  406. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
  407. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
  408. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +1 -1
  409. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +51 -23
  410. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +246 -190
  411. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
  412. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
  413. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
  414. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
  415. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +21 -19
  416. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +10 -10
  417. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
  418. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
  419. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +7 -7
  420. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
  421. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +23 -18
  422. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
  423. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +11 -11
  424. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
  425. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +27 -27
  426. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
  427. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
  428. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
  429. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +1 -1
  430. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
  431. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +1 -1
  432. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +8 -8
  433. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +1 -1
  434. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
  435. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
  436. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
  437. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +9 -9
  438. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +7 -7
  439. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +3 -3
  440. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +3 -3
  441. data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +63 -0
  442. data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
  443. data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
  444. data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
  445. data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +10 -2
  446. data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +14 -19
  447. data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +4 -4
  448. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +7 -1
  449. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +8 -1
  450. data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +4 -4
  451. data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +60 -0
  452. data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
  453. data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
  454. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +190 -74
  455. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +187 -68
  456. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +5 -612
  457. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +2 -2
  458. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +3 -326
  459. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +31 -12
  460. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +738 -0
  461. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +328 -0
  462. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +434 -81
  463. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +51 -28
  464. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +1497 -424
  465. data/src/cxx_supportlib/vendor-modified/boost/asio/{experimental/redirect_error.hpp → redirect_error.hpp} +9 -10
  466. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +575 -0
  467. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +356 -0
  468. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +3 -736
  469. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
  470. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +3 -422
  471. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +26 -26
  472. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +16 -8
  473. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +4 -1
  474. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +1 -1
  475. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +6 -1
  476. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +6 -1
  477. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +6 -1
  478. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +37 -10
  479. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +3 -3
  480. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +52 -8
  481. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
  482. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +5 -1
  483. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
  484. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +6 -1
  485. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +17 -2
  486. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +41 -6
  487. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
  488. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +11 -2
  489. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +21 -7
  490. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +92 -0
  491. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
  492. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +44 -10
  493. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +3 -1
  494. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +75 -0
  495. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +5 -1
  496. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +2 -1
  497. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +7 -3
  498. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +235 -97
  499. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
  500. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
  501. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
  502. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +2 -1
  503. data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +33 -0
  504. data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
  505. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +296 -13
  506. data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
  507. data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +16 -4
  508. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +580 -25
  509. data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
  510. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +47 -0
  511. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +937 -38
  512. data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
  513. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +116 -0
  514. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +116 -0
  515. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +114 -0
  516. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +114 -0
  517. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +106 -0
  518. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +110 -0
  519. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +110 -0
  520. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +110 -0
  521. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +110 -0
  522. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +110 -0
  523. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +110 -0
  524. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +110 -0
  525. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +110 -0
  526. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +110 -0
  527. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +110 -0
  528. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +110 -0
  529. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +110 -0
  530. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +110 -0
  531. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +110 -0
  532. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +110 -0
  533. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +114 -0
  534. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +114 -0
  535. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +236 -0
  536. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +236 -0
  537. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +110 -0
  538. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +110 -0
  539. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +110 -0
  540. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +125 -0
  541. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +126 -0
  542. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +114 -0
  543. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +114 -0
  544. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
  545. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +2 -2
  546. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
  547. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
  548. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
  549. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +93 -36
  550. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
  551. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
  552. data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
  553. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +171 -0
  554. data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +1 -1
  555. data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
  556. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
  557. data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
  558. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +295 -42
  559. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +363 -0
  560. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +186 -72
  561. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +188 -73
  562. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +3 -346
  563. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +4 -296
  564. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +38 -9
  565. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +3 -344
  566. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +3 -328
  567. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +408 -78
  568. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +51 -28
  569. data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
  570. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +47 -17
  571. data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +99 -0
  572. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +178 -11
  573. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +12 -3
  574. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +85 -0
  575. data/src/cxx_supportlib/vendor-modified/boost/atomic/capabilities.hpp +2 -191
  576. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +3 -0
  577. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/aligned_variable.hpp +57 -0
  578. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag_impl.hpp +129 -0
  579. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{atomic_template.hpp → atomic_impl.hpp} +327 -429
  580. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +1126 -0
  581. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +23 -4
  582. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +3 -0
  583. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/capabilities.hpp +217 -0
  584. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +46 -0
  585. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +58 -0
  586. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_gcc_alpha.hpp → caps_arch_gcc_alpha.hpp} +4 -4
  587. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_arm.hpp → caps_arch_gcc_arm.hpp} +37 -8
  588. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_ppc.hpp → caps_arch_gcc_ppc.hpp} +19 -6
  589. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_gcc_sparc.hpp → caps_arch_gcc_sparc.hpp} +4 -4
  590. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_x86.hpp → caps_arch_gcc_x86.hpp} +22 -6
  591. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_msvc_arm.hpp → caps_arch_msvc_arm.hpp} +4 -4
  592. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_msvc_x86.hpp → caps_arch_msvc_x86.hpp} +12 -6
  593. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_atomic.hpp +100 -75
  594. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sync.hpp +0 -7
  595. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas_based_exchange.hpp +50 -0
  596. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +81 -0
  597. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +39 -15
  598. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations.hpp +50 -0
  599. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations_fwd.hpp +38 -0
  600. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp +1121 -0
  601. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +1909 -0
  602. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_alpha.hpp → core_arch_ops_gcc_alpha.hpp} +280 -289
  603. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_arm.hpp → core_arch_ops_gcc_arm.hpp} +467 -447
  604. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_ppc.hpp → core_arch_ops_gcc_ppc.hpp} +75 -94
  605. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_sparc.hpp → core_arch_ops_gcc_sparc.hpp} +33 -58
  606. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_x86_dcas.hpp → core_arch_ops_gcc_x86.hpp} +507 -20
  607. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_msvc_arm.hpp → core_arch_ops_msvc_arm.hpp} +62 -58
  608. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_msvc_x86.hpp → core_arch_ops_msvc_x86.hpp} +69 -101
  609. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations.hpp +49 -0
  610. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated.hpp +195 -0
  611. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated_fwd.hpp +38 -0
  612. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_fwd.hpp +38 -0
  613. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_cas_based.hpp → core_ops_cas_based.hpp} +9 -22
  614. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_atomic.hpp +306 -0
  615. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_sync.hpp → core_ops_gcc_sync.hpp} +75 -52
  616. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_linux_arm.hpp → core_ops_linux_arm.hpp} +32 -43
  617. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_windows.hpp +201 -0
  618. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_extending_cas_based.hpp → extending_cas_based_arithmetic.hpp} +12 -9
  619. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_operations_fwd.hpp +4 -1
  620. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_emulated.hpp +23 -12
  621. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +12 -9
  622. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_operations_fwd.hpp +4 -1
  623. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_emulated.hpp +60 -40
  624. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +1060 -0
  625. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +1330 -0
  626. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_arm.hpp +363 -355
  627. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +94 -91
  628. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_x86.hpp +232 -102
  629. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_generic.hpp +9 -17
  630. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_arm.hpp +6 -4
  631. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_x86.hpp +119 -92
  632. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_operations.hpp +41 -0
  633. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp +60 -0
  634. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp +58 -0
  635. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp +53 -0
  636. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp +90 -0
  637. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp +68 -0
  638. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp +70 -0
  639. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp +69 -0
  640. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp +66 -0
  641. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp +66 -0
  642. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations.hpp +41 -0
  643. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations_emulated.hpp +50 -0
  644. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_atomic.hpp +75 -0
  645. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_sync.hpp +53 -0
  646. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_linux_arm.hpp +64 -0
  647. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_windows.hpp +67 -0
  648. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/footer.hpp +24 -0
  649. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_operations_fwd.hpp +4 -1
  650. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_emulated.hpp +14 -8
  651. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_generic.hpp +6 -3
  652. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +147 -0
  653. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +75 -0
  654. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp +66 -0
  655. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/header.hpp +72 -0
  656. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
  657. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{integral_extend.hpp → integral_conversions.hpp} +8 -5
  658. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +35 -11
  659. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/intptr.hpp +46 -0
  660. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lock_pool.hpp +151 -0
  661. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/memory_order_utils.hpp +47 -0
  662. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/once_flag.hpp +43 -0
  663. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch32_common.hpp +53 -0
  664. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch64_common.hpp +53 -0
  665. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm_common.hpp +8 -79
  666. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc_common.hpp +4 -1
  667. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_common.hpp +7 -2
  668. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +23 -5
  669. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +64 -27
  670. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_traits.hpp +187 -0
  671. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +51 -0
  672. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_floating_point.hpp +3 -2
  673. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_copyable.hpp +45 -0
  674. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_capabilities.hpp +363 -0
  675. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp +30 -0
  676. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_freebsd_umtx.hpp +40 -0
  677. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_futex.hpp +31 -0
  678. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_windows.hpp +55 -0
  679. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations.hpp +28 -0
  680. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations_fwd.hpp +43 -0
  681. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp +75 -0
  682. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_emulated.hpp +97 -0
  683. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_freebsd_umtx.hpp +119 -0
  684. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_futex.hpp +111 -0
  685. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_generic.hpp +143 -0
  686. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_windows.hpp +150 -0
  687. data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +7 -18
  688. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +85 -0
  689. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_flag.hpp +40 -0
  690. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +85 -0
  691. data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +9 -0
  692. data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
  693. data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +14 -34
  694. data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
  695. data/src/cxx_supportlib/vendor-modified/boost/bind/bind_template.hpp +1 -1
  696. data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +154 -0
  697. data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +25 -11
  698. data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_cc.hpp +18 -18
  699. data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +13 -1
  700. data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +52 -8
  701. data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +39 -0
  702. data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +1 -1
  703. data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
  704. data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/chrono.hpp +26 -6
  705. data/src/cxx_supportlib/vendor-modified/boost/chrono/system_clocks.hpp +2 -2
  706. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +113 -111
  707. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +21 -21
  708. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +27 -33
  709. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +9 -6
  710. data/src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp +1 -1
  711. data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
  712. data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
  713. data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
  714. data/src/cxx_supportlib/vendor-modified/boost/config/abi_prefix.hpp +1 -1
  715. data/src/cxx_supportlib/vendor-modified/boost/config/abi_suffix.hpp +1 -3
  716. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +214 -0
  717. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +215 -0
  718. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
  719. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +59 -0
  720. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
  721. data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +72 -22
  722. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +4 -1
  723. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +13 -0
  724. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +155 -10
  725. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +2 -0
  726. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +5 -0
  727. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +2 -0
  728. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +21 -5
  729. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +2 -0
  730. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +1 -0
  731. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +7 -0
  732. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +2 -0
  733. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +2 -0
  734. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +2 -0
  735. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +2 -0
  736. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +2 -0
  737. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +26 -7
  738. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +5 -0
  739. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +2 -0
  740. data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +186 -0
  741. data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_compiler_config.hpp +1 -1
  742. data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_stdlib_config.hpp +13 -2
  743. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +105 -6
  744. data/src/cxx_supportlib/vendor-modified/boost/config/platform/cygwin.hpp +3 -0
  745. data/src/cxx_supportlib/vendor-modified/boost/config/platform/vxworks.hpp +63 -74
  746. data/src/cxx_supportlib/vendor-modified/boost/config/requires_threads.hpp +1 -1
  747. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +19 -6
  748. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +1 -0
  749. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +23 -1
  750. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +53 -1
  751. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/modena.hpp +1 -0
  752. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/msl.hpp +1 -0
  753. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/roguewave.hpp +2 -1
  754. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/sgi.hpp +1 -0
  755. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/stlport.hpp +6 -5
  756. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/vacpp.hpp +1 -0
  757. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/xlcpp_zos.hpp +1 -0
  758. data/src/cxx_supportlib/vendor-modified/boost/config/user.hpp +2 -2
  759. data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +15 -0
  760. data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +18 -10
  761. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +20 -17
  762. data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +28 -3
  763. data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +123 -29
  764. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +320 -226
  765. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +4 -3
  766. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +123 -51
  767. data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
  768. data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +6 -6
  769. data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +4 -4
  770. data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_list.hpp +2 -1
  771. data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_slist.hpp +2 -1
  772. data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +3 -2
  773. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
  774. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_or_allocator_rebind.hpp +4 -0
  775. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +21 -116
  776. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +152 -43
  777. data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +100 -31
  778. data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +38 -38
  779. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +171 -114
  780. data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
  781. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +17 -0
  782. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
  783. data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +133 -117
  784. data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +2 -2
  785. data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +12 -8
  786. data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +4 -15
  787. data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +22 -1
  788. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +83 -18
  789. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
  790. data/src/cxx_supportlib/vendor-modified/boost/container/detail/thread_mutex.hpp +6 -6
  791. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +228 -160
  792. data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +2 -0
  793. data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +9 -13
  794. data/src/cxx_supportlib/vendor-modified/boost/container/detail/version_type.hpp +3 -12
  795. data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +36 -2
  796. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3000 -0
  797. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +286 -212
  798. data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +34 -50
  799. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +123 -88
  800. data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +164 -165
  801. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +17 -2
  802. data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +2 -2
  803. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +319 -2
  804. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
  805. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/flat_set.hpp +3 -3
  806. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +1 -4
  807. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +29 -0
  808. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +5 -4
  809. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +2 -3
  810. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +90 -6
  811. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +4 -4
  812. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +4 -4
  813. data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +80 -80
  814. data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +84 -102
  815. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +99 -68
  816. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +151 -106
  817. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +236 -165
  818. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +160 -105
  819. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +238 -158
  820. data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +138 -30
  821. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +559 -575
  822. data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -54
  823. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +5 -4
  824. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +1 -1
  825. data/src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp +2 -2
  826. data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +169 -0
  827. data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +601 -0
  828. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +581 -0
  829. data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +6 -4
  830. data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +199 -0
  831. data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +148 -0
  832. data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
  833. data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +16 -6
  834. data/src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp +45 -0
  835. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +199 -50
  836. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +82 -1
  837. data/src/cxx_supportlib/vendor-modified/boost/core/no_exceptions_support.hpp +14 -2
  838. data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +87 -0
  839. data/src/cxx_supportlib/vendor-modified/boost/core/nvp.hpp +57 -0
  840. data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +1 -0
  841. data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +1 -1
  842. data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +37 -1
  843. data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +6 -3
  844. data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +2 -2
  845. data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +155 -0
  846. data/src/cxx_supportlib/vendor-modified/boost/core/use_default.hpp +17 -0
  847. data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
  848. data/src/cxx_supportlib/vendor-modified/boost/cstdint.hpp +5 -5
  849. data/src/cxx_supportlib/vendor-modified/boost/current_function.hpp +3 -3
  850. data/src/cxx_supportlib/vendor-modified/boost/date_time/c_time.hpp +9 -4
  851. data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +4 -17
  852. data/src/cxx_supportlib/vendor-modified/boost/date_time/constrained_value.hpp +19 -11
  853. data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +23 -23
  854. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration.hpp +17 -22
  855. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration_types.hpp +44 -49
  856. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_facet.hpp +5 -6
  857. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generators.hpp +24 -19
  858. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
  859. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_parsing.hpp +51 -25
  860. data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_rules.hpp +56 -56
  861. data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_transition_generators.hpp +2 -2
  862. data/src/cxx_supportlib/vendor-modified/boost/date_time/find_match.hpp +42 -0
  863. data/src/cxx_supportlib/vendor-modified/boost/date_time/format_date_parser.hpp +98 -98
  864. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +22 -14
  865. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_day.hpp +4 -4
  866. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration.hpp +44 -32
  867. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration_types.hpp +2 -2
  868. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_month.hpp +51 -23
  869. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_serialize.hpp +29 -27
  870. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_weekday.hpp +43 -9
  871. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_year.hpp +3 -3
  872. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +32 -13
  873. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.hpp +15 -17
  874. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +27 -22
  875. data/src/cxx_supportlib/vendor-modified/boost/date_time/int_adapter.hpp +57 -37
  876. data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_time_io.hpp +3 -0
  877. data/src/cxx_supportlib/vendor-modified/boost/date_time/locale_config.hpp +3 -3
  878. data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +44 -47
  879. data/src/cxx_supportlib/vendor-modified/boost/date_time/period_formatter.hpp +34 -31
  880. data/src/cxx_supportlib/vendor-modified/boost/date_time/period_parser.hpp +27 -28
  881. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/date_duration_operators.hpp +8 -8
  882. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_config.hpp +13 -26
  883. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_duration.hpp +4 -4
  884. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/ptime.hpp +22 -4
  885. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_serialize.hpp +28 -12
  886. data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_formatter.hpp +1 -0
  887. data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +0 -5
  888. data/src/cxx_supportlib/vendor-modified/boost/date_time/string_parse_tree.hpp +5 -3
  889. data/src/cxx_supportlib/vendor-modified/boost/date_time/strings_from_facet.hpp +4 -2
  890. data/src/cxx_supportlib/vendor-modified/boost/date_time/time.hpp +24 -3
  891. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_duration.hpp +56 -44
  892. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +8 -11
  893. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
  894. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +3 -8
  895. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_resolution_traits.hpp +18 -18
  896. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_counted.hpp +65 -50
  897. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_split.hpp +43 -30
  898. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_base.hpp +1 -1
  899. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_names.hpp +1 -1
  900. data/src/cxx_supportlib/vendor-modified/boost/date_time/tz_db_base.hpp +0 -1
  901. data/src/cxx_supportlib/vendor-modified/boost/date_time/wrapping_int.hpp +16 -15
  902. data/src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp +7 -5
  903. data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +3 -4
  904. data/src/cxx_supportlib/vendor-modified/boost/exception/current_exception_cast.hpp +10 -4
  905. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/clone_current_exception.hpp +10 -4
  906. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/error_info_impl.hpp +12 -7
  907. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +106 -33
  908. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/is_output_streamable.hpp +9 -4
  909. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/object_hex_dump.hpp +9 -4
  910. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/shared_ptr.hpp +2 -2
  911. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +11 -5
  912. data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +15 -6
  913. data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +19 -57
  914. data/src/cxx_supportlib/vendor-modified/boost/exception/get_error_info.hpp +9 -4
  915. data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +11 -9
  916. data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +9 -4
  917. data/src/cxx_supportlib/vendor-modified/boost/exception/to_string_stub.hpp +9 -4
  918. data/src/cxx_supportlib/vendor-modified/boost/exception_ptr.hpp +2 -2
  919. data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +16 -9
  920. data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +4 -12
  921. data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +22 -4
  922. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
  923. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +3 -3
  924. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +31 -29
  925. data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +83 -0
  926. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +7 -7
  927. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
  928. data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +53 -0
  929. data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +4 -5
  930. data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +3 -2
  931. data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +4 -4
  932. data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
  933. data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +3 -3
  934. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +22 -22
  935. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +11 -11
  936. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +22 -22
  937. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +19 -27
  938. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +6 -7
  939. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +2 -1
  940. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +1 -2
  941. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +3 -3
  942. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +12 -12
  943. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +94 -0
  944. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +18 -9
  945. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +12 -4
  946. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +10 -10
  947. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +1 -1
  948. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +15 -3
  949. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +9 -14
  950. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +1 -0
  951. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +2 -0
  952. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +13 -1
  953. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +23 -11
  954. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
  955. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +42 -0
  956. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +6 -1
  957. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +14 -18
  958. data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +3 -0
  959. data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +11 -5
  960. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +20 -20
  961. data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +9 -1
  962. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +6 -0
  963. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +14 -14
  964. data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +2 -2
  965. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +11 -11
  966. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +1 -1
  967. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +22 -22
  968. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +22 -22
  969. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +18 -26
  970. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +29 -33
  971. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +22 -22
  972. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +11 -11
  973. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +93 -66
  974. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +19 -18
  975. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +67 -60
  976. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +9 -9
  977. data/src/cxx_supportlib/vendor-modified/boost/io/ios_state.hpp +361 -315
  978. data/src/cxx_supportlib/vendor-modified/boost/io_fwd.hpp +45 -49
  979. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +4 -4
  980. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +3 -2
  981. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +3 -3
  982. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +1 -1
  983. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +24 -19
  984. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +43 -43
  985. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +39 -39
  986. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +1 -1
  987. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
  988. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +5 -5
  989. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
  990. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +10 -10
  991. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
  992. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
  993. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +2 -2
  994. data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
  995. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +10 -7
  996. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +13 -122
  997. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +8 -2
  998. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +11 -8
  999. data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once.cpp +0 -1
  1000. data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +4 -3
  1001. data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +12 -7
  1002. data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +6 -12
  1003. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +36 -29
  1004. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +21 -14
  1005. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +133 -331
  1006. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +434 -51
  1007. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +68 -0
  1008. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +1 -1
  1009. data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +15 -0
  1010. data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
  1011. data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
  1012. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_to_raw_pointer.hpp +3 -3
  1013. data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +11 -6
  1014. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +224 -0
  1015. data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +255 -44
  1016. data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +1 -27
  1017. data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +1 -1
  1018. data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
  1019. data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +3 -3
  1020. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/common_name_wknd.hpp +2 -2
  1021. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/adl.hpp +1 -1
  1022. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/arrays.hpp +1 -1
  1023. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bcc.hpp +2 -2
  1024. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bind.hpp +1 -1
  1025. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/compiler.hpp +2 -2
  1026. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ctps.hpp +1 -1
  1027. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dtp.hpp +3 -3
  1028. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/forwarding.hpp +1 -1
  1029. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/integral.hpp +1 -1
  1030. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/operators.hpp +1 -1
  1031. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/overload_resolution.hpp +1 -1
  1032. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/preprocessor.hpp +1 -1
  1033. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ttp.hpp +2 -2
  1034. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/count_impl.hpp +1 -1
  1035. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_impl_body.hpp +3 -3
  1036. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_rebind.hpp +4 -4
  1037. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/integral_wrapper.hpp +1 -1
  1038. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_support.hpp +3 -3
  1039. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/nested_type_wknd.hpp +1 -1
  1040. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
  1041. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
  1042. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/size_impl.hpp +1 -1
  1043. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp +1 -1
  1044. data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +4 -4
  1045. data/src/cxx_supportlib/vendor-modified/boost/mpl/if.hpp +1 -1
  1046. data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c.hpp +1 -1
  1047. data/src/cxx_supportlib/vendor-modified/boost/mpl/lower_bound.hpp +1 -1
  1048. data/src/cxx_supportlib/vendor-modified/boost/mpl/numeric_cast.hpp +1 -1
  1049. data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
  1050. data/src/cxx_supportlib/vendor-modified/boost/mpl/upper_bound.hpp +1 -1
  1051. data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/at.hpp +1 -1
  1052. data/src/cxx_supportlib/vendor-modified/boost/none.hpp +5 -5
  1053. data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
  1054. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
  1055. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +5 -5
  1056. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
  1057. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
  1058. data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +31 -24
  1059. data/src/cxx_supportlib/vendor-modified/boost/optional/bad_optional_access.hpp +9 -0
  1060. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +2 -2
  1061. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +1 -1
  1062. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +8 -1
  1063. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +1 -1
  1064. data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +9 -4
  1065. data/src/cxx_supportlib/vendor-modified/boost/parameter/are_tagged_arguments.hpp +125 -0
  1066. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/always_true_predicate.hpp +42 -0
  1067. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +1253 -359
  1068. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/as_lvalue.hpp +25 -0
  1069. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/augment_predicate.hpp +198 -0
  1070. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/cast.hpp +7 -136
  1071. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +101 -59
  1072. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/has_nested_template_fn.hpp +111 -0
  1073. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_maybe.hpp +42 -16
  1074. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_placeholder.hpp +64 -0
  1075. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_tagged_argument.hpp +95 -0
  1076. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/lambda_tag.hpp +16 -0
  1077. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +128 -97
  1078. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +93 -0
  1079. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/as_parameter_requirements.hpp +32 -0
  1080. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduce_tag.hpp +217 -0
  1081. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduced_item.hpp +34 -0
  1082. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/insert_tagged.hpp +23 -0
  1083. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/is_named_argument.hpp +43 -0
  1084. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +47 -0
  1085. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +438 -0
  1086. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_deduced_items.hpp +53 -0
  1087. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp +45 -0
  1088. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_parameter_spec_items.hpp +244 -0
  1089. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/parameter_requirements.hpp +25 -0
  1090. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/predicate.hpp +87 -0
  1091. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/satisfies.hpp +142 -0
  1092. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_deduced.hpp +59 -0
  1093. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg.hpp +30 -0
  1094. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +67 -0
  1095. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp +30 -0
  1096. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_type.hpp +89 -0
  1097. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +41 -0
  1098. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parameter_requirements.hpp +7 -20
  1099. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parenthesized_type.hpp +8 -31
  1100. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/argument_pack.hpp +91 -0
  1101. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/match.hpp +55 -0
  1102. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp +97 -0
  1103. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp +1638 -0
  1104. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp +1796 -0
  1105. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp +65 -0
  1106. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp +57 -0
  1107. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/flatten.hpp +7 -110
  1108. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each.hpp +7 -98
  1109. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each_pred.hpp +1029 -0
  1110. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp +24 -0
  1111. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/arity_range.hpp +42 -0
  1112. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/flatten.hpp +143 -0
  1113. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/for_each.hpp +152 -0
  1114. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp +509 -0
  1115. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +730 -0
  1116. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp +474 -0
  1117. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp +33 -0
  1118. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +43 -0
  1119. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_name.hpp +152 -0
  1120. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp +331 -0
  1121. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp +122 -0
  1122. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp +34 -0
  1123. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +109 -0
  1124. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/split_args.hpp +71 -0
  1125. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp +78 -0
  1126. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +31 -0
  1127. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +32 -0
  1128. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp +165 -0
  1129. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp +24 -0
  1130. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/nullptr.hpp +18 -0
  1131. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +92 -0
  1132. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/qualifier.hpp +88 -0
  1133. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_enum.hpp +26 -0
  1134. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_merge.hpp +1807 -0
  1135. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/result_of0.hpp +46 -29
  1136. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +94 -42
  1137. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +152 -30
  1138. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +874 -159
  1139. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument_fwd.hpp +38 -0
  1140. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/template_keyword.hpp +76 -34
  1141. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +161 -78
  1142. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default.hpp +17 -0
  1143. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default_tag.hpp +29 -0
  1144. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +25 -16
  1145. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/yesno.hpp +30 -14
  1146. data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +154 -70
  1147. data/src/cxx_supportlib/vendor-modified/boost/parameter/compose.hpp +210 -0
  1148. data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +75 -6
  1149. data/src/cxx_supportlib/vendor-modified/boost/parameter/deduced.hpp +132 -0
  1150. data/src/cxx_supportlib/vendor-modified/boost/parameter/is_argument_pack.hpp +29 -0
  1151. data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword.hpp +724 -102
  1152. data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword_fwd.hpp +23 -0
  1153. data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +205 -72
  1154. data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +37 -44
  1155. data/src/cxx_supportlib/vendor-modified/boost/parameter/name.hpp +100 -126
  1156. data/src/cxx_supportlib/vendor-modified/boost/parameter/nested_keyword.hpp +111 -0
  1157. data/src/cxx_supportlib/vendor-modified/boost/parameter/optional.hpp +67 -0
  1158. data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +556 -887
  1159. data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor.hpp +156 -1016
  1160. data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor_no_spec.hpp +74 -0
  1161. data/src/cxx_supportlib/vendor-modified/boost/parameter/required.hpp +66 -0
  1162. data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +87 -0
  1163. data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +152 -70
  1164. data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
  1165. data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
  1166. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +19 -13
  1167. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +96 -32
  1168. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +16 -10
  1169. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +19 -13
  1170. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
  1171. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +19 -13
  1172. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +33 -27
  1173. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +31 -20
  1174. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +24 -18
  1175. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +82 -30
  1176. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +15 -9
  1177. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +13 -7
  1178. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +48 -0
  1179. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +23 -12
  1180. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +26 -13
  1181. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +29 -15
  1182. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +15 -9
  1183. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +15 -9
  1184. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +31 -25
  1185. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +19 -13
  1186. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86.h +4 -4
  1187. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +14 -8
  1188. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +2 -1
  1189. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/borland.h +12 -11
  1190. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/clang.h +10 -9
  1191. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/comeau.h +10 -9
  1192. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/compaq.h +12 -11
  1193. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/diab.h +10 -9
  1194. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/digitalmars.h +10 -9
  1195. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/dignus.h +10 -9
  1196. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/edg.h +10 -9
  1197. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ekopath.h +10 -9
  1198. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc.h +11 -10
  1199. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc_xml.h +9 -8
  1200. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/greenhills.h +12 -11
  1201. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/hp_acc.h +10 -9
  1202. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/iar.h +10 -9
  1203. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ibm.h +15 -14
  1204. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/intel.h +18 -17
  1205. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/kai.h +10 -9
  1206. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/llvm.h +9 -8
  1207. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metaware.h +9 -8
  1208. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metrowerks.h +14 -13
  1209. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/microtec.h +9 -8
  1210. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/mpw.h +12 -11
  1211. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/nvcc.h +10 -9
  1212. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/palm.h +10 -9
  1213. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/pgi.h +10 -9
  1214. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sgi_mipspro.h +12 -11
  1215. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sunpro.h +14 -13
  1216. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/tendra.h +9 -8
  1217. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/visualc.h +13 -12
  1218. data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/watcom.h +10 -9
  1219. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm/versions.h +16 -10
  1220. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h +21 -19
  1221. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc/versions.h +27 -21
  1222. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc.h +21 -19
  1223. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86/versions.h +73 -67
  1224. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86.h +39 -37
  1225. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd/versions.h +24 -19
  1226. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd.h +25 -23
  1227. data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd.h +95 -46
  1228. data/src/cxx_supportlib/vendor-modified/boost/predef/language/cuda.h +11 -10
  1229. data/src/cxx_supportlib/vendor-modified/boost/predef/language/objc.h +9 -8
  1230. data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +10 -9
  1231. data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +39 -32
  1232. data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/cloudabi.h +10 -9
  1233. data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/gnu.h +12 -11
  1234. data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/uc.h +10 -9
  1235. data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/vms.h +9 -8
  1236. data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/zos.h +10 -9
  1237. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +11 -10
  1238. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/dinkumware.h +11 -10
  1239. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/libcomo.h +10 -9
  1240. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/modena.h +10 -9
  1241. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/msl.h +12 -11
  1242. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/roguewave.h +11 -10
  1243. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/sgi.h +10 -9
  1244. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +12 -11
  1245. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stlport.h +13 -12
  1246. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/vacpp.h +9 -8
  1247. data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +101 -35
  1248. data/src/cxx_supportlib/vendor-modified/boost/predef/os/aix.h +14 -13
  1249. data/src/cxx_supportlib/vendor-modified/boost/predef/os/amigaos.h +10 -9
  1250. data/src/cxx_supportlib/vendor-modified/boost/predef/os/beos.h +9 -8
  1251. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +10 -8
  1252. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +10 -8
  1253. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +11 -9
  1254. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +17 -15
  1255. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +60 -58
  1256. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd.h +22 -23
  1257. data/src/cxx_supportlib/vendor-modified/boost/predef/os/cygwin.h +10 -9
  1258. data/src/cxx_supportlib/vendor-modified/boost/predef/os/haiku.h +9 -8
  1259. data/src/cxx_supportlib/vendor-modified/boost/predef/os/hpux.h +11 -10
  1260. data/src/cxx_supportlib/vendor-modified/boost/predef/os/ios.h +12 -11
  1261. data/src/cxx_supportlib/vendor-modified/boost/predef/os/irix.h +10 -9
  1262. data/src/cxx_supportlib/vendor-modified/boost/predef/os/linux.h +14 -10
  1263. data/src/cxx_supportlib/vendor-modified/boost/predef/os/macos.h +14 -13
  1264. data/src/cxx_supportlib/vendor-modified/boost/predef/os/os400.h +9 -8
  1265. data/src/cxx_supportlib/vendor-modified/boost/predef/os/qnxnto.h +12 -11
  1266. data/src/cxx_supportlib/vendor-modified/boost/predef/os/solaris.h +10 -9
  1267. data/src/cxx_supportlib/vendor-modified/boost/predef/os/unix.h +24 -22
  1268. data/src/cxx_supportlib/vendor-modified/boost/predef/os/vms.h +11 -10
  1269. data/src/cxx_supportlib/vendor-modified/boost/predef/os/windows.h +16 -15
  1270. data/src/cxx_supportlib/vendor-modified/boost/predef/os.h +0 -1
  1271. data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +17 -19
  1272. data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
  1273. data/src/cxx_supportlib/vendor-modified/boost/predef/other/workaround.h +22 -14
  1274. data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
  1275. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/android.h +44 -0
  1276. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/cloudabi.h +9 -8
  1277. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/ios.h +14 -9
  1278. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw.h +12 -11
  1279. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw32.h +10 -9
  1280. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw64.h +10 -9
  1281. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_desktop.h +10 -9
  1282. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_phone.h +9 -8
  1283. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_runtime.h +10 -9
  1284. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_server.h +9 -8
  1285. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_store.h +10 -9
  1286. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_system.h +9 -8
  1287. data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_uwp.h +12 -11
  1288. data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +1 -1
  1289. data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
  1290. data/src/cxx_supportlib/vendor-modified/boost/predef/version_number.h +16 -14
  1291. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
  1292. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
  1293. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
  1294. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
  1295. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
  1296. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
  1297. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
  1298. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
  1299. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
  1300. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
  1301. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
  1302. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
  1303. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
  1304. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
  1305. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
  1306. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
  1307. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
  1308. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +21 -21
  1309. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
  1310. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
  1311. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
  1312. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
  1313. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_list.hpp +7 -7
  1314. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp +7 -7
  1315. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_tuple.hpp +7 -7
  1316. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
  1317. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
  1318. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
  1319. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
  1320. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
  1321. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
  1322. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
  1323. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
  1324. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
  1325. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
  1326. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
  1327. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
  1328. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
  1329. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
  1330. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
  1331. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
  1332. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
  1333. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
  1334. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
  1335. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
  1336. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
  1337. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
  1338. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
  1339. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
  1340. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
  1341. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/check_empty.hpp +19 -0
  1342. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/detail/is_empty.hpp +3 -3
  1343. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
  1344. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
  1345. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +28 -5
  1346. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
  1347. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
  1348. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
  1349. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
  1350. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/va_opt.hpp +34 -0
  1351. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities.hpp +2 -0
  1352. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
  1353. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
  1354. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
  1355. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
  1356. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
  1357. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
  1358. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
  1359. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
  1360. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
  1361. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
  1362. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
  1363. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
  1364. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
  1365. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
  1366. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
  1367. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
  1368. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
  1369. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
  1370. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
  1371. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
  1372. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
  1373. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
  1374. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
  1375. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
  1376. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
  1377. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
  1378. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
  1379. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
  1380. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
  1381. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
  1382. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
  1383. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
  1384. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
  1385. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
  1386. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
  1387. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
  1388. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
  1389. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
  1390. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
  1391. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
  1392. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
  1393. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
  1394. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
  1395. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
  1396. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
  1397. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
  1398. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
  1399. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
  1400. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
  1401. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
  1402. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
  1403. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
  1404. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
  1405. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
  1406. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
  1407. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
  1408. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
  1409. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
  1410. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
  1411. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
  1412. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
  1413. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
  1414. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
  1415. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
  1416. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
  1417. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
  1418. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
  1419. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
  1420. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
  1421. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
  1422. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
  1423. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
  1424. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
  1425. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
  1426. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +21 -88
  1427. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_tuple.hpp +14 -14
  1428. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
  1429. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
  1430. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
  1431. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
  1432. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
  1433. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
  1434. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
  1435. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
  1436. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
  1437. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
  1438. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
  1439. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
  1440. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
  1441. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
  1442. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
  1443. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
  1444. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
  1445. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +121 -7
  1446. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
  1447. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
  1448. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
  1449. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
  1450. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
  1451. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
  1452. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
  1453. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
  1454. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
  1455. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/is_empty.hpp +11 -11
  1456. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
  1457. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
  1458. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
  1459. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
  1460. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
  1461. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
  1462. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
  1463. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
  1464. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each.hpp +27 -27
  1465. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each_i.hpp +28 -28
  1466. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
  1467. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
  1468. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
  1469. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
  1470. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
  1471. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
  1472. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
  1473. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
  1474. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
  1475. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
  1476. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
  1477. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
  1478. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
  1479. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
  1480. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
  1481. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/replace.hpp +7 -7
  1482. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +16 -10
  1483. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
  1484. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
  1485. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
  1486. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +5 -5
  1487. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
  1488. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
  1489. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +2 -7
  1490. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
  1491. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
  1492. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
  1493. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
  1494. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
  1495. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
  1496. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
  1497. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
  1498. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
  1499. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +16 -21
  1500. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +16 -21
  1501. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +1 -6
  1502. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +1 -7
  1503. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +21 -43
  1504. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +16 -21
  1505. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +2 -7
  1506. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
  1507. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
  1508. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
  1509. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
  1510. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
  1511. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +39 -0
  1512. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +5 -5
  1513. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
  1514. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +28 -0
  1515. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
  1516. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
  1517. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
  1518. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
  1519. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
  1520. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
  1521. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
  1522. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
  1523. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
  1524. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
  1525. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
  1526. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic.hpp +1 -0
  1527. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
  1528. data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
  1529. data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
  1530. data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
  1531. data/src/cxx_supportlib/vendor-modified/boost/random/detail/integer_log2.hpp +1 -1
  1532. data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
  1533. data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
  1534. data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
  1535. data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
  1536. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
  1537. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
  1538. data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
  1539. data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
  1540. data/src/cxx_supportlib/vendor-modified/boost/random/discrete_distribution.hpp +4 -0
  1541. data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
  1542. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
  1543. data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
  1544. data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
  1545. data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
  1546. data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
  1547. data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
  1548. data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
  1549. data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
  1550. data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
  1551. data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
  1552. data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
  1553. data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
  1554. data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
  1555. data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
  1556. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
  1557. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
  1558. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
  1559. data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
  1560. data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
  1561. data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +0 -6
  1562. data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +4 -10
  1563. data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +1 -1
  1564. data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +1 -1
  1565. data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +4 -10
  1566. data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +0 -32
  1567. data/src/cxx_supportlib/vendor-modified/boost/range/rbegin.hpp +0 -13
  1568. data/src/cxx_supportlib/vendor-modified/boost/range/rend.hpp +0 -13
  1569. data/src/cxx_supportlib/vendor-modified/boost/range/size.hpp +1 -1
  1570. data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +40 -14
  1571. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +78 -73
  1572. data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +1 -1
  1573. data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +104 -111
  1574. data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -72
  1575. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -140
  1576. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
  1577. data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
  1578. data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
  1579. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +25 -15
  1580. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +47 -24
  1581. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +49 -28
  1582. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
  1583. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +111 -28
  1584. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
  1585. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
  1586. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/indexed_bit_flag.hpp +54 -0
  1587. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +18 -6
  1588. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +9 -9
  1589. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
  1590. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
  1591. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +127 -0
  1592. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +39 -20
  1593. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +17 -7
  1594. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +50 -52
  1595. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +12 -12
  1596. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
  1597. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
  1598. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
  1599. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +10 -3
  1600. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +2 -0
  1601. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
  1602. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +9 -7
  1603. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +1 -1
  1604. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +641 -25
  1605. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
  1606. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/sub_match.hpp +1 -1
  1607. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.hpp +1 -1
  1608. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +790 -0
  1609. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +524 -40
  1610. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
  1611. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1575 -0
  1612. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3117 -0
  1613. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
  1614. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
  1615. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
  1616. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
  1617. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
  1618. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
  1619. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/indexed_bit_flag.hpp +54 -0
  1620. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
  1621. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
  1622. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
  1623. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
  1624. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +175 -0
  1625. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
  1626. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +105 -0
  1627. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
  1628. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +915 -0
  1629. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1872 -0
  1630. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
  1631. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
  1632. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
  1633. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
  1634. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
  1635. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
  1636. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
  1637. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
  1638. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
  1639. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
  1640. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
  1641. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
  1642. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
  1643. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
  1644. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
  1645. data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
  1646. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
  1647. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
  1648. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
  1649. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
  1650. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
  1651. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
  1652. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +864 -0
  1653. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1176 -0
  1654. data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
  1655. data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
  1656. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +92 -388
  1657. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +5 -5
  1658. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +8 -4
  1659. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc.hpp +7 -0
  1660. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +63 -0
  1661. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +11 -0
  1662. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_nt.hpp +7 -0
  1663. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_pt.hpp +7 -0
  1664. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +7 -0
  1665. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +8 -1
  1666. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_sync.hpp +13 -2
  1667. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +6 -6
  1668. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +3 -3
  1669. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +87 -47
  1670. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +1 -1
  1671. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +12 -16
  1672. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +13 -3
  1673. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +10 -3
  1674. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +13 -3
  1675. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +148 -0
  1676. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +13 -3
  1677. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +13 -3
  1678. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +13 -3
  1679. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +13 -3
  1680. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +13 -3
  1681. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +25 -16
  1682. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +16 -8
  1683. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +14 -4
  1684. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +10 -3
  1685. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +25 -17
  1686. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +10 -3
  1687. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +13 -3
  1688. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +23 -26
  1689. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +27 -0
  1690. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +69 -0
  1691. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_obsolete.hpp +32 -0
  1692. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_pause.hpp +51 -0
  1693. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_sleep.hpp +104 -0
  1694. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_typeinfo_.hpp +58 -0
  1695. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +7 -9
  1696. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +7 -0
  1697. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +85 -0
  1698. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_nt.hpp +7 -0
  1699. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pt.hpp +7 -0
  1700. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +13 -5
  1701. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_sync.hpp +8 -1
  1702. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +14 -146
  1703. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +47 -1
  1704. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +22 -22
  1705. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +1 -1
  1706. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +1 -1
  1707. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +1 -1
  1708. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +3 -3
  1709. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +58 -23
  1710. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +79 -8
  1711. data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +3 -3
  1712. data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
  1713. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +18 -8
  1714. data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
  1715. data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
  1716. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +189 -0
  1717. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +108 -0
  1718. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +215 -0
  1719. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +163 -0
  1720. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
  1721. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
  1722. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{system_category_posix.hpp → is_generic_value.hpp} +7 -14
  1723. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
  1724. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +83 -0
  1725. data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
  1726. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{std_interoperability.hpp → to_std_category.hpp} +66 -16
  1727. data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +50 -0
  1728. data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
  1729. data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -909
  1730. data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
  1731. data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
  1732. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
  1733. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
  1734. data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
  1735. data/src/cxx_supportlib/vendor-modified/boost/system/system_error.hpp +1 -1
  1736. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_adaptor.hpp +1 -1
  1737. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_base.hpp +1 -1
  1738. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +9 -21
  1739. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +9 -21
  1740. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_adaptor.hpp +1 -1
  1741. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_base.hpp +1 -1
  1742. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_op_status.hpp +3 -1
  1743. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_bounded_queue.hpp +1 -1
  1744. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_deque.hpp +3 -3
  1745. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_priority_queue.hpp +4 -4
  1746. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_queue.hpp +3 -3
  1747. data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_timed_queue.hpp +80 -14
  1748. data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/queue.hpp +2 -1
  1749. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +12 -3
  1750. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +16 -17
  1751. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/platform_time.hpp +8 -8
  1752. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +30 -11
  1753. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +3 -0
  1754. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor.hpp +2 -0
  1755. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor_adaptor.hpp +2 -0
  1756. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/generic_executor_ref.hpp +2 -0
  1757. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/inline_executor.hpp +8 -0
  1758. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/loop_executor.hpp +4 -0
  1759. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduled_thread_pool.hpp +4 -0
  1760. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduler.hpp +2 -0
  1761. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduling_adaptor.hpp +3 -0
  1762. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor.hpp +4 -0
  1763. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor_cont.hpp +9 -2
  1764. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/thread_executor.hpp +6 -0
  1765. data/src/cxx_supportlib/vendor-modified/boost/thread/executors/work.hpp +3 -1
  1766. data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +6 -2
  1767. data/src/cxx_supportlib/vendor-modified/boost/thread/externally_locked.hpp +1 -0
  1768. data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +2 -1
  1769. data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_any.hpp +1 -0
  1770. data/src/cxx_supportlib/vendor-modified/boost/thread/interruption.hpp +22 -0
  1771. data/src/cxx_supportlib/vendor-modified/boost/thread/poly_lockable.hpp +7 -2
  1772. data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable.hpp +16 -12
  1773. data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable_adapter.hpp +3 -4
  1774. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable.hpp +18 -24
  1775. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +6 -13
  1776. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +11 -37
  1777. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +29 -28
  1778. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +1 -1
  1779. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_helpers.hpp +163 -18
  1780. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_mutex_scoped_lock.hpp +1 -69
  1781. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +19 -19
  1782. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/shared_mutex.hpp +1 -1
  1783. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +9 -6
  1784. data/src/cxx_supportlib/vendor-modified/boost/thread/tss.hpp +23 -41
  1785. data/src/cxx_supportlib/vendor-modified/boost/thread/user_scheduler.hpp +3 -0
  1786. data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +1 -1
  1787. data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +138 -61
  1788. data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +15 -11
  1789. data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +51 -0
  1790. data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +1 -1
  1791. data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +1 -1
  1792. data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +1 -1
  1793. data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_pointer.hpp +1 -1
  1794. data/src/cxx_supportlib/vendor-modified/boost/type_traits/aligned_storage.hpp +1 -1
  1795. data/src/cxx_supportlib/vendor-modified/boost/type_traits/alignment_of.hpp +3 -3
  1796. data/src/cxx_supportlib/vendor-modified/boost/type_traits/conjunction.hpp +40 -0
  1797. data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_cv_ref.hpp +31 -0
  1798. data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_reference.hpp +35 -0
  1799. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +25 -4
  1800. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_binary_operator.hpp +6 -6
  1801. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_postfix_operator.hpp +6 -6
  1802. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +6 -6
  1803. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_03.hpp +3 -3
  1804. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +276 -101
  1805. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +415 -255
  1806. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +2 -1
  1807. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +1345 -1542
  1808. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp +4 -4
  1809. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +288 -148
  1810. data/src/cxx_supportlib/vendor-modified/boost/type_traits/disjunction.hpp +40 -0
  1811. data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +2 -2
  1812. data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +6 -6
  1813. data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +6 -6
  1814. data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_copy.hpp +1 -1
  1815. data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_plus_assign.hpp +6 -6
  1816. data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +1 -1
  1817. data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_promotion.hpp +2 -2
  1818. data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +1 -1
  1819. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_array.hpp +2 -2
  1820. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_and_derived.hpp +2 -2
  1821. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_bounded_array.hpp +42 -0
  1822. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +1 -1
  1823. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_compound.hpp +1 -1
  1824. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_const.hpp +1 -1
  1825. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_constructible.hpp +1 -1
  1826. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +4 -4
  1827. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_default_constructible.hpp +1 -1
  1828. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_destructible.hpp +1 -1
  1829. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +4 -4
  1830. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_enum.hpp +4 -4
  1831. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_fundamental.hpp +1 -1
  1832. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +3 -3
  1833. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_lvalue_reference.hpp +1 -1
  1834. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_pointer.hpp +1 -1
  1835. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pointer.hpp +1 -1
  1836. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_same.hpp +1 -1
  1837. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_scoped_enum.hpp +26 -0
  1838. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_signed.hpp +2 -2
  1839. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +31 -0
  1840. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unbounded_array.hpp +41 -0
  1841. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unscoped_enum.hpp +25 -0
  1842. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unsigned.hpp +2 -2
  1843. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_virtual_base_of.hpp +2 -2
  1844. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.hpp +1 -1
  1845. data/src/cxx_supportlib/vendor-modified/boost/type_traits/negation.hpp +23 -0
  1846. data/src/cxx_supportlib/vendor-modified/boost/type_traits/rank.hpp +4 -4
  1847. data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_all_extents.hpp +1 -1
  1848. data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_const.hpp +1 -1
  1849. data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_cv.hpp +1 -1
  1850. data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_extent.hpp +1 -1
  1851. data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_volatile.hpp +1 -1
  1852. data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +3 -3
  1853. data/src/cxx_supportlib/vendor-modified/boost/typeof/int_encoding.hpp +1 -0
  1854. data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
  1855. data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
  1856. data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
  1857. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
  1858. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
  1859. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +4 -4
  1860. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +2 -1
  1861. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +8 -8
  1862. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +8 -8
  1863. data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_iterate.hpp +3 -3
  1864. data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +3 -42
  1865. data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +4 -43
  1866. data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +29 -67
  1867. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  1868. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
  1869. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +107 -5
  1870. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +2 -2
  1871. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
  1872. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
  1873. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +12 -1
  1874. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +13 -3
  1875. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
  1876. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
  1877. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
  1878. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
  1879. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
  1880. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +0 -0
  1881. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -1
  1882. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
  1883. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
  1884. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
  1885. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
  1886. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
  1887. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
  1888. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +6 -2
  1889. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
  1890. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
  1891. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
  1892. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
  1893. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
  1894. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
  1895. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
  1896. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
  1897. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
  1898. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +13 -1
  1899. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
  1900. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
  1901. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
  1902. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
  1903. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
  1904. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
  1905. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +6 -15
  1906. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
  1907. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +24 -24
  1908. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
  1909. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
  1910. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
  1911. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +1 -0
  1912. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +84 -19
  1913. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +3 -0
  1914. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
  1915. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +4 -0
  1916. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
  1917. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
  1918. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +10 -0
  1919. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
  1920. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
  1921. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +150 -147
  1922. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +4 -4
  1923. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
  1924. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
  1925. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
  1926. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
  1927. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
  1928. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
  1929. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
  1930. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
  1931. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +1 -1
  1932. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
  1933. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
  1934. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
  1935. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +47 -25
  1936. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
  1937. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
  1938. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
  1939. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +3 -3
  1940. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +14 -9
  1941. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
  1942. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +189 -189
  1943. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
  1944. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +59 -66
  1945. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +73 -38
  1946. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
  1947. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +9 -7
  1948. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +12 -22
  1949. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
  1950. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +1 -1
  1951. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
  1952. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +11 -11
  1953. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +1 -1
  1954. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
  1955. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +13 -13
  1956. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +3 -3
  1957. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
  1958. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +8 -8
  1959. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
  1960. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +1 -0
  1961. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
  1962. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +2 -4
  1963. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +3 -3
  1964. data/src/nginx_module/Configuration.c +3 -3
  1965. data/src/nginx_module/config +2 -0
  1966. data/src/nginx_module/ngx_http_passenger_module.c +2 -2
  1967. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +4 -1
  1968. data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
  1969. data/src/ruby_supportlib/phusion_passenger/common_library.rb +2 -0
  1970. data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
  1971. data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
  1972. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
  1973. data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -1
  1974. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +17 -9
  1975. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +1 -3
  1976. data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
  1977. data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
  1978. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +3 -0
  1979. data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
  1980. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
  1981. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +38 -27
  1982. data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
  1983. data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
  1984. data/src/ruby_supportlib/phusion_passenger.rb +7 -7
  1985. metadata +619 -189
  1986. data/src/cxx_supportlib/vendor-modified/boost/asio/datagram_socket_service.hpp +0 -468
  1987. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer_service.hpp +0 -175
  1988. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +0 -228
  1989. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detached.hpp +0 -67
  1990. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_spawn.hpp +0 -878
  1991. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/detached.hpp +0 -93
  1992. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental.hpp +0 -22
  1993. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_type.hpp +0 -52
  1994. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
  1995. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_service.hpp +0 -202
  1996. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor_service.hpp +0 -281
  1997. data/src/cxx_supportlib/vendor-modified/boost/asio/raw_socket_service.hpp +0 -468
  1998. data/src/cxx_supportlib/vendor-modified/boost/asio/seq_packet_socket_service.hpp +0 -418
  1999. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_service.hpp +0 -251
  2000. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_service.hpp +0 -144
  2001. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_acceptor_service.hpp +0 -374
  2002. data/src/cxx_supportlib/vendor-modified/boost/asio/stream_socket_service.hpp +0 -414
  2003. data/src/cxx_supportlib/vendor-modified/boost/asio/waitable_timer_service.hpp +0 -212
  2004. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_handle.hpp +0 -275
  2005. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle_service.hpp +0 -185
  2006. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle_service.hpp +0 -216
  2007. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle_service.hpp +0 -212
  2008. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag.hpp +0 -71
  2009. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_arm.hpp +0 -39
  2010. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_ppc.hpp +0 -37
  2011. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_x86.hpp +0 -40
  2012. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lockpool.hpp +0 -51
  2013. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp +0 -24
  2014. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_fwd.hpp +0 -35
  2015. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp +0 -30
  2016. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_emulated.hpp +0 -162
  2017. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp +0 -392
  2018. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86.hpp +0 -563
  2019. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_type.hpp +0 -207
  2020. data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -41
  2021. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/allocators.hpp +0 -89
  2022. data/src/cxx_supportlib/vendor-modified/boost/detail/endian.hpp +0 -11
  2023. data/src/cxx_supportlib/vendor-modified/boost/detail/iterator.hpp +0 -39
  2024. data/src/cxx_supportlib/vendor-modified/boost/detail/sp_typeinfo.hpp +0 -36
  2025. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
  2026. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
  2027. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -660
  2028. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
  2029. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
  2030. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
  2031. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
  2032. data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1040
  2033. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
  2034. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
  2035. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
  2036. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1678
  2037. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
  2038. data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -469
  2039. data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
  2040. data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
  2041. data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
  2042. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/overloads.hpp +0 -88
  2043. data/src/cxx_supportlib/vendor-modified/boost/predef/detail/endian_compat.h +0 -28
  2044. data/src/cxx_supportlib/vendor-modified/boost/predef/os/android.h +0 -45
  2045. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -452
  2046. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
  2047. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_solaris.hpp +0 -59
  2048. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_clang.hpp +0 -151
  2049. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +0 -161
  2050. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +0 -116
  2051. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync.hpp +0 -69
@@ -0,0 +1,2348 @@
1
+ //
2
+ // execution/any_executor.hpp
3
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~
4
+ //
5
+ // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
+ //
7
+ // Distributed under the Boost Software License, Version 1.0. (See accompanying
8
+ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
+ //
10
+
11
+ #ifndef BOOST_ASIO_EXECUTION_ANY_EXECUTOR_HPP
12
+ #define BOOST_ASIO_EXECUTION_ANY_EXECUTOR_HPP
13
+
14
+ #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
+ # pragma once
16
+ #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
+
18
+ #include <boost/asio/detail/config.hpp>
19
+ #include <new>
20
+ #include <typeinfo>
21
+ #include <boost/asio/detail/assert.hpp>
22
+ #include <boost/asio/detail/cstddef.hpp>
23
+ #include <boost/asio/detail/executor_function.hpp>
24
+ #include <boost/asio/detail/memory.hpp>
25
+ #include <boost/asio/detail/non_const_lvalue.hpp>
26
+ #include <boost/asio/detail/scoped_ptr.hpp>
27
+ #include <boost/asio/detail/type_traits.hpp>
28
+ #include <boost/asio/detail/throw_exception.hpp>
29
+ #include <boost/asio/detail/variadic_templates.hpp>
30
+ #include <boost/asio/execution/bad_executor.hpp>
31
+ #include <boost/asio/execution/blocking.hpp>
32
+ #include <boost/asio/execution/execute.hpp>
33
+ #include <boost/asio/execution/executor.hpp>
34
+ #include <boost/asio/prefer.hpp>
35
+ #include <boost/asio/query.hpp>
36
+ #include <boost/asio/require.hpp>
37
+
38
+ #include <boost/asio/detail/push_options.hpp>
39
+
40
+ namespace boost {
41
+ namespace asio {
42
+
43
+ #if defined(GENERATING_DOCUMENTATION)
44
+
45
+ namespace execution {
46
+
47
+ /// Polymorphic executor wrapper.
48
+ template <typename... SupportableProperties>
49
+ class any_executor
50
+ {
51
+ public:
52
+ /// Default constructor.
53
+ any_executor() noexcept;
54
+
55
+ /// Construct in an empty state. Equivalent effects to default constructor.
56
+ any_executor(nullptr_t) noexcept;
57
+
58
+ /// Copy constructor.
59
+ any_executor(const any_executor& e) noexcept;
60
+
61
+ /// Move constructor.
62
+ any_executor(any_executor&& e) noexcept;
63
+
64
+ /// Construct to point to the same target as another any_executor.
65
+ template <class... OtherSupportableProperties>
66
+ any_executor(any_executor<OtherSupportableProperties...> e);
67
+
68
+ /// Construct a polymorphic wrapper for the specified executor.
69
+ template <typename Executor>
70
+ any_executor(Executor e);
71
+
72
+ /// Assignment operator.
73
+ any_executor& operator=(const any_executor& e) noexcept;
74
+
75
+ /// Move assignment operator.
76
+ any_executor& operator=(any_executor&& e) noexcept;
77
+
78
+ /// Assignment operator that sets the polymorphic wrapper to the empty state.
79
+ any_executor& operator=(nullptr_t);
80
+
81
+ /// Assignment operator to create a polymorphic wrapper for the specified
82
+ /// executor.
83
+ template <typename Executor>
84
+ any_executor& operator=(Executor e);
85
+
86
+ /// Destructor.
87
+ ~any_executor();
88
+
89
+ /// Swap targets with another polymorphic wrapper.
90
+ void swap(any_executor& other) noexcept;
91
+
92
+ /// Obtain a polymorphic wrapper with the specified property.
93
+ /**
94
+ * Do not call this function directly. It is intended for use with the
95
+ * boost::asio::require and boost::asio::prefer customisation points.
96
+ *
97
+ * For example:
98
+ * @code execution::any_executor<execution::blocking_t::possibly_t> ex = ...;
99
+ * auto ex2 = boost::asio::requre(ex, execution::blocking.possibly); @endcode
100
+ */
101
+ template <typename Property>
102
+ any_executor require(Property) const;
103
+
104
+ /// Obtain a polymorphic wrapper with the specified property.
105
+ /**
106
+ * Do not call this function directly. It is intended for use with the
107
+ * boost::asio::prefer customisation point.
108
+ *
109
+ * For example:
110
+ * @code execution::any_executor<execution::blocking_t::possibly_t> ex = ...;
111
+ * auto ex2 = boost::asio::prefer(ex, execution::blocking.possibly); @endcode
112
+ */
113
+ template <typename Property>
114
+ any_executor prefer(Property) const;
115
+
116
+ /// Obtain the value associated with the specified property.
117
+ /**
118
+ * Do not call this function directly. It is intended for use with the
119
+ * boost::asio::query customisation point.
120
+ *
121
+ * For example:
122
+ * @code execution::any_executor<execution::occupancy_t> ex = ...;
123
+ * size_t n = boost::asio::query(ex, execution::occupancy); @endcode
124
+ */
125
+ template <typename Property>
126
+ typename Property::polymorphic_query_result_type query(Property) const;
127
+
128
+ /// Execute the function on the target executor.
129
+ /**
130
+ * Do not call this function directly. It is intended for use with the
131
+ * execution::execute customisation point.
132
+ *
133
+ * For example:
134
+ * @code execution::any_executor<> ex = ...;
135
+ * execution::execute(ex, my_function_object); @endcode
136
+ *
137
+ * Throws boost::asio::bad_executor if the polymorphic wrapper has no target.
138
+ */
139
+ template <typename Function>
140
+ void execute(Function&& f) const;
141
+
142
+ /// Obtain the underlying execution context.
143
+ /**
144
+ * This function is provided for backward compatibility. It is automatically
145
+ * defined when the @c SupportableProperties... list includes a property of
146
+ * type <tt>execution::context_as<U></tt>, for some type <tt>U</tt>.
147
+ */
148
+ automatically_determined context() const;
149
+
150
+ /// Determine whether the wrapper has a target executor.
151
+ /**
152
+ * @returns @c true if the polymorphic wrapper has a target executor,
153
+ * otherwise false.
154
+ */
155
+ explicit operator bool() const noexcept;
156
+
157
+ /// Get the type of the target executor.
158
+ const type_info& target_type() const noexcept;
159
+
160
+ /// Get a pointer to the target executor.
161
+ template <typename Executor> Executor* target() noexcept;
162
+
163
+ /// Get a pointer to the target executor.
164
+ template <typename Executor> const Executor* target() const noexcept;
165
+ };
166
+
167
+ /// Equality operator.
168
+ /**
169
+ * @relates any_executor
170
+ */
171
+ template <typename... SupportableProperties>
172
+ bool operator==(const any_executor<SupportableProperties...>& a,
173
+ const any_executor<SupportableProperties...>& b) noexcept;
174
+
175
+ /// Equality operator.
176
+ /**
177
+ * @relates any_executor
178
+ */
179
+ template <typename... SupportableProperties>
180
+ bool operator==(const any_executor<SupportableProperties...>& a,
181
+ nullptr_t) noexcept;
182
+
183
+ /// Equality operator.
184
+ /**
185
+ * @relates any_executor
186
+ */
187
+ template <typename... SupportableProperties>
188
+ bool operator==(nullptr_t,
189
+ const any_executor<SupportableProperties...>& b) noexcept;
190
+
191
+ /// Inequality operator.
192
+ /**
193
+ * @relates any_executor
194
+ */
195
+ template <typename... SupportableProperties>
196
+ bool operator!=(const any_executor<SupportableProperties...>& a,
197
+ const any_executor<SupportableProperties...>& b) noexcept;
198
+
199
+ /// Inequality operator.
200
+ /**
201
+ * @relates any_executor
202
+ */
203
+ template <typename... SupportableProperties>
204
+ bool operator!=(const any_executor<SupportableProperties...>& a,
205
+ nullptr_t) noexcept;
206
+
207
+ /// Inequality operator.
208
+ /**
209
+ * @relates any_executor
210
+ */
211
+ template <typename... SupportableProperties>
212
+ bool operator!=(nullptr_t,
213
+ const any_executor<SupportableProperties...>& b) noexcept;
214
+
215
+ } // namespace execution
216
+
217
+ #else // defined(GENERATING_DOCUMENTATION)
218
+
219
+ namespace execution {
220
+
221
+ #if !defined(BOOST_ASIO_EXECUTION_ANY_EXECUTOR_FWD_DECL)
222
+ #define BOOST_ASIO_EXECUTION_ANY_EXECUTOR_FWD_DECL
223
+
224
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
225
+
226
+ template <typename... SupportableProperties>
227
+ class any_executor;
228
+
229
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
230
+
231
+ template <typename = void, typename = void, typename = void,
232
+ typename = void, typename = void, typename = void,
233
+ typename = void, typename = void, typename = void>
234
+ class any_executor;
235
+
236
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
237
+
238
+ #endif // !defined(BOOST_ASIO_EXECUTION_ANY_EXECUTOR_FWD_DECL)
239
+
240
+ template <typename U>
241
+ struct context_as_t;
242
+
243
+ namespace detail {
244
+
245
+ // Traits used to detect whether a property is requirable or preferable, taking
246
+ // into account that T::is_requirable or T::is_preferable may not not be well
247
+ // formed.
248
+
249
+ template <typename T, typename = void>
250
+ struct is_requirable : false_type {};
251
+
252
+ template <typename T>
253
+ struct is_requirable<T, typename enable_if<T::is_requirable>::type> :
254
+ true_type {};
255
+
256
+ template <typename T, typename = void>
257
+ struct is_preferable : false_type {};
258
+
259
+ template <typename T>
260
+ struct is_preferable<T, typename enable_if<T::is_preferable>::type> :
261
+ true_type {};
262
+
263
+ // Trait used to detect context_as property, for backward compatibility.
264
+
265
+ template <typename T>
266
+ struct is_context_as : false_type {};
267
+
268
+ template <typename U>
269
+ struct is_context_as<context_as_t<U> > : true_type {};
270
+
271
+ // Helper template to:
272
+ // - Check if a target can supply the supportable properties.
273
+ // - Find the first convertible-from-T property in the list.
274
+
275
+ template <std::size_t I, typename Props>
276
+ struct supportable_properties;
277
+
278
+ template <std::size_t I, typename Prop>
279
+ struct supportable_properties<I, void(Prop)>
280
+ {
281
+ template <typename T>
282
+ struct is_valid_target : integral_constant<bool,
283
+ (
284
+ is_requirable<Prop>::value
285
+ ? can_require<T, Prop>::value
286
+ : true
287
+ )
288
+ &&
289
+ (
290
+ is_preferable<Prop>::value
291
+ ? can_prefer<T, Prop>::value
292
+ : true
293
+ )
294
+ &&
295
+ (
296
+ !is_requirable<Prop>::value && !is_preferable<Prop>::value
297
+ ? can_query<T, Prop>::value
298
+ : true
299
+ )
300
+ >
301
+ {
302
+ };
303
+
304
+ struct found
305
+ {
306
+ BOOST_ASIO_STATIC_CONSTEXPR(bool, value = true);
307
+ typedef Prop type;
308
+ typedef typename Prop::polymorphic_query_result_type query_result_type;
309
+ BOOST_ASIO_STATIC_CONSTEXPR(std::size_t, index = I);
310
+ };
311
+
312
+ struct not_found
313
+ {
314
+ BOOST_ASIO_STATIC_CONSTEXPR(bool, value = false);
315
+ };
316
+
317
+ template <typename T>
318
+ struct find_convertible_property :
319
+ conditional<
320
+ is_same<T, Prop>::value || is_convertible<T, Prop>::value,
321
+ found,
322
+ not_found
323
+ >::type {};
324
+
325
+ template <typename T>
326
+ struct find_convertible_requirable_property :
327
+ conditional<
328
+ is_requirable<Prop>::value
329
+ && (is_same<T, Prop>::value || is_convertible<T, Prop>::value),
330
+ found,
331
+ not_found
332
+ >::type {};
333
+
334
+ template <typename T>
335
+ struct find_convertible_preferable_property :
336
+ conditional<
337
+ is_preferable<Prop>::value
338
+ && (is_same<T, Prop>::value || is_convertible<T, Prop>::value),
339
+ found,
340
+ not_found
341
+ >::type {};
342
+
343
+ struct find_context_as_property :
344
+ conditional<
345
+ is_context_as<Prop>::value,
346
+ found,
347
+ not_found
348
+ >::type {};
349
+ };
350
+
351
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
352
+
353
+ template <std::size_t I, typename Head, typename... Tail>
354
+ struct supportable_properties<I, void(Head, Tail...)>
355
+ {
356
+ template <typename T>
357
+ struct is_valid_target : integral_constant<bool,
358
+ (
359
+ supportable_properties<I,
360
+ void(Head)>::template is_valid_target<T>::value
361
+ &&
362
+ supportable_properties<I + 1,
363
+ void(Tail...)>::template is_valid_target<T>::value
364
+ )
365
+ >
366
+ {
367
+ };
368
+
369
+ template <typename T>
370
+ struct find_convertible_property :
371
+ conditional<
372
+ is_convertible<T, Head>::value,
373
+ typename supportable_properties<I, void(Head)>::found,
374
+ typename supportable_properties<I + 1,
375
+ void(Tail...)>::template find_convertible_property<T>
376
+ >::type {};
377
+
378
+ template <typename T>
379
+ struct find_convertible_requirable_property :
380
+ conditional<
381
+ is_requirable<Head>::value
382
+ && is_convertible<T, Head>::value,
383
+ typename supportable_properties<I, void(Head)>::found,
384
+ typename supportable_properties<I + 1,
385
+ void(Tail...)>::template find_convertible_requirable_property<T>
386
+ >::type {};
387
+
388
+ template <typename T>
389
+ struct find_convertible_preferable_property :
390
+ conditional<
391
+ is_preferable<Head>::value
392
+ && is_convertible<T, Head>::value,
393
+ typename supportable_properties<I, void(Head)>::found,
394
+ typename supportable_properties<I + 1,
395
+ void(Tail...)>::template find_convertible_preferable_property<T>
396
+ >::type {};
397
+
398
+ struct find_context_as_property :
399
+ conditional<
400
+ is_context_as<Head>::value,
401
+ typename supportable_properties<I, void(Head)>::found,
402
+ typename supportable_properties<I + 1,
403
+ void(Tail...)>::find_context_as_property
404
+ >::type {};
405
+ };
406
+
407
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
408
+
409
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROPS_BASE_DEF(n) \
410
+ template <std::size_t I, \
411
+ typename Head, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
412
+ struct supportable_properties<I, \
413
+ void(Head, BOOST_ASIO_VARIADIC_TARGS(n))> \
414
+ { \
415
+ template <typename T> \
416
+ struct is_valid_target : integral_constant<bool, \
417
+ ( \
418
+ supportable_properties<I, \
419
+ void(Head)>::template is_valid_target<T>::value \
420
+ && \
421
+ supportable_properties<I + 1, \
422
+ void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
423
+ is_valid_target<T>::value \
424
+ ) \
425
+ > \
426
+ { \
427
+ }; \
428
+ \
429
+ template <typename T> \
430
+ struct find_convertible_property : \
431
+ conditional< \
432
+ is_convertible<T, Head>::value, \
433
+ typename supportable_properties<I, void(Head)>::found, \
434
+ typename supportable_properties<I + 1, \
435
+ void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
436
+ find_convertible_property<T> \
437
+ >::type {}; \
438
+ \
439
+ template <typename T> \
440
+ struct find_convertible_requirable_property : \
441
+ conditional< \
442
+ is_requirable<Head>::value \
443
+ && is_convertible<T, Head>::value, \
444
+ typename supportable_properties<I, void(Head)>::found, \
445
+ typename supportable_properties<I + 1, \
446
+ void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
447
+ find_convertible_requirable_property<T> \
448
+ >::type {}; \
449
+ \
450
+ template <typename T> \
451
+ struct find_convertible_preferable_property : \
452
+ conditional< \
453
+ is_preferable<Head>::value \
454
+ && is_convertible<T, Head>::value, \
455
+ typename supportable_properties<I, void(Head)>::found, \
456
+ typename supportable_properties<I + 1, \
457
+ void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
458
+ find_convertible_preferable_property<T> \
459
+ >::type {}; \
460
+ \
461
+ struct find_context_as_property : \
462
+ conditional< \
463
+ is_context_as<Head>::value, \
464
+ typename supportable_properties<I, void(Head)>::found, \
465
+ typename supportable_properties<I + 1, void( \
466
+ BOOST_ASIO_VARIADIC_TARGS(n))>::find_context_as_property \
467
+ >::type {}; \
468
+ }; \
469
+ /**/
470
+ BOOST_ASIO_VARIADIC_GENERATE(BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROPS_BASE_DEF)
471
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROPS_BASE_DEF
472
+
473
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
474
+
475
+ template <typename T, typename Props>
476
+ struct is_valid_target_executor :
477
+ conditional<
478
+ is_executor<T>::value,
479
+ typename supportable_properties<0, Props>::template is_valid_target<T>,
480
+ false_type
481
+ >::type
482
+ {
483
+ };
484
+
485
+ class any_executor_base
486
+ {
487
+ public:
488
+ any_executor_base() BOOST_ASIO_NOEXCEPT
489
+ : object_fns_(object_fns_table<void>()),
490
+ target_(0),
491
+ target_fns_(target_fns_table<void>())
492
+ {
493
+ }
494
+
495
+ template <BOOST_ASIO_EXECUTION_EXECUTOR Executor>
496
+ any_executor_base(Executor ex, false_type)
497
+ : target_fns_(target_fns_table<Executor>(
498
+ any_executor_base::query_blocking(ex,
499
+ can_query<const Executor&, const execution::blocking_t&>())
500
+ == execution::blocking.always))
501
+ {
502
+ any_executor_base::construct_object(ex,
503
+ integral_constant<bool,
504
+ sizeof(Executor) <= sizeof(object_type)
505
+ && alignment_of<Executor>::value <= alignment_of<object_type>::value
506
+ >());
507
+ }
508
+
509
+ template <BOOST_ASIO_EXECUTION_EXECUTOR Executor>
510
+ any_executor_base(Executor other, true_type)
511
+ : object_fns_(object_fns_table<boost::asio::detail::shared_ptr<void> >()),
512
+ target_fns_(other.target_fns_)
513
+ {
514
+ boost::asio::detail::shared_ptr<Executor> p =
515
+ boost::asio::detail::make_shared<Executor>(
516
+ BOOST_ASIO_MOVE_CAST(Executor)(other));
517
+ target_ = p->template target<void>();
518
+ new (&object_) boost::asio::detail::shared_ptr<void>(
519
+ BOOST_ASIO_MOVE_CAST(boost::asio::detail::shared_ptr<Executor>)(p));
520
+ }
521
+
522
+ any_executor_base(const any_executor_base& other) BOOST_ASIO_NOEXCEPT
523
+ : object_fns_(other.object_fns_),
524
+ target_fns_(other.target_fns_)
525
+ {
526
+ object_fns_->copy(*this, other);
527
+ }
528
+
529
+ ~any_executor_base() BOOST_ASIO_NOEXCEPT
530
+ {
531
+ object_fns_->destroy(*this);
532
+ }
533
+
534
+ any_executor_base& operator=(
535
+ const any_executor_base& other) BOOST_ASIO_NOEXCEPT
536
+ {
537
+ if (this != &other)
538
+ {
539
+ object_fns_->destroy(*this);
540
+ object_fns_ = other.object_fns_;
541
+ target_fns_ = other.target_fns_;
542
+ object_fns_->copy(*this, other);
543
+ }
544
+ return *this;
545
+ }
546
+
547
+ any_executor_base& operator=(nullptr_t) BOOST_ASIO_NOEXCEPT
548
+ {
549
+ object_fns_->destroy(*this);
550
+ target_ = 0;
551
+ object_fns_ = object_fns_table<void>();
552
+ target_fns_ = target_fns_table<void>();
553
+ return *this;
554
+ }
555
+
556
+ #if defined(BOOST_ASIO_HAS_MOVE)
557
+
558
+ any_executor_base(any_executor_base&& other) BOOST_ASIO_NOEXCEPT
559
+ : object_fns_(other.object_fns_),
560
+ target_fns_(other.target_fns_)
561
+ {
562
+ other.object_fns_ = object_fns_table<void>();
563
+ other.target_fns_ = target_fns_table<void>();
564
+ object_fns_->move(*this, other);
565
+ other.target_ = 0;
566
+ }
567
+
568
+ any_executor_base& operator=(
569
+ any_executor_base&& other) BOOST_ASIO_NOEXCEPT
570
+ {
571
+ if (this != &other)
572
+ {
573
+ object_fns_->destroy(*this);
574
+ object_fns_ = other.object_fns_;
575
+ other.object_fns_ = object_fns_table<void>();
576
+ target_fns_ = other.target_fns_;
577
+ other.target_fns_ = target_fns_table<void>();
578
+ object_fns_->move(*this, other);
579
+ other.target_ = 0;
580
+ }
581
+ return *this;
582
+ }
583
+
584
+ #endif // defined(BOOST_ASIO_HAS_MOVE)
585
+
586
+ void swap(any_executor_base& other) BOOST_ASIO_NOEXCEPT
587
+ {
588
+ if (this != &other)
589
+ {
590
+ any_executor_base tmp(BOOST_ASIO_MOVE_CAST(any_executor_base)(other));
591
+ other = BOOST_ASIO_MOVE_CAST(any_executor_base)(*this);
592
+ *this = BOOST_ASIO_MOVE_CAST(any_executor_base)(tmp);
593
+ }
594
+ }
595
+
596
+ template <typename F>
597
+ void execute(BOOST_ASIO_MOVE_ARG(F) f) const
598
+ {
599
+ if (target_fns_->blocking_execute != 0)
600
+ {
601
+ boost::asio::detail::non_const_lvalue<F> f2(f);
602
+ target_fns_->blocking_execute(*this, function_view(f2.value));
603
+ }
604
+ else
605
+ {
606
+ target_fns_->execute(*this,
607
+ function(BOOST_ASIO_MOVE_CAST(F)(f), std::allocator<void>()));
608
+ }
609
+ }
610
+
611
+ template <typename Executor>
612
+ Executor* target()
613
+ {
614
+ return static_cast<Executor*>(target_);
615
+ }
616
+
617
+ template <typename Executor>
618
+ const Executor* target() const
619
+ {
620
+ return static_cast<Executor*>(target_);
621
+ }
622
+
623
+ #if !defined(BOOST_ASIO_NO_TYPEID)
624
+ const std::type_info& target_type() const
625
+ #else // !defined(BOOST_ASIO_NO_TYPEID)
626
+ const void* target_type() const
627
+ #endif // !defined(BOOST_ASIO_NO_TYPEID)
628
+ {
629
+ return target_fns_->target_type();
630
+ }
631
+
632
+ struct unspecified_bool_type_t {};
633
+ typedef void (*unspecified_bool_type)(unspecified_bool_type_t);
634
+ static void unspecified_bool_true(unspecified_bool_type_t) {}
635
+
636
+ operator unspecified_bool_type() const BOOST_ASIO_NOEXCEPT
637
+ {
638
+ return target_ ? &any_executor_base::unspecified_bool_true : 0;
639
+ }
640
+
641
+ bool operator!() const BOOST_ASIO_NOEXCEPT
642
+ {
643
+ return target_ == 0;
644
+ }
645
+
646
+ protected:
647
+ bool equality_helper(const any_executor_base& other) const BOOST_ASIO_NOEXCEPT
648
+ {
649
+ if (target_ == other.target_)
650
+ return true;
651
+ if (target_ && !other.target_)
652
+ return false;
653
+ if (!target_ && other.target_)
654
+ return false;
655
+ if (target_fns_ != other.target_fns_)
656
+ return false;
657
+ return target_fns_->equal(*this, other);
658
+ }
659
+
660
+ template <typename Ex>
661
+ Ex& object()
662
+ {
663
+ return *static_cast<Ex*>(static_cast<void*>(&object_));
664
+ }
665
+
666
+ template <typename Ex>
667
+ const Ex& object() const
668
+ {
669
+ return *static_cast<const Ex*>(static_cast<const void*>(&object_));
670
+ }
671
+
672
+ struct object_fns
673
+ {
674
+ void (*destroy)(any_executor_base&);
675
+ void (*copy)(any_executor_base&, const any_executor_base&);
676
+ void (*move)(any_executor_base&, any_executor_base&);
677
+ const void* (*target)(const any_executor_base&);
678
+ };
679
+
680
+ static void destroy_void(any_executor_base&)
681
+ {
682
+ }
683
+
684
+ static void copy_void(any_executor_base& ex1, const any_executor_base&)
685
+ {
686
+ ex1.target_ = 0;
687
+ }
688
+
689
+ static void move_void(any_executor_base& ex1, any_executor_base&)
690
+ {
691
+ ex1.target_ = 0;
692
+ }
693
+
694
+ static const void* target_void(const any_executor_base&)
695
+ {
696
+ return 0;
697
+ }
698
+
699
+ template <typename Obj>
700
+ static const object_fns* object_fns_table(
701
+ typename enable_if<
702
+ is_same<Obj, void>::value
703
+ >::type* = 0)
704
+ {
705
+ static const object_fns fns =
706
+ {
707
+ &any_executor_base::destroy_void,
708
+ &any_executor_base::copy_void,
709
+ &any_executor_base::move_void,
710
+ &any_executor_base::target_void
711
+ };
712
+ return &fns;
713
+ }
714
+
715
+ static void destroy_shared(any_executor_base& ex)
716
+ {
717
+ typedef boost::asio::detail::shared_ptr<void> type;
718
+ ex.object<type>().~type();
719
+ }
720
+
721
+ static void copy_shared(any_executor_base& ex1, const any_executor_base& ex2)
722
+ {
723
+ typedef boost::asio::detail::shared_ptr<void> type;
724
+ new (&ex1.object_) type(ex2.object<type>());
725
+ ex1.target_ = ex2.target_;
726
+ }
727
+
728
+ static void move_shared(any_executor_base& ex1, any_executor_base& ex2)
729
+ {
730
+ typedef boost::asio::detail::shared_ptr<void> type;
731
+ new (&ex1.object_) type(BOOST_ASIO_MOVE_CAST(type)(ex2.object<type>()));
732
+ ex1.target_ = ex2.target_;
733
+ ex2.object<type>().~type();
734
+ }
735
+
736
+ static const void* target_shared(const any_executor_base& ex)
737
+ {
738
+ typedef boost::asio::detail::shared_ptr<void> type;
739
+ return ex.object<type>().get();
740
+ }
741
+
742
+ template <typename Obj>
743
+ static const object_fns* object_fns_table(
744
+ typename enable_if<
745
+ is_same<Obj, boost::asio::detail::shared_ptr<void> >::value
746
+ >::type* = 0)
747
+ {
748
+ static const object_fns fns =
749
+ {
750
+ &any_executor_base::destroy_shared,
751
+ &any_executor_base::copy_shared,
752
+ &any_executor_base::move_shared,
753
+ &any_executor_base::target_shared
754
+ };
755
+ return &fns;
756
+ }
757
+
758
+ template <typename Obj>
759
+ static void destroy_object(any_executor_base& ex)
760
+ {
761
+ ex.object<Obj>().~Obj();
762
+ }
763
+
764
+ template <typename Obj>
765
+ static void copy_object(any_executor_base& ex1, const any_executor_base& ex2)
766
+ {
767
+ new (&ex1.object_) Obj(ex2.object<Obj>());
768
+ ex1.target_ = &ex1.object<Obj>();
769
+ }
770
+
771
+ template <typename Obj>
772
+ static void move_object(any_executor_base& ex1, any_executor_base& ex2)
773
+ {
774
+ new (&ex1.object_) Obj(BOOST_ASIO_MOVE_CAST(Obj)(ex2.object<Obj>()));
775
+ ex1.target_ = &ex1.object<Obj>();
776
+ ex2.object<Obj>().~Obj();
777
+ }
778
+
779
+ template <typename Obj>
780
+ static const void* target_object(const any_executor_base& ex)
781
+ {
782
+ return &ex.object<Obj>();
783
+ }
784
+
785
+ template <typename Obj>
786
+ static const object_fns* object_fns_table(
787
+ typename enable_if<
788
+ !is_same<Obj, void>::value
789
+ && !is_same<Obj, boost::asio::detail::shared_ptr<void> >::value
790
+ >::type* = 0)
791
+ {
792
+ static const object_fns fns =
793
+ {
794
+ &any_executor_base::destroy_object<Obj>,
795
+ &any_executor_base::copy_object<Obj>,
796
+ &any_executor_base::move_object<Obj>,
797
+ &any_executor_base::target_object<Obj>
798
+ };
799
+ return &fns;
800
+ }
801
+
802
+ typedef boost::asio::detail::executor_function function;
803
+ typedef boost::asio::detail::executor_function_view function_view;
804
+
805
+ struct target_fns
806
+ {
807
+ #if !defined(BOOST_ASIO_NO_TYPEID)
808
+ const std::type_info& (*target_type)();
809
+ #else // !defined(BOOST_ASIO_NO_TYPEID)
810
+ const void* (*target_type)();
811
+ #endif // !defined(BOOST_ASIO_NO_TYPEID)
812
+ bool (*equal)(const any_executor_base&, const any_executor_base&);
813
+ void (*execute)(const any_executor_base&, BOOST_ASIO_MOVE_ARG(function));
814
+ void (*blocking_execute)(const any_executor_base&, function_view);
815
+ };
816
+
817
+ #if !defined(BOOST_ASIO_NO_TYPEID)
818
+ static const std::type_info& target_type_void()
819
+ {
820
+ return typeid(void);
821
+ }
822
+ #else // !defined(BOOST_ASIO_NO_TYPEID)
823
+ static const void* target_type_void()
824
+ {
825
+ return 0;
826
+ }
827
+ #endif // !defined(BOOST_ASIO_NO_TYPEID)
828
+
829
+ static bool equal_void(const any_executor_base&, const any_executor_base&)
830
+ {
831
+ return true;
832
+ }
833
+
834
+ static void execute_void(const any_executor_base&,
835
+ BOOST_ASIO_MOVE_ARG(function))
836
+ {
837
+ bad_executor ex;
838
+ boost::asio::detail::throw_exception(ex);
839
+ }
840
+
841
+ static void blocking_execute_void(const any_executor_base&, function_view)
842
+ {
843
+ bad_executor ex;
844
+ boost::asio::detail::throw_exception(ex);
845
+ }
846
+
847
+ template <typename Ex>
848
+ static const target_fns* target_fns_table(
849
+ typename enable_if<
850
+ is_same<Ex, void>::value
851
+ >::type* = 0)
852
+ {
853
+ static const target_fns fns =
854
+ {
855
+ &any_executor_base::target_type_void,
856
+ &any_executor_base::equal_void,
857
+ &any_executor_base::execute_void,
858
+ &any_executor_base::blocking_execute_void
859
+ };
860
+ return &fns;
861
+ }
862
+
863
+ #if !defined(BOOST_ASIO_NO_TYPEID)
864
+ template <typename Ex>
865
+ static const std::type_info& target_type_ex()
866
+ {
867
+ return typeid(Ex);
868
+ }
869
+ #else // !defined(BOOST_ASIO_NO_TYPEID)
870
+ template <typename Ex>
871
+ static const void* target_type_ex()
872
+ {
873
+ static int unique_id;
874
+ return &unique_id;
875
+ }
876
+ #endif // !defined(BOOST_ASIO_NO_TYPEID)
877
+
878
+ template <typename Ex>
879
+ static bool equal_ex(const any_executor_base& ex1,
880
+ const any_executor_base& ex2)
881
+ {
882
+ return *ex1.target<Ex>() == *ex2.target<Ex>();
883
+ }
884
+
885
+ template <typename Ex>
886
+ static void execute_ex(const any_executor_base& ex,
887
+ BOOST_ASIO_MOVE_ARG(function) f)
888
+ {
889
+ execution::execute(*ex.target<Ex>(), BOOST_ASIO_MOVE_CAST(function)(f));
890
+ }
891
+
892
+ template <typename Ex>
893
+ static void blocking_execute_ex(const any_executor_base& ex, function_view f)
894
+ {
895
+ execution::execute(*ex.target<Ex>(), f);
896
+ }
897
+
898
+ template <typename Ex>
899
+ static const target_fns* target_fns_table(bool is_always_blocking,
900
+ typename enable_if<
901
+ !is_same<Ex, void>::value
902
+ >::type* = 0)
903
+ {
904
+ static const target_fns fns_with_execute =
905
+ {
906
+ &any_executor_base::target_type_ex<Ex>,
907
+ &any_executor_base::equal_ex<Ex>,
908
+ &any_executor_base::execute_ex<Ex>,
909
+ 0
910
+ };
911
+
912
+ static const target_fns fns_with_blocking_execute =
913
+ {
914
+ &any_executor_base::target_type_ex<Ex>,
915
+ &any_executor_base::equal_ex<Ex>,
916
+ 0,
917
+ &any_executor_base::blocking_execute_ex<Ex>
918
+ };
919
+
920
+ return is_always_blocking ? &fns_with_blocking_execute : &fns_with_execute;
921
+ }
922
+
923
+ #if defined(BOOST_ASIO_MSVC)
924
+ # pragma warning (push)
925
+ # pragma warning (disable:4702)
926
+ #endif // defined(BOOST_ASIO_MSVC)
927
+
928
+ static void query_fn_void(void*, const void*, const void*)
929
+ {
930
+ bad_executor ex;
931
+ boost::asio::detail::throw_exception(ex);
932
+ }
933
+
934
+ template <typename Ex, class Prop>
935
+ static void query_fn_non_void(void*, const void* ex, const void* prop,
936
+ typename enable_if<
937
+ boost::asio::can_query<const Ex&, const Prop&>::value
938
+ && is_same<typename Prop::polymorphic_query_result_type, void>::value
939
+ >::type*)
940
+ {
941
+ boost::asio::query(*static_cast<const Ex*>(ex),
942
+ *static_cast<const Prop*>(prop));
943
+ }
944
+
945
+ template <typename Ex, class Prop>
946
+ static void query_fn_non_void(void*, const void*, const void*,
947
+ typename enable_if<
948
+ !boost::asio::can_query<const Ex&, const Prop&>::value
949
+ && is_same<typename Prop::polymorphic_query_result_type, void>::value
950
+ >::type*)
951
+ {
952
+ }
953
+
954
+ template <typename Ex, class Prop>
955
+ static void query_fn_non_void(void* result, const void* ex, const void* prop,
956
+ typename enable_if<
957
+ boost::asio::can_query<const Ex&, const Prop&>::value
958
+ && !is_same<typename Prop::polymorphic_query_result_type, void>::value
959
+ && is_reference<typename Prop::polymorphic_query_result_type>::value
960
+ >::type*)
961
+ {
962
+ *static_cast<typename remove_reference<
963
+ typename Prop::polymorphic_query_result_type>::type**>(result)
964
+ = &static_cast<typename Prop::polymorphic_query_result_type>(
965
+ boost::asio::query(*static_cast<const Ex*>(ex),
966
+ *static_cast<const Prop*>(prop)));
967
+ }
968
+
969
+ template <typename Ex, class Prop>
970
+ static void query_fn_non_void(void*, const void*, const void*,
971
+ typename enable_if<
972
+ !boost::asio::can_query<const Ex&, const Prop&>::value
973
+ && !is_same<typename Prop::polymorphic_query_result_type, void>::value
974
+ && is_reference<typename Prop::polymorphic_query_result_type>::value
975
+ >::type*)
976
+ {
977
+ std::terminate(); // Combination should not be possible.
978
+ }
979
+
980
+ template <typename Ex, class Prop>
981
+ static void query_fn_non_void(void* result, const void* ex, const void* prop,
982
+ typename enable_if<
983
+ boost::asio::can_query<const Ex&, const Prop&>::value
984
+ && !is_same<typename Prop::polymorphic_query_result_type, void>::value
985
+ && is_scalar<typename Prop::polymorphic_query_result_type>::value
986
+ >::type*)
987
+ {
988
+ *static_cast<typename Prop::polymorphic_query_result_type*>(result)
989
+ = static_cast<typename Prop::polymorphic_query_result_type>(
990
+ boost::asio::query(*static_cast<const Ex*>(ex),
991
+ *static_cast<const Prop*>(prop)));
992
+ }
993
+
994
+ template <typename Ex, class Prop>
995
+ static void query_fn_non_void(void* result, const void*, const void*,
996
+ typename enable_if<
997
+ !boost::asio::can_query<const Ex&, const Prop&>::value
998
+ && !is_same<typename Prop::polymorphic_query_result_type, void>::value
999
+ && is_scalar<typename Prop::polymorphic_query_result_type>::value
1000
+ >::type*)
1001
+ {
1002
+ *static_cast<typename Prop::polymorphic_query_result_type*>(result)
1003
+ = typename Prop::polymorphic_query_result_type();
1004
+ }
1005
+
1006
+ template <typename Ex, class Prop>
1007
+ static void query_fn_non_void(void* result, const void* ex, const void* prop,
1008
+ typename enable_if<
1009
+ boost::asio::can_query<const Ex&, const Prop&>::value
1010
+ && !is_same<typename Prop::polymorphic_query_result_type, void>::value
1011
+ && !is_reference<typename Prop::polymorphic_query_result_type>::value
1012
+ && !is_scalar<typename Prop::polymorphic_query_result_type>::value
1013
+ >::type*)
1014
+ {
1015
+ *static_cast<typename Prop::polymorphic_query_result_type**>(result)
1016
+ = new typename Prop::polymorphic_query_result_type(
1017
+ boost::asio::query(*static_cast<const Ex*>(ex),
1018
+ *static_cast<const Prop*>(prop)));
1019
+ }
1020
+
1021
+ template <typename Ex, class Prop>
1022
+ static void query_fn_non_void(void* result, const void*, const void*, ...)
1023
+ {
1024
+ *static_cast<typename Prop::polymorphic_query_result_type**>(result)
1025
+ = new typename Prop::polymorphic_query_result_type();
1026
+ }
1027
+
1028
+ template <typename Ex, class Prop>
1029
+ static void query_fn_impl(void* result, const void* ex, const void* prop,
1030
+ typename enable_if<
1031
+ is_same<Ex, void>::value
1032
+ >::type*)
1033
+ {
1034
+ query_fn_void(result, ex, prop);
1035
+ }
1036
+
1037
+ template <typename Ex, class Prop>
1038
+ static void query_fn_impl(void* result, const void* ex, const void* prop,
1039
+ typename enable_if<
1040
+ !is_same<Ex, void>::value
1041
+ >::type*)
1042
+ {
1043
+ query_fn_non_void<Ex, Prop>(result, ex, prop, 0);
1044
+ }
1045
+
1046
+ template <typename Ex, class Prop>
1047
+ static void query_fn(void* result, const void* ex, const void* prop)
1048
+ {
1049
+ query_fn_impl<Ex, Prop>(result, ex, prop, 0);
1050
+ }
1051
+
1052
+ template <typename Poly, typename Ex, class Prop>
1053
+ static Poly require_fn_impl(const void*, const void*,
1054
+ typename enable_if<
1055
+ is_same<Ex, void>::value
1056
+ >::type*)
1057
+ {
1058
+ bad_executor ex;
1059
+ boost::asio::detail::throw_exception(ex);
1060
+ return Poly();
1061
+ }
1062
+
1063
+ template <typename Poly, typename Ex, class Prop>
1064
+ static Poly require_fn_impl(const void* ex, const void* prop,
1065
+ typename enable_if<
1066
+ !is_same<Ex, void>::value && Prop::is_requirable
1067
+ >::type*)
1068
+ {
1069
+ return boost::asio::require(*static_cast<const Ex*>(ex),
1070
+ *static_cast<const Prop*>(prop));
1071
+ }
1072
+
1073
+ template <typename Poly, typename Ex, class Prop>
1074
+ static Poly require_fn_impl(const void*, const void*, ...)
1075
+ {
1076
+ return Poly();
1077
+ }
1078
+
1079
+ template <typename Poly, typename Ex, class Prop>
1080
+ static Poly require_fn(const void* ex, const void* prop)
1081
+ {
1082
+ return require_fn_impl<Poly, Ex, Prop>(ex, prop, 0);
1083
+ }
1084
+
1085
+ template <typename Poly, typename Ex, class Prop>
1086
+ static Poly prefer_fn_impl(const void*, const void*,
1087
+ typename enable_if<
1088
+ is_same<Ex, void>::value
1089
+ >::type*)
1090
+ {
1091
+ bad_executor ex;
1092
+ boost::asio::detail::throw_exception(ex);
1093
+ return Poly();
1094
+ }
1095
+
1096
+ template <typename Poly, typename Ex, class Prop>
1097
+ static Poly prefer_fn_impl(const void* ex, const void* prop,
1098
+ typename enable_if<
1099
+ !is_same<Ex, void>::value && Prop::is_preferable
1100
+ >::type*)
1101
+ {
1102
+ return boost::asio::prefer(*static_cast<const Ex*>(ex),
1103
+ *static_cast<const Prop*>(prop));
1104
+ }
1105
+
1106
+ template <typename Poly, typename Ex, class Prop>
1107
+ static Poly prefer_fn_impl(const void*, const void*, ...)
1108
+ {
1109
+ return Poly();
1110
+ }
1111
+
1112
+ template <typename Poly, typename Ex, class Prop>
1113
+ static Poly prefer_fn(const void* ex, const void* prop)
1114
+ {
1115
+ return prefer_fn_impl<Poly, Ex, Prop>(ex, prop, 0);
1116
+ }
1117
+
1118
+ template <typename Poly>
1119
+ struct prop_fns
1120
+ {
1121
+ void (*query)(void*, const void*, const void*);
1122
+ Poly (*require)(const void*, const void*);
1123
+ Poly (*prefer)(const void*, const void*);
1124
+ };
1125
+
1126
+ #if defined(BOOST_ASIO_MSVC)
1127
+ # pragma warning (pop)
1128
+ #endif // defined(BOOST_ASIO_MSVC)
1129
+
1130
+ private:
1131
+ template <typename Executor>
1132
+ static execution::blocking_t query_blocking(const Executor& ex, true_type)
1133
+ {
1134
+ return boost::asio::query(ex, execution::blocking);
1135
+ }
1136
+
1137
+ template <typename Executor>
1138
+ static execution::blocking_t query_blocking(const Executor&, false_type)
1139
+ {
1140
+ return execution::blocking_t();
1141
+ }
1142
+
1143
+ template <typename Executor>
1144
+ void construct_object(Executor& ex, true_type)
1145
+ {
1146
+ object_fns_ = object_fns_table<Executor>();
1147
+ target_ = new (&object_) Executor(BOOST_ASIO_MOVE_CAST(Executor)(ex));
1148
+ }
1149
+
1150
+ template <typename Executor>
1151
+ void construct_object(Executor& ex, false_type)
1152
+ {
1153
+ object_fns_ = object_fns_table<boost::asio::detail::shared_ptr<void> >();
1154
+ boost::asio::detail::shared_ptr<Executor> p =
1155
+ boost::asio::detail::make_shared<Executor>(
1156
+ BOOST_ASIO_MOVE_CAST(Executor)(ex));
1157
+ target_ = p.get();
1158
+ new (&object_) boost::asio::detail::shared_ptr<void>(
1159
+ BOOST_ASIO_MOVE_CAST(boost::asio::detail::shared_ptr<Executor>)(p));
1160
+ }
1161
+
1162
+ /*private:*/public:
1163
+ // template <typename...> friend class any_executor;
1164
+
1165
+ typedef aligned_storage<
1166
+ sizeof(boost::asio::detail::shared_ptr<void>),
1167
+ alignment_of<boost::asio::detail::shared_ptr<void> >::value
1168
+ >::type object_type;
1169
+
1170
+ object_type object_;
1171
+ const object_fns* object_fns_;
1172
+ void* target_;
1173
+ const target_fns* target_fns_;
1174
+ };
1175
+
1176
+ template <typename Derived, typename Property, typename = void>
1177
+ struct any_executor_context
1178
+ {
1179
+ };
1180
+
1181
+ #if !defined(BOOST_ASIO_NO_TS_EXECUTORS)
1182
+
1183
+ template <typename Derived, typename Property>
1184
+ struct any_executor_context<Derived, Property,
1185
+ typename enable_if<Property::value>::type>
1186
+ {
1187
+ typename Property::query_result_type context() const
1188
+ {
1189
+ return static_cast<const Derived*>(this)->query(typename Property::type());
1190
+ }
1191
+ };
1192
+
1193
+ #endif // !defined(BOOST_ASIO_NO_TS_EXECUTORS)
1194
+
1195
+ } // namespace detail
1196
+
1197
+ template <>
1198
+ class any_executor<> : public detail::any_executor_base
1199
+ {
1200
+ public:
1201
+ any_executor() BOOST_ASIO_NOEXCEPT
1202
+ : detail::any_executor_base()
1203
+ {
1204
+ }
1205
+
1206
+ any_executor(nullptr_t) BOOST_ASIO_NOEXCEPT
1207
+ : detail::any_executor_base()
1208
+ {
1209
+ }
1210
+
1211
+ template <typename Executor>
1212
+ any_executor(Executor ex,
1213
+ typename enable_if<
1214
+ conditional<
1215
+ !is_same<Executor, any_executor>::value
1216
+ && !is_base_of<detail::any_executor_base, Executor>::value,
1217
+ is_executor<Executor>,
1218
+ false_type
1219
+ >::type::value
1220
+ >::type* = 0)
1221
+ : detail::any_executor_base(
1222
+ BOOST_ASIO_MOVE_CAST(Executor)(ex), false_type())
1223
+ {
1224
+ }
1225
+
1226
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
1227
+
1228
+ template <typename... OtherSupportableProperties>
1229
+ any_executor(any_executor<OtherSupportableProperties...> other)
1230
+ : detail::any_executor_base(
1231
+ static_cast<const detail::any_executor_base&>(other))
1232
+ {
1233
+ }
1234
+
1235
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
1236
+
1237
+ template <typename U0, typename U1, typename U2, typename U3,
1238
+ typename U4, typename U5, typename U6, typename U7>
1239
+ any_executor(any_executor<U0, U1, U2, U3, U4, U5, U6, U7> other)
1240
+ : detail::any_executor_base(
1241
+ static_cast<const detail::any_executor_base&>(other))
1242
+ {
1243
+ }
1244
+
1245
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
1246
+
1247
+ any_executor(const any_executor& other) BOOST_ASIO_NOEXCEPT
1248
+ : detail::any_executor_base(
1249
+ static_cast<const detail::any_executor_base&>(other))
1250
+ {
1251
+ }
1252
+
1253
+ any_executor& operator=(const any_executor& other) BOOST_ASIO_NOEXCEPT
1254
+ {
1255
+ if (this != &other)
1256
+ {
1257
+ detail::any_executor_base::operator=(
1258
+ static_cast<const detail::any_executor_base&>(other));
1259
+ }
1260
+ return *this;
1261
+ }
1262
+
1263
+ any_executor& operator=(nullptr_t p) BOOST_ASIO_NOEXCEPT
1264
+ {
1265
+ detail::any_executor_base::operator=(p);
1266
+ return *this;
1267
+ }
1268
+
1269
+ #if defined(BOOST_ASIO_HAS_MOVE)
1270
+
1271
+ any_executor(any_executor&& other) BOOST_ASIO_NOEXCEPT
1272
+ : detail::any_executor_base(
1273
+ static_cast<any_executor_base&&>(
1274
+ static_cast<any_executor_base&>(other)))
1275
+ {
1276
+ }
1277
+
1278
+ any_executor& operator=(any_executor&& other) BOOST_ASIO_NOEXCEPT
1279
+ {
1280
+ if (this != &other)
1281
+ {
1282
+ detail::any_executor_base::operator=(
1283
+ static_cast<detail::any_executor_base&&>(
1284
+ static_cast<detail::any_executor_base&>(other)));
1285
+ }
1286
+ return *this;
1287
+ }
1288
+
1289
+ #endif // defined(BOOST_ASIO_HAS_MOVE)
1290
+
1291
+ void swap(any_executor& other) BOOST_ASIO_NOEXCEPT
1292
+ {
1293
+ detail::any_executor_base::swap(
1294
+ static_cast<detail::any_executor_base&>(other));
1295
+ }
1296
+
1297
+ using detail::any_executor_base::execute;
1298
+ using detail::any_executor_base::target;
1299
+ using detail::any_executor_base::target_type;
1300
+ using detail::any_executor_base::operator unspecified_bool_type;
1301
+ using detail::any_executor_base::operator!;
1302
+
1303
+ bool equality_helper(const any_executor& other) const BOOST_ASIO_NOEXCEPT
1304
+ {
1305
+ return any_executor_base::equality_helper(other);
1306
+ }
1307
+
1308
+ template <typename AnyExecutor1, typename AnyExecutor2>
1309
+ friend typename enable_if<
1310
+ is_same<AnyExecutor1, any_executor>::value
1311
+ || is_same<AnyExecutor2, any_executor>::value,
1312
+ bool
1313
+ >::type operator==(const AnyExecutor1& a,
1314
+ const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
1315
+ {
1316
+ return static_cast<const any_executor&>(a).equality_helper(b);
1317
+ }
1318
+
1319
+ template <typename AnyExecutor>
1320
+ friend typename enable_if<
1321
+ is_same<AnyExecutor, any_executor>::value,
1322
+ bool
1323
+ >::type operator==(const AnyExecutor& a, nullptr_t) BOOST_ASIO_NOEXCEPT
1324
+ {
1325
+ return !a;
1326
+ }
1327
+
1328
+ template <typename AnyExecutor>
1329
+ friend typename enable_if<
1330
+ is_same<AnyExecutor, any_executor>::value,
1331
+ bool
1332
+ >::type operator==(nullptr_t, const AnyExecutor& b) BOOST_ASIO_NOEXCEPT
1333
+ {
1334
+ return !b;
1335
+ }
1336
+
1337
+ template <typename AnyExecutor1, typename AnyExecutor2>
1338
+ friend typename enable_if<
1339
+ is_same<AnyExecutor1, any_executor>::value
1340
+ || is_same<AnyExecutor2, any_executor>::value,
1341
+ bool
1342
+ >::type operator!=(const AnyExecutor1& a,
1343
+ const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
1344
+ {
1345
+ return !static_cast<const any_executor&>(a).equality_helper(b);
1346
+ }
1347
+
1348
+ template <typename AnyExecutor>
1349
+ friend typename enable_if<
1350
+ is_same<AnyExecutor, any_executor>::value,
1351
+ bool
1352
+ >::type operator!=(const AnyExecutor& a, nullptr_t) BOOST_ASIO_NOEXCEPT
1353
+ {
1354
+ return !!a;
1355
+ }
1356
+
1357
+ template <typename AnyExecutor>
1358
+ friend typename enable_if<
1359
+ is_same<AnyExecutor, any_executor>::value,
1360
+ bool
1361
+ >::type operator!=(nullptr_t, const AnyExecutor& b) BOOST_ASIO_NOEXCEPT
1362
+ {
1363
+ return !!b;
1364
+ }
1365
+ };
1366
+
1367
+ inline void swap(any_executor<>& a, any_executor<>& b) BOOST_ASIO_NOEXCEPT
1368
+ {
1369
+ return a.swap(b);
1370
+ }
1371
+
1372
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
1373
+
1374
+ template <typename... SupportableProperties>
1375
+ class any_executor :
1376
+ public detail::any_executor_base,
1377
+ public detail::any_executor_context<
1378
+ any_executor<SupportableProperties...>,
1379
+ typename detail::supportable_properties<
1380
+ 0, void(SupportableProperties...)>::find_context_as_property>
1381
+ {
1382
+ public:
1383
+ any_executor() BOOST_ASIO_NOEXCEPT
1384
+ : detail::any_executor_base(),
1385
+ prop_fns_(prop_fns_table<void>())
1386
+ {
1387
+ }
1388
+
1389
+ any_executor(nullptr_t) BOOST_ASIO_NOEXCEPT
1390
+ : detail::any_executor_base(),
1391
+ prop_fns_(prop_fns_table<void>())
1392
+ {
1393
+ }
1394
+
1395
+ template <typename Executor>
1396
+ any_executor(Executor ex,
1397
+ typename enable_if<
1398
+ conditional<
1399
+ !is_same<Executor, any_executor>::value
1400
+ && !is_base_of<detail::any_executor_base, Executor>::value,
1401
+ detail::is_valid_target_executor<
1402
+ Executor, void(SupportableProperties...)>,
1403
+ false_type
1404
+ >::type::value
1405
+ >::type* = 0)
1406
+ : detail::any_executor_base(
1407
+ BOOST_ASIO_MOVE_CAST(Executor)(ex), false_type()),
1408
+ prop_fns_(prop_fns_table<Executor>())
1409
+ {
1410
+ }
1411
+
1412
+ template <typename... OtherSupportableProperties>
1413
+ any_executor(any_executor<OtherSupportableProperties...> other,
1414
+ typename enable_if<
1415
+ conditional<
1416
+ !is_same<
1417
+ any_executor<OtherSupportableProperties...>,
1418
+ any_executor
1419
+ >::value,
1420
+ typename detail::supportable_properties<
1421
+ 0, void(SupportableProperties...)>::template is_valid_target<
1422
+ any_executor<OtherSupportableProperties...> >,
1423
+ false_type
1424
+ >::type::value
1425
+ >::type* = 0)
1426
+ : detail::any_executor_base(BOOST_ASIO_MOVE_CAST(
1427
+ any_executor<OtherSupportableProperties...>)(other), true_type()),
1428
+ prop_fns_(prop_fns_table<any_executor<OtherSupportableProperties...> >())
1429
+ {
1430
+ }
1431
+
1432
+ any_executor(const any_executor& other) BOOST_ASIO_NOEXCEPT
1433
+ : detail::any_executor_base(
1434
+ static_cast<const detail::any_executor_base&>(other)),
1435
+ prop_fns_(other.prop_fns_)
1436
+ {
1437
+ }
1438
+
1439
+ any_executor& operator=(const any_executor& other) BOOST_ASIO_NOEXCEPT
1440
+ {
1441
+ if (this != &other)
1442
+ {
1443
+ prop_fns_ = other.prop_fns_;
1444
+ detail::any_executor_base::operator=(
1445
+ static_cast<const detail::any_executor_base&>(other));
1446
+ }
1447
+ return *this;
1448
+ }
1449
+
1450
+ any_executor& operator=(nullptr_t p) BOOST_ASIO_NOEXCEPT
1451
+ {
1452
+ prop_fns_ = prop_fns_table<void>();
1453
+ detail::any_executor_base::operator=(p);
1454
+ return *this;
1455
+ }
1456
+
1457
+ #if defined(BOOST_ASIO_HAS_MOVE)
1458
+
1459
+ any_executor(any_executor&& other) BOOST_ASIO_NOEXCEPT
1460
+ : detail::any_executor_base(
1461
+ static_cast<any_executor_base&&>(
1462
+ static_cast<any_executor_base&>(other))),
1463
+ prop_fns_(other.prop_fns_)
1464
+ {
1465
+ other.prop_fns_ = prop_fns_table<void>();
1466
+ }
1467
+
1468
+ any_executor& operator=(any_executor&& other) BOOST_ASIO_NOEXCEPT
1469
+ {
1470
+ if (this != &other)
1471
+ {
1472
+ prop_fns_ = other.prop_fns_;
1473
+ detail::any_executor_base::operator=(
1474
+ static_cast<detail::any_executor_base&&>(
1475
+ static_cast<detail::any_executor_base&>(other)));
1476
+ }
1477
+ return *this;
1478
+ }
1479
+
1480
+ #endif // defined(BOOST_ASIO_HAS_MOVE)
1481
+
1482
+ void swap(any_executor& other) BOOST_ASIO_NOEXCEPT
1483
+ {
1484
+ if (this != &other)
1485
+ {
1486
+ detail::any_executor_base::swap(
1487
+ static_cast<detail::any_executor_base&>(other));
1488
+ const prop_fns<any_executor>* tmp_prop_fns = other.prop_fns_;
1489
+ other.prop_fns_ = prop_fns_;
1490
+ prop_fns_ = tmp_prop_fns;
1491
+ }
1492
+ }
1493
+
1494
+ using detail::any_executor_base::execute;
1495
+ using detail::any_executor_base::target;
1496
+ using detail::any_executor_base::target_type;
1497
+ using detail::any_executor_base::operator unspecified_bool_type;
1498
+ using detail::any_executor_base::operator!;
1499
+
1500
+ bool equality_helper(const any_executor& other) const BOOST_ASIO_NOEXCEPT
1501
+ {
1502
+ return any_executor_base::equality_helper(other);
1503
+ }
1504
+
1505
+ template <typename AnyExecutor1, typename AnyExecutor2>
1506
+ friend typename enable_if<
1507
+ is_same<AnyExecutor1, any_executor>::value
1508
+ || is_same<AnyExecutor2, any_executor>::value,
1509
+ bool
1510
+ >::type operator==(const AnyExecutor1& a,
1511
+ const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
1512
+ {
1513
+ return static_cast<const any_executor&>(a).equality_helper(b);
1514
+ }
1515
+
1516
+ template <typename AnyExecutor>
1517
+ friend typename enable_if<
1518
+ is_same<AnyExecutor, any_executor>::value,
1519
+ bool
1520
+ >::type operator==(const AnyExecutor& a, nullptr_t) BOOST_ASIO_NOEXCEPT
1521
+ {
1522
+ return !a;
1523
+ }
1524
+
1525
+ template <typename AnyExecutor>
1526
+ friend typename enable_if<
1527
+ is_same<AnyExecutor, any_executor>::value,
1528
+ bool
1529
+ >::type operator==(nullptr_t, const AnyExecutor& b) BOOST_ASIO_NOEXCEPT
1530
+ {
1531
+ return !b;
1532
+ }
1533
+
1534
+ template <typename AnyExecutor1, typename AnyExecutor2>
1535
+ friend typename enable_if<
1536
+ is_same<AnyExecutor1, any_executor>::value
1537
+ || is_same<AnyExecutor2, any_executor>::value,
1538
+ bool
1539
+ >::type operator!=(const AnyExecutor1& a,
1540
+ const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
1541
+ {
1542
+ return !static_cast<const any_executor&>(a).equality_helper(b);
1543
+ }
1544
+
1545
+ template <typename AnyExecutor>
1546
+ friend typename enable_if<
1547
+ is_same<AnyExecutor, any_executor>::value,
1548
+ bool
1549
+ >::type operator!=(const AnyExecutor& a, nullptr_t) BOOST_ASIO_NOEXCEPT
1550
+ {
1551
+ return !!a;
1552
+ }
1553
+
1554
+ template <typename AnyExecutor>
1555
+ friend typename enable_if<
1556
+ is_same<AnyExecutor, any_executor>::value,
1557
+ bool
1558
+ >::type operator!=(nullptr_t, const AnyExecutor& b) BOOST_ASIO_NOEXCEPT
1559
+ {
1560
+ return !!b;
1561
+ }
1562
+
1563
+ template <typename T>
1564
+ struct find_convertible_property :
1565
+ detail::supportable_properties<
1566
+ 0, void(SupportableProperties...)>::template
1567
+ find_convertible_property<T> {};
1568
+
1569
+ template <typename Property>
1570
+ void query(const Property& p,
1571
+ typename enable_if<
1572
+ is_same<
1573
+ typename find_convertible_property<Property>::query_result_type,
1574
+ void
1575
+ >::value
1576
+ >::type* = 0) const
1577
+ {
1578
+ typedef find_convertible_property<Property> found;
1579
+ prop_fns_[found::index].query(0, object_fns_->target(*this),
1580
+ &static_cast<const typename found::type&>(p));
1581
+ }
1582
+
1583
+ template <typename Property>
1584
+ typename find_convertible_property<Property>::query_result_type
1585
+ query(const Property& p,
1586
+ typename enable_if<
1587
+ !is_same<
1588
+ typename find_convertible_property<Property>::query_result_type,
1589
+ void
1590
+ >::value
1591
+ &&
1592
+ is_reference<
1593
+ typename find_convertible_property<Property>::query_result_type
1594
+ >::value
1595
+ >::type* = 0) const
1596
+ {
1597
+ typedef find_convertible_property<Property> found;
1598
+ typename remove_reference<
1599
+ typename found::query_result_type>::type* result = 0;
1600
+ prop_fns_[found::index].query(&result, object_fns_->target(*this),
1601
+ &static_cast<const typename found::type&>(p));
1602
+ return *result;
1603
+ }
1604
+
1605
+ template <typename Property>
1606
+ typename find_convertible_property<Property>::query_result_type
1607
+ query(const Property& p,
1608
+ typename enable_if<
1609
+ !is_same<
1610
+ typename find_convertible_property<Property>::query_result_type,
1611
+ void
1612
+ >::value
1613
+ &&
1614
+ is_scalar<
1615
+ typename find_convertible_property<Property>::query_result_type
1616
+ >::value
1617
+ >::type* = 0) const
1618
+ {
1619
+ typedef find_convertible_property<Property> found;
1620
+ typename found::query_result_type result;
1621
+ prop_fns_[found::index].query(&result, object_fns_->target(*this),
1622
+ &static_cast<const typename found::type&>(p));
1623
+ return result;
1624
+ }
1625
+
1626
+ template <typename Property>
1627
+ typename find_convertible_property<Property>::query_result_type
1628
+ query(const Property& p,
1629
+ typename enable_if<
1630
+ !is_same<
1631
+ typename find_convertible_property<Property>::query_result_type,
1632
+ void
1633
+ >::value
1634
+ &&
1635
+ !is_reference<
1636
+ typename find_convertible_property<Property>::query_result_type
1637
+ >::value
1638
+ &&
1639
+ !is_scalar<
1640
+ typename find_convertible_property<Property>::query_result_type
1641
+ >::value
1642
+ >::type* = 0) const
1643
+ {
1644
+ typedef find_convertible_property<Property> found;
1645
+ typename found::query_result_type* result;
1646
+ prop_fns_[found::index].query(&result, object_fns_->target(*this),
1647
+ &static_cast<const typename found::type&>(p));
1648
+ return *boost::asio::detail::scoped_ptr<
1649
+ typename found::query_result_type>(result);
1650
+ }
1651
+
1652
+ template <typename T>
1653
+ struct find_convertible_requirable_property :
1654
+ detail::supportable_properties<
1655
+ 0, void(SupportableProperties...)>::template
1656
+ find_convertible_requirable_property<T> {};
1657
+
1658
+ template <typename Property>
1659
+ any_executor require(const Property& p,
1660
+ typename enable_if<
1661
+ find_convertible_requirable_property<Property>::value
1662
+ >::type* = 0) const
1663
+ {
1664
+ typedef find_convertible_requirable_property<Property> found;
1665
+ return prop_fns_[found::index].require(object_fns_->target(*this),
1666
+ &static_cast<const typename found::type&>(p));
1667
+ }
1668
+
1669
+ template <typename T>
1670
+ struct find_convertible_preferable_property :
1671
+ detail::supportable_properties<
1672
+ 0, void(SupportableProperties...)>::template
1673
+ find_convertible_preferable_property<T> {};
1674
+
1675
+ template <typename Property>
1676
+ any_executor prefer(const Property& p,
1677
+ typename enable_if<
1678
+ find_convertible_preferable_property<Property>::value
1679
+ >::type* = 0) const
1680
+ {
1681
+ typedef find_convertible_preferable_property<Property> found;
1682
+ return prop_fns_[found::index].prefer(object_fns_->target(*this),
1683
+ &static_cast<const typename found::type&>(p));
1684
+ }
1685
+
1686
+ //private:
1687
+ template <typename Ex>
1688
+ static const prop_fns<any_executor>* prop_fns_table()
1689
+ {
1690
+ static const prop_fns<any_executor> fns[] =
1691
+ {
1692
+ {
1693
+ &detail::any_executor_base::query_fn<
1694
+ Ex, SupportableProperties>,
1695
+ &detail::any_executor_base::require_fn<
1696
+ any_executor, Ex, SupportableProperties>,
1697
+ &detail::any_executor_base::prefer_fn<
1698
+ any_executor, Ex, SupportableProperties>
1699
+ }...
1700
+ };
1701
+ return fns;
1702
+ }
1703
+
1704
+ const prop_fns<any_executor>* prop_fns_;
1705
+ };
1706
+
1707
+ template <typename... SupportableProperties>
1708
+ inline void swap(any_executor<SupportableProperties...>& a,
1709
+ any_executor<SupportableProperties...>& b) BOOST_ASIO_NOEXCEPT
1710
+ {
1711
+ return a.swap(b);
1712
+ }
1713
+
1714
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
1715
+
1716
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS(n) \
1717
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_##n
1718
+
1719
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_1 \
1720
+ { \
1721
+ &detail::any_executor_base::query_fn<Ex, T1>, \
1722
+ &detail::any_executor_base::require_fn<any_executor, Ex, T1>, \
1723
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T1> \
1724
+ }
1725
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_2 \
1726
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_1, \
1727
+ { \
1728
+ &detail::any_executor_base::query_fn<Ex, T2>, \
1729
+ &detail::any_executor_base::require_fn<any_executor, Ex, T2>, \
1730
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T2> \
1731
+ }
1732
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_3 \
1733
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_2, \
1734
+ { \
1735
+ &detail::any_executor_base::query_fn<Ex, T3>, \
1736
+ &detail::any_executor_base::require_fn<any_executor, Ex, T3>, \
1737
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T3> \
1738
+ }
1739
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_4 \
1740
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_3, \
1741
+ { \
1742
+ &detail::any_executor_base::query_fn<Ex, T4>, \
1743
+ &detail::any_executor_base::require_fn<any_executor, Ex, T4>, \
1744
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T4> \
1745
+ }
1746
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_5 \
1747
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_4, \
1748
+ { \
1749
+ &detail::any_executor_base::query_fn<Ex, T5>, \
1750
+ &detail::any_executor_base::require_fn<any_executor, Ex, T5>, \
1751
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T5> \
1752
+ }
1753
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_6 \
1754
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_5, \
1755
+ { \
1756
+ &detail::any_executor_base::query_fn<Ex, T6>, \
1757
+ &detail::any_executor_base::require_fn<any_executor, Ex, T6>, \
1758
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T6> \
1759
+ }
1760
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_7 \
1761
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_6, \
1762
+ { \
1763
+ &detail::any_executor_base::query_fn<Ex, T7>, \
1764
+ &detail::any_executor_base::require_fn<any_executor, Ex, T7>, \
1765
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T7> \
1766
+ }
1767
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_8 \
1768
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_7, \
1769
+ { \
1770
+ &detail::any_executor_base::query_fn<Ex, T8>, \
1771
+ &detail::any_executor_base::require_fn<any_executor, Ex, T8>, \
1772
+ &detail::any_executor_base::prefer_fn<any_executor, Ex, T8> \
1773
+ }
1774
+
1775
+ #if defined(BOOST_ASIO_HAS_MOVE)
1776
+
1777
+ # define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_MOVE_OPS \
1778
+ any_executor(any_executor&& other) BOOST_ASIO_NOEXCEPT \
1779
+ : detail::any_executor_base( \
1780
+ static_cast<any_executor_base&&>( \
1781
+ static_cast<any_executor_base&>(other))), \
1782
+ prop_fns_(other.prop_fns_) \
1783
+ { \
1784
+ other.prop_fns_ = prop_fns_table<void>(); \
1785
+ } \
1786
+ \
1787
+ any_executor& operator=(any_executor&& other) BOOST_ASIO_NOEXCEPT \
1788
+ { \
1789
+ if (this != &other) \
1790
+ { \
1791
+ prop_fns_ = other.prop_fns_; \
1792
+ detail::any_executor_base::operator=( \
1793
+ static_cast<detail::any_executor_base&&>( \
1794
+ static_cast<detail::any_executor_base&>(other))); \
1795
+ } \
1796
+ return *this; \
1797
+ } \
1798
+ /**/
1799
+ #else // defined(BOOST_ASIO_HAS_MOVE)
1800
+
1801
+ # define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_MOVE_OPS
1802
+
1803
+ #endif // defined(BOOST_ASIO_HAS_MOVE)
1804
+
1805
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_DEF(n) \
1806
+ template <BOOST_ASIO_VARIADIC_TPARAMS(n)> \
1807
+ class any_executor<BOOST_ASIO_VARIADIC_TARGS(n)> : \
1808
+ public detail::any_executor_base, \
1809
+ public detail::any_executor_context< \
1810
+ any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>, \
1811
+ typename detail::supportable_properties< \
1812
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::find_context_as_property> \
1813
+ { \
1814
+ public: \
1815
+ any_executor() BOOST_ASIO_NOEXCEPT \
1816
+ : detail::any_executor_base(), \
1817
+ prop_fns_(prop_fns_table<void>()) \
1818
+ { \
1819
+ } \
1820
+ \
1821
+ any_executor(nullptr_t) BOOST_ASIO_NOEXCEPT \
1822
+ : detail::any_executor_base(), \
1823
+ prop_fns_(prop_fns_table<void>()) \
1824
+ { \
1825
+ } \
1826
+ \
1827
+ template <BOOST_ASIO_EXECUTION_EXECUTOR Executor> \
1828
+ any_executor(Executor ex, \
1829
+ typename enable_if< \
1830
+ conditional< \
1831
+ !is_same<Executor, any_executor>::value \
1832
+ && !is_base_of<detail::any_executor_base, Executor>::value, \
1833
+ detail::is_valid_target_executor< \
1834
+ Executor, void(BOOST_ASIO_VARIADIC_TARGS(n))>, \
1835
+ false_type \
1836
+ >::type::value \
1837
+ >::type* = 0) \
1838
+ : detail::any_executor_base(BOOST_ASIO_MOVE_CAST( \
1839
+ Executor)(ex), false_type()), \
1840
+ prop_fns_(prop_fns_table<Executor>()) \
1841
+ { \
1842
+ } \
1843
+ \
1844
+ any_executor(const any_executor& other) BOOST_ASIO_NOEXCEPT \
1845
+ : detail::any_executor_base( \
1846
+ static_cast<const detail::any_executor_base&>(other)), \
1847
+ prop_fns_(other.prop_fns_) \
1848
+ { \
1849
+ } \
1850
+ \
1851
+ any_executor(any_executor<> other) \
1852
+ : detail::any_executor_base(BOOST_ASIO_MOVE_CAST( \
1853
+ any_executor<>)(other), true_type()), \
1854
+ prop_fns_(prop_fns_table<any_executor<> >()) \
1855
+ { \
1856
+ } \
1857
+ \
1858
+ template <typename OtherAnyExecutor> \
1859
+ any_executor(OtherAnyExecutor other, \
1860
+ typename enable_if< \
1861
+ conditional< \
1862
+ !is_same<OtherAnyExecutor, any_executor>::value \
1863
+ && is_base_of<detail::any_executor_base, \
1864
+ OtherAnyExecutor>::value, \
1865
+ typename detail::supportable_properties< \
1866
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
1867
+ is_valid_target<OtherAnyExecutor>, \
1868
+ false_type \
1869
+ >::type::value \
1870
+ >::type* = 0) \
1871
+ : detail::any_executor_base(BOOST_ASIO_MOVE_CAST( \
1872
+ OtherAnyExecutor)(other), true_type()), \
1873
+ prop_fns_(prop_fns_table<OtherAnyExecutor>()) \
1874
+ { \
1875
+ } \
1876
+ \
1877
+ any_executor& operator=(const any_executor& other) BOOST_ASIO_NOEXCEPT \
1878
+ { \
1879
+ if (this != &other) \
1880
+ { \
1881
+ prop_fns_ = other.prop_fns_; \
1882
+ detail::any_executor_base::operator=( \
1883
+ static_cast<const detail::any_executor_base&>(other)); \
1884
+ } \
1885
+ return *this; \
1886
+ } \
1887
+ \
1888
+ any_executor& operator=(nullptr_t p) BOOST_ASIO_NOEXCEPT \
1889
+ { \
1890
+ prop_fns_ = prop_fns_table<void>(); \
1891
+ detail::any_executor_base::operator=(p); \
1892
+ return *this; \
1893
+ } \
1894
+ \
1895
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_MOVE_OPS \
1896
+ \
1897
+ void swap(any_executor& other) BOOST_ASIO_NOEXCEPT \
1898
+ { \
1899
+ if (this != &other) \
1900
+ { \
1901
+ detail::any_executor_base::swap( \
1902
+ static_cast<detail::any_executor_base&>(other)); \
1903
+ const prop_fns<any_executor>* tmp_prop_fns = other.prop_fns_; \
1904
+ other.prop_fns_ = prop_fns_; \
1905
+ prop_fns_ = tmp_prop_fns; \
1906
+ } \
1907
+ } \
1908
+ \
1909
+ using detail::any_executor_base::execute; \
1910
+ using detail::any_executor_base::target; \
1911
+ using detail::any_executor_base::target_type; \
1912
+ using detail::any_executor_base::operator unspecified_bool_type; \
1913
+ using detail::any_executor_base::operator!; \
1914
+ \
1915
+ bool equality_helper(const any_executor& other) const BOOST_ASIO_NOEXCEPT \
1916
+ { \
1917
+ return any_executor_base::equality_helper(other); \
1918
+ } \
1919
+ \
1920
+ template <typename AnyExecutor1, typename AnyExecutor2> \
1921
+ friend typename enable_if< \
1922
+ is_same<AnyExecutor1, any_executor>::value \
1923
+ || is_same<AnyExecutor2, any_executor>::value, \
1924
+ bool \
1925
+ >::type operator==(const AnyExecutor1& a, \
1926
+ const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT \
1927
+ { \
1928
+ return static_cast<const any_executor&>(a).equality_helper(b); \
1929
+ } \
1930
+ \
1931
+ template <typename AnyExecutor> \
1932
+ friend typename enable_if< \
1933
+ is_same<AnyExecutor, any_executor>::value, \
1934
+ bool \
1935
+ >::type operator==(const AnyExecutor& a, nullptr_t) BOOST_ASIO_NOEXCEPT \
1936
+ { \
1937
+ return !a; \
1938
+ } \
1939
+ \
1940
+ template <typename AnyExecutor> \
1941
+ friend typename enable_if< \
1942
+ is_same<AnyExecutor, any_executor>::value, \
1943
+ bool \
1944
+ >::type operator==(nullptr_t, const AnyExecutor& b) BOOST_ASIO_NOEXCEPT \
1945
+ { \
1946
+ return !b; \
1947
+ } \
1948
+ \
1949
+ template <typename AnyExecutor1, typename AnyExecutor2> \
1950
+ friend typename enable_if< \
1951
+ is_same<AnyExecutor1, any_executor>::value \
1952
+ || is_same<AnyExecutor2, any_executor>::value, \
1953
+ bool \
1954
+ >::type operator!=(const AnyExecutor1& a, \
1955
+ const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT \
1956
+ { \
1957
+ return !static_cast<const any_executor&>(a).equality_helper(b); \
1958
+ } \
1959
+ \
1960
+ template <typename AnyExecutor> \
1961
+ friend typename enable_if< \
1962
+ is_same<AnyExecutor, any_executor>::value, \
1963
+ bool \
1964
+ >::type operator!=(const AnyExecutor& a, nullptr_t) BOOST_ASIO_NOEXCEPT \
1965
+ { \
1966
+ return !!a; \
1967
+ } \
1968
+ \
1969
+ template <typename AnyExecutor> \
1970
+ friend typename enable_if< \
1971
+ is_same<AnyExecutor, any_executor>::value, \
1972
+ bool \
1973
+ >::type operator!=(nullptr_t, const AnyExecutor& b) BOOST_ASIO_NOEXCEPT \
1974
+ { \
1975
+ return !!b; \
1976
+ } \
1977
+ \
1978
+ template <typename T> \
1979
+ struct find_convertible_property : \
1980
+ detail::supportable_properties< \
1981
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
1982
+ find_convertible_property<T> {}; \
1983
+ \
1984
+ template <typename Property> \
1985
+ void query(const Property& p, \
1986
+ typename enable_if< \
1987
+ is_same< \
1988
+ typename find_convertible_property<Property>::query_result_type, \
1989
+ void \
1990
+ >::value \
1991
+ >::type* = 0) const \
1992
+ { \
1993
+ typedef find_convertible_property<Property> found; \
1994
+ prop_fns_[found::index].query(0, object_fns_->target(*this), \
1995
+ &static_cast<const typename found::type&>(p)); \
1996
+ } \
1997
+ \
1998
+ template <typename Property> \
1999
+ typename find_convertible_property<Property>::query_result_type \
2000
+ query(const Property& p, \
2001
+ typename enable_if< \
2002
+ !is_same< \
2003
+ typename find_convertible_property<Property>::query_result_type, \
2004
+ void \
2005
+ >::value \
2006
+ && \
2007
+ is_reference< \
2008
+ typename find_convertible_property<Property>::query_result_type \
2009
+ >::value \
2010
+ >::type* = 0) const \
2011
+ { \
2012
+ typedef find_convertible_property<Property> found; \
2013
+ typename remove_reference< \
2014
+ typename found::query_result_type>::type* result; \
2015
+ prop_fns_[found::index].query(&result, object_fns_->target(*this), \
2016
+ &static_cast<const typename found::type&>(p)); \
2017
+ return *result; \
2018
+ } \
2019
+ \
2020
+ template <typename Property> \
2021
+ typename find_convertible_property<Property>::query_result_type \
2022
+ query(const Property& p, \
2023
+ typename enable_if< \
2024
+ !is_same< \
2025
+ typename find_convertible_property<Property>::query_result_type, \
2026
+ void \
2027
+ >::value \
2028
+ && \
2029
+ is_scalar< \
2030
+ typename find_convertible_property<Property>::query_result_type \
2031
+ >::value \
2032
+ >::type* = 0) const \
2033
+ { \
2034
+ typedef find_convertible_property<Property> found; \
2035
+ typename found::query_result_type result; \
2036
+ prop_fns_[found::index].query(&result, object_fns_->target(*this), \
2037
+ &static_cast<const typename found::type&>(p)); \
2038
+ return result; \
2039
+ } \
2040
+ \
2041
+ template <typename Property> \
2042
+ typename find_convertible_property<Property>::query_result_type \
2043
+ query(const Property& p, \
2044
+ typename enable_if< \
2045
+ !is_same< \
2046
+ typename find_convertible_property<Property>::query_result_type, \
2047
+ void \
2048
+ >::value \
2049
+ && \
2050
+ !is_reference< \
2051
+ typename find_convertible_property<Property>::query_result_type \
2052
+ >::value \
2053
+ && \
2054
+ !is_scalar< \
2055
+ typename find_convertible_property<Property>::query_result_type \
2056
+ >::value \
2057
+ >::type* = 0) const \
2058
+ { \
2059
+ typedef find_convertible_property<Property> found; \
2060
+ typename found::query_result_type* result; \
2061
+ prop_fns_[found::index].query(&result, object_fns_->target(*this), \
2062
+ &static_cast<const typename found::type&>(p)); \
2063
+ return *boost::asio::detail::scoped_ptr< \
2064
+ typename found::query_result_type>(result); \
2065
+ } \
2066
+ \
2067
+ template <typename T> \
2068
+ struct find_convertible_requirable_property : \
2069
+ detail::supportable_properties< \
2070
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
2071
+ find_convertible_requirable_property<T> {}; \
2072
+ \
2073
+ template <typename Property> \
2074
+ any_executor require(const Property& p, \
2075
+ typename enable_if< \
2076
+ find_convertible_requirable_property<Property>::value \
2077
+ >::type* = 0) const \
2078
+ { \
2079
+ typedef find_convertible_requirable_property<Property> found; \
2080
+ return prop_fns_[found::index].require(object_fns_->target(*this), \
2081
+ &static_cast<const typename found::type&>(p)); \
2082
+ } \
2083
+ \
2084
+ template <typename T> \
2085
+ struct find_convertible_preferable_property : \
2086
+ detail::supportable_properties< \
2087
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
2088
+ find_convertible_preferable_property<T> {}; \
2089
+ \
2090
+ template <typename Property> \
2091
+ any_executor prefer(const Property& p, \
2092
+ typename enable_if< \
2093
+ find_convertible_preferable_property<Property>::value \
2094
+ >::type* = 0) const \
2095
+ { \
2096
+ typedef find_convertible_preferable_property<Property> found; \
2097
+ return prop_fns_[found::index].prefer(object_fns_->target(*this), \
2098
+ &static_cast<const typename found::type&>(p)); \
2099
+ } \
2100
+ \
2101
+ template <typename Ex> \
2102
+ static const prop_fns<any_executor>* prop_fns_table() \
2103
+ { \
2104
+ static const prop_fns<any_executor> fns[] = \
2105
+ { \
2106
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS(n) \
2107
+ }; \
2108
+ return fns; \
2109
+ } \
2110
+ \
2111
+ const prop_fns<any_executor>* prop_fns_; \
2112
+ typedef detail::supportable_properties<0, \
2113
+ void(BOOST_ASIO_VARIADIC_TARGS(n))> supportable_properties_type; \
2114
+ }; \
2115
+ \
2116
+ template <BOOST_ASIO_VARIADIC_TPARAMS(n)> \
2117
+ inline void swap(any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>& a, \
2118
+ any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>& b) BOOST_ASIO_NOEXCEPT \
2119
+ { \
2120
+ return a.swap(b); \
2121
+ } \
2122
+ /**/
2123
+ BOOST_ASIO_VARIADIC_GENERATE(BOOST_ASIO_PRIVATE_ANY_EXECUTOR_DEF)
2124
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_DEF
2125
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_MOVE_OPS
2126
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS
2127
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_1
2128
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_2
2129
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_3
2130
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_4
2131
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_5
2132
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_6
2133
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_7
2134
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PROP_FNS_8
2135
+
2136
+ #endif // if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2137
+
2138
+ } // namespace execution
2139
+ namespace traits {
2140
+
2141
+ #if !defined(BOOST_ASIO_HAS_DEDUCED_EQUALITY_COMPARABLE_TRAIT)
2142
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2143
+
2144
+ template <typename... SupportableProperties>
2145
+ struct equality_comparable<execution::any_executor<SupportableProperties...> >
2146
+ {
2147
+ static const bool is_valid = true;
2148
+ static const bool is_noexcept = true;
2149
+ };
2150
+
2151
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2152
+
2153
+ template <>
2154
+ struct equality_comparable<execution::any_executor<> >
2155
+ {
2156
+ static const bool is_valid = true;
2157
+ static const bool is_noexcept = true;
2158
+ };
2159
+
2160
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_EQUALITY_COMPARABLE_DEF(n) \
2161
+ template <BOOST_ASIO_VARIADIC_TPARAMS(n)> \
2162
+ struct equality_comparable< \
2163
+ execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)> > \
2164
+ { \
2165
+ static const bool is_valid = true; \
2166
+ static const bool is_noexcept = true; \
2167
+ }; \
2168
+ /**/
2169
+ BOOST_ASIO_VARIADIC_GENERATE(
2170
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_EQUALITY_COMPARABLE_DEF)
2171
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_EQUALITY_COMPARABLE_DEF
2172
+
2173
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2174
+ #endif // !defined(BOOST_ASIO_HAS_DEDUCED_EQUALITY_COMPARABLE_TRAIT)
2175
+
2176
+ #if !defined(BOOST_ASIO_HAS_DEDUCED_EXECUTE_MEMBER_TRAIT)
2177
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2178
+
2179
+ template <typename F, typename... SupportableProperties>
2180
+ struct execute_member<execution::any_executor<SupportableProperties...>, F>
2181
+ {
2182
+ static const bool is_valid = true;
2183
+ static const bool is_noexcept = false;
2184
+ typedef void result_type;
2185
+ };
2186
+
2187
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2188
+
2189
+ template <typename F>
2190
+ struct execute_member<execution::any_executor<>, F>
2191
+ {
2192
+ static const bool is_valid = true;
2193
+ static const bool is_noexcept = false;
2194
+ typedef void result_type;
2195
+ };
2196
+
2197
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_EXECUTE_MEMBER_DEF(n) \
2198
+ template <typename F, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
2199
+ struct execute_member< \
2200
+ execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>, F> \
2201
+ { \
2202
+ static const bool is_valid = true; \
2203
+ static const bool is_noexcept = false; \
2204
+ typedef void result_type; \
2205
+ }; \
2206
+ /**/
2207
+ BOOST_ASIO_VARIADIC_GENERATE(
2208
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_EXECUTE_MEMBER_DEF)
2209
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_EXECUTE_MEMBER_DEF
2210
+
2211
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2212
+ #endif // !defined(BOOST_ASIO_HAS_DEDUCED_EXECUTE_MEMBER_TRAIT)
2213
+
2214
+ #if !defined(BOOST_ASIO_HAS_DEDUCED_QUERY_MEMBER_TRAIT)
2215
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2216
+
2217
+ template <typename Prop, typename... SupportableProperties>
2218
+ struct query_member<
2219
+ execution::any_executor<SupportableProperties...>, Prop,
2220
+ typename enable_if<
2221
+ execution::detail::supportable_properties<
2222
+ 0, void(SupportableProperties...)>::template
2223
+ find_convertible_property<Prop>::value
2224
+ >::type>
2225
+ {
2226
+ static const bool is_valid = true;
2227
+ static const bool is_noexcept = false;
2228
+ typedef typename execution::detail::supportable_properties<
2229
+ 0, void(SupportableProperties...)>::template
2230
+ find_convertible_property<Prop>::query_result_type result_type;
2231
+ };
2232
+
2233
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2234
+
2235
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_QUERY_MEMBER_DEF(n) \
2236
+ template <typename Prop, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
2237
+ struct query_member< \
2238
+ execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>, Prop, \
2239
+ typename enable_if< \
2240
+ execution::detail::supportable_properties< \
2241
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
2242
+ find_convertible_property<Prop>::value \
2243
+ >::type> \
2244
+ { \
2245
+ static const bool is_valid = true; \
2246
+ static const bool is_noexcept = false; \
2247
+ typedef typename execution::detail::supportable_properties< \
2248
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
2249
+ find_convertible_property<Prop>::query_result_type result_type; \
2250
+ }; \
2251
+ /**/
2252
+ BOOST_ASIO_VARIADIC_GENERATE(BOOST_ASIO_PRIVATE_ANY_EXECUTOR_QUERY_MEMBER_DEF)
2253
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_QUERY_MEMBER_DEF
2254
+
2255
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2256
+ #endif // !defined(BOOST_ASIO_HAS_DEDUCED_QUERY_MEMBER_TRAIT)
2257
+
2258
+ #if !defined(BOOST_ASIO_HAS_DEDUCED_REQUIRE_MEMBER_TRAIT)
2259
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2260
+
2261
+ template <typename Prop, typename... SupportableProperties>
2262
+ struct require_member<
2263
+ execution::any_executor<SupportableProperties...>, Prop,
2264
+ typename enable_if<
2265
+ execution::detail::supportable_properties<
2266
+ 0, void(SupportableProperties...)>::template
2267
+ find_convertible_requirable_property<Prop>::value
2268
+ >::type>
2269
+ {
2270
+ static const bool is_valid = true;
2271
+ static const bool is_noexcept = false;
2272
+ typedef execution::any_executor<SupportableProperties...> result_type;
2273
+ };
2274
+
2275
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2276
+
2277
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_REQUIRE_MEMBER_DEF(n) \
2278
+ template <typename Prop, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
2279
+ struct require_member< \
2280
+ execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>, Prop, \
2281
+ typename enable_if< \
2282
+ execution::detail::supportable_properties< \
2283
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
2284
+ find_convertible_requirable_property<Prop>::value \
2285
+ >::type> \
2286
+ { \
2287
+ static const bool is_valid = true; \
2288
+ static const bool is_noexcept = false; \
2289
+ typedef execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)> result_type; \
2290
+ }; \
2291
+ /**/
2292
+ BOOST_ASIO_VARIADIC_GENERATE(
2293
+ BOOST_ASIO_PRIVATE_ANY_EXECUTOR_REQUIRE_MEMBER_DEF)
2294
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_REQUIRE_MEMBER_DEF
2295
+
2296
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2297
+ #endif // !defined(BOOST_ASIO_HAS_DEDUCED_REQUIRE_MEMBER_TRAIT)
2298
+
2299
+ #if !defined(BOOST_ASIO_HAS_DEDUCED_PREFER_FREE_TRAIT)
2300
+ #if defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2301
+
2302
+ template <typename Prop, typename... SupportableProperties>
2303
+ struct prefer_member<
2304
+ execution::any_executor<SupportableProperties...>, Prop,
2305
+ typename enable_if<
2306
+ execution::detail::supportable_properties<
2307
+ 0, void(SupportableProperties...)>::template
2308
+ find_convertible_preferable_property<Prop>::value
2309
+ >::type>
2310
+ {
2311
+ static const bool is_valid = true;
2312
+ static const bool is_noexcept = false;
2313
+ typedef execution::any_executor<SupportableProperties...> result_type;
2314
+ };
2315
+
2316
+ #else // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2317
+
2318
+ #define BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PREFER_FREE_DEF(n) \
2319
+ template <typename Prop, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
2320
+ struct prefer_member< \
2321
+ execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)>, Prop, \
2322
+ typename enable_if< \
2323
+ execution::detail::supportable_properties< \
2324
+ 0, void(BOOST_ASIO_VARIADIC_TARGS(n))>::template \
2325
+ find_convertible_preferable_property<Prop>::value \
2326
+ >::type> \
2327
+ { \
2328
+ static const bool is_valid = true; \
2329
+ static const bool is_noexcept = false; \
2330
+ typedef execution::any_executor<BOOST_ASIO_VARIADIC_TARGS(n)> result_type; \
2331
+ }; \
2332
+ /**/
2333
+ BOOST_ASIO_VARIADIC_GENERATE(BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PREFER_FREE_DEF)
2334
+ #undef BOOST_ASIO_PRIVATE_ANY_EXECUTOR_PREFER_FREE_DEF
2335
+
2336
+ #endif // defined(BOOST_ASIO_HAS_VARIADIC_TEMPLATES)
2337
+ #endif // !defined(BOOST_ASIO_HAS_DEDUCED_PREFER_FREE_TRAIT)
2338
+
2339
+ } // namespace traits
2340
+
2341
+ #endif // defined(GENERATING_DOCUMENTATION)
2342
+
2343
+ } // namespace asio
2344
+ } // namespace boost
2345
+
2346
+ #include <boost/asio/detail/pop_options.hpp>
2347
+
2348
+ #endif // BOOST_ASIO_EXECUTION_ANY_EXECUTOR_HPP