passenger 6.0.8 → 6.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1905) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG +288 -0
  3. data/CONTRIBUTORS +15 -0
  4. data/bin/passenger-install-nginx-module +2 -1
  5. data/bin/passenger-status +29 -4
  6. data/build/common_library.rb +2 -1
  7. data/build/integration_tests.rb +8 -7
  8. data/build/ruby_tests.rb +1 -1
  9. data/build/test_basics.rb +8 -5
  10. data/dev/copy_boost_headers +119 -71
  11. data/dev/index_cxx_dependencies.rb +1 -1
  12. data/dev/webpacketpp.patch +39 -0
  13. data/doc/templates/markdown.html.erb +2 -6
  14. data/package.json +20 -18
  15. data/resources/mime.types +1 -0
  16. data/resources/templates/error_renderer/with_details/dist/bundle.js +2 -33
  17. data/resources/templates/error_renderer/with_details/dist/styles.css +2 -2
  18. data/resources/templates/error_renderer/with_details/src/index.html.template +0 -2
  19. data/resources/templates/error_renderer/with_details/webpack.config.js +13 -16
  20. data/resources/templates/error_renderer/without_details/dist/bundle.js +0 -1
  21. data/resources/templates/error_renderer/without_details/dist/styles.css +1 -1
  22. data/resources/templates/error_renderer/without_details/webpack.config.js +13 -16
  23. data/resources/templates/standalone/server.erb +1 -0
  24. data/src/agent/Core/ApiServer.h +35 -0
  25. data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -0
  26. data/src/agent/Core/ApplicationPool/Options.h +5 -0
  27. data/src/agent/Core/ApplicationPool/Pool.h +9 -1
  28. data/src/agent/Core/Config.h +2 -1
  29. data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
  30. data/src/agent/Core/Controller/Config.h +6 -2
  31. data/src/agent/Core/Controller/InitRequest.cpp +2 -0
  32. data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
  33. data/src/agent/Core/Controller.h +4 -1
  34. data/src/agent/Core/OptionParser.h +4 -0
  35. data/src/agent/Core/SecurityUpdateChecker.h +4 -4
  36. data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +7 -0
  37. data/src/agent/Core/SpawningKit/Config.h +13 -0
  38. data/src/agent/Core/SpawningKit/Handshake/Prepare.h +4 -0
  39. data/src/agent/Core/SpawningKit/PipeWatcher.h +18 -3
  40. data/src/agent/Core/SpawningKit/Spawner.h +1 -0
  41. data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
  42. data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +27 -1
  43. data/src/agent/Watchdog/Config.h +2 -1
  44. data/src/agent/Watchdog/WatchdogMain.cpp +4 -0
  45. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +32 -27
  46. data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +5 -0
  47. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +19 -1
  48. data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +3 -0
  49. data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +3 -0
  50. data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +11 -0
  51. data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
  52. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +19 -2
  53. data/src/apache2_module/Hooks.cpp +1 -0
  54. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
  55. data/src/cxx_supportlib/BackgroundEventLoop.cpp +4 -0
  56. data/src/cxx_supportlib/Constants.h +1 -1
  57. data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
  58. data/src/cxx_supportlib/FileDescriptor.h +8 -0
  59. data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
  60. data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
  61. data/src/cxx_supportlib/SafeLibev.h +2 -0
  62. data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +3 -0
  63. data/src/cxx_supportlib/ServerKit/http_parser.cpp +740 -430
  64. data/src/cxx_supportlib/ServerKit/http_parser.h +156 -34
  65. data/src/cxx_supportlib/StaticString.h +2 -0
  66. data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
  67. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +3 -0
  68. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +2 -0
  69. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
  70. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_iterator.hpp +11 -3
  71. data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +27 -1
  72. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
  73. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
  74. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +34 -0
  75. data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
  76. data/src/cxx_supportlib/vendor-modified/boost/array.hpp +1 -1
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +344 -0
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +825 -0
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +299 -11
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +80 -0
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +141 -0
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +129 -21
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +240 -0
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +103 -16
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +299 -0
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +1209 -120
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +11 -2
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +306 -125
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +50 -28
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +831 -0
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +703 -0
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +308 -127
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +637 -0
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +130 -56
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +143 -50
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +120 -37
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +102 -49
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +461 -207
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +1 -1
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +1 -1
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +756 -0
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +229 -93
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +55 -33
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +633 -0
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +751 -0
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +754 -0
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +230 -24
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +753 -0
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +479 -66
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +330 -0
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +43 -10
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +39 -10
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +43 -10
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +307 -0
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +73 -21
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +415 -13
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +206 -75
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +90 -0
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +1 -1
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +139 -47
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +804 -0
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +8 -7
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +4 -1
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +1 -1
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +276 -65
  143. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +2 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
  145. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +192 -1
  146. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
  147. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +2 -1
  148. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
  150. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
  151. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +1 -1
  152. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +330 -0
  153. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
  154. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +1 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
  156. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +578 -81
  157. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +38 -1
  158. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
  159. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -1
  160. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
  161. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +41 -1
  162. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
  163. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +42 -2
  164. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +41 -1
  165. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +40 -1
  166. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +36 -7
  167. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +36 -7
  168. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
  169. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +1 -1
  170. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +42 -0
  171. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +3 -2
  172. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +2 -1
  173. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
  174. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
  175. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
  176. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
  177. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
  178. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
  179. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
  180. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +2 -2
  181. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
  182. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +16 -12
  183. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
  184. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +1 -1
  185. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +1 -1
  186. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
  187. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +155 -28
  188. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
  189. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
  190. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +367 -5
  191. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +21 -1
  192. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +27 -4
  193. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
  194. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +47 -8
  195. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +10 -8
  196. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +4 -2
  197. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +207 -0
  198. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +142 -0
  199. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +114 -0
  200. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +916 -0
  201. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +251 -0
  202. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
  203. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +44 -6
  204. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
  205. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
  206. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
  207. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
  208. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/{reactive_serial_port_service.ipp → posix_serial_port_service.ipp} +38 -19
  209. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
  210. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
  211. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +16 -9
  212. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +29 -19
  213. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +1 -1
  214. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +25 -4
  215. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
  216. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +67 -5
  217. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
  218. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
  219. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +164 -6
  220. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +147 -132
  221. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +4 -4
  222. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +24 -42
  223. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
  224. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +3 -33
  225. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +29 -5
  226. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
  227. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +10 -6
  228. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
  229. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
  230. data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/defer.hpp → detail/initiate_defer.hpp} +52 -48
  231. data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/dispatch.hpp → detail/initiate_dispatch.hpp} +43 -57
  232. data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/post.hpp → detail/initiate_post.hpp} +52 -48
  233. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
  234. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +14 -8
  235. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +197 -0
  236. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +192 -0
  237. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +689 -0
  238. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +191 -0
  239. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +187 -0
  240. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +263 -0
  241. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +117 -0
  242. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +86 -0
  243. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +321 -0
  244. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +287 -0
  245. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +143 -0
  246. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +207 -0
  247. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +208 -0
  248. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +194 -0
  249. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +193 -0
  250. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +196 -0
  251. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +633 -0
  252. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +665 -0
  253. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +115 -0
  254. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +27 -1
  255. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
  256. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
  257. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +37 -8
  258. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
  259. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
  260. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +97 -1
  261. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
  262. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +1 -1
  263. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
  264. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +1 -1
  265. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
  266. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
  267. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -5
  268. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +19 -4
  269. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
  270. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +1 -1
  271. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
  272. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
  273. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
  274. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
  275. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
  276. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
  277. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
  278. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +1 -1
  279. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +17 -1
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +1 -1
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
  282. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
  283. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
  284. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/{reactive_serial_port_service.hpp → posix_serial_port_service.hpp} +30 -18
  285. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
  286. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
  287. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
  288. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
  289. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +45 -2
  290. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +176 -26
  291. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +35 -1
  292. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +87 -1
  293. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +41 -1
  294. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +40 -1
  295. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +41 -1
  296. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +41 -1
  297. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +41 -1
  298. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +40 -1
  299. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +127 -20
  300. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +239 -30
  301. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +35 -1
  302. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +29 -5
  303. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +5 -1
  304. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
  305. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +4 -5
  306. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
  307. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +4 -3
  308. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
  309. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +4 -3
  310. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +9 -7
  311. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +16 -1
  312. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +17 -8
  313. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
  314. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +51 -0
  315. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
  316. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
  317. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
  318. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
  319. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +59 -6
  320. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
  321. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
  322. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +1 -1
  323. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
  324. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +5 -1
  325. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +67 -4
  326. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
  327. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +37 -45
  328. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
  329. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +1 -1
  330. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +12 -1
  331. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
  332. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +1 -1
  333. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
  334. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +2 -2
  335. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
  336. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
  337. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
  338. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
  339. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
  340. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +8 -1
  341. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +4 -5
  342. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
  343. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
  344. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
  345. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +5 -1
  346. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +102 -25
  347. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +18 -9
  348. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +7 -3
  349. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +31 -2
  350. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
  351. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
  352. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
  353. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +3 -1
  354. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +3 -1
  355. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
  356. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +17 -1
  357. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +85 -0
  358. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +1 -1
  359. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +1 -1
  360. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
  361. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
  362. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +15 -6
  363. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +1 -1
  364. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +125 -44
  365. data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
  366. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +126 -19
  367. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +708 -249
  368. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +1 -1
  369. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +332 -83
  370. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +263 -70
  371. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +62 -50
  372. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +324 -90
  373. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +52 -44
  374. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +73 -14
  375. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +40 -9
  376. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +1 -1
  377. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +5 -1
  378. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +1 -1
  379. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +1 -1
  380. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +1 -1
  381. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +1 -1
  382. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +80 -54
  383. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +50 -26
  384. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +1 -1
  385. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +1 -1
  386. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +1 -1
  387. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +325 -82
  388. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +73 -14
  389. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +6 -1
  390. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +249 -70
  391. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +7 -3
  392. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +6 -1
  393. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +1 -1
  394. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +248 -70
  395. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +26 -24
  396. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +6 -1
  397. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +6 -1
  398. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +19 -17
  399. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +19 -17
  400. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +25 -23
  401. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +19 -17
  402. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +34 -29
  403. data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +1 -1
  404. data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +1 -1
  405. data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +1 -1
  406. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +130 -50
  407. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +38 -0
  408. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +138 -0
  409. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +38 -0
  410. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
  411. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +493 -0
  412. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +493 -0
  413. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
  414. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +72 -0
  415. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +88 -0
  416. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +303 -0
  417. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +147 -0
  418. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +189 -0
  419. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +72 -0
  420. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +295 -0
  421. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +230 -0
  422. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +38 -0
  423. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +82 -0
  424. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_message.hpp +131 -0
  425. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +286 -0
  426. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +141 -0
  427. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +122 -0
  428. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +146 -0
  429. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +150 -0
  430. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +679 -0
  431. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
  432. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +143 -0
  433. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +56 -0
  434. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +614 -0
  435. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +201 -0
  436. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +241 -0
  437. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +63 -0
  438. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp +1177 -0
  439. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +1224 -0
  440. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +794 -0
  441. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +256 -0
  442. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +216 -0
  443. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
  444. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +463 -0
  445. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +38 -0
  446. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +226 -0
  447. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +197 -0
  448. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -0
  449. data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +168 -0
  450. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +1 -1
  451. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +1 -1
  452. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
  453. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
  454. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +1 -1
  455. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +1 -1
  456. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +1 -1
  457. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +1 -1
  458. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
  459. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +1 -1
  460. data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
  461. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +132 -0
  462. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +143 -0
  463. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +227 -0
  464. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +322 -0
  465. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +785 -26
  466. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +50 -50
  467. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +50 -50
  468. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +98 -0
  469. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +193 -50
  470. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +170 -127
  471. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +75 -0
  472. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +151 -0
  473. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +204 -0
  474. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +158 -0
  475. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +1 -1
  476. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
  477. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +1 -1
  478. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
  479. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +1 -2
  480. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +1 -1
  481. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +6 -5
  482. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +57 -47
  483. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +2 -1
  484. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +1 -1
  485. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +227 -0
  486. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +275 -201
  487. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +141 -111
  488. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +498 -378
  489. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +302 -58
  490. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
  491. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
  492. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +1375 -285
  493. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +13 -2
  494. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
  495. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +1 -1
  496. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +1 -2
  497. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +6 -2
  498. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +5 -4
  499. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +43 -21
  500. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +28 -3
  501. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +235 -186
  502. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +117 -96
  503. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +126 -122
  504. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +15 -3
  505. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
  506. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
  507. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +23 -1
  508. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +98 -3
  509. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
  510. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
  511. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +81 -6
  512. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
  513. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
  514. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +11 -1
  515. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +32 -5
  516. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +180 -68
  517. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
  518. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
  519. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
  520. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
  521. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +1 -1
  522. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +1 -1
  523. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
  524. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
  525. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +1 -1
  526. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
  527. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +1 -1
  528. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
  529. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +1 -1
  530. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
  531. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +2 -2
  532. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
  533. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
  534. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
  535. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +4 -2
  536. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
  537. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +4 -2
  538. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +1 -1
  539. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +2 -2
  540. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
  541. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
  542. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
  543. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +1 -1
  544. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +1 -1
  545. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +1 -1
  546. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +2 -2
  547. data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +1 -1
  548. data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +47 -0
  549. data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
  550. data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
  551. data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
  552. data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +1 -1
  553. data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +1 -1
  554. data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +1 -1
  555. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +1 -1
  556. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +3 -8
  557. data/src/cxx_supportlib/vendor-modified/boost/asio/local/seq_packet_protocol.hpp +86 -0
  558. data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +1 -1
  559. data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +1 -1
  560. data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
  561. data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
  562. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +111 -27
  563. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +136 -37
  564. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +1 -1
  565. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +1 -1
  566. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +1 -1
  567. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +139 -47
  568. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +243 -165
  569. data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +80 -0
  570. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +85 -57
  571. data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +37 -0
  572. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +381 -189
  573. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +154 -53
  574. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +529 -226
  575. data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +37 -0
  576. data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +140 -0
  577. data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +3 -3
  578. data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +358 -0
  579. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +147 -100
  580. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +105 -63
  581. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +1 -1
  582. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
  583. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +1 -1
  584. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +184 -0
  585. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +1 -1
  586. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +655 -93
  587. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +4 -1
  588. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +24 -24
  589. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +2 -2
  590. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +9 -1
  591. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +2 -2
  592. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +33 -1
  593. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +7 -3
  594. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +44 -24
  595. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
  596. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +1 -1
  597. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
  598. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +2 -2
  599. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +3 -3
  600. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +53 -1
  601. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
  602. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +2 -2
  603. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +1 -1
  604. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +1 -1
  605. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
  606. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +154 -71
  607. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +25 -3
  608. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +1 -1
  609. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +1 -1
  610. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +1 -1
  611. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +1 -1
  612. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +227 -54
  613. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
  614. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
  615. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
  616. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +1 -1
  617. data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +1 -1
  618. data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
  619. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +77 -30
  620. data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +37 -0
  621. data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
  622. data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +1 -1
  623. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +18 -9
  624. data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
  625. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +236 -1
  626. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +48 -14
  627. data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
  628. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +1 -1
  629. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +1 -1
  630. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +1 -1
  631. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +1 -1
  632. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +7 -3
  633. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +1 -1
  634. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +1 -1
  635. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +1 -1
  636. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +1 -1
  637. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +1 -1
  638. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +1 -1
  639. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +1 -1
  640. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +1 -1
  641. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +1 -1
  642. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +1 -1
  643. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +1 -1
  644. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +1 -1
  645. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +1 -1
  646. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +1 -1
  647. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +1 -1
  648. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +1 -1
  649. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +1 -1
  650. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +1 -1
  651. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +1 -1
  652. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +1 -1
  653. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +1 -1
  654. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +1 -1
  655. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +1 -1
  656. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +3 -2
  657. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +1 -1
  658. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +1 -1
  659. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
  660. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +1 -1
  661. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
  662. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
  663. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
  664. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +3 -11
  665. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
  666. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
  667. data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
  668. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +13 -15
  669. data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +10 -7
  670. data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
  671. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
  672. data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
  673. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +81 -23
  674. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +110 -11
  675. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +125 -36
  676. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +122 -35
  677. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +1 -1
  678. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +1 -1
  679. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +9 -9
  680. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +1 -1
  681. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +1 -1
  682. data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +37 -0
  683. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +378 -186
  684. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +156 -53
  685. data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
  686. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +35 -1
  687. data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +120 -21
  688. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +8 -15
  689. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
  690. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +5 -1
  691. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_impl.hpp +183 -64
  692. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +169 -67
  693. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +83 -12
  694. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +40 -11
  695. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +8 -1
  696. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +8 -1
  697. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_arm.hpp +8 -1
  698. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +19 -10
  699. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +29 -60
  700. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +6 -6
  701. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +105 -100
  702. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +107 -40
  703. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +4 -4
  704. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +32 -5
  705. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +1 -1
  706. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +32 -32
  707. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +15 -15
  708. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +73 -72
  709. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +8 -1
  710. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +4 -0
  711. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_ppc_asm_common.hpp +33 -0
  712. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
  713. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +15 -6
  714. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +3 -3
  715. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +143 -0
  716. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +42 -0
  717. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +46 -0
  718. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/remove_cv.hpp +42 -0
  719. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_darwin_ulock.hpp +58 -0
  720. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_windows.hpp +3 -1
  721. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +65 -0
  722. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +158 -0
  723. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_windows.hpp +55 -26
  724. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +8 -2
  725. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
  726. data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +14 -0
  727. data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +9 -28
  728. data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
  729. data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf_cc.hpp +18 -18
  730. data/src/cxx_supportlib/vendor-modified/boost/bind/detail/is_same.hpp +36 -0
  731. data/src/cxx_supportlib/vendor-modified/boost/bind/detail/requires_cxx11.hpp +22 -0
  732. data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +165 -0
  733. data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +3 -2
  734. data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +12 -0
  735. data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +53 -8
  736. data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +40 -0
  737. data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +1 -0
  738. data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
  739. data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +2 -0
  740. data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
  741. data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/requires_cxx11.hpp +23 -0
  742. data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
  743. data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +9 -6
  744. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_get.hpp +1 -1
  745. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +4 -4
  746. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
  747. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp +1 -1
  748. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +2 -2
  749. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +3 -3
  750. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/timezone.hpp +2 -1
  751. data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
  752. data/src/cxx_supportlib/vendor-modified/boost/chrono/io_v1/chrono_io.hpp +3 -3
  753. data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
  754. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +6 -6
  755. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +5 -1
  756. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +2 -2
  757. data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +1 -1
  758. data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
  759. data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
  760. data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
  761. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
  762. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +209 -0
  763. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
  764. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +62 -0
  765. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
  766. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
  767. data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +7 -6
  768. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +1 -0
  769. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +16 -3
  770. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +83 -0
  771. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +1 -0
  772. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +32 -11
  773. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +1 -0
  774. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +1 -0
  775. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +14 -6
  776. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +1 -0
  777. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +1 -0
  778. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +1 -0
  779. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +1 -0
  780. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +1 -0
  781. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +3 -0
  782. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +1 -0
  783. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +7 -0
  784. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +1 -0
  785. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +27 -3
  786. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +9 -0
  787. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +1 -0
  788. data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +203 -0
  789. data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
  790. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +184 -3
  791. data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
  792. data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
  793. data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +23 -0
  794. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +66 -6
  795. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +36 -1
  796. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +132 -7
  797. data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +11 -0
  798. data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +22 -8
  799. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +20 -12
  800. data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +9 -0
  801. data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +7 -3
  802. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +237 -175
  803. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
  804. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +14 -13
  805. data/src/cxx_supportlib/vendor-modified/boost/container/detail/addressof.hpp +2 -10
  806. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +182 -135
  807. data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
  808. data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +14 -15
  809. data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +14 -10
  810. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +11 -3
  811. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
  812. data/src/cxx_supportlib/vendor-modified/boost/container/detail/construct_in_place.hpp +17 -15
  813. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +3 -3
  814. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +961 -151
  815. data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +181 -57
  816. data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +59 -59
  817. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +218 -143
  818. data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
  819. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +10 -0
  820. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
  821. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_pair.hpp +91 -0
  822. data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +8 -0
  823. data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +88 -69
  824. data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +14 -10
  825. data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +48 -23
  826. data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +24 -3
  827. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +252 -119
  828. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
  829. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +12 -12
  830. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +19 -91
  831. data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +1 -7
  832. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
  833. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_resource.hpp +3 -7
  834. data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
  835. data/src/cxx_supportlib/vendor-modified/boost/container/detail/transform_iterator.hpp +28 -28
  836. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +249 -342
  837. data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +3 -0
  838. data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +4 -14
  839. data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +67 -10
  840. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2961 -0
  841. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +265 -180
  842. data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +36 -35
  843. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +72 -100
  844. data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +95 -89
  845. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +10 -3
  846. data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +3 -3
  847. data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +14 -12
  848. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +159 -9
  849. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
  850. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +8 -3
  851. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +3 -3
  852. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +9 -9
  853. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +3 -3
  854. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +3 -3
  855. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +3 -3
  856. data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +0 -2
  857. data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +32 -43
  858. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +83 -115
  859. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +134 -162
  860. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +159 -101
  861. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +81 -50
  862. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +413 -293
  863. data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +140 -26
  864. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +512 -725
  865. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
  866. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +410 -0
  867. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple_like.hpp +156 -0
  868. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/mulx.hpp +79 -0
  869. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/requires_cxx11.hpp +22 -0
  870. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +486 -571
  871. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +25 -24
  872. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +92 -0
  873. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +38 -0
  874. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +74 -0
  875. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_tuple_like.hpp +42 -0
  876. data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +39 -0
  877. data/src/cxx_supportlib/vendor-modified/boost/core/alignof.hpp +57 -0
  878. data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +7 -81
  879. data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +472 -285
  880. data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
  881. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +936 -0
  882. data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +20 -3
  883. data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +298 -0
  884. data/src/cxx_supportlib/vendor-modified/boost/core/data.hpp +46 -0
  885. data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +19 -9
  886. data/src/cxx_supportlib/vendor-modified/boost/core/detail/is_same.hpp +39 -0
  887. data/src/cxx_supportlib/vendor-modified/boost/core/detail/lwt_unattended.hpp +66 -0
  888. data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_pause.hpp +71 -0
  889. data/src/cxx_supportlib/vendor-modified/boost/{smart_ptr → core}/detail/sp_thread_sleep.hpp +39 -21
  890. data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_yield.hpp +100 -0
  891. data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_win32_sleep.hpp +54 -0
  892. data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
  893. data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +1272 -0
  894. data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +25 -16
  895. data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +46 -0
  896. data/src/cxx_supportlib/vendor-modified/boost/core/identity.hpp +61 -0
  897. data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
  898. data/src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp +10 -15
  899. data/src/cxx_supportlib/vendor-modified/boost/core/launder.hpp +55 -0
  900. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +67 -22
  901. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +8 -54
  902. data/src/cxx_supportlib/vendor-modified/boost/core/make_span.hpp +59 -0
  903. data/src/cxx_supportlib/vendor-modified/boost/core/max_align.hpp +82 -0
  904. data/src/cxx_supportlib/vendor-modified/boost/core/memory_resource.hpp +108 -0
  905. data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +3 -0
  906. data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +1 -1
  907. data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +111 -60
  908. data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +1 -1
  909. data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +58 -15
  910. data/src/cxx_supportlib/vendor-modified/boost/core/serialization.hpp +131 -0
  911. data/src/cxx_supportlib/vendor-modified/boost/core/size.hpp +31 -0
  912. data/src/cxx_supportlib/vendor-modified/boost/core/snprintf.hpp +173 -0
  913. data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +399 -0
  914. data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +27 -8
  915. data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1181 -0
  916. data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
  917. data/src/cxx_supportlib/vendor-modified/boost/core/verbose_terminate_handler.hpp +88 -0
  918. data/src/cxx_supportlib/vendor-modified/boost/core/yield_primitives.hpp +12 -0
  919. data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
  920. data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
  921. data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +1 -1
  922. data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
  923. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +3 -3
  924. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
  925. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +12 -13
  926. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +2 -2
  927. data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +3 -3
  928. data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
  929. data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
  930. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/conversion.hpp +1 -1
  931. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_io.hpp +1 -1
  932. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +4 -4
  933. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
  934. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
  935. data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -1
  936. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +1 -1
  937. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
  938. data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +2 -2
  939. data/src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp +50 -0
  940. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
  941. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
  942. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
  943. data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +161 -0
  944. data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
  945. data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +21 -0
  946. data/src/cxx_supportlib/vendor-modified/boost/detail/workaround.hpp +3 -3
  947. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +108 -62
  948. data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +2 -1
  949. data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +3 -3
  950. data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +84 -2
  951. data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +1 -4
  952. data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +1 -1
  953. data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +3 -3
  954. data/src/cxx_supportlib/vendor-modified/boost/function/detail/epilogue.hpp +39 -0
  955. data/src/cxx_supportlib/vendor-modified/boost/function/detail/prologue.hpp +1 -0
  956. data/src/cxx_supportlib/vendor-modified/boost/function/detail/requires_cxx11.hpp +22 -0
  957. data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +37 -32
  958. data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +24 -0
  959. data/src/cxx_supportlib/vendor-modified/boost/function.hpp +2 -0
  960. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
  961. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +2 -2
  962. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +1 -1
  963. data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +1 -1
  964. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +86 -81
  965. data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
  966. data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +1 -1
  967. data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +2 -2
  968. data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +2 -2
  969. data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +2 -2
  970. data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
  971. data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +2 -2
  972. data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
  973. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
  974. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
  975. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +63 -63
  976. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
  977. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +101 -109
  978. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +134 -128
  979. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +35 -27
  980. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +88 -19
  981. data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
  982. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +30 -30
  983. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +10 -8
  984. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +14 -14
  985. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +38 -40
  986. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +84 -15
  987. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
  988. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/default_header_holder.hpp +1 -1
  989. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
  990. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +0 -31
  991. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
  992. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
  993. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +182 -102
  994. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +9 -8
  995. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +115 -69
  996. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +3 -3
  997. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +4 -4
  998. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +7 -55
  999. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +1 -1
  1000. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +4 -4
  1001. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_to_value.hpp +1 -1
  1002. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +18 -18
  1003. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/reverse_iterator.hpp +3 -140
  1004. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +3 -1
  1005. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +12 -4
  1006. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +2 -2
  1007. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +2 -2
  1008. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +6 -6
  1009. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
  1010. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +52 -0
  1011. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +29 -3
  1012. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1668 -969
  1013. data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +2 -0
  1014. data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +97 -17
  1015. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +97 -94
  1016. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
  1017. data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
  1018. data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +17 -3
  1019. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +12 -8
  1020. data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
  1021. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
  1022. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +30 -22
  1023. data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +9 -2
  1024. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
  1025. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +51 -51
  1026. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
  1027. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
  1028. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
  1029. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +58 -66
  1030. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +40 -40
  1031. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +152 -159
  1032. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
  1033. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
  1034. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
  1035. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +59 -57
  1036. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
  1037. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +37 -39
  1038. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
  1039. data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
  1040. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +90 -83
  1041. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +17 -17
  1042. data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +11 -0
  1043. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +6 -6
  1044. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -1
  1045. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +5 -5
  1046. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +10 -11
  1047. data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +148 -0
  1048. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +2 -2
  1049. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +106 -25
  1050. data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +8 -4
  1051. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +7 -7
  1052. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +1 -1
  1053. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +40 -51
  1054. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +13 -7
  1055. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
  1056. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +1 -1
  1057. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
  1058. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +11 -11
  1059. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
  1060. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
  1061. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +20 -2
  1062. data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
  1063. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +13 -25
  1064. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +10 -121
  1065. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +5 -1
  1066. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +17 -22
  1067. data/src/cxx_supportlib/vendor-modified/boost/limits.hpp +12 -12
  1068. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +48 -36
  1069. data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +91 -74
  1070. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +225 -163
  1071. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/basic_op.hpp +1 -0
  1072. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +21 -10
  1073. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/insertion_sort.hpp +9 -0
  1074. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +125 -209
  1075. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +24 -15
  1076. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +16 -5
  1077. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/search.hpp +79 -0
  1078. data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +8 -2
  1079. data/src/cxx_supportlib/vendor-modified/boost/move/algo/move.hpp +8 -5
  1080. data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +11 -11
  1081. data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +0 -1
  1082. data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +21 -0
  1083. data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +32 -6
  1084. data/src/cxx_supportlib/vendor-modified/boost/move/detail/addressof.hpp +61 -0
  1085. data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
  1086. data/src/cxx_supportlib/vendor-modified/boost/move/detail/force_ptr.hpp +36 -0
  1087. data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
  1088. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +109 -9
  1089. data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +8 -32
  1090. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +268 -0
  1091. data/src/cxx_supportlib/vendor-modified/boost/move/detail/reverse_iterator.hpp +40 -33
  1092. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +5 -1
  1093. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +2 -0
  1094. data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +263 -51
  1095. data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +0 -26
  1096. data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +82 -3
  1097. data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
  1098. data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +17 -18
  1099. data/src/cxx_supportlib/vendor-modified/boost/move/utility.hpp +2 -2
  1100. data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +38 -33
  1101. data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +1327 -0
  1102. data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +111 -0
  1103. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp +149 -0
  1104. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp +321 -0
  1105. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +48 -0
  1106. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +147 -0
  1107. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_defer.hpp +119 -0
  1108. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_fold.hpp +164 -0
  1109. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_front.hpp +50 -0
  1110. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_list.hpp +39 -0
  1111. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_value_list.hpp +41 -0
  1112. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list.hpp +24 -0
  1113. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list_v.hpp +27 -0
  1114. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +87 -0
  1115. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_min_element.hpp +51 -0
  1116. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_plus.hpp +84 -0
  1117. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +48 -0
  1118. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_rename.hpp +54 -0
  1119. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_value.hpp +25 -0
  1120. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_void.hpp +32 -0
  1121. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_with_index.hpp +385 -0
  1122. data/src/cxx_supportlib/vendor-modified/boost/mp11/function.hpp +222 -0
  1123. data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +112 -0
  1124. data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +42 -0
  1125. data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +472 -0
  1126. data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +188 -0
  1127. data/src/cxx_supportlib/vendor-modified/boost/mp11/utility.hpp +169 -0
  1128. data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +16 -0
  1129. data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +1 -1
  1130. data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +6 -6
  1131. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +1 -1
  1132. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
  1133. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
  1134. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity.hpp +1 -1
  1135. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/yes_no.hpp +2 -1
  1136. data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +1 -1
  1137. data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +1 -1
  1138. data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +2 -2
  1139. data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +1 -1
  1140. data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
  1141. data/src/cxx_supportlib/vendor-modified/boost/next_prior.hpp +3 -44
  1142. data/src/cxx_supportlib/vendor-modified/boost/nondet_random.hpp +22 -0
  1143. data/src/cxx_supportlib/vendor-modified/boost/none.hpp +3 -4
  1144. data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
  1145. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
  1146. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +4 -5
  1147. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
  1148. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/int_float_mixture.hpp +5 -5
  1149. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
  1150. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
  1151. data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
  1152. data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
  1153. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +5 -5
  1154. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +1 -1
  1155. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +4 -4
  1156. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +49 -0
  1157. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +10 -3
  1158. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +1 -1
  1159. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +37 -26
  1160. data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +87 -26
  1161. data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +3 -2
  1162. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +5 -5
  1163. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +11 -0
  1164. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +2 -2
  1165. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +1 -1
  1166. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +2 -2
  1167. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +4 -4
  1168. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +4 -4
  1169. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +1 -1
  1170. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +1 -1
  1171. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +1 -1
  1172. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +2 -2
  1173. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +1 -1
  1174. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +1 -1
  1175. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +1 -1
  1176. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -1
  1177. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +6 -6
  1178. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +12 -3
  1179. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +4 -4
  1180. data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +1 -1
  1181. data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +3 -3
  1182. data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +1 -1
  1183. data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +1 -1
  1184. data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +2 -2
  1185. data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +6 -6
  1186. data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +1 -1
  1187. data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +3 -3
  1188. data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
  1189. data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +22 -9
  1190. data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
  1191. data/src/cxx_supportlib/vendor-modified/boost/pool/simple_segregated_storage.hpp +13 -0
  1192. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +5 -0
  1193. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +10 -0
  1194. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +5 -0
  1195. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +5 -0
  1196. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
  1197. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +5 -0
  1198. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/loongarch.h +41 -0
  1199. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +5 -0
  1200. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +10 -0
  1201. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +5 -0
  1202. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +55 -4
  1203. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +5 -0
  1204. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +5 -0
  1205. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +5 -0
  1206. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +10 -0
  1207. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +14 -2
  1208. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +13 -0
  1209. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +5 -0
  1210. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +5 -0
  1211. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +5 -0
  1212. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +7 -2
  1213. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +5 -0
  1214. data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +2 -1
  1215. data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +1 -1
  1216. data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +2 -2
  1217. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +1 -1
  1218. data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +1 -1
  1219. data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +4 -0
  1220. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +1 -0
  1221. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +1 -0
  1222. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +1 -0
  1223. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +1 -0
  1224. data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +1 -0
  1225. data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +8 -10
  1226. data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
  1227. data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
  1228. data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +0 -1
  1229. data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
  1230. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
  1231. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
  1232. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
  1233. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
  1234. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
  1235. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
  1236. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
  1237. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
  1238. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
  1239. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
  1240. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
  1241. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
  1242. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
  1243. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
  1244. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
  1245. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
  1246. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
  1247. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +1 -1
  1248. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
  1249. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
  1250. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
  1251. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
  1252. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
  1253. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
  1254. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
  1255. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
  1256. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
  1257. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
  1258. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
  1259. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
  1260. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
  1261. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
  1262. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
  1263. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
  1264. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
  1265. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
  1266. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
  1267. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
  1268. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
  1269. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
  1270. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
  1271. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
  1272. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
  1273. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
  1274. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
  1275. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
  1276. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
  1277. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
  1278. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
  1279. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +0 -4
  1280. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
  1281. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
  1282. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
  1283. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
  1284. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
  1285. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
  1286. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
  1287. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
  1288. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
  1289. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
  1290. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
  1291. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
  1292. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
  1293. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
  1294. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
  1295. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
  1296. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
  1297. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
  1298. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
  1299. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
  1300. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
  1301. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
  1302. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
  1303. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
  1304. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
  1305. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
  1306. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
  1307. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
  1308. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
  1309. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
  1310. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
  1311. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
  1312. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
  1313. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
  1314. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
  1315. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
  1316. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
  1317. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
  1318. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
  1319. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
  1320. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
  1321. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
  1322. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
  1323. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
  1324. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
  1325. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
  1326. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
  1327. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
  1328. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
  1329. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
  1330. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
  1331. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
  1332. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
  1333. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
  1334. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
  1335. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
  1336. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
  1337. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
  1338. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
  1339. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
  1340. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
  1341. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
  1342. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
  1343. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
  1344. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
  1345. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
  1346. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
  1347. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
  1348. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
  1349. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
  1350. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
  1351. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
  1352. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
  1353. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
  1354. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
  1355. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
  1356. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
  1357. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
  1358. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +5 -72
  1359. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
  1360. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
  1361. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
  1362. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
  1363. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
  1364. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
  1365. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
  1366. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
  1367. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
  1368. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
  1369. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
  1370. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
  1371. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
  1372. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
  1373. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
  1374. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
  1375. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
  1376. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +114 -0
  1377. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
  1378. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
  1379. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
  1380. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
  1381. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
  1382. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
  1383. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
  1384. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
  1385. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
  1386. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
  1387. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
  1388. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
  1389. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
  1390. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
  1391. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
  1392. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
  1393. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
  1394. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
  1395. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
  1396. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
  1397. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
  1398. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
  1399. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
  1400. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
  1401. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
  1402. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
  1403. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
  1404. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
  1405. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
  1406. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
  1407. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
  1408. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
  1409. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +9 -3
  1410. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
  1411. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
  1412. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
  1413. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +2 -2
  1414. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
  1415. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
  1416. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +0 -5
  1417. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
  1418. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
  1419. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
  1420. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
  1421. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
  1422. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
  1423. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
  1424. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
  1425. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
  1426. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +0 -5
  1427. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +0 -5
  1428. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +0 -5
  1429. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +0 -6
  1430. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +17 -39
  1431. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +0 -5
  1432. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +0 -5
  1433. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
  1434. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
  1435. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
  1436. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
  1437. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
  1438. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +1 -1
  1439. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +2 -2
  1440. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
  1441. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +7 -3
  1442. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
  1443. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
  1444. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
  1445. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
  1446. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
  1447. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
  1448. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
  1449. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
  1450. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
  1451. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
  1452. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
  1453. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
  1454. data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
  1455. data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
  1456. data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
  1457. data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
  1458. data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
  1459. data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
  1460. data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
  1461. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
  1462. data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
  1463. data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
  1464. data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
  1465. data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
  1466. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
  1467. data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
  1468. data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
  1469. data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
  1470. data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
  1471. data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
  1472. data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
  1473. data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
  1474. data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
  1475. data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
  1476. data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
  1477. data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
  1478. data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
  1479. data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
  1480. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
  1481. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
  1482. data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
  1483. data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
  1484. data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
  1485. data/src/cxx_supportlib/vendor-modified/boost/ratio/config.hpp +7 -2
  1486. data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/requires_cxx11.hpp +22 -0
  1487. data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/plus.hpp +1 -1
  1488. data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +7 -7
  1489. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
  1490. data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +97 -113
  1491. data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -75
  1492. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -147
  1493. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
  1494. data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
  1495. data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
  1496. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +8 -9
  1497. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +20 -19
  1498. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +23 -13
  1499. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
  1500. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +107 -24
  1501. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
  1502. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
  1503. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +5 -5
  1504. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +8 -8
  1505. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
  1506. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
  1507. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +128 -0
  1508. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +13 -4
  1509. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +1 -1
  1510. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +40 -41
  1511. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +6 -6
  1512. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
  1513. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
  1514. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
  1515. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +3 -3
  1516. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
  1517. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +2 -0
  1518. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +638 -22
  1519. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +7 -7
  1520. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
  1521. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
  1522. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +521 -37
  1523. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
  1524. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1576 -0
  1525. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3130 -0
  1526. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
  1527. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
  1528. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
  1529. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
  1530. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
  1531. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
  1532. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
  1533. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
  1534. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
  1535. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
  1536. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +173 -0
  1537. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
  1538. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +106 -0
  1539. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
  1540. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +921 -0
  1541. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1874 -0
  1542. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
  1543. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
  1544. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
  1545. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
  1546. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
  1547. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
  1548. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
  1549. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
  1550. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
  1551. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
  1552. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
  1553. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
  1554. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
  1555. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
  1556. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
  1557. data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
  1558. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
  1559. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
  1560. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
  1561. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
  1562. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
  1563. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
  1564. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +862 -0
  1565. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1311 -0
  1566. data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
  1567. data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
  1568. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +1 -0
  1569. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/requires_cxx11.hpp +23 -0
  1570. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +2 -2
  1571. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +4 -2
  1572. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +1 -1
  1573. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +23 -3
  1574. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +11 -2
  1575. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +4 -6
  1576. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +1 -0
  1577. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +3 -1
  1578. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +1 -0
  1579. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +1 -0
  1580. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +1 -0
  1581. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +2 -1
  1582. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +2 -1
  1583. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +3 -1
  1584. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +63 -7
  1585. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +1 -0
  1586. data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +3 -2
  1587. data/src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp +32 -0
  1588. data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
  1589. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +51 -12
  1590. data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
  1591. data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
  1592. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +227 -0
  1593. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +190 -0
  1594. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +732 -0
  1595. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +349 -0
  1596. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
  1597. data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
  1598. data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
  1599. data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
  1600. data/src/cxx_supportlib/vendor-modified/boost/system/detail/mutex.hpp +121 -0
  1601. data/src/cxx_supportlib/vendor-modified/boost/system/detail/requires_cxx11.hpp +21 -0
  1602. data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +73 -0
  1603. data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +88 -0
  1604. data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category_impl.hpp +97 -0
  1605. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
  1606. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +61 -0
  1607. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_message.hpp +71 -0
  1608. data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
  1609. data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +57 -0
  1610. data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
  1611. data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -958
  1612. data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
  1613. data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
  1614. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
  1615. data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
  1616. data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
  1617. data/src/cxx_supportlib/vendor-modified/boost/system/system_error.hpp +30 -59
  1618. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +1 -1
  1619. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +26 -0
  1620. data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +1 -1
  1621. data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
  1622. data/src/cxx_supportlib/vendor-modified/boost/thread/thread_guard.hpp +5 -0
  1623. data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +141 -45
  1624. data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +2 -2
  1625. data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +22 -21
  1626. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +4 -1
  1627. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +247 -168
  1628. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
  1629. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +27 -27
  1630. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +1 -1
  1631. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
  1632. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +27 -27
  1633. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +242 -217
  1634. data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_swappable_cxx_11.hpp +70 -0
  1635. data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +22 -8
  1636. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +2 -1
  1637. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +1 -1
  1638. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +1 -1
  1639. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +1 -1
  1640. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +3 -0
  1641. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_function_pointer.hpp +1 -1
  1642. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_swappable.hpp +4 -24
  1643. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_swappable.hpp +92 -0
  1644. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +4 -0
  1645. data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +1 -1
  1646. data/src/cxx_supportlib/vendor-modified/boost/typeof/detail/requires_cxx11.hpp +18 -0
  1647. data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
  1648. data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
  1649. data/src/cxx_supportlib/vendor-modified/boost/typeof/std/functional.hpp +6 -1
  1650. data/src/cxx_supportlib/vendor-modified/boost/typeof/std/memory.hpp +6 -1
  1651. data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
  1652. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
  1653. data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
  1654. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +5 -4
  1655. data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +1 -1
  1656. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +818 -0
  1657. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map_fwd.hpp +54 -0
  1658. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +849 -0
  1659. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +1324 -0
  1660. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2119 -0
  1661. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/element_type.hpp +60 -0
  1662. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +73 -0
  1663. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +44 -0
  1664. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/ignore_wshadow.hpp +35 -0
  1665. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +210 -0
  1666. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +132 -0
  1667. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +95 -0
  1668. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/restore_wshadow.hpp +11 -0
  1669. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/rw_spinlock.hpp +179 -0
  1670. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +556 -0
  1671. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +52 -0
  1672. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +88 -1
  1673. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1645 -2992
  1674. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +8 -14
  1675. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/mulx.hpp +129 -0
  1676. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/narrow_cast.hpp +44 -0
  1677. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +263 -0
  1678. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/requires_cxx11.hpp +21 -0
  1679. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
  1680. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +122 -0
  1681. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
  1682. data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +45 -0
  1683. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +781 -0
  1684. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +48 -0
  1685. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +592 -0
  1686. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +48 -0
  1687. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +666 -227
  1688. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +10 -2
  1689. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +884 -0
  1690. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map_fwd.hpp +48 -0
  1691. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +688 -0
  1692. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set_fwd.hpp +48 -0
  1693. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +387 -112
  1694. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +10 -2
  1695. data/src/cxx_supportlib/vendor-modified/boost/utility/base_from_member.hpp +2 -1
  1696. data/src/cxx_supportlib/vendor-modified/boost/utility/binary.hpp +3 -2
  1697. data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
  1698. data/src/cxx_supportlib/vendor-modified/boost/utility/in_place_factory.hpp +6 -0
  1699. data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +33 -11
  1700. data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +6 -2
  1701. data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +27 -4
  1702. data/src/cxx_supportlib/vendor-modified/boost/utility/typed_in_place_factory.hpp +6 -1
  1703. data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +5 -1
  1704. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  1705. data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
  1706. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
  1707. data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +1 -1
  1708. data/src/helper-scripts/wsgi-loader.py +34 -17
  1709. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +16 -0
  1710. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +12 -0
  1711. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +24 -0
  1712. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +10 -0
  1713. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +39 -0
  1714. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +26 -0
  1715. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +6 -0
  1716. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +8 -0
  1717. data/src/nginx_module/ngx_http_passenger_module.c +1 -0
  1718. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/common.js +50 -29
  1719. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/cli-config.js +20 -20
  1720. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/npm-config.js +11 -11
  1721. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/syslog-config.js +3 -3
  1722. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config.js +8 -2
  1723. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/container.js +2 -1
  1724. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/logger.js +174 -146
  1725. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/console.js +4 -2
  1726. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/file.js +15 -5
  1727. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/http.js +14 -4
  1728. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports.js +26 -24
  1729. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston.js +5 -5
  1730. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/package.json +4 -13
  1731. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/colors/package.json +19 -33
  1732. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/cycle/package.json +11 -29
  1733. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/eyes/package.json +12 -40
  1734. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/isstream/package.json +3 -12
  1735. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/lib/stack-trace.js +49 -24
  1736. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/package.json +4 -16
  1737. data/src/nodejs_supportlib/vendor-copy/winston/package.json +11 -55
  1738. data/src/ruby_native_extension/extconf.rb +1 -1
  1739. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
  1740. data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +6 -0
  1741. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
  1742. data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +16 -12
  1743. data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +7 -2
  1744. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +11 -2
  1745. data/src/ruby_supportlib/phusion_passenger/native_support.rb +4 -2
  1746. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +12 -0
  1747. data/src/ruby_supportlib/phusion_passenger/packaging.rb +3 -1
  1748. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +6 -3
  1749. data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
  1750. data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
  1751. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
  1752. data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
  1753. data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +2 -1
  1754. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
  1755. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +47 -28
  1756. data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
  1757. data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +2 -2
  1758. data/src/ruby_supportlib/phusion_passenger/public_api.rb +3 -0
  1759. data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +12 -1
  1760. data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +18 -18
  1761. data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
  1762. data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +5 -0
  1763. data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +7 -1
  1764. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -0
  1765. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +28 -17
  1766. data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -0
  1767. data/src/ruby_supportlib/phusion_passenger.rb +7 -7
  1768. metadata +577 -150
  1769. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
  1770. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +0 -637
  1771. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
  1772. data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -60
  1773. data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
  1774. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
  1775. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
  1776. data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
  1777. data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -363
  1778. data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
  1779. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
  1780. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
  1781. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -667
  1782. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
  1783. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
  1784. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
  1785. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
  1786. data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1038
  1787. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
  1788. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
  1789. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
  1790. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1712
  1791. data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
  1792. data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -489
  1793. data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
  1794. data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
  1795. data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
  1796. data/src/cxx_supportlib/vendor-modified/boost/pointer_to_other.hpp +0 -55
  1797. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -557
  1798. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
  1799. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_pause.hpp +0 -51
  1800. data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_interoperability.hpp +0 -182
  1801. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
  1802. data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp.orig +0 -841
  1803. data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp.orig +0 -54
  1804. data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +0 -278
  1805. data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +0 -297
  1806. data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +0 -265
  1807. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/daily-rotate-file.js +0 -601
  1808. data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/webhook.js +0 -146
  1809. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/LICENSE +0 -19
  1810. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/lib/pkginfo.js +0 -136
  1811. data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/package.json +0 -56
  1812. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
  1813. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +0 -0
  1814. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +0 -0
  1815. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
  1816. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
  1817. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +0 -0
  1818. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +0 -0
  1819. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
  1820. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
  1821. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
  1822. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
  1823. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -0
  1824. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
  1825. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
  1826. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
  1827. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
  1828. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
  1829. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
  1830. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +0 -0
  1831. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
  1832. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
  1833. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
  1834. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
  1835. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
  1836. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
  1837. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
  1838. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
  1839. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
  1840. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +0 -0
  1841. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
  1842. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
  1843. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
  1844. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
  1845. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
  1846. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
  1847. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +0 -0
  1848. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
  1849. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +0 -0
  1850. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
  1851. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
  1852. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
  1853. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -0
  1854. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -0
  1855. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +0 -0
  1856. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
  1857. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +0 -0
  1858. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
  1859. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
  1860. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +0 -0
  1861. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
  1862. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
  1863. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +0 -0
  1864. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -0
  1865. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
  1866. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
  1867. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
  1868. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
  1869. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
  1870. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
  1871. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
  1872. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
  1873. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +0 -0
  1874. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
  1875. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
  1876. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
  1877. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +0 -0
  1878. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
  1879. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
  1880. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
  1881. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -0
  1882. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -0
  1883. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
  1884. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +0 -0
  1885. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
  1886. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +0 -0
  1887. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -0
  1888. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
  1889. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -0
  1890. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -0
  1891. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
  1892. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -0
  1893. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
  1894. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +0 -0
  1895. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -0
  1896. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
  1897. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -0
  1898. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -0
  1899. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
  1900. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +0 -0
  1901. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
  1902. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +0 -0
  1903. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
  1904. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +0 -0
  1905. /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +0 -0
