passenger 6.0.6 → 6.0.10

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