@@ -2,7 +2,7 @@
2
2
  // impl/read_until.hpp
3
3
  // ~~~~~~~~~~~~~~~~~~~
4
4
  //
5
- // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
5
+ // Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
6
  //
7
7
  // Distributed under the Boost Software License, Version 1.0. (See accompanying
8
8
  // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -19,10 +19,10 @@
19
19
  #include <string>
20
20
  #include <vector>
21
21
  #include <utility>
22
- #include <boost/asio/associated_allocator.hpp>
23
- #include <boost/asio/associated_executor.hpp>
22
+ #include <boost/asio/associator.hpp>
24
23
  #include <boost/asio/buffer.hpp>
25
24
  #include <boost/asio/buffers_iterator.hpp>
25
+ #include <boost/asio/detail/base_from_cancellation_state.hpp>
26
26
  #include <boost/asio/detail/bind_handler.hpp>
27
27
  #include <boost/asio/detail/handler_alloc_helpers.hpp>
28
28
  #include <boost/asio/detail/handler_cont_helpers.hpp>
@@ -78,10 +78,12 @@ namespace detail
78
78
  template <typename SyncReadStream, typename DynamicBuffer_v1>
79
79
  inline std::size_t read_until(SyncReadStream& s,
80
80
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
81
- typename enable_if<
81
+ typename constraint<
82
82
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
83
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
84
- >::type*)
83
+ >::type,
84
+ typename constraint<
85
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
86
+ >::type)
85
87
  {
86
88
  boost::system::error_code ec;
87
89
  std::size_t bytes_transferred = read_until(s,
@@ -94,10 +96,12 @@ template <typename SyncReadStream, typename DynamicBuffer_v1>
94
96
  std::size_t read_until(SyncReadStream& s,
95
97
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
96
98
  char delim, boost::system::error_code& ec,
97
- typename enable_if<
99
+ typename constraint<
98
100
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
99
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
100
- >::type*)
101
+ >::type,
102
+ typename constraint<
103
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
104
+ >::type)
101
105
  {
102
106
  typename decay<DynamicBuffer_v1>::type b(
103
107
  BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers));
@@ -148,10 +152,12 @@ template <typename SyncReadStream, typename DynamicBuffer_v1>
148
152
  inline std::size_t read_until(SyncReadStream& s,
149
153
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
150
154
  BOOST_ASIO_STRING_VIEW_PARAM delim,
151
- typename enable_if<
155
+ typename constraint<
152
156
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
153
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
154
- >::type*)
157
+ >::type,
158
+ typename constraint<
159
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
160
+ >::type)
155
161
  {
156
162
  boost::system::error_code ec;
157
163
  std::size_t bytes_transferred = read_until(s,
@@ -164,10 +170,12 @@ template <typename SyncReadStream, typename DynamicBuffer_v1>
164
170
  std::size_t read_until(SyncReadStream& s,
165
171
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
166
172
  BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
167
- typename enable_if<
173
+ typename constraint<
168
174
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
169
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
170
- >::type*)
175
+ >::type,
176
+ typename constraint<
177
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
178
+ >::type)
171
179
  {
172
180
  typename decay<DynamicBuffer_v1>::type b(
173
181
  BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers));
@@ -230,10 +238,12 @@ template <typename SyncReadStream, typename DynamicBuffer_v1>
230
238
  inline std::size_t read_until(SyncReadStream& s,
231
239
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
232
240
  const boost::regex& expr,
233
- typename enable_if<
241
+ typename constraint<
234
242
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
235
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
236
- >::type*)
243
+ >::type,
244
+ typename constraint<
245
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
246
+ >::type)
237
247
  {
238
248
  boost::system::error_code ec;
239
249
  std::size_t bytes_transferred = read_until(s,
@@ -246,10 +256,12 @@ template <typename SyncReadStream, typename DynamicBuffer_v1>
246
256
  std::size_t read_until(SyncReadStream& s,
247
257
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
248
258
  const boost::regex& expr, boost::system::error_code& ec,
249
- typename enable_if<
259
+ typename constraint<
250
260
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
251
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
252
- >::type*)
261
+ >::type,
262
+ typename constraint<
263
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
264
+ >::type)
253
265
  {
254
266
  typename decay<DynamicBuffer_v1>::type b(
255
267
  BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers));
@@ -314,11 +326,15 @@ template <typename SyncReadStream,
314
326
  inline std::size_t read_until(SyncReadStream& s,
315
327
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
316
328
  MatchCondition match_condition,
317
- typename enable_if<
329
+ typename constraint<
318
330
  is_match_condition<MatchCondition>::value
319
- && is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
320
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
321
- >::type*)
331
+ >::type,
332
+ typename constraint<
333
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
334
+ >::type,
335
+ typename constraint<
336
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
337
+ >::type)
322
338
  {
323
339
  boost::system::error_code ec;
324
340
  std::size_t bytes_transferred = read_until(s,
@@ -333,11 +349,15 @@ template <typename SyncReadStream,
333
349
  std::size_t read_until(SyncReadStream& s,
334
350
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
335
351
  MatchCondition match_condition, boost::system::error_code& ec,
336
- typename enable_if<
352
+ typename constraint<
337
353
  is_match_condition<MatchCondition>::value
338
- && is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
339
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
340
- >::type*)
354
+ >::type,
355
+ typename constraint<
356
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
357
+ >::type,
358
+ typename constraint<
359
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
360
+ >::type)
341
361
  {
342
362
  typename decay<DynamicBuffer_v1>::type b(
343
363
  BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers));
@@ -444,7 +464,7 @@ inline std::size_t read_until(SyncReadStream& s,
444
464
  template <typename SyncReadStream, typename Allocator, typename MatchCondition>
445
465
  inline std::size_t read_until(SyncReadStream& s,
446
466
  boost::asio::basic_streambuf<Allocator>& b, MatchCondition match_condition,
447
- typename enable_if<is_match_condition<MatchCondition>::value>::type*)
467
+ typename constraint<is_match_condition<MatchCondition>::value>::type)
448
468
  {
449
469
  return read_until(s, basic_streambuf_ref<Allocator>(b), match_condition);
450
470
  }
@@ -453,7 +473,7 @@ template <typename SyncReadStream, typename Allocator, typename MatchCondition>
453
473
  inline std::size_t read_until(SyncReadStream& s,
454
474
  boost::asio::basic_streambuf<Allocator>& b,
455
475
  MatchCondition match_condition, boost::system::error_code& ec,
456
- typename enable_if<is_match_condition<MatchCondition>::value>::type*)
476
+ typename constraint<is_match_condition<MatchCondition>::value>::type)
457
477
  {
458
478
  return read_until(s, basic_streambuf_ref<Allocator>(b), match_condition, ec);
459
479
  }
@@ -465,9 +485,9 @@ inline std::size_t read_until(SyncReadStream& s,
465
485
  template <typename SyncReadStream, typename DynamicBuffer_v2>
466
486
  inline std::size_t read_until(SyncReadStream& s,
467
487
  DynamicBuffer_v2 buffers, char delim,
468
- typename enable_if<
488
+ typename constraint<
469
489
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
470
- >::type*)
490
+ >::type)
471
491
  {
472
492
  boost::system::error_code ec;
473
493
  std::size_t bytes_transferred = read_until(s,
@@ -479,9 +499,9 @@ inline std::size_t read_until(SyncReadStream& s,
479
499
  template <typename SyncReadStream, typename DynamicBuffer_v2>
480
500
  std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
481
501
  char delim, boost::system::error_code& ec,
482
- typename enable_if<
502
+ typename constraint<
483
503
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
484
- >::type*)
504
+ >::type)
485
505
  {
486
506
  DynamicBuffer_v2& b = buffers;
487
507
 
@@ -534,9 +554,9 @@ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
534
554
  template <typename SyncReadStream, typename DynamicBuffer_v2>
535
555
  inline std::size_t read_until(SyncReadStream& s,
536
556
  DynamicBuffer_v2 buffers, BOOST_ASIO_STRING_VIEW_PARAM delim,
537
- typename enable_if<
557
+ typename constraint<
538
558
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
539
- >::type*)
559
+ >::type)
540
560
  {
541
561
  boost::system::error_code ec;
542
562
  std::size_t bytes_transferred = read_until(s,
@@ -548,9 +568,9 @@ inline std::size_t read_until(SyncReadStream& s,
548
568
  template <typename SyncReadStream, typename DynamicBuffer_v2>
549
569
  std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
550
570
  BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
551
- typename enable_if<
571
+ typename constraint<
552
572
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
553
- >::type*)
573
+ >::type)
554
574
  {
555
575
  DynamicBuffer_v2& b = buffers;
556
576
 
@@ -615,9 +635,9 @@ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
615
635
  template <typename SyncReadStream, typename DynamicBuffer_v2>
616
636
  inline std::size_t read_until(SyncReadStream& s,
617
637
  DynamicBuffer_v2 buffers, const boost::regex& expr,
618
- typename enable_if<
638
+ typename constraint<
619
639
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
620
- >::type*)
640
+ >::type)
621
641
  {
622
642
  boost::system::error_code ec;
623
643
  std::size_t bytes_transferred = read_until(s,
@@ -629,9 +649,9 @@ inline std::size_t read_until(SyncReadStream& s,
629
649
  template <typename SyncReadStream, typename DynamicBuffer_v2>
630
650
  std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
631
651
  const boost::regex& expr, boost::system::error_code& ec,
632
- typename enable_if<
652
+ typename constraint<
633
653
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
634
- >::type*)
654
+ >::type)
635
655
  {
636
656
  DynamicBuffer_v2& b = buffers;
637
657
 
@@ -698,10 +718,12 @@ template <typename SyncReadStream,
698
718
  typename DynamicBuffer_v2, typename MatchCondition>
699
719
  inline std::size_t read_until(SyncReadStream& s,
700
720
  DynamicBuffer_v2 buffers, MatchCondition match_condition,
701
- typename enable_if<
721
+ typename constraint<
702
722
  is_match_condition<MatchCondition>::value
703
- && is_dynamic_buffer_v2<DynamicBuffer_v2>::value
704
- >::type*)
723
+ >::type,
724
+ typename constraint<
725
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
726
+ >::type)
705
727
  {
706
728
  boost::system::error_code ec;
707
729
  std::size_t bytes_transferred = read_until(s,
@@ -715,10 +737,12 @@ template <typename SyncReadStream,
715
737
  typename DynamicBuffer_v2, typename MatchCondition>
716
738
  std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
717
739
  MatchCondition match_condition, boost::system::error_code& ec,
718
- typename enable_if<
740
+ typename constraint<
719
741
  is_match_condition<MatchCondition>::value
720
- && is_dynamic_buffer_v2<DynamicBuffer_v2>::value
721
- >::type*)
742
+ >::type,
743
+ typename constraint<
744
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
745
+ >::type)
722
746
  {
723
747
  DynamicBuffer_v2& b = buffers;
724
748
 
@@ -782,13 +806,16 @@ namespace detail
782
806
  template <typename AsyncReadStream,
783
807
  typename DynamicBuffer_v1, typename ReadHandler>
784
808
  class read_until_delim_op_v1
809
+ : public base_from_cancellation_state<ReadHandler>
785
810
  {
786
811
  public:
787
812
  template <typename BufferSequence>
788
813
  read_until_delim_op_v1(AsyncReadStream& stream,
789
814
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
790
815
  char delim, ReadHandler& handler)
791
- : stream_(stream),
816
+ : base_from_cancellation_state<ReadHandler>(
817
+ handler, enable_partial_cancellation()),
818
+ stream_(stream),
792
819
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
793
820
  delim_(delim),
794
821
  start_(0),
@@ -799,7 +826,8 @@ namespace detail
799
826
 
800
827
  #if defined(BOOST_ASIO_HAS_MOVE)
801
828
  read_until_delim_op_v1(const read_until_delim_op_v1& other)
802
- : stream_(other.stream_),
829
+ : base_from_cancellation_state<ReadHandler>(other),
830
+ stream_(other.stream_),
803
831
  buffers_(other.buffers_),
804
832
  delim_(other.delim_),
805
833
  start_(other.start_),
@@ -809,7 +837,10 @@ namespace detail
809
837
  }
810
838
 
811
839
  read_until_delim_op_v1(read_until_delim_op_v1&& other)
812
- : stream_(other.stream_),
840
+ : base_from_cancellation_state<ReadHandler>(
841
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
842
+ ReadHandler>)(other)),
843
+ stream_(other.stream_),
813
844
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(other.buffers_)),
814
845
  delim_(other.delim_),
815
846
  start_(other.start_),
@@ -819,7 +850,7 @@ namespace detail
819
850
  }
820
851
  #endif // defined(BOOST_ASIO_HAS_MOVE)
821
852
 
822
- void operator()(const boost::system::error_code& ec,
853
+ void operator()(boost::system::error_code ec,
823
854
  std::size_t bytes_transferred, int start = 0)
824
855
  {
825
856
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -883,6 +914,11 @@ namespace detail
883
914
  buffers_.commit(bytes_transferred);
884
915
  if (ec || bytes_transferred == 0)
885
916
  break;
917
+ if (this->cancelled() != cancellation_type::none)
918
+ {
919
+ ec = error::operation_aborted;
920
+ break;
921
+ }
886
922
  }
887
923
 
888
924
  const boost::system::error_code result_ec =
@@ -893,7 +929,7 @@ namespace detail
893
929
  (ec || search_position_ == not_found)
894
930
  ? 0 : search_position_;
895
931
 
896
- handler_(result_ec, result_n);
932
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
897
933
  }
898
934
  }
899
935
 
@@ -1015,40 +1051,31 @@ namespace detail
1015
1051
 
1016
1052
  #if !defined(GENERATING_DOCUMENTATION)
1017
1053
 
1018
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1019
- typename ReadHandler, typename Allocator>
1020
- struct associated_allocator<
1054
+ template <template <typename, typename> class Associator,
1055
+ typename AsyncReadStream, typename DynamicBuffer_v1,
1056
+ typename ReadHandler, typename DefaultCandidate>
1057
+ struct associator<Associator,
1021
1058
  detail::read_until_delim_op_v1<AsyncReadStream,
1022
1059
  DynamicBuffer_v1, ReadHandler>,
1023
- Allocator>
1060
+ DefaultCandidate>
1061
+ : Associator<ReadHandler, DefaultCandidate>
1024
1062
  {
1025
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
1026
-
1027
- static type get(
1028
- const detail::read_until_delim_op_v1<AsyncReadStream,
1029
- DynamicBuffer_v1, ReadHandler>& h,
1030
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
1063
+ static typename Associator<ReadHandler, DefaultCandidate>::type
1064
+ get(const detail::read_until_delim_op_v1<AsyncReadStream,
1065
+ DynamicBuffer_v1, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
1031
1066
  {
1032
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
1067
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
1033
1068
  }
1034
- };
1035
-
1036
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1037
- typename ReadHandler, typename Executor>
1038
- struct associated_executor<
1039
- detail::read_until_delim_op_v1<AsyncReadStream,
1040
- DynamicBuffer_v1, ReadHandler>,
1041
- Executor>
1042
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
1043
- {
1044
- typedef typename associated_executor<ReadHandler, Executor>::type type;
1045
1069
 
1046
- static type get(
1047
- const detail::read_until_delim_op_v1<AsyncReadStream,
1070
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
1071
+ typename Associator<ReadHandler, DefaultCandidate>::type)
1072
+ get(const detail::read_until_delim_op_v1<AsyncReadStream,
1048
1073
  DynamicBuffer_v1, ReadHandler>& h,
1049
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
1074
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
1075
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
1076
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
1050
1077
  {
1051
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
1078
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
1052
1079
  }
1053
1080
  };
1054
1081
 
@@ -1056,21 +1083,28 @@ struct associated_executor<
1056
1083
 
1057
1084
  template <typename AsyncReadStream, typename DynamicBuffer_v1,
1058
1085
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1059
- std::size_t)) ReadHandler>
1060
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1086
+ std::size_t)) ReadToken>
1087
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
1061
1088
  void (boost::system::error_code, std::size_t))
1062
1089
  async_read_until(AsyncReadStream& s,
1063
1090
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1064
- char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
1065
- typename enable_if<
1091
+ char delim, BOOST_ASIO_MOVE_ARG(ReadToken) token,
1092
+ typename constraint<
1066
1093
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
1067
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1068
- >::type*)
1094
+ >::type,
1095
+ typename constraint<
1096
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1097
+ >::type)
1098
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
1099
+ async_initiate<ReadToken,
1100
+ void (boost::system::error_code, std::size_t)>(
1101
+ declval<detail::initiate_async_read_until_delim_v1<AsyncReadStream> >(),
1102
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), delim)))
1069
1103
  {
1070
- return async_initiate<ReadHandler,
1104
+ return async_initiate<ReadToken,
1071
1105
  void (boost::system::error_code, std::size_t)>(
1072
1106
  detail::initiate_async_read_until_delim_v1<AsyncReadStream>(s),
1073
- handler, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), delim);
1107
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), delim);
1074
1108
  }
1075
1109
 
1076
1110
  namespace detail
@@ -1078,13 +1112,16 @@ namespace detail
1078
1112
  template <typename AsyncReadStream,
1079
1113
  typename DynamicBuffer_v1, typename ReadHandler>
1080
1114
  class read_until_delim_string_op_v1
1115
+ : public base_from_cancellation_state<ReadHandler>
1081
1116
  {
1082
1117
  public:
1083
1118
  template <typename BufferSequence>
1084
1119
  read_until_delim_string_op_v1(AsyncReadStream& stream,
1085
1120
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
1086
1121
  const std::string& delim, ReadHandler& handler)
1087
- : stream_(stream),
1122
+ : base_from_cancellation_state<ReadHandler>(
1123
+ handler, enable_partial_cancellation()),
1124
+ stream_(stream),
1088
1125
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
1089
1126
  delim_(delim),
1090
1127
  start_(0),
@@ -1095,7 +1132,8 @@ namespace detail
1095
1132
 
1096
1133
  #if defined(BOOST_ASIO_HAS_MOVE)
1097
1134
  read_until_delim_string_op_v1(const read_until_delim_string_op_v1& other)
1098
- : stream_(other.stream_),
1135
+ : base_from_cancellation_state<ReadHandler>(other),
1136
+ stream_(other.stream_),
1099
1137
  buffers_(other.buffers_),
1100
1138
  delim_(other.delim_),
1101
1139
  start_(other.start_),
@@ -1105,7 +1143,10 @@ namespace detail
1105
1143
  }
1106
1144
 
1107
1145
  read_until_delim_string_op_v1(read_until_delim_string_op_v1&& other)
1108
- : stream_(other.stream_),
1146
+ : base_from_cancellation_state<ReadHandler>(
1147
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
1148
+ ReadHandler>)(other)),
1149
+ stream_(other.stream_),
1109
1150
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(other.buffers_)),
1110
1151
  delim_(BOOST_ASIO_MOVE_CAST(std::string)(other.delim_)),
1111
1152
  start_(other.start_),
@@ -1115,7 +1156,7 @@ namespace detail
1115
1156
  }
1116
1157
  #endif // defined(BOOST_ASIO_HAS_MOVE)
1117
1158
 
1118
- void operator()(const boost::system::error_code& ec,
1159
+ void operator()(boost::system::error_code ec,
1119
1160
  std::size_t bytes_transferred, int start = 0)
1120
1161
  {
1121
1162
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -1190,6 +1231,11 @@ namespace detail
1190
1231
  buffers_.commit(bytes_transferred);
1191
1232
  if (ec || bytes_transferred == 0)
1192
1233
  break;
1234
+ if (this->cancelled() != cancellation_type::none)
1235
+ {
1236
+ ec = error::operation_aborted;
1237
+ break;
1238
+ }
1193
1239
  }
1194
1240
 
1195
1241
  const boost::system::error_code result_ec =
@@ -1200,7 +1246,7 @@ namespace detail
1200
1246
  (ec || search_position_ == not_found)
1201
1247
  ? 0 : search_position_;
1202
1248
 
1203
- handler_(result_ec, result_n);
1249
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
1204
1250
  }
1205
1251
  }
1206
1252
 
@@ -1322,40 +1368,31 @@ namespace detail
1322
1368
 
1323
1369
  #if !defined(GENERATING_DOCUMENTATION)
1324
1370
 
1325
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1326
- typename ReadHandler, typename Allocator>
1327
- struct associated_allocator<
1371
+ template <template <typename, typename> class Associator,
1372
+ typename AsyncReadStream, typename DynamicBuffer_v1,
1373
+ typename ReadHandler, typename DefaultCandidate>
1374
+ struct associator<Associator,
1328
1375
  detail::read_until_delim_string_op_v1<AsyncReadStream,
1329
1376
  DynamicBuffer_v1, ReadHandler>,
1330
- Allocator>
1377
+ DefaultCandidate>
1378
+ : Associator<ReadHandler, DefaultCandidate>
1331
1379
  {
1332
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
1333
-
1334
- static type get(
1335
- const detail::read_until_delim_string_op_v1<AsyncReadStream,
1336
- DynamicBuffer_v1, ReadHandler>& h,
1337
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
1380
+ static typename Associator<ReadHandler, DefaultCandidate>::type
1381
+ get(const detail::read_until_delim_string_op_v1<AsyncReadStream,
1382
+ DynamicBuffer_v1, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
1338
1383
  {
1339
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
1384
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
1340
1385
  }
1341
- };
1342
1386
 
1343
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1344
- typename ReadHandler, typename Executor>
1345
- struct associated_executor<
1346
- detail::read_until_delim_string_op_v1<AsyncReadStream,
1347
- DynamicBuffer_v1, ReadHandler>,
1348
- Executor>
1349
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
1350
- {
1351
- typedef typename associated_executor<ReadHandler, Executor>::type type;
1352
-
1353
- static type get(
1354
- const detail::read_until_delim_string_op_v1<AsyncReadStream,
1387
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
1388
+ typename Associator<ReadHandler, DefaultCandidate>::type)
1389
+ get(const detail::read_until_delim_string_op_v1<AsyncReadStream,
1355
1390
  DynamicBuffer_v1, ReadHandler>& h,
1356
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
1391
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
1392
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
1393
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
1357
1394
  {
1358
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
1395
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
1359
1396
  }
1360
1397
  };
1361
1398
 
@@ -1363,22 +1400,31 @@ struct associated_executor<
1363
1400
 
1364
1401
  template <typename AsyncReadStream, typename DynamicBuffer_v1,
1365
1402
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1366
- std::size_t)) ReadHandler>
1367
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1403
+ std::size_t)) ReadToken>
1404
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
1368
1405
  void (boost::system::error_code, std::size_t))
1369
1406
  async_read_until(AsyncReadStream& s,
1370
1407
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1371
1408
  BOOST_ASIO_STRING_VIEW_PARAM delim,
1372
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
1373
- typename enable_if<
1409
+ BOOST_ASIO_MOVE_ARG(ReadToken) token,
1410
+ typename constraint<
1374
1411
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
1375
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1376
- >::type*)
1412
+ >::type,
1413
+ typename constraint<
1414
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1415
+ >::type)
1416
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
1417
+ async_initiate<ReadToken,
1418
+ void (boost::system::error_code, std::size_t)>(
1419
+ declval<detail::initiate_async_read_until_delim_string_v1<
1420
+ AsyncReadStream> >(),
1421
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
1422
+ static_cast<std::string>(delim))))
1377
1423
  {
1378
- return async_initiate<ReadHandler,
1424
+ return async_initiate<ReadToken,
1379
1425
  void (boost::system::error_code, std::size_t)>(
1380
1426
  detail::initiate_async_read_until_delim_string_v1<AsyncReadStream>(s),
1381
- handler, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
1427
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
1382
1428
  static_cast<std::string>(delim));
1383
1429
  }
1384
1430
 
@@ -1390,13 +1436,16 @@ namespace detail
1390
1436
  template <typename AsyncReadStream, typename DynamicBuffer_v1,
1391
1437
  typename RegEx, typename ReadHandler>
1392
1438
  class read_until_expr_op_v1
1439
+ : public base_from_cancellation_state<ReadHandler>
1393
1440
  {
1394
1441
  public:
1395
1442
  template <typename BufferSequence>
1396
1443
  read_until_expr_op_v1(AsyncReadStream& stream,
1397
1444
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
1398
1445
  const boost::regex& expr, ReadHandler& handler)
1399
- : stream_(stream),
1446
+ : base_from_cancellation_state<ReadHandler>(
1447
+ handler, enable_partial_cancellation()),
1448
+ stream_(stream),
1400
1449
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
1401
1450
  expr_(expr),
1402
1451
  start_(0),
@@ -1407,7 +1456,8 @@ namespace detail
1407
1456
 
1408
1457
  #if defined(BOOST_ASIO_HAS_MOVE)
1409
1458
  read_until_expr_op_v1(const read_until_expr_op_v1& other)
1410
- : stream_(other.stream_),
1459
+ : base_from_cancellation_state<ReadHandler>(other),
1460
+ stream_(other.stream_),
1411
1461
  buffers_(other.buffers_),
1412
1462
  expr_(other.expr_),
1413
1463
  start_(other.start_),
@@ -1417,7 +1467,10 @@ namespace detail
1417
1467
  }
1418
1468
 
1419
1469
  read_until_expr_op_v1(read_until_expr_op_v1&& other)
1420
- : stream_(other.stream_),
1470
+ : base_from_cancellation_state<ReadHandler>(
1471
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
1472
+ ReadHandler>)(other)),
1473
+ stream_(other.stream_),
1421
1474
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(other.buffers_)),
1422
1475
  expr_(other.expr_),
1423
1476
  start_(other.start_),
@@ -1427,7 +1480,7 @@ namespace detail
1427
1480
  }
1428
1481
  #endif // defined(BOOST_ASIO_HAS_MOVE)
1429
1482
 
1430
- void operator()(const boost::system::error_code& ec,
1483
+ void operator()(boost::system::error_code ec,
1431
1484
  std::size_t bytes_transferred, int start = 0)
1432
1485
  {
1433
1486
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -1505,6 +1558,11 @@ namespace detail
1505
1558
  buffers_.commit(bytes_transferred);
1506
1559
  if (ec || bytes_transferred == 0)
1507
1560
  break;
1561
+ if (this->cancelled() != cancellation_type::none)
1562
+ {
1563
+ ec = error::operation_aborted;
1564
+ break;
1565
+ }
1508
1566
  }
1509
1567
 
1510
1568
  const boost::system::error_code result_ec =
@@ -1515,7 +1573,7 @@ namespace detail
1515
1573
  (ec || search_position_ == not_found)
1516
1574
  ? 0 : search_position_;
1517
1575
 
1518
- handler_(result_ec, result_n);
1576
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
1519
1577
  }
1520
1578
  }
1521
1579
 
@@ -1636,40 +1694,31 @@ namespace detail
1636
1694
 
1637
1695
  #if !defined(GENERATING_DOCUMENTATION)
1638
1696
 
1639
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1640
- typename RegEx, typename ReadHandler, typename Allocator>
1641
- struct associated_allocator<
1697
+ template <template <typename, typename> class Associator,
1698
+ typename AsyncReadStream, typename DynamicBuffer_v1,
1699
+ typename RegEx, typename ReadHandler, typename DefaultCandidate>
1700
+ struct associator<Associator,
1642
1701
  detail::read_until_expr_op_v1<AsyncReadStream,
1643
1702
  DynamicBuffer_v1, RegEx, ReadHandler>,
1644
- Allocator>
1703
+ DefaultCandidate>
1704
+ : Associator<ReadHandler, DefaultCandidate>
1645
1705
  {
1646
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
1647
-
1648
- static type get(
1649
- const detail::read_until_expr_op_v1<AsyncReadStream,
1650
- DynamicBuffer_v1, RegEx, ReadHandler>& h,
1651
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
1706
+ static typename Associator<ReadHandler, DefaultCandidate>::type
1707
+ get(const detail::read_until_expr_op_v1<AsyncReadStream,
1708
+ DynamicBuffer_v1, RegEx, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
1652
1709
  {
1653
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
1710
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
1654
1711
  }
1655
- };
1656
1712
 
1657
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1658
- typename RegEx, typename ReadHandler, typename Executor>
1659
- struct associated_executor<
1660
- detail::read_until_expr_op_v1<AsyncReadStream,
1661
- DynamicBuffer_v1, RegEx, ReadHandler>,
1662
- Executor>
1663
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
1664
- {
1665
- typedef typename associated_executor<ReadHandler, Executor>::type type;
1666
-
1667
- static type get(
1668
- const detail::read_until_expr_op_v1<AsyncReadStream,
1713
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
1714
+ typename Associator<ReadHandler, DefaultCandidate>::type)
1715
+ get(const detail::read_until_expr_op_v1<AsyncReadStream,
1669
1716
  DynamicBuffer_v1, RegEx, ReadHandler>& h,
1670
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
1717
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
1718
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
1719
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
1671
1720
  {
1672
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
1721
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
1673
1722
  }
1674
1723
  };
1675
1724
 
@@ -1677,22 +1726,29 @@ struct associated_executor<
1677
1726
 
1678
1727
  template <typename AsyncReadStream, typename DynamicBuffer_v1,
1679
1728
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1680
- std::size_t)) ReadHandler>
1681
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1729
+ std::size_t)) ReadToken>
1730
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
1682
1731
  void (boost::system::error_code, std::size_t))
1683
1732
  async_read_until(AsyncReadStream& s,
1684
1733
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1685
1734
  const boost::regex& expr,
1686
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
1687
- typename enable_if<
1735
+ BOOST_ASIO_MOVE_ARG(ReadToken) token,
1736
+ typename constraint<
1688
1737
  is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
1689
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1690
- >::type*)
1738
+ >::type,
1739
+ typename constraint<
1740
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1741
+ >::type)
1742
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
1743
+ async_initiate<ReadToken,
1744
+ void (boost::system::error_code, std::size_t)>(
1745
+ declval<detail::initiate_async_read_until_expr_v1<AsyncReadStream> >(),
1746
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), expr)))
1691
1747
  {
1692
- return async_initiate<ReadHandler,
1748
+ return async_initiate<ReadToken,
1693
1749
  void (boost::system::error_code, std::size_t)>(
1694
1750
  detail::initiate_async_read_until_expr_v1<AsyncReadStream>(s),
1695
- handler, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), expr);
1751
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), expr);
1696
1752
  }
1697
1753
 
1698
1754
  #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
@@ -1702,13 +1758,16 @@ namespace detail
1702
1758
  template <typename AsyncReadStream, typename DynamicBuffer_v1,
1703
1759
  typename MatchCondition, typename ReadHandler>
1704
1760
  class read_until_match_op_v1
1761
+ : public base_from_cancellation_state<ReadHandler>
1705
1762
  {
1706
1763
  public:
1707
1764
  template <typename BufferSequence>
1708
1765
  read_until_match_op_v1(AsyncReadStream& stream,
1709
1766
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
1710
1767
  MatchCondition match_condition, ReadHandler& handler)
1711
- : stream_(stream),
1768
+ : base_from_cancellation_state<ReadHandler>(
1769
+ handler, enable_partial_cancellation()),
1770
+ stream_(stream),
1712
1771
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
1713
1772
  match_condition_(match_condition),
1714
1773
  start_(0),
@@ -1719,7 +1778,8 @@ namespace detail
1719
1778
 
1720
1779
  #if defined(BOOST_ASIO_HAS_MOVE)
1721
1780
  read_until_match_op_v1(const read_until_match_op_v1& other)
1722
- : stream_(other.stream_),
1781
+ : base_from_cancellation_state<ReadHandler>(other),
1782
+ stream_(other.stream_),
1723
1783
  buffers_(other.buffers_),
1724
1784
  match_condition_(other.match_condition_),
1725
1785
  start_(other.start_),
@@ -1729,7 +1789,10 @@ namespace detail
1729
1789
  }
1730
1790
 
1731
1791
  read_until_match_op_v1(read_until_match_op_v1&& other)
1732
- : stream_(other.stream_),
1792
+ : base_from_cancellation_state<ReadHandler>(
1793
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
1794
+ ReadHandler>)(other)),
1795
+ stream_(other.stream_),
1733
1796
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(other.buffers_)),
1734
1797
  match_condition_(other.match_condition_),
1735
1798
  start_(other.start_),
@@ -1739,7 +1802,7 @@ namespace detail
1739
1802
  }
1740
1803
  #endif // defined(BOOST_ASIO_HAS_MOVE)
1741
1804
 
1742
- void operator()(const boost::system::error_code& ec,
1805
+ void operator()(boost::system::error_code ec,
1743
1806
  std::size_t bytes_transferred, int start = 0)
1744
1807
  {
1745
1808
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -1813,6 +1876,11 @@ namespace detail
1813
1876
  buffers_.commit(bytes_transferred);
1814
1877
  if (ec || bytes_transferred == 0)
1815
1878
  break;
1879
+ if (this->cancelled() != cancellation_type::none)
1880
+ {
1881
+ ec = error::operation_aborted;
1882
+ break;
1883
+ }
1816
1884
  }
1817
1885
 
1818
1886
  const boost::system::error_code result_ec =
@@ -1823,7 +1891,7 @@ namespace detail
1823
1891
  (ec || search_position_ == not_found)
1824
1892
  ? 0 : search_position_;
1825
1893
 
1826
- handler_(result_ec, result_n);
1894
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
1827
1895
  }
1828
1896
  }
1829
1897
 
@@ -1948,40 +2016,31 @@ namespace detail
1948
2016
 
1949
2017
  #if !defined(GENERATING_DOCUMENTATION)
1950
2018
 
1951
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1952
- typename MatchCondition, typename ReadHandler, typename Allocator>
1953
- struct associated_allocator<
2019
+ template <template <typename, typename> class Associator,
2020
+ typename AsyncReadStream, typename DynamicBuffer_v1,
2021
+ typename MatchCondition, typename ReadHandler, typename DefaultCandidate>
2022
+ struct associator<Associator,
1954
2023
  detail::read_until_match_op_v1<AsyncReadStream,
1955
2024
  DynamicBuffer_v1, MatchCondition, ReadHandler>,
1956
- Allocator>
2025
+ DefaultCandidate>
2026
+ : Associator<ReadHandler, DefaultCandidate>
1957
2027
  {
1958
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
1959
-
1960
- static type get(
1961
- const detail::read_until_match_op_v1<AsyncReadStream,
1962
- DynamicBuffer_v1, MatchCondition, ReadHandler>& h,
1963
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
2028
+ static typename Associator<ReadHandler, DefaultCandidate>::type
2029
+ get(const detail::read_until_match_op_v1<AsyncReadStream,
2030
+ DynamicBuffer_v1, MatchCondition, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
1964
2031
  {
1965
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
2032
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
1966
2033
  }
1967
- };
1968
-
1969
- template <typename AsyncReadStream, typename DynamicBuffer_v1,
1970
- typename MatchCondition, typename ReadHandler, typename Executor>
1971
- struct associated_executor<
1972
- detail::read_until_match_op_v1<AsyncReadStream,
1973
- DynamicBuffer_v1, MatchCondition, ReadHandler>,
1974
- Executor>
1975
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
1976
- {
1977
- typedef typename associated_executor<ReadHandler, Executor>::type type;
1978
2034
 
1979
- static type get(
1980
- const detail::read_until_match_op_v1<AsyncReadStream,
2035
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
2036
+ typename Associator<ReadHandler, DefaultCandidate>::type)
2037
+ get(const detail::read_until_match_op_v1<AsyncReadStream,
1981
2038
  DynamicBuffer_v1, MatchCondition, ReadHandler>& h,
1982
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
2039
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
2040
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
2041
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
1983
2042
  {
1984
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
2043
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
1985
2044
  }
1986
2045
  };
1987
2046
 
@@ -1990,82 +2049,105 @@ struct associated_executor<
1990
2049
  template <typename AsyncReadStream,
1991
2050
  typename DynamicBuffer_v1, typename MatchCondition,
1992
2051
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1993
- std::size_t)) ReadHandler>
1994
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2052
+ std::size_t)) ReadToken>
2053
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
1995
2054
  void (boost::system::error_code, std::size_t))
1996
2055
  async_read_until(AsyncReadStream& s,
1997
2056
  BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1998
- MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
1999
- typename enable_if<
2057
+ MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadToken) token,
2058
+ typename constraint<
2000
2059
  is_match_condition<MatchCondition>::value
2001
- && is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
2002
- && !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
2003
- >::type*)
2060
+ >::type,
2061
+ typename constraint<
2062
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
2063
+ >::type,
2064
+ typename constraint<
2065
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
2066
+ >::type)
2067
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2068
+ async_initiate<ReadToken,
2069
+ void (boost::system::error_code, std::size_t)>(
2070
+ declval<detail::initiate_async_read_until_match_v1<AsyncReadStream> >(),
2071
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
2072
+ match_condition)))
2004
2073
  {
2005
- return async_initiate<ReadHandler,
2074
+ return async_initiate<ReadToken,
2006
2075
  void (boost::system::error_code, std::size_t)>(
2007
- detail::initiate_async_read_until_match_v1<AsyncReadStream>(s), handler,
2008
- BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), match_condition);
2076
+ detail::initiate_async_read_until_match_v1<AsyncReadStream>(s),
2077
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
2078
+ match_condition);
2009
2079
  }
2010
2080
 
2011
2081
  #if !defined(BOOST_ASIO_NO_IOSTREAM)
2012
2082
 
2013
2083
  template <typename AsyncReadStream, typename Allocator,
2014
2084
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2015
- std::size_t)) ReadHandler>
2016
- inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2085
+ std::size_t)) ReadToken>
2086
+ inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2017
2087
  void (boost::system::error_code, std::size_t))
2018
2088
  async_read_until(AsyncReadStream& s,
2019
2089
  boost::asio::basic_streambuf<Allocator>& b,
2020
- char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler)
2090
+ char delim, BOOST_ASIO_MOVE_ARG(ReadToken) token)
2091
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2092
+ async_read_until(s, basic_streambuf_ref<Allocator>(b),
2093
+ delim, BOOST_ASIO_MOVE_CAST(ReadToken)(token))))
2021
2094
  {
2022
2095
  return async_read_until(s, basic_streambuf_ref<Allocator>(b),
2023
- delim, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
2096
+ delim, BOOST_ASIO_MOVE_CAST(ReadToken)(token));
2024
2097
  }
2025
2098
 
2026
2099
  template <typename AsyncReadStream, typename Allocator,
2027
2100
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2028
- std::size_t)) ReadHandler>
2029
- inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2101
+ std::size_t)) ReadToken>
2102
+ inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2030
2103
  void (boost::system::error_code, std::size_t))
2031
2104
  async_read_until(AsyncReadStream& s,
2032
2105
  boost::asio::basic_streambuf<Allocator>& b,
2033
2106
  BOOST_ASIO_STRING_VIEW_PARAM delim,
2034
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler)
2107
+ BOOST_ASIO_MOVE_ARG(ReadToken) token)
2108
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2109
+ async_read_until(s, basic_streambuf_ref<Allocator>(b),
2110
+ delim, BOOST_ASIO_MOVE_CAST(ReadToken)(token))))
2035
2111
  {
2036
2112
  return async_read_until(s, basic_streambuf_ref<Allocator>(b),
2037
- delim, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
2113
+ delim, BOOST_ASIO_MOVE_CAST(ReadToken)(token));
2038
2114
  }
2039
2115
 
2040
2116
  #if defined(BOOST_ASIO_HAS_BOOST_REGEX)
2041
2117
 
2042
2118
  template <typename AsyncReadStream, typename Allocator,
2043
2119
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2044
- std::size_t)) ReadHandler>
2045
- inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2120
+ std::size_t)) ReadToken>
2121
+ inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2046
2122
  void (boost::system::error_code, std::size_t))
2047
2123
  async_read_until(AsyncReadStream& s,
2048
2124
  boost::asio::basic_streambuf<Allocator>& b, const boost::regex& expr,
2049
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler)
2125
+ BOOST_ASIO_MOVE_ARG(ReadToken) token)
2126
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2127
+ async_read_until(s, basic_streambuf_ref<Allocator>(b),
2128
+ expr, BOOST_ASIO_MOVE_CAST(ReadToken)(token))))
2050
2129
  {
2051
2130
  return async_read_until(s, basic_streambuf_ref<Allocator>(b),
2052
- expr, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
2131
+ expr, BOOST_ASIO_MOVE_CAST(ReadToken)(token));
2053
2132
  }
2054
2133
 
2055
2134
  #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
2056
2135
 
2057
2136
  template <typename AsyncReadStream, typename Allocator, typename MatchCondition,
2058
2137
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2059
- std::size_t)) ReadHandler>
2060
- inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2138
+ std::size_t)) ReadToken>
2139
+ inline BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2061
2140
  void (boost::system::error_code, std::size_t))
2062
2141
  async_read_until(AsyncReadStream& s,
2063
2142
  boost::asio::basic_streambuf<Allocator>& b,
2064
- MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
2065
- typename enable_if<is_match_condition<MatchCondition>::value>::type*)
2143
+ MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadToken) token,
2144
+ typename constraint<is_match_condition<MatchCondition>::value>::type)
2145
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2146
+ async_read_until(s, basic_streambuf_ref<Allocator>(b),
2147
+ match_condition, BOOST_ASIO_MOVE_CAST(ReadToken)(token))))
2066
2148
  {
2067
2149
  return async_read_until(s, basic_streambuf_ref<Allocator>(b),
2068
- match_condition, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
2150
+ match_condition, BOOST_ASIO_MOVE_CAST(ReadToken)(token));
2069
2151
  }
2070
2152
 
2071
2153
  #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
@@ -2077,13 +2159,16 @@ namespace detail
2077
2159
  template <typename AsyncReadStream,
2078
2160
  typename DynamicBuffer_v2, typename ReadHandler>
2079
2161
  class read_until_delim_op_v2
2162
+ : public base_from_cancellation_state<ReadHandler>
2080
2163
  {
2081
2164
  public:
2082
2165
  template <typename BufferSequence>
2083
2166
  read_until_delim_op_v2(AsyncReadStream& stream,
2084
2167
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
2085
2168
  char delim, ReadHandler& handler)
2086
- : stream_(stream),
2169
+ : base_from_cancellation_state<ReadHandler>(
2170
+ handler, enable_partial_cancellation()),
2171
+ stream_(stream),
2087
2172
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
2088
2173
  delim_(delim),
2089
2174
  start_(0),
@@ -2095,7 +2180,8 @@ namespace detail
2095
2180
 
2096
2181
  #if defined(BOOST_ASIO_HAS_MOVE)
2097
2182
  read_until_delim_op_v2(const read_until_delim_op_v2& other)
2098
- : stream_(other.stream_),
2183
+ : base_from_cancellation_state<ReadHandler>(other),
2184
+ stream_(other.stream_),
2099
2185
  buffers_(other.buffers_),
2100
2186
  delim_(other.delim_),
2101
2187
  start_(other.start_),
@@ -2106,7 +2192,10 @@ namespace detail
2106
2192
  }
2107
2193
 
2108
2194
  read_until_delim_op_v2(read_until_delim_op_v2&& other)
2109
- : stream_(other.stream_),
2195
+ : base_from_cancellation_state<ReadHandler>(
2196
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
2197
+ ReadHandler>)(other)),
2198
+ stream_(other.stream_),
2110
2199
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(other.buffers_)),
2111
2200
  delim_(other.delim_),
2112
2201
  start_(other.start_),
@@ -2117,7 +2206,7 @@ namespace detail
2117
2206
  }
2118
2207
  #endif // defined(BOOST_ASIO_HAS_MOVE)
2119
2208
 
2120
- void operator()(const boost::system::error_code& ec,
2209
+ void operator()(boost::system::error_code ec,
2121
2210
  std::size_t bytes_transferred, int start = 0)
2122
2211
  {
2123
2212
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -2185,6 +2274,11 @@ namespace detail
2185
2274
  buffers_.shrink(bytes_to_read_ - bytes_transferred);
2186
2275
  if (ec || bytes_transferred == 0)
2187
2276
  break;
2277
+ if (this->cancelled() != cancellation_type::none)
2278
+ {
2279
+ ec = error::operation_aborted;
2280
+ break;
2281
+ }
2188
2282
  }
2189
2283
 
2190
2284
  const boost::system::error_code result_ec =
@@ -2195,7 +2289,7 @@ namespace detail
2195
2289
  (ec || search_position_ == not_found)
2196
2290
  ? 0 : search_position_;
2197
2291
 
2198
- handler_(result_ec, result_n);
2292
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
2199
2293
  }
2200
2294
  }
2201
2295
 
@@ -2317,40 +2411,31 @@ namespace detail
2317
2411
 
2318
2412
  #if !defined(GENERATING_DOCUMENTATION)
2319
2413
 
2320
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
2321
- typename ReadHandler, typename Allocator>
2322
- struct associated_allocator<
2414
+ template <template <typename, typename> class Associator,
2415
+ typename AsyncReadStream, typename DynamicBuffer_v2,
2416
+ typename ReadHandler, typename DefaultCandidate>
2417
+ struct associator<Associator,
2323
2418
  detail::read_until_delim_op_v2<AsyncReadStream,
2324
2419
  DynamicBuffer_v2, ReadHandler>,
2325
- Allocator>
2420
+ DefaultCandidate>
2421
+ : Associator<ReadHandler, DefaultCandidate>
2326
2422
  {
2327
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
2328
-
2329
- static type get(
2330
- const detail::read_until_delim_op_v2<AsyncReadStream,
2331
- DynamicBuffer_v2, ReadHandler>& h,
2332
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
2423
+ static typename Associator<ReadHandler, DefaultCandidate>::type
2424
+ get(const detail::read_until_delim_op_v2<AsyncReadStream,
2425
+ DynamicBuffer_v2, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
2333
2426
  {
2334
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
2427
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
2335
2428
  }
2336
- };
2337
-
2338
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
2339
- typename ReadHandler, typename Executor>
2340
- struct associated_executor<
2341
- detail::read_until_delim_op_v2<AsyncReadStream,
2342
- DynamicBuffer_v2, ReadHandler>,
2343
- Executor>
2344
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
2345
- {
2346
- typedef typename associated_executor<ReadHandler, Executor>::type type;
2347
2429
 
2348
- static type get(
2349
- const detail::read_until_delim_op_v2<AsyncReadStream,
2430
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
2431
+ typename Associator<ReadHandler, DefaultCandidate>::type)
2432
+ get(const detail::read_until_delim_op_v2<AsyncReadStream,
2350
2433
  DynamicBuffer_v2, ReadHandler>& h,
2351
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
2434
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
2435
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
2436
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
2352
2437
  {
2353
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
2438
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
2354
2439
  }
2355
2440
  };
2356
2441
 
@@ -2358,19 +2443,24 @@ struct associated_executor<
2358
2443
 
2359
2444
  template <typename AsyncReadStream, typename DynamicBuffer_v2,
2360
2445
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2361
- std::size_t)) ReadHandler>
2362
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2446
+ std::size_t)) ReadToken>
2447
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2363
2448
  void (boost::system::error_code, std::size_t))
2364
2449
  async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
2365
- char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
2366
- typename enable_if<
2450
+ char delim, BOOST_ASIO_MOVE_ARG(ReadToken) token,
2451
+ typename constraint<
2367
2452
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
2368
- >::type*)
2453
+ >::type)
2454
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2455
+ async_initiate<ReadToken,
2456
+ void (boost::system::error_code, std::size_t)>(
2457
+ declval<detail::initiate_async_read_until_delim_v2<AsyncReadStream> >(),
2458
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), delim)))
2369
2459
  {
2370
- return async_initiate<ReadHandler,
2460
+ return async_initiate<ReadToken,
2371
2461
  void (boost::system::error_code, std::size_t)>(
2372
2462
  detail::initiate_async_read_until_delim_v2<AsyncReadStream>(s),
2373
- handler, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), delim);
2463
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), delim);
2374
2464
  }
2375
2465
 
2376
2466
  namespace detail
@@ -2378,13 +2468,16 @@ namespace detail
2378
2468
  template <typename AsyncReadStream,
2379
2469
  typename DynamicBuffer_v2, typename ReadHandler>
2380
2470
  class read_until_delim_string_op_v2
2471
+ : public base_from_cancellation_state<ReadHandler>
2381
2472
  {
2382
2473
  public:
2383
2474
  template <typename BufferSequence>
2384
2475
  read_until_delim_string_op_v2(AsyncReadStream& stream,
2385
2476
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
2386
2477
  const std::string& delim, ReadHandler& handler)
2387
- : stream_(stream),
2478
+ : base_from_cancellation_state<ReadHandler>(
2479
+ handler, enable_partial_cancellation()),
2480
+ stream_(stream),
2388
2481
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
2389
2482
  delim_(delim),
2390
2483
  start_(0),
@@ -2396,7 +2489,8 @@ namespace detail
2396
2489
 
2397
2490
  #if defined(BOOST_ASIO_HAS_MOVE)
2398
2491
  read_until_delim_string_op_v2(const read_until_delim_string_op_v2& other)
2399
- : stream_(other.stream_),
2492
+ : base_from_cancellation_state<ReadHandler>(other),
2493
+ stream_(other.stream_),
2400
2494
  buffers_(other.buffers_),
2401
2495
  delim_(other.delim_),
2402
2496
  start_(other.start_),
@@ -2407,7 +2501,10 @@ namespace detail
2407
2501
  }
2408
2502
 
2409
2503
  read_until_delim_string_op_v2(read_until_delim_string_op_v2&& other)
2410
- : stream_(other.stream_),
2504
+ : base_from_cancellation_state<ReadHandler>(
2505
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
2506
+ ReadHandler>)(other)),
2507
+ stream_(other.stream_),
2411
2508
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(other.buffers_)),
2412
2509
  delim_(BOOST_ASIO_MOVE_CAST(std::string)(other.delim_)),
2413
2510
  start_(other.start_),
@@ -2418,7 +2515,7 @@ namespace detail
2418
2515
  }
2419
2516
  #endif // defined(BOOST_ASIO_HAS_MOVE)
2420
2517
 
2421
- void operator()(const boost::system::error_code& ec,
2518
+ void operator()(boost::system::error_code ec,
2422
2519
  std::size_t bytes_transferred, int start = 0)
2423
2520
  {
2424
2521
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -2497,6 +2594,11 @@ namespace detail
2497
2594
  buffers_.shrink(bytes_to_read_ - bytes_transferred);
2498
2595
  if (ec || bytes_transferred == 0)
2499
2596
  break;
2597
+ if (this->cancelled() != cancellation_type::none)
2598
+ {
2599
+ ec = error::operation_aborted;
2600
+ break;
2601
+ }
2500
2602
  }
2501
2603
 
2502
2604
  const boost::system::error_code result_ec =
@@ -2507,7 +2609,7 @@ namespace detail
2507
2609
  (ec || search_position_ == not_found)
2508
2610
  ? 0 : search_position_;
2509
2611
 
2510
- handler_(result_ec, result_n);
2612
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
2511
2613
  }
2512
2614
  }
2513
2615
 
@@ -2630,40 +2732,31 @@ namespace detail
2630
2732
 
2631
2733
  #if !defined(GENERATING_DOCUMENTATION)
2632
2734
 
2633
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
2634
- typename ReadHandler, typename Allocator>
2635
- struct associated_allocator<
2735
+ template <template <typename, typename> class Associator,
2736
+ typename AsyncReadStream, typename DynamicBuffer_v2,
2737
+ typename ReadHandler, typename DefaultCandidate>
2738
+ struct associator<Associator,
2636
2739
  detail::read_until_delim_string_op_v2<AsyncReadStream,
2637
2740
  DynamicBuffer_v2, ReadHandler>,
2638
- Allocator>
2741
+ DefaultCandidate>
2742
+ : Associator<ReadHandler, DefaultCandidate>
2639
2743
  {
2640
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
2641
-
2642
- static type get(
2643
- const detail::read_until_delim_string_op_v2<AsyncReadStream,
2644
- DynamicBuffer_v2, ReadHandler>& h,
2645
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
2744
+ static typename Associator<ReadHandler, DefaultCandidate>::type
2745
+ get(const detail::read_until_delim_string_op_v2<AsyncReadStream,
2746
+ DynamicBuffer_v2, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
2646
2747
  {
2647
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
2748
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
2648
2749
  }
2649
- };
2650
-
2651
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
2652
- typename ReadHandler, typename Executor>
2653
- struct associated_executor<
2654
- detail::read_until_delim_string_op_v2<AsyncReadStream,
2655
- DynamicBuffer_v2, ReadHandler>,
2656
- Executor>
2657
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
2658
- {
2659
- typedef typename associated_executor<ReadHandler, Executor>::type type;
2660
2750
 
2661
- static type get(
2662
- const detail::read_until_delim_string_op_v2<AsyncReadStream,
2751
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
2752
+ typename Associator<ReadHandler, DefaultCandidate>::type)
2753
+ get(const detail::read_until_delim_string_op_v2<AsyncReadStream,
2663
2754
  DynamicBuffer_v2, ReadHandler>& h,
2664
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
2755
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
2756
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
2757
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
2665
2758
  {
2666
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
2759
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
2667
2760
  }
2668
2761
  };
2669
2762
 
@@ -2672,20 +2765,27 @@ struct associated_executor<
2672
2765
  template <typename AsyncReadStream,
2673
2766
  typename DynamicBuffer_v2,
2674
2767
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2675
- std::size_t)) ReadHandler>
2676
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2768
+ std::size_t)) ReadToken>
2769
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2677
2770
  void (boost::system::error_code, std::size_t))
2678
2771
  async_read_until(AsyncReadStream& s,
2679
2772
  DynamicBuffer_v2 buffers, BOOST_ASIO_STRING_VIEW_PARAM delim,
2680
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
2681
- typename enable_if<
2773
+ BOOST_ASIO_MOVE_ARG(ReadToken) token,
2774
+ typename constraint<
2682
2775
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
2683
- >::type*)
2776
+ >::type)
2777
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
2778
+ async_initiate<ReadToken,
2779
+ void (boost::system::error_code, std::size_t)>(
2780
+ declval<detail::initiate_async_read_until_delim_string_v2<
2781
+ AsyncReadStream> >(),
2782
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
2783
+ static_cast<std::string>(delim))))
2684
2784
  {
2685
- return async_initiate<ReadHandler,
2785
+ return async_initiate<ReadToken,
2686
2786
  void (boost::system::error_code, std::size_t)>(
2687
2787
  detail::initiate_async_read_until_delim_string_v2<AsyncReadStream>(s),
2688
- handler, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
2788
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
2689
2789
  static_cast<std::string>(delim));
2690
2790
  }
2691
2791
 
@@ -2697,13 +2797,16 @@ namespace detail
2697
2797
  template <typename AsyncReadStream, typename DynamicBuffer_v2,
2698
2798
  typename RegEx, typename ReadHandler>
2699
2799
  class read_until_expr_op_v2
2800
+ : public base_from_cancellation_state<ReadHandler>
2700
2801
  {
2701
2802
  public:
2702
2803
  template <typename BufferSequence>
2703
2804
  read_until_expr_op_v2(AsyncReadStream& stream,
2704
2805
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
2705
2806
  const boost::regex& expr, ReadHandler& handler)
2706
- : stream_(stream),
2807
+ : base_from_cancellation_state<ReadHandler>(
2808
+ handler, enable_partial_cancellation()),
2809
+ stream_(stream),
2707
2810
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
2708
2811
  expr_(expr),
2709
2812
  start_(0),
@@ -2715,7 +2818,8 @@ namespace detail
2715
2818
 
2716
2819
  #if defined(BOOST_ASIO_HAS_MOVE)
2717
2820
  read_until_expr_op_v2(const read_until_expr_op_v2& other)
2718
- : stream_(other.stream_),
2821
+ : base_from_cancellation_state<ReadHandler>(other),
2822
+ stream_(other.stream_),
2719
2823
  buffers_(other.buffers_),
2720
2824
  expr_(other.expr_),
2721
2825
  start_(other.start_),
@@ -2726,7 +2830,10 @@ namespace detail
2726
2830
  }
2727
2831
 
2728
2832
  read_until_expr_op_v2(read_until_expr_op_v2&& other)
2729
- : stream_(other.stream_),
2833
+ : base_from_cancellation_state<ReadHandler>(
2834
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
2835
+ ReadHandler>)(other)),
2836
+ stream_(other.stream_),
2730
2837
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(other.buffers_)),
2731
2838
  expr_(other.expr_),
2732
2839
  start_(other.start_),
@@ -2737,7 +2844,7 @@ namespace detail
2737
2844
  }
2738
2845
  #endif // defined(BOOST_ASIO_HAS_MOVE)
2739
2846
 
2740
- void operator()(const boost::system::error_code& ec,
2847
+ void operator()(boost::system::error_code ec,
2741
2848
  std::size_t bytes_transferred, int start = 0)
2742
2849
  {
2743
2850
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -2819,6 +2926,11 @@ namespace detail
2819
2926
  buffers_.shrink(bytes_to_read_ - bytes_transferred);
2820
2927
  if (ec || bytes_transferred == 0)
2821
2928
  break;
2929
+ if (this->cancelled() != cancellation_type::none)
2930
+ {
2931
+ ec = error::operation_aborted;
2932
+ break;
2933
+ }
2822
2934
  }
2823
2935
 
2824
2936
  const boost::system::error_code result_ec =
@@ -2829,7 +2941,7 @@ namespace detail
2829
2941
  (ec || search_position_ == not_found)
2830
2942
  ? 0 : search_position_;
2831
2943
 
2832
- handler_(result_ec, result_n);
2944
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
2833
2945
  }
2834
2946
  }
2835
2947
 
@@ -2952,40 +3064,31 @@ namespace detail
2952
3064
 
2953
3065
  #if !defined(GENERATING_DOCUMENTATION)
2954
3066
 
2955
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
2956
- typename RegEx, typename ReadHandler, typename Allocator>
2957
- struct associated_allocator<
3067
+ template <template <typename, typename> class Associator,
3068
+ typename AsyncReadStream, typename DynamicBuffer_v2,
3069
+ typename RegEx, typename ReadHandler, typename DefaultCandidate>
3070
+ struct associator<Associator,
2958
3071
  detail::read_until_expr_op_v2<AsyncReadStream,
2959
3072
  DynamicBuffer_v2, RegEx, ReadHandler>,
2960
- Allocator>
3073
+ DefaultCandidate>
3074
+ : Associator<ReadHandler, DefaultCandidate>
2961
3075
  {
2962
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
2963
-
2964
- static type get(
2965
- const detail::read_until_expr_op_v2<AsyncReadStream,
2966
- DynamicBuffer_v2, RegEx, ReadHandler>& h,
2967
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
3076
+ static typename Associator<ReadHandler, DefaultCandidate>::type
3077
+ get(const detail::read_until_expr_op_v2<AsyncReadStream,
3078
+ DynamicBuffer_v2, RegEx, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
2968
3079
  {
2969
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
3080
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
2970
3081
  }
2971
- };
2972
3082
 
2973
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
2974
- typename RegEx, typename ReadHandler, typename Executor>
2975
- struct associated_executor<
2976
- detail::read_until_expr_op_v2<AsyncReadStream,
2977
- DynamicBuffer_v2, RegEx, ReadHandler>,
2978
- Executor>
2979
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
2980
- {
2981
- typedef typename associated_executor<ReadHandler, Executor>::type type;
2982
-
2983
- static type get(
2984
- const detail::read_until_expr_op_v2<AsyncReadStream,
3083
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
3084
+ typename Associator<ReadHandler, DefaultCandidate>::type)
3085
+ get(const detail::read_until_expr_op_v2<AsyncReadStream,
2985
3086
  DynamicBuffer_v2, RegEx, ReadHandler>& h,
2986
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
3087
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
3088
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
3089
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
2987
3090
  {
2988
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
3091
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
2989
3092
  }
2990
3093
  };
2991
3094
 
@@ -2993,19 +3096,24 @@ struct associated_executor<
2993
3096
 
2994
3097
  template <typename AsyncReadStream, typename DynamicBuffer_v2,
2995
3098
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2996
- std::size_t)) ReadHandler>
2997
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
3099
+ std::size_t)) ReadToken>
3100
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
2998
3101
  void (boost::system::error_code, std::size_t))
2999
3102
  async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
3000
- const boost::regex& expr, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
3001
- typename enable_if<
3103
+ const boost::regex& expr, BOOST_ASIO_MOVE_ARG(ReadToken) token,
3104
+ typename constraint<
3002
3105
  is_dynamic_buffer_v2<DynamicBuffer_v2>::value
3003
- >::type*)
3106
+ >::type)
3107
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
3108
+ async_initiate<ReadToken,
3109
+ void (boost::system::error_code, std::size_t)>(
3110
+ declval<detail::initiate_async_read_until_expr_v2<AsyncReadStream> >(),
3111
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), expr)))
3004
3112
  {
3005
- return async_initiate<ReadHandler,
3113
+ return async_initiate<ReadToken,
3006
3114
  void (boost::system::error_code, std::size_t)>(
3007
3115
  detail::initiate_async_read_until_expr_v2<AsyncReadStream>(s),
3008
- handler, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), expr);
3116
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), expr);
3009
3117
  }
3010
3118
 
3011
3119
  #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
@@ -3015,13 +3123,16 @@ namespace detail
3015
3123
  template <typename AsyncReadStream, typename DynamicBuffer_v2,
3016
3124
  typename MatchCondition, typename ReadHandler>
3017
3125
  class read_until_match_op_v2
3126
+ : public base_from_cancellation_state<ReadHandler>
3018
3127
  {
3019
3128
  public:
3020
3129
  template <typename BufferSequence>
3021
3130
  read_until_match_op_v2(AsyncReadStream& stream,
3022
3131
  BOOST_ASIO_MOVE_ARG(BufferSequence) buffers,
3023
3132
  MatchCondition match_condition, ReadHandler& handler)
3024
- : stream_(stream),
3133
+ : base_from_cancellation_state<ReadHandler>(
3134
+ handler, enable_partial_cancellation()),
3135
+ stream_(stream),
3025
3136
  buffers_(BOOST_ASIO_MOVE_CAST(BufferSequence)(buffers)),
3026
3137
  match_condition_(match_condition),
3027
3138
  start_(0),
@@ -3033,7 +3144,8 @@ namespace detail
3033
3144
 
3034
3145
  #if defined(BOOST_ASIO_HAS_MOVE)
3035
3146
  read_until_match_op_v2(const read_until_match_op_v2& other)
3036
- : stream_(other.stream_),
3147
+ : base_from_cancellation_state<ReadHandler>(other),
3148
+ stream_(other.stream_),
3037
3149
  buffers_(other.buffers_),
3038
3150
  match_condition_(other.match_condition_),
3039
3151
  start_(other.start_),
@@ -3044,7 +3156,10 @@ namespace detail
3044
3156
  }
3045
3157
 
3046
3158
  read_until_match_op_v2(read_until_match_op_v2&& other)
3047
- : stream_(other.stream_),
3159
+ : base_from_cancellation_state<ReadHandler>(
3160
+ BOOST_ASIO_MOVE_CAST(base_from_cancellation_state<
3161
+ ReadHandler>)(other)),
3162
+ stream_(other.stream_),
3048
3163
  buffers_(BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(other.buffers_)),
3049
3164
  match_condition_(other.match_condition_),
3050
3165
  start_(other.start_),
@@ -3055,7 +3170,7 @@ namespace detail
3055
3170
  }
3056
3171
  #endif // defined(BOOST_ASIO_HAS_MOVE)
3057
3172
 
3058
- void operator()(const boost::system::error_code& ec,
3173
+ void operator()(boost::system::error_code ec,
3059
3174
  std::size_t bytes_transferred, int start = 0)
3060
3175
  {
3061
3176
  const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
@@ -3133,6 +3248,11 @@ namespace detail
3133
3248
  buffers_.shrink(bytes_to_read_ - bytes_transferred);
3134
3249
  if (ec || bytes_transferred == 0)
3135
3250
  break;
3251
+ if (this->cancelled() != cancellation_type::none)
3252
+ {
3253
+ ec = error::operation_aborted;
3254
+ break;
3255
+ }
3136
3256
  }
3137
3257
 
3138
3258
  const boost::system::error_code result_ec =
@@ -3143,7 +3263,7 @@ namespace detail
3143
3263
  (ec || search_position_ == not_found)
3144
3264
  ? 0 : search_position_;
3145
3265
 
3146
- handler_(result_ec, result_n);
3266
+ BOOST_ASIO_MOVE_OR_LVALUE(ReadHandler)(handler_)(result_ec, result_n);
3147
3267
  }
3148
3268
  }
3149
3269
 
@@ -3269,40 +3389,31 @@ namespace detail
3269
3389
 
3270
3390
  #if !defined(GENERATING_DOCUMENTATION)
3271
3391
 
3272
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
3273
- typename MatchCondition, typename ReadHandler, typename Allocator>
3274
- struct associated_allocator<
3392
+ template <template <typename, typename> class Associator,
3393
+ typename AsyncReadStream, typename DynamicBuffer_v2,
3394
+ typename MatchCondition, typename ReadHandler, typename DefaultCandidate>
3395
+ struct associator<Associator,
3275
3396
  detail::read_until_match_op_v2<AsyncReadStream,
3276
3397
  DynamicBuffer_v2, MatchCondition, ReadHandler>,
3277
- Allocator>
3398
+ DefaultCandidate>
3399
+ : Associator<ReadHandler, DefaultCandidate>
3278
3400
  {
3279
- typedef typename associated_allocator<ReadHandler, Allocator>::type type;
3280
-
3281
- static type get(
3282
- const detail::read_until_match_op_v2<AsyncReadStream,
3283
- DynamicBuffer_v2, MatchCondition, ReadHandler>& h,
3284
- const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
3401
+ static typename Associator<ReadHandler, DefaultCandidate>::type
3402
+ get(const detail::read_until_match_op_v2<AsyncReadStream,
3403
+ DynamicBuffer_v2, MatchCondition, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
3285
3404
  {
3286
- return associated_allocator<ReadHandler, Allocator>::get(h.handler_, a);
3405
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
3287
3406
  }
3288
- };
3289
3407
 
3290
- template <typename AsyncReadStream, typename DynamicBuffer_v2,
3291
- typename MatchCondition, typename ReadHandler, typename Executor>
3292
- struct associated_executor<
3293
- detail::read_until_match_op_v2<AsyncReadStream,
3294
- DynamicBuffer_v2, MatchCondition, ReadHandler>,
3295
- Executor>
3296
- : detail::associated_executor_forwarding_base<ReadHandler, Executor>
3297
- {
3298
- typedef typename associated_executor<ReadHandler, Executor>::type type;
3299
-
3300
- static type get(
3301
- const detail::read_until_match_op_v2<AsyncReadStream,
3408
+ static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
3409
+ typename Associator<ReadHandler, DefaultCandidate>::type)
3410
+ get(const detail::read_until_match_op_v2<AsyncReadStream,
3302
3411
  DynamicBuffer_v2, MatchCondition, ReadHandler>& h,
3303
- const Executor& ex = Executor()) BOOST_ASIO_NOEXCEPT
3412
+ const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
3413
+ BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
3414
+ Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
3304
3415
  {
3305
- return associated_executor<ReadHandler, Executor>::get(h.handler_, ex);
3416
+ return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
3306
3417
  }
3307
3418
  };
3308
3419
 
@@ -3311,20 +3422,29 @@ struct associated_executor<
3311
3422
  template <typename AsyncReadStream,
3312
3423
  typename DynamicBuffer_v2, typename MatchCondition,
3313
3424
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
3314
- std::size_t)) ReadHandler>
3315
- BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
3425
+ std::size_t)) ReadToken>
3426
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
3316
3427
  void (boost::system::error_code, std::size_t))
3317
3428
  async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
3318
- MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
3319
- typename enable_if<
3429
+ MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadToken) token,
3430
+ typename constraint<
3320
3431
  is_match_condition<MatchCondition>::value
3321
- && is_dynamic_buffer_v2<DynamicBuffer_v2>::value
3322
- >::type*)
3432
+ >::type,
3433
+ typename constraint<
3434
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
3435
+ >::type)
3436
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
3437
+ async_initiate<ReadToken,
3438
+ void (boost::system::error_code, std::size_t)>(
3439
+ declval<detail::initiate_async_read_until_match_v2<AsyncReadStream> >(),
3440
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
3441
+ match_condition)))
3323
3442
  {
3324
- return async_initiate<ReadHandler,
3443
+ return async_initiate<ReadToken,
3325
3444
  void (boost::system::error_code, std::size_t)>(
3326
- detail::initiate_async_read_until_match_v2<AsyncReadStream>(s), handler,
3327
- BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), match_condition);
3445
+ detail::initiate_async_read_until_match_v2<AsyncReadStream>(s),
3446
+ token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
3447
+ match_condition);
3328
3448
  }
3329
3449
 
3330
3450
  #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)