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
  // read_at.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)
@@ -440,9 +440,9 @@ std::size_t read_at(SyncRandomAccessReadDevice& d,
440
440
  * std::size_t bytes_transferred
441
441
  * ); @endcode
442
442
  * Regardless of whether the asynchronous operation completes immediately or
443
- * not, the handler will not be invoked from within this function. Invocation of
444
- * the handler will be performed in a manner equivalent to using
445
- * boost::asio::io_context::post().
443
+ * not, the handler will not be invoked from within this function. On
444
+ * immediate completion, invocation of the handler will be performed in a
445
+ * manner equivalent to using boost::asio::post().
446
446
  *
447
447
  * @par Example
448
448
  * To read into a single data buffer use the @ref buffer function as follows:
@@ -460,12 +460,17 @@ std::size_t read_at(SyncRandomAccessReadDevice& d,
460
460
  * handler); @endcode
461
461
  */
462
462
  template <typename AsyncRandomAccessReadDevice, typename MutableBufferSequence,
463
- typename ReadHandler>
464
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
463
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
464
+ std::size_t)) ReadHandler
465
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
466
+ typename AsyncRandomAccessReadDevice::executor_type)>
467
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
465
468
  void (boost::system::error_code, std::size_t))
466
469
  async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
467
470
  const MutableBufferSequence& buffers,
468
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
471
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
472
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
473
+ typename AsyncRandomAccessReadDevice::executor_type));
469
474
 
470
475
  /// Start an asynchronous operation to read a certain amount of data at the
471
476
  /// specified offset.
@@ -518,9 +523,9 @@ async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
518
523
  * std::size_t bytes_transferred
519
524
  * ); @endcode
520
525
  * Regardless of whether the asynchronous operation completes immediately or
521
- * not, the handler will not be invoked from within this function. Invocation of
522
- * the handler will be performed in a manner equivalent to using
523
- * boost::asio::io_context::post().
526
+ * not, the handler will not be invoked from within this function. On
527
+ * immediate completion, invocation of the handler will be performed in a
528
+ * manner equivalent to using boost::asio::post().
524
529
  *
525
530
  * @par Example
526
531
  * To read into a single data buffer use the @ref buffer function as follows:
@@ -532,14 +537,20 @@ async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
532
537
  * buffers in one go, and how to use it with arrays, boost::array or
533
538
  * std::vector.
534
539
  */
535
- template <typename AsyncRandomAccessReadDevice, typename MutableBufferSequence,
536
- typename CompletionCondition, typename ReadHandler>
537
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
540
+ template <typename AsyncRandomAccessReadDevice,
541
+ typename MutableBufferSequence, typename CompletionCondition,
542
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
543
+ std::size_t)) ReadHandler
544
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
545
+ typename AsyncRandomAccessReadDevice::executor_type)>
546
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
538
547
  void (boost::system::error_code, std::size_t))
539
548
  async_read_at(AsyncRandomAccessReadDevice& d,
540
549
  uint64_t offset, const MutableBufferSequence& buffers,
541
550
  CompletionCondition completion_condition,
542
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
551
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
552
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
553
+ typename AsyncRandomAccessReadDevice::executor_type));
543
554
 
544
555
  #if !defined(BOOST_ASIO_NO_EXTENSIONS)
545
556
  #if !defined(BOOST_ASIO_NO_IOSTREAM)
@@ -579,9 +590,9 @@ async_read_at(AsyncRandomAccessReadDevice& d,
579
590
  * std::size_t bytes_transferred
580
591
  * ); @endcode
581
592
  * Regardless of whether the asynchronous operation completes immediately or
582
- * not, the handler will not be invoked from within this function. Invocation of
583
- * the handler will be performed in a manner equivalent to using
584
- * boost::asio::io_context::post().
593
+ * not, the handler will not be invoked from within this function. On
594
+ * immediate completion, invocation of the handler will be performed in a
595
+ * manner equivalent to using boost::asio::post().
585
596
  *
586
597
  * @note This overload is equivalent to calling:
587
598
  * @code boost::asio::async_read_at(
@@ -590,11 +601,17 @@ async_read_at(AsyncRandomAccessReadDevice& d,
590
601
  * handler); @endcode
591
602
  */
592
603
  template <typename AsyncRandomAccessReadDevice, typename Allocator,
593
- typename ReadHandler>
594
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
604
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
605
+ std::size_t)) ReadHandler
606
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
607
+ typename AsyncRandomAccessReadDevice::executor_type)>
608
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
595
609
  void (boost::system::error_code, std::size_t))
596
- async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
597
- basic_streambuf<Allocator>& b, BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
610
+ async_read_at(AsyncRandomAccessReadDevice& d,
611
+ uint64_t offset, basic_streambuf<Allocator>& b,
612
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
613
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
614
+ typename AsyncRandomAccessReadDevice::executor_type));
598
615
 
599
616
  /// Start an asynchronous operation to read a certain amount of data at the
600
617
  /// specified offset.
@@ -645,18 +662,24 @@ async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
645
662
  * std::size_t bytes_transferred
646
663
  * ); @endcode
647
664
  * Regardless of whether the asynchronous operation completes immediately or
648
- * not, the handler will not be invoked from within this function. Invocation of
649
- * the handler will be performed in a manner equivalent to using
650
- * boost::asio::io_context::post().
665
+ * not, the handler will not be invoked from within this function. On
666
+ * immediate completion, invocation of the handler will be performed in a
667
+ * manner equivalent to using boost::asio::post().
651
668
  */
652
- template <typename AsyncRandomAccessReadDevice, typename Allocator,
653
- typename CompletionCondition, typename ReadHandler>
654
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
669
+ template <typename AsyncRandomAccessReadDevice,
670
+ typename Allocator, typename CompletionCondition,
671
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
672
+ std::size_t)) ReadHandler
673
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
674
+ typename AsyncRandomAccessReadDevice::executor_type)>
675
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
655
676
  void (boost::system::error_code, std::size_t))
656
677
  async_read_at(AsyncRandomAccessReadDevice& d,
657
678
  uint64_t offset, basic_streambuf<Allocator>& b,
658
679
  CompletionCondition completion_condition,
659
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
680
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
681
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
682
+ typename AsyncRandomAccessReadDevice::executor_type));
660
683
 
661
684
  #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
662
685
  #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
@@ -2,7 +2,7 @@
2
2
  // read_until.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)
@@ -19,6 +19,7 @@
19
19
  #include <cstddef>
20
20
  #include <string>
21
21
  #include <boost/asio/async_result.hpp>
22
+ #include <boost/asio/buffer.hpp>
22
23
  #include <boost/asio/detail/regex_fwd.hpp>
23
24
  #include <boost/asio/detail/string_view.hpp>
24
25
  #include <boost/asio/detail/type_traits.hpp>
@@ -75,6 +76,8 @@ struct is_match_condition
75
76
  */
76
77
  /*@{*/
77
78
 
79
+ #if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
80
+
78
81
  /// Read data into a dynamic buffer sequence until it contains a specified
79
82
  /// delimiter.
80
83
  /**
@@ -112,7 +115,7 @@ struct is_match_condition
112
115
  * @par Example
113
116
  * To read data into a @c std::string until a newline is encountered:
114
117
  * @code std::string data;
115
- * std::string n = boost::asio::read_until(s,
118
+ * std::size_t n = boost::asio::read_until(s,
116
119
  * boost::asio::dynamic_buffer(data), '\n');
117
120
  * std::string line = data.substr(0, n);
118
121
  * data.erase(0, n); @endcode
@@ -128,9 +131,15 @@ struct is_match_condition
128
131
  * This data may be the start of a new line, to be extracted by a subsequent
129
132
  * @c read_until operation.
130
133
  */
131
- template <typename SyncReadStream, typename DynamicBuffer>
134
+ template <typename SyncReadStream, typename DynamicBuffer_v1>
132
135
  std::size_t read_until(SyncReadStream& s,
133
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers, char delim);
136
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
137
+ typename constraint<
138
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
139
+ >::type = 0,
140
+ typename constraint<
141
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
142
+ >::type = 0);
134
143
 
135
144
  /// Read data into a dynamic buffer sequence until it contains a specified
136
145
  /// delimiter.
@@ -166,10 +175,16 @@ std::size_t read_until(SyncReadStream& s,
166
175
  * typically leave that data in the dynamic buffer sequence for a subsequent
167
176
  * read_until operation to examine.
168
177
  */
169
- template <typename SyncReadStream, typename DynamicBuffer>
178
+ template <typename SyncReadStream, typename DynamicBuffer_v1>
170
179
  std::size_t read_until(SyncReadStream& s,
171
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
172
- char delim, boost::system::error_code& ec);
180
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
181
+ char delim, boost::system::error_code& ec,
182
+ typename constraint<
183
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
184
+ >::type = 0,
185
+ typename constraint<
186
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
187
+ >::type = 0);
173
188
 
174
189
  /// Read data into a dynamic buffer sequence until it contains a specified
175
190
  /// delimiter.
@@ -206,7 +221,7 @@ std::size_t read_until(SyncReadStream& s,
206
221
  * @par Example
207
222
  * To read data into a @c std::string until a CR-LF sequence is encountered:
208
223
  * @code std::string data;
209
- * std::string n = boost::asio::read_until(s,
224
+ * std::size_t n = boost::asio::read_until(s,
210
225
  * boost::asio::dynamic_buffer(data), "\r\n");
211
226
  * std::string line = data.substr(0, n);
212
227
  * data.erase(0, n); @endcode
@@ -222,10 +237,16 @@ std::size_t read_until(SyncReadStream& s,
222
237
  * This data may be the start of a new line, to be extracted by a subsequent
223
238
  * @c read_until operation.
224
239
  */
225
- template <typename SyncReadStream, typename DynamicBuffer>
240
+ template <typename SyncReadStream, typename DynamicBuffer_v1>
226
241
  std::size_t read_until(SyncReadStream& s,
227
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
228
- BOOST_ASIO_STRING_VIEW_PARAM delim);
242
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
243
+ BOOST_ASIO_STRING_VIEW_PARAM delim,
244
+ typename constraint<
245
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
246
+ >::type = 0,
247
+ typename constraint<
248
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
249
+ >::type = 0);
229
250
 
230
251
  /// Read data into a dynamic buffer sequence until it contains a specified
231
252
  /// delimiter.
@@ -261,11 +282,17 @@ std::size_t read_until(SyncReadStream& s,
261
282
  * typically leave that data in the dynamic buffer sequence for a subsequent
262
283
  * read_until operation to examine.
263
284
  */
264
- template <typename SyncReadStream, typename DynamicBuffer>
285
+ template <typename SyncReadStream, typename DynamicBuffer_v1>
265
286
  std::size_t read_until(SyncReadStream& s,
266
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
287
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
267
288
  BOOST_ASIO_STRING_VIEW_PARAM delim,
268
- boost::system::error_code& ec);
289
+ boost::system::error_code& ec,
290
+ typename constraint<
291
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
292
+ >::type = 0,
293
+ typename constraint<
294
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
295
+ >::type = 0);
269
296
 
270
297
  #if !defined(BOOST_ASIO_NO_EXTENSIONS)
271
298
  #if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
@@ -309,7 +336,7 @@ std::size_t read_until(SyncReadStream& s,
309
336
  * @par Example
310
337
  * To read data into a @c std::string until a CR-LF sequence is encountered:
311
338
  * @code std::string data;
312
- * std::string n = boost::asio::read_until(s,
339
+ * std::size_t n = boost::asio::read_until(s,
313
340
  * boost::asio::dynamic_buffer(data), boost::regex("\r\n"));
314
341
  * std::string line = data.substr(0, n);
315
342
  * data.erase(0, n); @endcode
@@ -325,10 +352,16 @@ std::size_t read_until(SyncReadStream& s,
325
352
  * This data may be the start of a new line, to be extracted by a subsequent
326
353
  * @c read_until operation.
327
354
  */
328
- template <typename SyncReadStream, typename DynamicBuffer>
355
+ template <typename SyncReadStream, typename DynamicBuffer_v1>
329
356
  std::size_t read_until(SyncReadStream& s,
330
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
331
- const boost::regex& expr);
357
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
358
+ const boost::regex& expr,
359
+ typename constraint<
360
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
361
+ >::type = 0,
362
+ typename constraint<
363
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
364
+ >::type = 0);
332
365
 
333
366
  /// Read data into a dynamic buffer sequence until some part of the data it
334
367
  /// contains matches a regular expression.
@@ -366,10 +399,16 @@ std::size_t read_until(SyncReadStream& s,
366
399
  * expression. An application will typically leave that data in the dynamic
367
400
  * buffer sequence for a subsequent read_until operation to examine.
368
401
  */
369
- template <typename SyncReadStream, typename DynamicBuffer>
402
+ template <typename SyncReadStream, typename DynamicBuffer_v1>
370
403
  std::size_t read_until(SyncReadStream& s,
371
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
372
- const boost::regex& expr, boost::system::error_code& ec);
404
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
405
+ const boost::regex& expr, boost::system::error_code& ec,
406
+ typename constraint<
407
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
408
+ >::type = 0,
409
+ typename constraint<
410
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
411
+ >::type = 0);
373
412
 
374
413
  #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
375
414
  // || defined(GENERATING_DOCUMENTATION)
@@ -402,7 +441,7 @@ std::size_t read_until(SyncReadStream& s,
402
441
  * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
403
442
  * @endcode
404
443
  * where @c iterator represents the type:
405
- * @code buffers_iterator<typename DynamicBuffer::const_buffers_type>
444
+ * @code buffers_iterator<typename DynamicBuffer_v1::const_buffers_type>
406
445
  * @endcode
407
446
  * The iterator parameters @c begin and @c end define the range of bytes to be
408
447
  * scanned to determine whether there is a match. The @c first member of the
@@ -477,11 +516,19 @@ std::size_t read_until(SyncReadStream& s,
477
516
  * @endcode
478
517
  */
479
518
  template <typename SyncReadStream,
480
- typename DynamicBuffer, typename MatchCondition>
519
+ typename DynamicBuffer_v1, typename MatchCondition>
481
520
  std::size_t read_until(SyncReadStream& s,
482
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
521
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
483
522
  MatchCondition match_condition,
484
- typename enable_if<is_match_condition<MatchCondition>::value>::type* = 0);
523
+ typename constraint<
524
+ is_match_condition<MatchCondition>::value
525
+ >::type = 0,
526
+ typename constraint<
527
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
528
+ >::type = 0,
529
+ typename constraint<
530
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
531
+ >::type = 0);
485
532
 
486
533
  /// Read data into a dynamic buffer sequence until a function object indicates a
487
534
  /// match.
@@ -510,7 +557,7 @@ std::size_t read_until(SyncReadStream& s,
510
557
  * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
511
558
  * @endcode
512
559
  * where @c iterator represents the type:
513
- * @code buffers_iterator<DynamicBuffer::const_buffers_type>
560
+ * @code buffers_iterator<DynamicBuffer_v1::const_buffers_type>
514
561
  * @endcode
515
562
  * The iterator parameters @c begin and @c end define the range of bytes to be
516
563
  * scanned to determine whether there is a match. The @c first member of the
@@ -537,11 +584,19 @@ std::size_t read_until(SyncReadStream& s,
537
584
  * function objects.
538
585
  */
539
586
  template <typename SyncReadStream,
540
- typename DynamicBuffer, typename MatchCondition>
587
+ typename DynamicBuffer_v1, typename MatchCondition>
541
588
  std::size_t read_until(SyncReadStream& s,
542
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
589
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
543
590
  MatchCondition match_condition, boost::system::error_code& ec,
544
- typename enable_if<is_match_condition<MatchCondition>::value>::type* = 0);
591
+ typename constraint<
592
+ is_match_condition<MatchCondition>::value
593
+ >::type = 0,
594
+ typename constraint<
595
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
596
+ >::type = 0,
597
+ typename constraint<
598
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
599
+ >::type = 0);
545
600
 
546
601
  #if !defined(BOOST_ASIO_NO_IOSTREAM)
547
602
 
@@ -921,7 +976,7 @@ std::size_t read_until(SyncReadStream& s,
921
976
  template <typename SyncReadStream, typename Allocator, typename MatchCondition>
922
977
  std::size_t read_until(SyncReadStream& s,
923
978
  boost::asio::basic_streambuf<Allocator>& b, MatchCondition match_condition,
924
- typename enable_if<is_match_condition<MatchCondition>::value>::type* = 0);
979
+ typename constraint<is_match_condition<MatchCondition>::value>::type = 0);
925
980
 
926
981
  /// Read data into a streambuf until a function object indicates a match.
927
982
  /**
@@ -978,30 +1033,19 @@ template <typename SyncReadStream, typename Allocator, typename MatchCondition>
978
1033
  std::size_t read_until(SyncReadStream& s,
979
1034
  boost::asio::basic_streambuf<Allocator>& b,
980
1035
  MatchCondition match_condition, boost::system::error_code& ec,
981
- typename enable_if<is_match_condition<MatchCondition>::value>::type* = 0);
1036
+ typename constraint<is_match_condition<MatchCondition>::value>::type = 0);
982
1037
 
983
1038
  #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
984
1039
  #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
1040
+ #endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
985
1041
 
986
- /*@}*/
987
- /**
988
- * @defgroup async_read_until boost::asio::async_read_until
989
- *
990
- * @brief The @c async_read_until function is a composed asynchronous operation
991
- * that reads data into a dynamic buffer sequence, or into a streambuf, until
992
- * it contains a delimiter, matches a regular expression, or a function object
993
- * indicates a match.
994
- */
995
- /*@{*/
996
-
997
- /// Start an asynchronous operation to read data into a dynamic buffer sequence
998
- /// until it contains a specified delimiter.
1042
+ /// Read data into a dynamic buffer sequence until it contains a specified
1043
+ /// delimiter.
999
1044
  /**
1000
- * This function is used to asynchronously read data into the specified dynamic
1001
- * buffer sequence until the dynamic buffer sequence's get area contains the
1002
- * specified delimiter. The function call always returns immediately. The
1003
- * asynchronous operation will continue until one of the following conditions
1004
- * is true:
1045
+ * This function is used to read data into the specified dynamic buffer
1046
+ * sequence until the dynamic buffer sequence's get area contains the specified
1047
+ * delimiter. The call will block until one of the following conditions is
1048
+ * true:
1005
1049
  *
1006
1050
  * @li The get area of the dynamic buffer sequence contains the specified
1007
1051
  * delimiter.
@@ -1009,89 +1053,58 @@ std::size_t read_until(SyncReadStream& s,
1009
1053
  * @li An error occurred.
1010
1054
  *
1011
1055
  * This operation is implemented in terms of zero or more calls to the stream's
1012
- * async_read_some function, and is known as a <em>composed operation</em>. If
1013
- * the dynamic buffer sequence's get area already contains the delimiter, this
1014
- * asynchronous operation completes immediately. The program must ensure that
1015
- * the stream performs no other read operations (such as async_read,
1016
- * async_read_until, the stream's async_read_some function, or any other
1017
- * composed operations that perform reads) until this operation completes.
1056
+ * read_some function. If the dynamic buffer sequence's get area already
1057
+ * contains the delimiter, the function returns immediately.
1018
1058
  *
1019
1059
  * @param s The stream from which the data is to be read. The type must support
1020
- * the AsyncReadStream concept.
1060
+ * the SyncReadStream concept.
1021
1061
  *
1022
1062
  * @param buffers The dynamic buffer sequence into which the data will be read.
1023
- * Although the buffers object may be copied as necessary, ownership of the
1024
- * underlying memory blocks is retained by the caller, which must guarantee
1025
- * that they remain valid until the handler is called.
1026
1063
  *
1027
1064
  * @param delim The delimiter character.
1028
1065
  *
1029
- * @param handler The handler to be called when the read operation completes.
1030
- * Copies will be made of the handler as required. The function signature of the
1031
- * handler must be:
1032
- * @code void handler(
1033
- * // Result of operation.
1034
- * const boost::system::error_code& error,
1066
+ * @returns The number of bytes in the dynamic buffer sequence's get area up to
1067
+ * and including the delimiter.
1035
1068
  *
1036
- * // The number of bytes in the dynamic buffer sequence's
1037
- * // get area up to and including the delimiter.
1038
- * // 0 if an error occurred.
1039
- * std::size_t bytes_transferred
1040
- * ); @endcode
1041
- * Regardless of whether the asynchronous operation completes immediately or
1042
- * not, the handler will not be invoked from within this function. Invocation of
1043
- * the handler will be performed in a manner equivalent to using
1044
- * boost::asio::io_context::post().
1069
+ * @throws boost::system::system_error Thrown on failure.
1045
1070
  *
1046
- * @note After a successful async_read_until operation, the dynamic buffer
1047
- * sequence may contain additional data beyond the delimiter. An application
1048
- * will typically leave that data in the dynamic buffer sequence for a
1049
- * subsequent async_read_until operation to examine.
1071
+ * @note After a successful read_until operation, the dynamic buffer sequence
1072
+ * may contain additional data beyond the delimiter. An application will
1073
+ * typically leave that data in the dynamic buffer sequence for a subsequent
1074
+ * read_until operation to examine.
1050
1075
  *
1051
1076
  * @par Example
1052
- * To asynchronously read data into a @c std::string until a newline is
1053
- * encountered:
1077
+ * To read data into a @c std::string until a newline is encountered:
1054
1078
  * @code std::string data;
1055
- * ...
1056
- * void handler(const boost::system::error_code& e, std::size_t size)
1057
- * {
1058
- * if (!e)
1059
- * {
1060
- * std::string line = data.substr(0, n);
1061
- * data.erase(0, n);
1062
- * ...
1063
- * }
1064
- * }
1065
- * ...
1066
- * boost::asio::async_read_until(s, data, '\n', handler); @endcode
1067
- * After the @c async_read_until operation completes successfully, the buffer
1068
- * @c data contains the delimiter:
1079
+ * std::size_t n = boost::asio::read_until(s,
1080
+ * boost::asio::dynamic_buffer(data), '\n');
1081
+ * std::string line = data.substr(0, n);
1082
+ * data.erase(0, n); @endcode
1083
+ * After the @c read_until operation completes successfully, the string @c data
1084
+ * contains the delimiter:
1069
1085
  * @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
1070
1086
  * The call to @c substr then extracts the data up to and including the
1071
1087
  * delimiter, so that the string @c line contains:
1072
1088
  * @code { 'a', 'b', ..., 'c', '\n' } @endcode
1073
- * After the call to @c erase, the remaining data is left in the buffer @c data
1074
- * as follows:
1089
+ * After the call to @c erase, the remaining data is left in the buffer @c b as
1090
+ * follows:
1075
1091
  * @code { 'd', 'e', ... } @endcode
1076
1092
  * This data may be the start of a new line, to be extracted by a subsequent
1077
- * @c async_read_until operation.
1093
+ * @c read_until operation.
1078
1094
  */
1079
- template <typename AsyncReadStream,
1080
- typename DynamicBuffer, typename ReadHandler>
1081
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
1082
- void (boost::system::error_code, std::size_t))
1083
- async_read_until(AsyncReadStream& s,
1084
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
1085
- char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
1095
+ template <typename SyncReadStream, typename DynamicBuffer_v2>
1096
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
1097
+ typename constraint<
1098
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1099
+ >::type = 0);
1086
1100
 
1087
- /// Start an asynchronous operation to read data into a dynamic buffer sequence
1088
- /// until it contains a specified delimiter.
1101
+ /// Read data into a dynamic buffer sequence until it contains a specified
1102
+ /// delimiter.
1089
1103
  /**
1090
- * This function is used to asynchronously read data into the specified dynamic
1091
- * buffer sequence until the dynamic buffer sequence's get area contains the
1092
- * specified delimiter. The function call always returns immediately. The
1093
- * asynchronous operation will continue until one of the following conditions
1094
- * is true:
1104
+ * This function is used to read data into the specified dynamic buffer
1105
+ * sequence until the dynamic buffer sequence's get area contains the specified
1106
+ * delimiter. The call will block until one of the following conditions is
1107
+ * true:
1095
1108
  *
1096
1109
  * @li The get area of the dynamic buffer sequence contains the specified
1097
1110
  * delimiter.
@@ -1099,192 +1112,1196 @@ async_read_until(AsyncReadStream& s,
1099
1112
  * @li An error occurred.
1100
1113
  *
1101
1114
  * This operation is implemented in terms of zero or more calls to the stream's
1102
- * async_read_some function, and is known as a <em>composed operation</em>. If
1103
- * the dynamic buffer sequence's get area already contains the delimiter, this
1104
- * asynchronous operation completes immediately. The program must ensure that
1105
- * the stream performs no other read operations (such as async_read,
1106
- * async_read_until, the stream's async_read_some function, or any other
1107
- * composed operations that perform reads) until this operation completes.
1115
+ * read_some function. If the dynamic buffer sequence's get area already
1116
+ * contains the delimiter, the function returns immediately.
1108
1117
  *
1109
1118
  * @param s The stream from which the data is to be read. The type must support
1110
- * the AsyncReadStream concept.
1119
+ * the SyncReadStream concept.
1111
1120
  *
1112
1121
  * @param buffers The dynamic buffer sequence into which the data will be read.
1113
- * Although the buffers object may be copied as necessary, ownership of the
1114
- * underlying memory blocks is retained by the caller, which must guarantee
1115
- * that they remain valid until the handler is called.
1116
1122
  *
1117
- * @param delim The delimiter string.
1123
+ * @param delim The delimiter character.
1118
1124
  *
1119
- * @param handler The handler to be called when the read operation completes.
1120
- * Copies will be made of the handler as required. The function signature of the
1121
- * handler must be:
1122
- * @code void handler(
1123
- * // Result of operation.
1124
- * const boost::system::error_code& error,
1125
+ * @param ec Set to indicate what error occurred, if any.
1125
1126
  *
1126
- * // The number of bytes in the dynamic buffer sequence's
1127
- * // get area up to and including the delimiter.
1128
- * // 0 if an error occurred.
1129
- * std::size_t bytes_transferred
1130
- * ); @endcode
1131
- * Regardless of whether the asynchronous operation completes immediately or
1132
- * not, the handler will not be invoked from within this function. Invocation of
1133
- * the handler will be performed in a manner equivalent to using
1134
- * boost::asio::io_context::post().
1127
+ * @returns The number of bytes in the dynamic buffer sequence's get area up to
1128
+ * and including the delimiter. Returns 0 if an error occurred.
1135
1129
  *
1136
- * @note After a successful async_read_until operation, the dynamic buffer
1137
- * sequence may contain additional data beyond the delimiter. An application
1138
- * will typically leave that data in the dynamic buffer sequence for a
1139
- * subsequent async_read_until operation to examine.
1130
+ * @note After a successful read_until operation, the dynamic buffer sequence
1131
+ * may contain additional data beyond the delimiter. An application will
1132
+ * typically leave that data in the dynamic buffer sequence for a subsequent
1133
+ * read_until operation to examine.
1134
+ */
1135
+ template <typename SyncReadStream, typename DynamicBuffer_v2>
1136
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1137
+ char delim, boost::system::error_code& ec,
1138
+ typename constraint<
1139
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1140
+ >::type = 0);
1141
+
1142
+ /// Read data into a dynamic buffer sequence until it contains a specified
1143
+ /// delimiter.
1144
+ /**
1145
+ * This function is used to read data into the specified dynamic buffer
1146
+ * sequence until the dynamic buffer sequence's get area contains the specified
1147
+ * delimiter. The call will block until one of the following conditions is
1148
+ * true:
1149
+ *
1150
+ * @li The get area of the dynamic buffer sequence contains the specified
1151
+ * delimiter.
1152
+ *
1153
+ * @li An error occurred.
1154
+ *
1155
+ * This operation is implemented in terms of zero or more calls to the stream's
1156
+ * read_some function. If the dynamic buffer sequence's get area already
1157
+ * contains the delimiter, the function returns immediately.
1158
+ *
1159
+ * @param s The stream from which the data is to be read. The type must support
1160
+ * the SyncReadStream concept.
1161
+ *
1162
+ * @param buffers The dynamic buffer sequence into which the data will be read.
1163
+ *
1164
+ * @param delim The delimiter string.
1165
+ *
1166
+ * @returns The number of bytes in the dynamic buffer sequence's get area up to
1167
+ * and including the delimiter.
1168
+ *
1169
+ * @note After a successful read_until operation, the dynamic buffer sequence
1170
+ * may contain additional data beyond the delimiter. An application will
1171
+ * typically leave that data in the dynamic buffer sequence for a subsequent
1172
+ * read_until operation to examine.
1140
1173
  *
1141
1174
  * @par Example
1142
- * To asynchronously read data into a @c std::string until a CR-LF sequence is
1143
- * encountered:
1175
+ * To read data into a @c std::string until a CR-LF sequence is encountered:
1144
1176
  * @code std::string data;
1145
- * ...
1146
- * void handler(const boost::system::error_code& e, std::size_t size)
1147
- * {
1148
- * if (!e)
1149
- * {
1150
- * std::string line = data.substr(0, n);
1151
- * data.erase(0, n);
1152
- * ...
1153
- * }
1154
- * }
1155
- * ...
1156
- * boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
1157
- * After the @c async_read_until operation completes successfully, the string
1158
- * @c data contains the delimiter:
1177
+ * std::size_t n = boost::asio::read_until(s,
1178
+ * boost::asio::dynamic_buffer(data), "\r\n");
1179
+ * std::string line = data.substr(0, n);
1180
+ * data.erase(0, n); @endcode
1181
+ * After the @c read_until operation completes successfully, the string @c data
1182
+ * contains the delimiter:
1159
1183
  * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1160
1184
  * The call to @c substr then extracts the data up to and including the
1161
1185
  * delimiter, so that the string @c line contains:
1162
1186
  * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
1163
- * After the call to @c erase, the remaining data is left in the string @c data
1164
- * as follows:
1187
+ * After the call to @c erase, the remaining data is left in the buffer @c b as
1188
+ * follows:
1165
1189
  * @code { 'd', 'e', ... } @endcode
1166
1190
  * This data may be the start of a new line, to be extracted by a subsequent
1167
- * @c async_read_until operation.
1191
+ * @c read_until operation.
1168
1192
  */
1169
- template <typename AsyncReadStream,
1170
- typename DynamicBuffer, typename ReadHandler>
1171
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
1172
- void (boost::system::error_code, std::size_t))
1173
- async_read_until(AsyncReadStream& s,
1174
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
1193
+ template <typename SyncReadStream, typename DynamicBuffer_v2>
1194
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1175
1195
  BOOST_ASIO_STRING_VIEW_PARAM delim,
1176
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
1177
-
1178
- #if !defined(BOOST_ASIO_NO_EXTENSIONS)
1179
- #if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
1180
- || defined(GENERATING_DOCUMENTATION)
1196
+ typename constraint<
1197
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1198
+ >::type = 0);
1181
1199
 
1182
- /// Start an asynchronous operation to read data into a dynamic buffer sequence
1183
- /// until some part of its data matches a regular expression.
1200
+ /// Read data into a dynamic buffer sequence until it contains a specified
1201
+ /// delimiter.
1184
1202
  /**
1185
- * This function is used to asynchronously read data into the specified dynamic
1186
- * buffer sequence until the dynamic buffer sequence's get area contains some
1187
- * data that matches a regular expression. The function call always returns
1188
- * immediately. The asynchronous operation will continue until one of the
1189
- * following conditions is true:
1203
+ * This function is used to read data into the specified dynamic buffer
1204
+ * sequence until the dynamic buffer sequence's get area contains the specified
1205
+ * delimiter. The call will block until one of the following conditions is
1206
+ * true:
1190
1207
  *
1191
- * @li A substring of the dynamic buffer sequence's get area matches the regular
1192
- * expression.
1208
+ * @li The get area of the dynamic buffer sequence contains the specified
1209
+ * delimiter.
1193
1210
  *
1194
1211
  * @li An error occurred.
1195
1212
  *
1196
1213
  * This operation is implemented in terms of zero or more calls to the stream's
1197
- * async_read_some function, and is known as a <em>composed operation</em>. If
1198
- * the dynamic buffer sequence's get area already contains data that matches
1199
- * the regular expression, this asynchronous operation completes immediately.
1200
- * The program must ensure that the stream performs no other read operations
1201
- * (such as async_read, async_read_until, the stream's async_read_some
1202
- * function, or any other composed operations that perform reads) until this
1203
- * operation completes.
1214
+ * read_some function. If the dynamic buffer sequence's get area already
1215
+ * contains the delimiter, the function returns immediately.
1204
1216
  *
1205
1217
  * @param s The stream from which the data is to be read. The type must support
1206
- * the AsyncReadStream concept.
1218
+ * the SyncReadStream concept.
1207
1219
  *
1208
1220
  * @param buffers The dynamic buffer sequence into which the data will be read.
1209
- * Although the buffers object may be copied as necessary, ownership of the
1210
- * underlying memory blocks is retained by the caller, which must guarantee
1211
- * that they remain valid until the handler is called.
1212
1221
  *
1213
- * @param expr The regular expression.
1222
+ * @param delim The delimiter string.
1214
1223
  *
1215
- * @param handler The handler to be called when the read operation completes.
1216
- * Copies will be made of the handler as required. The function signature of the
1217
- * handler must be:
1218
- * @code void handler(
1219
- * // Result of operation.
1220
- * const boost::system::error_code& error,
1224
+ * @param ec Set to indicate what error occurred, if any.
1221
1225
  *
1222
- * // The number of bytes in the dynamic buffer
1226
+ * @returns The number of bytes in the dynamic buffer sequence's get area up to
1227
+ * and including the delimiter. Returns 0 if an error occurred.
1228
+ *
1229
+ * @note After a successful read_until operation, the dynamic buffer sequence
1230
+ * may contain additional data beyond the delimiter. An application will
1231
+ * typically leave that data in the dynamic buffer sequence for a subsequent
1232
+ * read_until operation to examine.
1233
+ */
1234
+ template <typename SyncReadStream, typename DynamicBuffer_v2>
1235
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1236
+ BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
1237
+ typename constraint<
1238
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1239
+ >::type = 0);
1240
+
1241
+ #if !defined(BOOST_ASIO_NO_EXTENSIONS)
1242
+ #if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
1243
+ || defined(GENERATING_DOCUMENTATION)
1244
+
1245
+ /// Read data into a dynamic buffer sequence until some part of the data it
1246
+ /// contains matches a regular expression.
1247
+ /**
1248
+ * This function is used to read data into the specified dynamic buffer
1249
+ * sequence until the dynamic buffer sequence's get area contains some data
1250
+ * that matches a regular expression. The call will block until one of the
1251
+ * following conditions is true:
1252
+ *
1253
+ * @li A substring of the dynamic buffer sequence's get area matches the
1254
+ * regular expression.
1255
+ *
1256
+ * @li An error occurred.
1257
+ *
1258
+ * This operation is implemented in terms of zero or more calls to the stream's
1259
+ * read_some function. If the dynamic buffer sequence's get area already
1260
+ * contains data that matches the regular expression, the function returns
1261
+ * immediately.
1262
+ *
1263
+ * @param s The stream from which the data is to be read. The type must support
1264
+ * the SyncReadStream concept.
1265
+ *
1266
+ * @param buffers A dynamic buffer sequence into which the data will be read.
1267
+ *
1268
+ * @param expr The regular expression.
1269
+ *
1270
+ * @returns The number of bytes in the dynamic buffer sequence's get area up to
1271
+ * and including the substring that matches the regular expression.
1272
+ *
1273
+ * @throws boost::system::system_error Thrown on failure.
1274
+ *
1275
+ * @note After a successful read_until operation, the dynamic buffer sequence
1276
+ * may contain additional data beyond that which matched the regular
1277
+ * expression. An application will typically leave that data in the dynamic
1278
+ * buffer sequence for a subsequent read_until operation to examine.
1279
+ *
1280
+ * @par Example
1281
+ * To read data into a @c std::string until a CR-LF sequence is encountered:
1282
+ * @code std::string data;
1283
+ * std::size_t n = boost::asio::read_until(s,
1284
+ * boost::asio::dynamic_buffer(data), boost::regex("\r\n"));
1285
+ * std::string line = data.substr(0, n);
1286
+ * data.erase(0, n); @endcode
1287
+ * After the @c read_until operation completes successfully, the string @c data
1288
+ * contains the delimiter:
1289
+ * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1290
+ * The call to @c substr then extracts the data up to and including the
1291
+ * delimiter, so that the string @c line contains:
1292
+ * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
1293
+ * After the call to @c erase, the remaining data is left in the buffer @c b as
1294
+ * follows:
1295
+ * @code { 'd', 'e', ... } @endcode
1296
+ * This data may be the start of a new line, to be extracted by a subsequent
1297
+ * @c read_until operation.
1298
+ */
1299
+ template <typename SyncReadStream, typename DynamicBuffer_v2>
1300
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1301
+ const boost::regex& expr,
1302
+ typename constraint<
1303
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1304
+ >::type = 0);
1305
+
1306
+ /// Read data into a dynamic buffer sequence until some part of the data it
1307
+ /// contains matches a regular expression.
1308
+ /**
1309
+ * This function is used to read data into the specified dynamic buffer
1310
+ * sequence until the dynamic buffer sequence's get area contains some data
1311
+ * that matches a regular expression. The call will block until one of the
1312
+ * following conditions is true:
1313
+ *
1314
+ * @li A substring of the dynamic buffer sequence's get area matches the
1315
+ * regular expression.
1316
+ *
1317
+ * @li An error occurred.
1318
+ *
1319
+ * This operation is implemented in terms of zero or more calls to the stream's
1320
+ * read_some function. If the dynamic buffer sequence's get area already
1321
+ * contains data that matches the regular expression, the function returns
1322
+ * immediately.
1323
+ *
1324
+ * @param s The stream from which the data is to be read. The type must support
1325
+ * the SyncReadStream concept.
1326
+ *
1327
+ * @param buffers A dynamic buffer sequence into which the data will be read.
1328
+ *
1329
+ * @param expr The regular expression.
1330
+ *
1331
+ * @param ec Set to indicate what error occurred, if any.
1332
+ *
1333
+ * @returns The number of bytes in the dynamic buffer sequence's get area up to
1334
+ * and including the substring that matches the regular expression. Returns 0
1335
+ * if an error occurred.
1336
+ *
1337
+ * @note After a successful read_until operation, the dynamic buffer sequence
1338
+ * may contain additional data beyond that which matched the regular
1339
+ * expression. An application will typically leave that data in the dynamic
1340
+ * buffer sequence for a subsequent read_until operation to examine.
1341
+ */
1342
+ template <typename SyncReadStream, typename DynamicBuffer_v2>
1343
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1344
+ const boost::regex& expr, boost::system::error_code& ec,
1345
+ typename constraint<
1346
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1347
+ >::type = 0);
1348
+
1349
+ #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
1350
+ // || defined(GENERATING_DOCUMENTATION)
1351
+
1352
+ /// Read data into a dynamic buffer sequence until a function object indicates a
1353
+ /// match.
1354
+
1355
+ /**
1356
+ * This function is used to read data into the specified dynamic buffer
1357
+ * sequence until a user-defined match condition function object, when applied
1358
+ * to the data contained in the dynamic buffer sequence, indicates a successful
1359
+ * match. The call will block until one of the following conditions is true:
1360
+ *
1361
+ * @li The match condition function object returns a std::pair where the second
1362
+ * element evaluates to true.
1363
+ *
1364
+ * @li An error occurred.
1365
+ *
1366
+ * This operation is implemented in terms of zero or more calls to the stream's
1367
+ * read_some function. If the match condition function object already indicates
1368
+ * a match, the function returns immediately.
1369
+ *
1370
+ * @param s The stream from which the data is to be read. The type must support
1371
+ * the SyncReadStream concept.
1372
+ *
1373
+ * @param buffers A dynamic buffer sequence into which the data will be read.
1374
+ *
1375
+ * @param match_condition The function object to be called to determine whether
1376
+ * a match exists. The signature of the function object must be:
1377
+ * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
1378
+ * @endcode
1379
+ * where @c iterator represents the type:
1380
+ * @code buffers_iterator<typename DynamicBuffer_v2::const_buffers_type>
1381
+ * @endcode
1382
+ * The iterator parameters @c begin and @c end define the range of bytes to be
1383
+ * scanned to determine whether there is a match. The @c first member of the
1384
+ * return value is an iterator marking one-past-the-end of the bytes that have
1385
+ * been consumed by the match function. This iterator is used to calculate the
1386
+ * @c begin parameter for any subsequent invocation of the match condition. The
1387
+ * @c second member of the return value is true if a match has been found, false
1388
+ * otherwise.
1389
+ *
1390
+ * @returns The number of bytes in the dynamic_buffer's get area that
1391
+ * have been fully consumed by the match function.
1392
+ *
1393
+ * @throws boost::system::system_error Thrown on failure.
1394
+ *
1395
+ * @note After a successful read_until operation, the dynamic buffer sequence
1396
+ * may contain additional data beyond that which matched the function object.
1397
+ * An application will typically leave that data in the dynamic buffer sequence
1398
+ * for a subsequent read_until operation to examine.
1399
+
1400
+ * @note The default implementation of the @c is_match_condition type trait
1401
+ * evaluates to true for function pointers and function objects with a
1402
+ * @c result_type typedef. It must be specialised for other user-defined
1403
+ * function objects.
1404
+ *
1405
+ * @par Examples
1406
+ * To read data into a dynamic buffer sequence until whitespace is encountered:
1407
+ * @code typedef boost::asio::buffers_iterator<
1408
+ * boost::asio::const_buffers_1> iterator;
1409
+ *
1410
+ * std::pair<iterator, bool>
1411
+ * match_whitespace(iterator begin, iterator end)
1412
+ * {
1413
+ * iterator i = begin;
1414
+ * while (i != end)
1415
+ * if (std::isspace(*i++))
1416
+ * return std::make_pair(i, true);
1417
+ * return std::make_pair(i, false);
1418
+ * }
1419
+ * ...
1420
+ * std::string data;
1421
+ * boost::asio::read_until(s, data, match_whitespace);
1422
+ * @endcode
1423
+ *
1424
+ * To read data into a @c std::string until a matching character is found:
1425
+ * @code class match_char
1426
+ * {
1427
+ * public:
1428
+ * explicit match_char(char c) : c_(c) {}
1429
+ *
1430
+ * template <typename Iterator>
1431
+ * std::pair<Iterator, bool> operator()(
1432
+ * Iterator begin, Iterator end) const
1433
+ * {
1434
+ * Iterator i = begin;
1435
+ * while (i != end)
1436
+ * if (c_ == *i++)
1437
+ * return std::make_pair(i, true);
1438
+ * return std::make_pair(i, false);
1439
+ * }
1440
+ *
1441
+ * private:
1442
+ * char c_;
1443
+ * };
1444
+ *
1445
+ * namespace asio {
1446
+ * template <> struct is_match_condition<match_char>
1447
+ * : public boost::true_type {};
1448
+ * } // namespace asio
1449
+ * ...
1450
+ * std::string data;
1451
+ * boost::asio::read_until(s, data, match_char('a'));
1452
+ * @endcode
1453
+ */
1454
+ template <typename SyncReadStream,
1455
+ typename DynamicBuffer_v2, typename MatchCondition>
1456
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1457
+ MatchCondition match_condition,
1458
+ typename constraint<
1459
+ is_match_condition<MatchCondition>::value
1460
+ >::type = 0,
1461
+ typename constraint<
1462
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1463
+ >::type = 0);
1464
+
1465
+ /// Read data into a dynamic buffer sequence until a function object indicates a
1466
+ /// match.
1467
+ /**
1468
+ * This function is used to read data into the specified dynamic buffer
1469
+ * sequence until a user-defined match condition function object, when applied
1470
+ * to the data contained in the dynamic buffer sequence, indicates a successful
1471
+ * match. The call will block until one of the following conditions is true:
1472
+ *
1473
+ * @li The match condition function object returns a std::pair where the second
1474
+ * element evaluates to true.
1475
+ *
1476
+ * @li An error occurred.
1477
+ *
1478
+ * This operation is implemented in terms of zero or more calls to the stream's
1479
+ * read_some function. If the match condition function object already indicates
1480
+ * a match, the function returns immediately.
1481
+ *
1482
+ * @param s The stream from which the data is to be read. The type must support
1483
+ * the SyncReadStream concept.
1484
+ *
1485
+ * @param buffers A dynamic buffer sequence into which the data will be read.
1486
+ *
1487
+ * @param match_condition The function object to be called to determine whether
1488
+ * a match exists. The signature of the function object must be:
1489
+ * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
1490
+ * @endcode
1491
+ * where @c iterator represents the type:
1492
+ * @code buffers_iterator<DynamicBuffer_v2::const_buffers_type>
1493
+ * @endcode
1494
+ * The iterator parameters @c begin and @c end define the range of bytes to be
1495
+ * scanned to determine whether there is a match. The @c first member of the
1496
+ * return value is an iterator marking one-past-the-end of the bytes that have
1497
+ * been consumed by the match function. This iterator is used to calculate the
1498
+ * @c begin parameter for any subsequent invocation of the match condition. The
1499
+ * @c second member of the return value is true if a match has been found, false
1500
+ * otherwise.
1501
+ *
1502
+ * @param ec Set to indicate what error occurred, if any.
1503
+ *
1504
+ * @returns The number of bytes in the dynamic buffer sequence's get area that
1505
+ * have been fully consumed by the match function. Returns 0 if an error
1506
+ * occurred.
1507
+ *
1508
+ * @note After a successful read_until operation, the dynamic buffer sequence
1509
+ * may contain additional data beyond that which matched the function object.
1510
+ * An application will typically leave that data in the dynamic buffer sequence
1511
+ * for a subsequent read_until operation to examine.
1512
+ *
1513
+ * @note The default implementation of the @c is_match_condition type trait
1514
+ * evaluates to true for function pointers and function objects with a
1515
+ * @c result_type typedef. It must be specialised for other user-defined
1516
+ * function objects.
1517
+ */
1518
+ template <typename SyncReadStream,
1519
+ typename DynamicBuffer_v2, typename MatchCondition>
1520
+ std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
1521
+ MatchCondition match_condition, boost::system::error_code& ec,
1522
+ typename constraint<
1523
+ is_match_condition<MatchCondition>::value
1524
+ >::type = 0,
1525
+ typename constraint<
1526
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1527
+ >::type = 0);
1528
+
1529
+ #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
1530
+
1531
+ /*@}*/
1532
+ /**
1533
+ * @defgroup async_read_until boost::asio::async_read_until
1534
+ *
1535
+ * @brief The @c async_read_until function is a composed asynchronous operation
1536
+ * that reads data into a dynamic buffer sequence, or into a streambuf, until
1537
+ * it contains a delimiter, matches a regular expression, or a function object
1538
+ * indicates a match.
1539
+ */
1540
+ /*@{*/
1541
+
1542
+ #if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
1543
+
1544
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
1545
+ /// until it contains a specified delimiter.
1546
+ /**
1547
+ * This function is used to asynchronously read data into the specified dynamic
1548
+ * buffer sequence until the dynamic buffer sequence's get area contains the
1549
+ * specified delimiter. The function call always returns immediately. The
1550
+ * asynchronous operation will continue until one of the following conditions
1551
+ * is true:
1552
+ *
1553
+ * @li The get area of the dynamic buffer sequence contains the specified
1554
+ * delimiter.
1555
+ *
1556
+ * @li An error occurred.
1557
+ *
1558
+ * This operation is implemented in terms of zero or more calls to the stream's
1559
+ * async_read_some function, and is known as a <em>composed operation</em>. If
1560
+ * the dynamic buffer sequence's get area already contains the delimiter, this
1561
+ * asynchronous operation completes immediately. The program must ensure that
1562
+ * the stream performs no other read operations (such as async_read,
1563
+ * async_read_until, the stream's async_read_some function, or any other
1564
+ * composed operations that perform reads) until this operation completes.
1565
+ *
1566
+ * @param s The stream from which the data is to be read. The type must support
1567
+ * the AsyncReadStream concept.
1568
+ *
1569
+ * @param buffers The dynamic buffer sequence into which the data will be read.
1570
+ * Although the buffers object may be copied as necessary, ownership of the
1571
+ * underlying memory blocks is retained by the caller, which must guarantee
1572
+ * that they remain valid until the handler is called.
1573
+ *
1574
+ * @param delim The delimiter character.
1575
+ *
1576
+ * @param handler The handler to be called when the read operation completes.
1577
+ * Copies will be made of the handler as required. The function signature of the
1578
+ * handler must be:
1579
+ * @code void handler(
1580
+ * // Result of operation.
1581
+ * const boost::system::error_code& error,
1582
+ *
1583
+ * // The number of bytes in the dynamic buffer sequence's
1584
+ * // get area up to and including the delimiter.
1585
+ * // 0 if an error occurred.
1586
+ * std::size_t bytes_transferred
1587
+ * ); @endcode
1588
+ * Regardless of whether the asynchronous operation completes immediately or
1589
+ * not, the handler will not be invoked from within this function. On
1590
+ * immediate completion, invocation of the handler will be performed in a
1591
+ * manner equivalent to using boost::asio::post().
1592
+ *
1593
+ * @note After a successful async_read_until operation, the dynamic buffer
1594
+ * sequence may contain additional data beyond the delimiter. An application
1595
+ * will typically leave that data in the dynamic buffer sequence for a
1596
+ * subsequent async_read_until operation to examine.
1597
+ *
1598
+ * @par Example
1599
+ * To asynchronously read data into a @c std::string until a newline is
1600
+ * encountered:
1601
+ * @code std::string data;
1602
+ * ...
1603
+ * void handler(const boost::system::error_code& e, std::size_t size)
1604
+ * {
1605
+ * if (!e)
1606
+ * {
1607
+ * std::string line = data.substr(0, n);
1608
+ * data.erase(0, n);
1609
+ * ...
1610
+ * }
1611
+ * }
1612
+ * ...
1613
+ * boost::asio::async_read_until(s, data, '\n', handler); @endcode
1614
+ * After the @c async_read_until operation completes successfully, the buffer
1615
+ * @c data contains the delimiter:
1616
+ * @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
1617
+ * The call to @c substr then extracts the data up to and including the
1618
+ * delimiter, so that the string @c line contains:
1619
+ * @code { 'a', 'b', ..., 'c', '\n' } @endcode
1620
+ * After the call to @c erase, the remaining data is left in the buffer @c data
1621
+ * as follows:
1622
+ * @code { 'd', 'e', ... } @endcode
1623
+ * This data may be the start of a new line, to be extracted by a subsequent
1624
+ * @c async_read_until operation.
1625
+ */
1626
+ template <typename AsyncReadStream, typename DynamicBuffer_v1,
1627
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1628
+ std::size_t)) ReadHandler
1629
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
1630
+ typename AsyncReadStream::executor_type)>
1631
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1632
+ void (boost::system::error_code, std::size_t))
1633
+ async_read_until(AsyncReadStream& s,
1634
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
1635
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
1636
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
1637
+ typename AsyncReadStream::executor_type),
1638
+ typename constraint<
1639
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
1640
+ >::type = 0,
1641
+ typename constraint<
1642
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1643
+ >::type = 0);
1644
+
1645
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
1646
+ /// until it contains a specified delimiter.
1647
+ /**
1648
+ * This function is used to asynchronously read data into the specified dynamic
1649
+ * buffer sequence until the dynamic buffer sequence's get area contains the
1650
+ * specified delimiter. The function call always returns immediately. The
1651
+ * asynchronous operation will continue until one of the following conditions
1652
+ * is true:
1653
+ *
1654
+ * @li The get area of the dynamic buffer sequence contains the specified
1655
+ * delimiter.
1656
+ *
1657
+ * @li An error occurred.
1658
+ *
1659
+ * This operation is implemented in terms of zero or more calls to the stream's
1660
+ * async_read_some function, and is known as a <em>composed operation</em>. If
1661
+ * the dynamic buffer sequence's get area already contains the delimiter, this
1662
+ * asynchronous operation completes immediately. The program must ensure that
1663
+ * the stream performs no other read operations (such as async_read,
1664
+ * async_read_until, the stream's async_read_some function, or any other
1665
+ * composed operations that perform reads) until this operation completes.
1666
+ *
1667
+ * @param s The stream from which the data is to be read. The type must support
1668
+ * the AsyncReadStream concept.
1669
+ *
1670
+ * @param buffers The dynamic buffer sequence into which the data will be read.
1671
+ * Although the buffers object may be copied as necessary, ownership of the
1672
+ * underlying memory blocks is retained by the caller, which must guarantee
1673
+ * that they remain valid until the handler is called.
1674
+ *
1675
+ * @param delim The delimiter string.
1676
+ *
1677
+ * @param handler The handler to be called when the read operation completes.
1678
+ * Copies will be made of the handler as required. The function signature of the
1679
+ * handler must be:
1680
+ * @code void handler(
1681
+ * // Result of operation.
1682
+ * const boost::system::error_code& error,
1683
+ *
1684
+ * // The number of bytes in the dynamic buffer sequence's
1685
+ * // get area up to and including the delimiter.
1686
+ * // 0 if an error occurred.
1687
+ * std::size_t bytes_transferred
1688
+ * ); @endcode
1689
+ * Regardless of whether the asynchronous operation completes immediately or
1690
+ * not, the handler will not be invoked from within this function. On
1691
+ * immediate completion, invocation of the handler will be performed in a
1692
+ * manner equivalent to using boost::asio::post().
1693
+ *
1694
+ * @note After a successful async_read_until operation, the dynamic buffer
1695
+ * sequence may contain additional data beyond the delimiter. An application
1696
+ * will typically leave that data in the dynamic buffer sequence for a
1697
+ * subsequent async_read_until operation to examine.
1698
+ *
1699
+ * @par Example
1700
+ * To asynchronously read data into a @c std::string until a CR-LF sequence is
1701
+ * encountered:
1702
+ * @code std::string data;
1703
+ * ...
1704
+ * void handler(const boost::system::error_code& e, std::size_t size)
1705
+ * {
1706
+ * if (!e)
1707
+ * {
1708
+ * std::string line = data.substr(0, n);
1709
+ * data.erase(0, n);
1710
+ * ...
1711
+ * }
1712
+ * }
1713
+ * ...
1714
+ * boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
1715
+ * After the @c async_read_until operation completes successfully, the string
1716
+ * @c data contains the delimiter:
1717
+ * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1718
+ * The call to @c substr then extracts the data up to and including the
1719
+ * delimiter, so that the string @c line contains:
1720
+ * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
1721
+ * After the call to @c erase, the remaining data is left in the string @c data
1722
+ * as follows:
1723
+ * @code { 'd', 'e', ... } @endcode
1724
+ * This data may be the start of a new line, to be extracted by a subsequent
1725
+ * @c async_read_until operation.
1726
+ */
1727
+ template <typename AsyncReadStream, typename DynamicBuffer_v1,
1728
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1729
+ std::size_t)) ReadHandler
1730
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
1731
+ typename AsyncReadStream::executor_type)>
1732
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1733
+ void (boost::system::error_code, std::size_t))
1734
+ async_read_until(AsyncReadStream& s,
1735
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1736
+ BOOST_ASIO_STRING_VIEW_PARAM delim,
1737
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
1738
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
1739
+ typename AsyncReadStream::executor_type),
1740
+ typename constraint<
1741
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
1742
+ >::type = 0,
1743
+ typename constraint<
1744
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1745
+ >::type = 0);
1746
+
1747
+ #if !defined(BOOST_ASIO_NO_EXTENSIONS)
1748
+ #if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
1749
+ || defined(GENERATING_DOCUMENTATION)
1750
+
1751
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
1752
+ /// until some part of its data matches a regular expression.
1753
+ /**
1754
+ * This function is used to asynchronously read data into the specified dynamic
1755
+ * buffer sequence until the dynamic buffer sequence's get area contains some
1756
+ * data that matches a regular expression. The function call always returns
1757
+ * immediately. The asynchronous operation will continue until one of the
1758
+ * following conditions is true:
1759
+ *
1760
+ * @li A substring of the dynamic buffer sequence's get area matches the regular
1761
+ * expression.
1762
+ *
1763
+ * @li An error occurred.
1764
+ *
1765
+ * This operation is implemented in terms of zero or more calls to the stream's
1766
+ * async_read_some function, and is known as a <em>composed operation</em>. If
1767
+ * the dynamic buffer sequence's get area already contains data that matches
1768
+ * the regular expression, this asynchronous operation completes immediately.
1769
+ * The program must ensure that the stream performs no other read operations
1770
+ * (such as async_read, async_read_until, the stream's async_read_some
1771
+ * function, or any other composed operations that perform reads) until this
1772
+ * operation completes.
1773
+ *
1774
+ * @param s The stream from which the data is to be read. The type must support
1775
+ * the AsyncReadStream concept.
1776
+ *
1777
+ * @param buffers The dynamic buffer sequence into which the data will be read.
1778
+ * Although the buffers object may be copied as necessary, ownership of the
1779
+ * underlying memory blocks is retained by the caller, which must guarantee
1780
+ * that they remain valid until the handler is called.
1781
+ *
1782
+ * @param expr The regular expression.
1783
+ *
1784
+ * @param handler The handler to be called when the read operation completes.
1785
+ * Copies will be made of the handler as required. The function signature of the
1786
+ * handler must be:
1787
+ * @code void handler(
1788
+ * // Result of operation.
1789
+ * const boost::system::error_code& error,
1790
+ *
1791
+ * // The number of bytes in the dynamic buffer
1223
1792
  * // sequence's get area up to and including the
1224
1793
  * // substring that matches the regular expression.
1225
1794
  * // 0 if an error occurred.
1226
1795
  * std::size_t bytes_transferred
1227
1796
  * ); @endcode
1228
1797
  * Regardless of whether the asynchronous operation completes immediately or
1229
- * not, the handler will not be invoked from within this function. Invocation of
1230
- * the handler will be performed in a manner equivalent to using
1231
- * boost::asio::io_context::post().
1798
+ * not, the handler will not be invoked from within this function. On
1799
+ * immediate completion, invocation of the handler will be performed in a
1800
+ * manner equivalent to using boost::asio::post().
1801
+ *
1802
+ * @note After a successful async_read_until operation, the dynamic buffer
1803
+ * sequence may contain additional data beyond that which matched the regular
1804
+ * expression. An application will typically leave that data in the dynamic
1805
+ * buffer sequence for a subsequent async_read_until operation to examine.
1806
+ *
1807
+ * @par Example
1808
+ * To asynchronously read data into a @c std::string until a CR-LF sequence is
1809
+ * encountered:
1810
+ * @code std::string data;
1811
+ * ...
1812
+ * void handler(const boost::system::error_code& e, std::size_t size)
1813
+ * {
1814
+ * if (!e)
1815
+ * {
1816
+ * std::string line = data.substr(0, n);
1817
+ * data.erase(0, n);
1818
+ * ...
1819
+ * }
1820
+ * }
1821
+ * ...
1822
+ * boost::asio::async_read_until(s, data,
1823
+ * boost::regex("\r\n"), handler); @endcode
1824
+ * After the @c async_read_until operation completes successfully, the string
1825
+ * @c data contains the data which matched the regular expression:
1826
+ * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1827
+ * The call to @c substr then extracts the data up to and including the match,
1828
+ * so that the string @c line contains:
1829
+ * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
1830
+ * After the call to @c erase, the remaining data is left in the string @c data
1831
+ * as follows:
1832
+ * @code { 'd', 'e', ... } @endcode
1833
+ * This data may be the start of a new line, to be extracted by a subsequent
1834
+ * @c async_read_until operation.
1835
+ */
1836
+ template <typename AsyncReadStream, typename DynamicBuffer_v1,
1837
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1838
+ std::size_t)) ReadHandler
1839
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
1840
+ typename AsyncReadStream::executor_type)>
1841
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1842
+ void (boost::system::error_code, std::size_t))
1843
+ async_read_until(AsyncReadStream& s,
1844
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1845
+ const boost::regex& expr,
1846
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
1847
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
1848
+ typename AsyncReadStream::executor_type),
1849
+ typename constraint<
1850
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
1851
+ >::type = 0,
1852
+ typename constraint<
1853
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
1854
+ >::type = 0);
1855
+
1856
+ #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
1857
+ // || defined(GENERATING_DOCUMENTATION)
1858
+
1859
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
1860
+ /// until a function object indicates a match.
1861
+ /**
1862
+ * This function is used to asynchronously read data into the specified dynamic
1863
+ * buffer sequence until a user-defined match condition function object, when
1864
+ * applied to the data contained in the dynamic buffer sequence, indicates a
1865
+ * successful match. The function call always returns immediately. The
1866
+ * asynchronous operation will continue until one of the following conditions
1867
+ * is true:
1868
+ *
1869
+ * @li The match condition function object returns a std::pair where the second
1870
+ * element evaluates to true.
1871
+ *
1872
+ * @li An error occurred.
1873
+ *
1874
+ * This operation is implemented in terms of zero or more calls to the stream's
1875
+ * async_read_some function, and is known as a <em>composed operation</em>. If
1876
+ * the match condition function object already indicates a match, this
1877
+ * asynchronous operation completes immediately. The program must ensure that
1878
+ * the stream performs no other read operations (such as async_read,
1879
+ * async_read_until, the stream's async_read_some function, or any other
1880
+ * composed operations that perform reads) until this operation completes.
1881
+ *
1882
+ * @param s The stream from which the data is to be read. The type must support
1883
+ * the AsyncReadStream concept.
1884
+ *
1885
+ * @param buffers The dynamic buffer sequence into which the data will be read.
1886
+ * Although the buffers object may be copied as necessary, ownership of the
1887
+ * underlying memory blocks is retained by the caller, which must guarantee
1888
+ * that they remain valid until the handler is called.
1889
+ *
1890
+ * @param match_condition The function object to be called to determine whether
1891
+ * a match exists. The signature of the function object must be:
1892
+ * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
1893
+ * @endcode
1894
+ * where @c iterator represents the type:
1895
+ * @code buffers_iterator<typename DynamicBuffer_v1::const_buffers_type>
1896
+ * @endcode
1897
+ * The iterator parameters @c begin and @c end define the range of bytes to be
1898
+ * scanned to determine whether there is a match. The @c first member of the
1899
+ * return value is an iterator marking one-past-the-end of the bytes that have
1900
+ * been consumed by the match function. This iterator is used to calculate the
1901
+ * @c begin parameter for any subsequent invocation of the match condition. The
1902
+ * @c second member of the return value is true if a match has been found, false
1903
+ * otherwise.
1904
+ *
1905
+ * @param handler The handler to be called when the read operation completes.
1906
+ * Copies will be made of the handler as required. The function signature of the
1907
+ * handler must be:
1908
+ * @code void handler(
1909
+ * // Result of operation.
1910
+ * const boost::system::error_code& error,
1911
+ *
1912
+ * // The number of bytes in the dynamic buffer sequence's
1913
+ * // get area that have been fully consumed by the match
1914
+ * // function. O if an error occurred.
1915
+ * std::size_t bytes_transferred
1916
+ * ); @endcode
1917
+ * Regardless of whether the asynchronous operation completes immediately or
1918
+ * not, the handler will not be invoked from within this function. On
1919
+ * immediate completion, invocation of the handler will be performed in a
1920
+ * manner equivalent to using boost::asio::post().
1921
+ *
1922
+ * @note After a successful async_read_until operation, the dynamic buffer
1923
+ * sequence may contain additional data beyond that which matched the function
1924
+ * object. An application will typically leave that data in the dynamic buffer
1925
+ * sequence for a subsequent async_read_until operation to examine.
1926
+ *
1927
+ * @note The default implementation of the @c is_match_condition type trait
1928
+ * evaluates to true for function pointers and function objects with a
1929
+ * @c result_type typedef. It must be specialised for other user-defined
1930
+ * function objects.
1931
+ *
1932
+ * @par Examples
1933
+ * To asynchronously read data into a @c std::string until whitespace is
1934
+ * encountered:
1935
+ * @code typedef boost::asio::buffers_iterator<
1936
+ * boost::asio::const_buffers_1> iterator;
1937
+ *
1938
+ * std::pair<iterator, bool>
1939
+ * match_whitespace(iterator begin, iterator end)
1940
+ * {
1941
+ * iterator i = begin;
1942
+ * while (i != end)
1943
+ * if (std::isspace(*i++))
1944
+ * return std::make_pair(i, true);
1945
+ * return std::make_pair(i, false);
1946
+ * }
1947
+ * ...
1948
+ * void handler(const boost::system::error_code& e, std::size_t size);
1949
+ * ...
1950
+ * std::string data;
1951
+ * boost::asio::async_read_until(s, data, match_whitespace, handler);
1952
+ * @endcode
1953
+ *
1954
+ * To asynchronously read data into a @c std::string until a matching character
1955
+ * is found:
1956
+ * @code class match_char
1957
+ * {
1958
+ * public:
1959
+ * explicit match_char(char c) : c_(c) {}
1960
+ *
1961
+ * template <typename Iterator>
1962
+ * std::pair<Iterator, bool> operator()(
1963
+ * Iterator begin, Iterator end) const
1964
+ * {
1965
+ * Iterator i = begin;
1966
+ * while (i != end)
1967
+ * if (c_ == *i++)
1968
+ * return std::make_pair(i, true);
1969
+ * return std::make_pair(i, false);
1970
+ * }
1971
+ *
1972
+ * private:
1973
+ * char c_;
1974
+ * };
1975
+ *
1976
+ * namespace asio {
1977
+ * template <> struct is_match_condition<match_char>
1978
+ * : public boost::true_type {};
1979
+ * } // namespace asio
1980
+ * ...
1981
+ * void handler(const boost::system::error_code& e, std::size_t size);
1982
+ * ...
1983
+ * std::string data;
1984
+ * boost::asio::async_read_until(s, data, match_char('a'), handler);
1985
+ * @endcode
1986
+ */
1987
+ template <typename AsyncReadStream,
1988
+ typename DynamicBuffer_v1, typename MatchCondition,
1989
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1990
+ std::size_t)) ReadHandler
1991
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
1992
+ typename AsyncReadStream::executor_type)>
1993
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1994
+ void (boost::system::error_code, std::size_t))
1995
+ async_read_until(AsyncReadStream& s,
1996
+ BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
1997
+ MatchCondition match_condition,
1998
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
1999
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2000
+ typename AsyncReadStream::executor_type),
2001
+ typename constraint<
2002
+ is_match_condition<MatchCondition>::value
2003
+ >::type = 0,
2004
+ typename constraint<
2005
+ is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
2006
+ >::type = 0,
2007
+ typename constraint<
2008
+ !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
2009
+ >::type = 0);
2010
+
2011
+ #if !defined(BOOST_ASIO_NO_IOSTREAM)
2012
+
2013
+ /// Start an asynchronous operation to read data into a streambuf until it
2014
+ /// contains a specified delimiter.
2015
+ /**
2016
+ * This function is used to asynchronously read data into the specified
2017
+ * streambuf until the streambuf's get area contains the specified delimiter.
2018
+ * The function call always returns immediately. The asynchronous operation
2019
+ * will continue until one of the following conditions is true:
2020
+ *
2021
+ * @li The get area of the streambuf contains the specified delimiter.
2022
+ *
2023
+ * @li An error occurred.
2024
+ *
2025
+ * This operation is implemented in terms of zero or more calls to the stream's
2026
+ * async_read_some function, and is known as a <em>composed operation</em>. If
2027
+ * the streambuf's get area already contains the delimiter, this asynchronous
2028
+ * operation completes immediately. The program must ensure that the stream
2029
+ * performs no other read operations (such as async_read, async_read_until, the
2030
+ * stream's async_read_some function, or any other composed operations that
2031
+ * perform reads) until this operation completes.
2032
+ *
2033
+ * @param s The stream from which the data is to be read. The type must support
2034
+ * the AsyncReadStream concept.
2035
+ *
2036
+ * @param b A streambuf object into which the data will be read. Ownership of
2037
+ * the streambuf is retained by the caller, which must guarantee that it remains
2038
+ * valid until the handler is called.
2039
+ *
2040
+ * @param delim The delimiter character.
2041
+ *
2042
+ * @param handler The handler to be called when the read operation completes.
2043
+ * Copies will be made of the handler as required. The function signature of the
2044
+ * handler must be:
2045
+ * @code void handler(
2046
+ * // Result of operation.
2047
+ * const boost::system::error_code& error,
2048
+ *
2049
+ * // The number of bytes in the streambuf's get
2050
+ * // area up to and including the delimiter.
2051
+ * // 0 if an error occurred.
2052
+ * std::size_t bytes_transferred
2053
+ * ); @endcode
2054
+ * Regardless of whether the asynchronous operation completes immediately or
2055
+ * not, the handler will not be invoked from within this function. On
2056
+ * immediate completion, invocation of the handler will be performed in a
2057
+ * manner equivalent to using boost::asio::post().
2058
+ *
2059
+ * @note After a successful async_read_until operation, the streambuf may
2060
+ * contain additional data beyond the delimiter. An application will typically
2061
+ * leave that data in the streambuf for a subsequent async_read_until operation
2062
+ * to examine.
2063
+ *
2064
+ * @par Example
2065
+ * To asynchronously read data into a streambuf until a newline is encountered:
2066
+ * @code boost::asio::streambuf b;
2067
+ * ...
2068
+ * void handler(const boost::system::error_code& e, std::size_t size)
2069
+ * {
2070
+ * if (!e)
2071
+ * {
2072
+ * std::istream is(&b);
2073
+ * std::string line;
2074
+ * std::getline(is, line);
2075
+ * ...
2076
+ * }
2077
+ * }
2078
+ * ...
2079
+ * boost::asio::async_read_until(s, b, '\n', handler); @endcode
2080
+ * After the @c async_read_until operation completes successfully, the buffer
2081
+ * @c b contains the delimiter:
2082
+ * @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
2083
+ * The call to @c std::getline then extracts the data up to and including the
2084
+ * newline (which is discarded), so that the string @c line contains:
2085
+ * @code { 'a', 'b', ..., 'c' } @endcode
2086
+ * The remaining data is left in the buffer @c b as follows:
2087
+ * @code { 'd', 'e', ... } @endcode
2088
+ * This data may be the start of a new line, to be extracted by a subsequent
2089
+ * @c async_read_until operation.
2090
+ */
2091
+ template <typename AsyncReadStream, typename Allocator,
2092
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2093
+ std::size_t)) ReadHandler
2094
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2095
+ typename AsyncReadStream::executor_type)>
2096
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2097
+ void (boost::system::error_code, std::size_t))
2098
+ async_read_until(AsyncReadStream& s,
2099
+ boost::asio::basic_streambuf<Allocator>& b, char delim,
2100
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2101
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2102
+ typename AsyncReadStream::executor_type));
2103
+
2104
+ /// Start an asynchronous operation to read data into a streambuf until it
2105
+ /// contains a specified delimiter.
2106
+ /**
2107
+ * This function is used to asynchronously read data into the specified
2108
+ * streambuf until the streambuf's get area contains the specified delimiter.
2109
+ * The function call always returns immediately. The asynchronous operation
2110
+ * will continue until one of the following conditions is true:
2111
+ *
2112
+ * @li The get area of the streambuf contains the specified delimiter.
2113
+ *
2114
+ * @li An error occurred.
2115
+ *
2116
+ * This operation is implemented in terms of zero or more calls to the stream's
2117
+ * async_read_some function, and is known as a <em>composed operation</em>. If
2118
+ * the streambuf's get area already contains the delimiter, this asynchronous
2119
+ * operation completes immediately. The program must ensure that the stream
2120
+ * performs no other read operations (such as async_read, async_read_until, the
2121
+ * stream's async_read_some function, or any other composed operations that
2122
+ * perform reads) until this operation completes.
2123
+ *
2124
+ * @param s The stream from which the data is to be read. The type must support
2125
+ * the AsyncReadStream concept.
2126
+ *
2127
+ * @param b A streambuf object into which the data will be read. Ownership of
2128
+ * the streambuf is retained by the caller, which must guarantee that it remains
2129
+ * valid until the handler is called.
2130
+ *
2131
+ * @param delim The delimiter string.
2132
+ *
2133
+ * @param handler The handler to be called when the read operation completes.
2134
+ * Copies will be made of the handler as required. The function signature of the
2135
+ * handler must be:
2136
+ * @code void handler(
2137
+ * // Result of operation.
2138
+ * const boost::system::error_code& error,
2139
+ *
2140
+ * // The number of bytes in the streambuf's get
2141
+ * // area up to and including the delimiter.
2142
+ * // 0 if an error occurred.
2143
+ * std::size_t bytes_transferred
2144
+ * ); @endcode
2145
+ * Regardless of whether the asynchronous operation completes immediately or
2146
+ * not, the handler will not be invoked from within this function. On
2147
+ * immediate completion, invocation of the handler will be performed in a
2148
+ * manner equivalent to using boost::asio::post().
1232
2149
  *
1233
- * @note After a successful async_read_until operation, the dynamic buffer
1234
- * sequence may contain additional data beyond that which matched the regular
1235
- * expression. An application will typically leave that data in the dynamic
1236
- * buffer sequence for a subsequent async_read_until operation to examine.
2150
+ * @note After a successful async_read_until operation, the streambuf may
2151
+ * contain additional data beyond the delimiter. An application will typically
2152
+ * leave that data in the streambuf for a subsequent async_read_until operation
2153
+ * to examine.
1237
2154
  *
1238
2155
  * @par Example
1239
- * To asynchronously read data into a @c std::string until a CR-LF sequence is
2156
+ * To asynchronously read data into a streambuf until a newline is encountered:
2157
+ * @code boost::asio::streambuf b;
2158
+ * ...
2159
+ * void handler(const boost::system::error_code& e, std::size_t size)
2160
+ * {
2161
+ * if (!e)
2162
+ * {
2163
+ * std::istream is(&b);
2164
+ * std::string line;
2165
+ * std::getline(is, line);
2166
+ * ...
2167
+ * }
2168
+ * }
2169
+ * ...
2170
+ * boost::asio::async_read_until(s, b, "\r\n", handler); @endcode
2171
+ * After the @c async_read_until operation completes successfully, the buffer
2172
+ * @c b contains the delimiter:
2173
+ * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
2174
+ * The call to @c std::getline then extracts the data up to and including the
2175
+ * newline (which is discarded), so that the string @c line contains:
2176
+ * @code { 'a', 'b', ..., 'c', '\r' } @endcode
2177
+ * The remaining data is left in the buffer @c b as follows:
2178
+ * @code { 'd', 'e', ... } @endcode
2179
+ * This data may be the start of a new line, to be extracted by a subsequent
2180
+ * @c async_read_until operation.
2181
+ */
2182
+ template <typename AsyncReadStream, typename Allocator,
2183
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2184
+ std::size_t)) ReadHandler
2185
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2186
+ typename AsyncReadStream::executor_type)>
2187
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
2188
+ void (boost::system::error_code, std::size_t))
2189
+ async_read_until(AsyncReadStream& s,
2190
+ boost::asio::basic_streambuf<Allocator>& b,
2191
+ BOOST_ASIO_STRING_VIEW_PARAM delim,
2192
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2193
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2194
+ typename AsyncReadStream::executor_type));
2195
+
2196
+ #if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
2197
+ || defined(GENERATING_DOCUMENTATION)
2198
+
2199
+ /// Start an asynchronous operation to read data into a streambuf until some
2200
+ /// part of its data matches a regular expression.
2201
+ /**
2202
+ * This function is used to asynchronously read data into the specified
2203
+ * streambuf until the streambuf's get area contains some data that matches a
2204
+ * regular expression. The function call always returns immediately. The
2205
+ * asynchronous operation will continue until one of the following conditions
2206
+ * is true:
2207
+ *
2208
+ * @li A substring of the streambuf's get area matches the regular expression.
2209
+ *
2210
+ * @li An error occurred.
2211
+ *
2212
+ * This operation is implemented in terms of zero or more calls to the stream's
2213
+ * async_read_some function, and is known as a <em>composed operation</em>. If
2214
+ * the streambuf's get area already contains data that matches the regular
2215
+ * expression, this asynchronous operation completes immediately. The program
2216
+ * must ensure that the stream performs no other read operations (such as
2217
+ * async_read, async_read_until, the stream's async_read_some function, or any
2218
+ * other composed operations that perform reads) until this operation
2219
+ * completes.
2220
+ *
2221
+ * @param s The stream from which the data is to be read. The type must support
2222
+ * the AsyncReadStream concept.
2223
+ *
2224
+ * @param b A streambuf object into which the data will be read. Ownership of
2225
+ * the streambuf is retained by the caller, which must guarantee that it remains
2226
+ * valid until the handler is called.
2227
+ *
2228
+ * @param expr The regular expression.
2229
+ *
2230
+ * @param handler The handler to be called when the read operation completes.
2231
+ * Copies will be made of the handler as required. The function signature of the
2232
+ * handler must be:
2233
+ * @code void handler(
2234
+ * // Result of operation.
2235
+ * const boost::system::error_code& error,
2236
+ *
2237
+ * // The number of bytes in the streambuf's get
2238
+ * // area up to and including the substring
2239
+ * // that matches the regular. expression.
2240
+ * // 0 if an error occurred.
2241
+ * std::size_t bytes_transferred
2242
+ * ); @endcode
2243
+ * Regardless of whether the asynchronous operation completes immediately or
2244
+ * not, the handler will not be invoked from within this function. On
2245
+ * immediate completion, invocation of the handler will be performed in a
2246
+ * manner equivalent to using boost::asio::post().
2247
+ *
2248
+ * @note After a successful async_read_until operation, the streambuf may
2249
+ * contain additional data beyond that which matched the regular expression. An
2250
+ * application will typically leave that data in the streambuf for a subsequent
2251
+ * async_read_until operation to examine.
2252
+ *
2253
+ * @par Example
2254
+ * To asynchronously read data into a streambuf until a CR-LF sequence is
1240
2255
  * encountered:
1241
- * @code std::string data;
2256
+ * @code boost::asio::streambuf b;
1242
2257
  * ...
1243
2258
  * void handler(const boost::system::error_code& e, std::size_t size)
1244
2259
  * {
1245
2260
  * if (!e)
1246
2261
  * {
1247
- * std::string line = data.substr(0, n);
1248
- * data.erase(0, n);
2262
+ * std::istream is(&b);
2263
+ * std::string line;
2264
+ * std::getline(is, line);
1249
2265
  * ...
1250
2266
  * }
1251
2267
  * }
1252
2268
  * ...
1253
- * boost::asio::async_read_until(s, data,
1254
- * boost::regex("\r\n"), handler); @endcode
1255
- * After the @c async_read_until operation completes successfully, the string
1256
- * @c data contains the data which matched the regular expression:
2269
+ * boost::asio::async_read_until(s, b, boost::regex("\r\n"), handler); @endcode
2270
+ * After the @c async_read_until operation completes successfully, the buffer
2271
+ * @c b contains the data which matched the regular expression:
1257
2272
  * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1258
- * The call to @c substr then extracts the data up to and including the match,
1259
- * so that the string @c line contains:
1260
- * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
1261
- * After the call to @c erase, the remaining data is left in the string @c data
1262
- * as follows:
2273
+ * The call to @c std::getline then extracts the data up to and including the
2274
+ * newline (which is discarded), so that the string @c line contains:
2275
+ * @code { 'a', 'b', ..., 'c', '\r' } @endcode
2276
+ * The remaining data is left in the buffer @c b as follows:
1263
2277
  * @code { 'd', 'e', ... } @endcode
1264
2278
  * This data may be the start of a new line, to be extracted by a subsequent
1265
2279
  * @c async_read_until operation.
1266
2280
  */
1267
- template <typename AsyncReadStream,
1268
- typename DynamicBuffer, typename ReadHandler>
1269
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
2281
+ template <typename AsyncReadStream, typename Allocator,
2282
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2283
+ std::size_t)) ReadHandler
2284
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2285
+ typename AsyncReadStream::executor_type)>
2286
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1270
2287
  void (boost::system::error_code, std::size_t))
1271
2288
  async_read_until(AsyncReadStream& s,
1272
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
1273
- const boost::regex& expr,
1274
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
2289
+ boost::asio::basic_streambuf<Allocator>& b, const boost::regex& expr,
2290
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2291
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2292
+ typename AsyncReadStream::executor_type));
1275
2293
 
1276
2294
  #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
1277
2295
  // || defined(GENERATING_DOCUMENTATION)
1278
2296
 
1279
- /// Start an asynchronous operation to read data into a dynamic buffer sequence
1280
- /// until a function object indicates a match.
2297
+ /// Start an asynchronous operation to read data into a streambuf until a
2298
+ /// function object indicates a match.
1281
2299
  /**
1282
- * This function is used to asynchronously read data into the specified dynamic
1283
- * buffer sequence until a user-defined match condition function object, when
1284
- * applied to the data contained in the dynamic buffer sequence, indicates a
1285
- * successful match. The function call always returns immediately. The
1286
- * asynchronous operation will continue until one of the following conditions
1287
- * is true:
2300
+ * This function is used to asynchronously read data into the specified
2301
+ * streambuf until a user-defined match condition function object, when applied
2302
+ * to the data contained in the streambuf, indicates a successful match. The
2303
+ * function call always returns immediately. The asynchronous operation will
2304
+ * continue until one of the following conditions is true:
1288
2305
  *
1289
2306
  * @li The match condition function object returns a std::pair where the second
1290
2307
  * element evaluates to true.
@@ -1302,17 +2319,14 @@ async_read_until(AsyncReadStream& s,
1302
2319
  * @param s The stream from which the data is to be read. The type must support
1303
2320
  * the AsyncReadStream concept.
1304
2321
  *
1305
- * @param buffers The dynamic buffer sequence into which the data will be read.
1306
- * Although the buffers object may be copied as necessary, ownership of the
1307
- * underlying memory blocks is retained by the caller, which must guarantee
1308
- * that they remain valid until the handler is called.
2322
+ * @param b A streambuf object into which the data will be read.
1309
2323
  *
1310
2324
  * @param match_condition The function object to be called to determine whether
1311
2325
  * a match exists. The signature of the function object must be:
1312
2326
  * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
1313
2327
  * @endcode
1314
2328
  * where @c iterator represents the type:
1315
- * @code buffers_iterator<typename DynamicBuffer::const_buffers_type>
2329
+ * @code buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
1316
2330
  * @endcode
1317
2331
  * The iterator parameters @c begin and @c end define the range of bytes to be
1318
2332
  * scanned to determine whether there is a match. The @c first member of the
@@ -1329,20 +2343,20 @@ async_read_until(AsyncReadStream& s,
1329
2343
  * // Result of operation.
1330
2344
  * const boost::system::error_code& error,
1331
2345
  *
1332
- * // The number of bytes in the dynamic buffer sequence's
1333
- * // get area that have been fully consumed by the match
1334
- * // function. O if an error occurred.
2346
+ * // The number of bytes in the streambuf's get
2347
+ * // area that have been fully consumed by the
2348
+ * // match function. O if an error occurred.
1335
2349
  * std::size_t bytes_transferred
1336
2350
  * ); @endcode
1337
2351
  * Regardless of whether the asynchronous operation completes immediately or
1338
- * not, the handler will not be invoked from within this function. Invocation of
1339
- * the handler will be performed in a manner equivalent to using
1340
- * boost::asio::io_context::post().
2352
+ * not, the handler will not be invoked from within this function. On
2353
+ * immediate completion, invocation of the handler will be performed in a
2354
+ * manner equivalent to using boost::asio::post().
1341
2355
  *
1342
- * @note After a successful async_read_until operation, the dynamic buffer
1343
- * sequence may contain additional data beyond that which matched the function
1344
- * object. An application will typically leave that data in the dynamic buffer
1345
- * sequence for a subsequent async_read_until operation to examine.
2356
+ * @note After a successful async_read_until operation, the streambuf may
2357
+ * contain additional data beyond that which matched the function object. An
2358
+ * application will typically leave that data in the streambuf for a subsequent
2359
+ * async_read_until operation to examine.
1346
2360
  *
1347
2361
  * @note The default implementation of the @c is_match_condition type trait
1348
2362
  * evaluates to true for function pointers and function objects with a
@@ -1350,10 +2364,9 @@ async_read_until(AsyncReadStream& s,
1350
2364
  * function objects.
1351
2365
  *
1352
2366
  * @par Examples
1353
- * To asynchronously read data into a @c std::string until whitespace is
1354
- * encountered:
2367
+ * To asynchronously read data into a streambuf until whitespace is encountered:
1355
2368
  * @code typedef boost::asio::buffers_iterator<
1356
- * boost::asio::const_buffers_1> iterator;
2369
+ * boost::asio::streambuf::const_buffers_type> iterator;
1357
2370
  *
1358
2371
  * std::pair<iterator, bool>
1359
2372
  * match_whitespace(iterator begin, iterator end)
@@ -1367,12 +2380,12 @@ async_read_until(AsyncReadStream& s,
1367
2380
  * ...
1368
2381
  * void handler(const boost::system::error_code& e, std::size_t size);
1369
2382
  * ...
1370
- * std::string data;
1371
- * boost::asio::async_read_until(s, data, match_whitespace, handler);
2383
+ * boost::asio::streambuf b;
2384
+ * boost::asio::async_read_until(s, b, match_whitespace, handler);
1372
2385
  * @endcode
1373
2386
  *
1374
- * To asynchronously read data into a @c std::string until a matching character
1375
- * is found:
2387
+ * To asynchronously read data into a streambuf until a matching character is
2388
+ * found:
1376
2389
  * @code class match_char
1377
2390
  * {
1378
2391
  * public:
@@ -1400,47 +2413,58 @@ async_read_until(AsyncReadStream& s,
1400
2413
  * ...
1401
2414
  * void handler(const boost::system::error_code& e, std::size_t size);
1402
2415
  * ...
1403
- * std::string data;
1404
- * boost::asio::async_read_until(s, data, match_char('a'), handler);
2416
+ * boost::asio::streambuf b;
2417
+ * boost::asio::async_read_until(s, b, match_char('a'), handler);
1405
2418
  * @endcode
1406
2419
  */
1407
- template <typename AsyncReadStream, typename DynamicBuffer,
1408
- typename MatchCondition, typename ReadHandler>
1409
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
2420
+ template <typename AsyncReadStream, typename Allocator, typename MatchCondition,
2421
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2422
+ std::size_t)) ReadHandler
2423
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2424
+ typename AsyncReadStream::executor_type)>
2425
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1410
2426
  void (boost::system::error_code, std::size_t))
1411
2427
  async_read_until(AsyncReadStream& s,
1412
- BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
1413
- MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
1414
- typename enable_if<is_match_condition<MatchCondition>::value>::type* = 0);
2428
+ boost::asio::basic_streambuf<Allocator>& b,
2429
+ MatchCondition match_condition,
2430
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2431
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2432
+ typename AsyncReadStream::executor_type),
2433
+ typename constraint<is_match_condition<MatchCondition>::value>::type = 0);
1415
2434
 
1416
- #if !defined(BOOST_ASIO_NO_IOSTREAM)
2435
+ #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
2436
+ #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
2437
+ #endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
1417
2438
 
1418
- /// Start an asynchronous operation to read data into a streambuf until it
1419
- /// contains a specified delimiter.
2439
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
2440
+ /// until it contains a specified delimiter.
1420
2441
  /**
1421
- * This function is used to asynchronously read data into the specified
1422
- * streambuf until the streambuf's get area contains the specified delimiter.
1423
- * The function call always returns immediately. The asynchronous operation
1424
- * will continue until one of the following conditions is true:
2442
+ * This function is used to asynchronously read data into the specified dynamic
2443
+ * buffer sequence until the dynamic buffer sequence's get area contains the
2444
+ * specified delimiter. The function call always returns immediately. The
2445
+ * asynchronous operation will continue until one of the following conditions
2446
+ * is true:
1425
2447
  *
1426
- * @li The get area of the streambuf contains the specified delimiter.
2448
+ * @li The get area of the dynamic buffer sequence contains the specified
2449
+ * delimiter.
1427
2450
  *
1428
2451
  * @li An error occurred.
1429
2452
  *
1430
2453
  * This operation is implemented in terms of zero or more calls to the stream's
1431
2454
  * async_read_some function, and is known as a <em>composed operation</em>. If
1432
- * the streambuf's get area already contains the delimiter, this asynchronous
1433
- * operation completes immediately. The program must ensure that the stream
1434
- * performs no other read operations (such as async_read, async_read_until, the
1435
- * stream's async_read_some function, or any other composed operations that
1436
- * perform reads) until this operation completes.
2455
+ * the dynamic buffer sequence's get area already contains the delimiter, this
2456
+ * asynchronous operation completes immediately. The program must ensure that
2457
+ * the stream performs no other read operations (such as async_read,
2458
+ * async_read_until, the stream's async_read_some function, or any other
2459
+ * composed operations that perform reads) until this operation completes.
1437
2460
  *
1438
2461
  * @param s The stream from which the data is to be read. The type must support
1439
2462
  * the AsyncReadStream concept.
1440
2463
  *
1441
- * @param b A streambuf object into which the data will be read. Ownership of
1442
- * the streambuf is retained by the caller, which must guarantee that it remains
1443
- * valid until the handler is called.
2464
+ * @param buffers The dynamic buffer sequence into which the data will be read.
2465
+ * Although the buffers object may be copied as necessary, ownership of the
2466
+ * underlying memory blocks is retained by the caller, which must guarantee
2467
+ * that they remain valid until the handler is called.
1444
2468
  *
1445
2469
  * @param delim The delimiter character.
1446
2470
  *
@@ -1451,81 +2475,93 @@ async_read_until(AsyncReadStream& s,
1451
2475
  * // Result of operation.
1452
2476
  * const boost::system::error_code& error,
1453
2477
  *
1454
- * // The number of bytes in the streambuf's get
1455
- * // area up to and including the delimiter.
2478
+ * // The number of bytes in the dynamic buffer sequence's
2479
+ * // get area up to and including the delimiter.
1456
2480
  * // 0 if an error occurred.
1457
2481
  * std::size_t bytes_transferred
1458
2482
  * ); @endcode
1459
2483
  * Regardless of whether the asynchronous operation completes immediately or
1460
- * not, the handler will not be invoked from within this function. Invocation of
1461
- * the handler will be performed in a manner equivalent to using
1462
- * boost::asio::io_context::post().
2484
+ * not, the handler will not be invoked from within this function. On
2485
+ * immediate completion, invocation of the handler will be performed in a
2486
+ * manner equivalent to using boost::asio::post().
1463
2487
  *
1464
- * @note After a successful async_read_until operation, the streambuf may
1465
- * contain additional data beyond the delimiter. An application will typically
1466
- * leave that data in the streambuf for a subsequent async_read_until operation
1467
- * to examine.
2488
+ * @note After a successful async_read_until operation, the dynamic buffer
2489
+ * sequence may contain additional data beyond the delimiter. An application
2490
+ * will typically leave that data in the dynamic buffer sequence for a
2491
+ * subsequent async_read_until operation to examine.
1468
2492
  *
1469
2493
  * @par Example
1470
- * To asynchronously read data into a streambuf until a newline is encountered:
1471
- * @code boost::asio::streambuf b;
2494
+ * To asynchronously read data into a @c std::string until a newline is
2495
+ * encountered:
2496
+ * @code std::string data;
1472
2497
  * ...
1473
2498
  * void handler(const boost::system::error_code& e, std::size_t size)
1474
2499
  * {
1475
2500
  * if (!e)
1476
2501
  * {
1477
- * std::istream is(&b);
1478
- * std::string line;
1479
- * std::getline(is, line);
2502
+ * std::string line = data.substr(0, n);
2503
+ * data.erase(0, n);
1480
2504
  * ...
1481
2505
  * }
1482
2506
  * }
1483
2507
  * ...
1484
- * boost::asio::async_read_until(s, b, '\n', handler); @endcode
2508
+ * boost::asio::async_read_until(s, data, '\n', handler); @endcode
1485
2509
  * After the @c async_read_until operation completes successfully, the buffer
1486
- * @c b contains the delimiter:
2510
+ * @c data contains the delimiter:
1487
2511
  * @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
1488
- * The call to @c std::getline then extracts the data up to and including the
1489
- * newline (which is discarded), so that the string @c line contains:
1490
- * @code { 'a', 'b', ..., 'c' } @endcode
1491
- * The remaining data is left in the buffer @c b as follows:
2512
+ * The call to @c substr then extracts the data up to and including the
2513
+ * delimiter, so that the string @c line contains:
2514
+ * @code { 'a', 'b', ..., 'c', '\n' } @endcode
2515
+ * After the call to @c erase, the remaining data is left in the buffer @c data
2516
+ * as follows:
1492
2517
  * @code { 'd', 'e', ... } @endcode
1493
2518
  * This data may be the start of a new line, to be extracted by a subsequent
1494
2519
  * @c async_read_until operation.
1495
2520
  */
1496
- template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
1497
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
2521
+ template <typename AsyncReadStream, typename DynamicBuffer_v2,
2522
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2523
+ std::size_t)) ReadHandler
2524
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2525
+ typename AsyncReadStream::executor_type)>
2526
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1498
2527
  void (boost::system::error_code, std::size_t))
1499
- async_read_until(AsyncReadStream& s,
1500
- boost::asio::basic_streambuf<Allocator>& b,
1501
- char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
2528
+ async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
2529
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2530
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2531
+ typename AsyncReadStream::executor_type),
2532
+ typename constraint<
2533
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
2534
+ >::type = 0);
1502
2535
 
1503
- /// Start an asynchronous operation to read data into a streambuf until it
1504
- /// contains a specified delimiter.
2536
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
2537
+ /// until it contains a specified delimiter.
1505
2538
  /**
1506
- * This function is used to asynchronously read data into the specified
1507
- * streambuf until the streambuf's get area contains the specified delimiter.
1508
- * The function call always returns immediately. The asynchronous operation
1509
- * will continue until one of the following conditions is true:
2539
+ * This function is used to asynchronously read data into the specified dynamic
2540
+ * buffer sequence until the dynamic buffer sequence's get area contains the
2541
+ * specified delimiter. The function call always returns immediately. The
2542
+ * asynchronous operation will continue until one of the following conditions
2543
+ * is true:
1510
2544
  *
1511
- * @li The get area of the streambuf contains the specified delimiter.
2545
+ * @li The get area of the dynamic buffer sequence contains the specified
2546
+ * delimiter.
1512
2547
  *
1513
2548
  * @li An error occurred.
1514
2549
  *
1515
2550
  * This operation is implemented in terms of zero or more calls to the stream's
1516
2551
  * async_read_some function, and is known as a <em>composed operation</em>. If
1517
- * the streambuf's get area already contains the delimiter, this asynchronous
1518
- * operation completes immediately. The program must ensure that the stream
1519
- * performs no other read operations (such as async_read, async_read_until, the
1520
- * stream's async_read_some function, or any other composed operations that
1521
- * perform reads) until this operation completes.
2552
+ * the dynamic buffer sequence's get area already contains the delimiter, this
2553
+ * asynchronous operation completes immediately. The program must ensure that
2554
+ * the stream performs no other read operations (such as async_read,
2555
+ * async_read_until, the stream's async_read_some function, or any other
2556
+ * composed operations that perform reads) until this operation completes.
1522
2557
  *
1523
2558
  * @param s The stream from which the data is to be read. The type must support
1524
2559
  * the AsyncReadStream concept.
1525
2560
  *
1526
- * @param b A streambuf object into which the data will be read. Ownership of
1527
- * the streambuf is retained by the caller, which must guarantee that it remains
1528
- * valid until the handler is called.
2561
+ * @param buffers The dynamic buffer sequence into which the data will be read.
2562
+ * Although the buffers object may be copied as necessary, ownership of the
2563
+ * underlying memory blocks is retained by the caller, which must guarantee
2564
+ * that they remain valid until the handler is called.
1529
2565
  *
1530
2566
  * @param delim The delimiter string.
1531
2567
  *
@@ -1536,87 +2572,99 @@ async_read_until(AsyncReadStream& s,
1536
2572
  * // Result of operation.
1537
2573
  * const boost::system::error_code& error,
1538
2574
  *
1539
- * // The number of bytes in the streambuf's get
1540
- * // area up to and including the delimiter.
2575
+ * // The number of bytes in the dynamic buffer sequence's
2576
+ * // get area up to and including the delimiter.
1541
2577
  * // 0 if an error occurred.
1542
2578
  * std::size_t bytes_transferred
1543
2579
  * ); @endcode
1544
2580
  * Regardless of whether the asynchronous operation completes immediately or
1545
- * not, the handler will not be invoked from within this function. Invocation of
1546
- * the handler will be performed in a manner equivalent to using
1547
- * boost::asio::io_context::post().
2581
+ * not, the handler will not be invoked from within this function. On
2582
+ * immediate completion, invocation of the handler will be performed in a
2583
+ * manner equivalent to using boost::asio::post().
1548
2584
  *
1549
- * @note After a successful async_read_until operation, the streambuf may
1550
- * contain additional data beyond the delimiter. An application will typically
1551
- * leave that data in the streambuf for a subsequent async_read_until operation
1552
- * to examine.
2585
+ * @note After a successful async_read_until operation, the dynamic buffer
2586
+ * sequence may contain additional data beyond the delimiter. An application
2587
+ * will typically leave that data in the dynamic buffer sequence for a
2588
+ * subsequent async_read_until operation to examine.
1553
2589
  *
1554
2590
  * @par Example
1555
- * To asynchronously read data into a streambuf until a newline is encountered:
1556
- * @code boost::asio::streambuf b;
2591
+ * To asynchronously read data into a @c std::string until a CR-LF sequence is
2592
+ * encountered:
2593
+ * @code std::string data;
1557
2594
  * ...
1558
2595
  * void handler(const boost::system::error_code& e, std::size_t size)
1559
2596
  * {
1560
2597
  * if (!e)
1561
2598
  * {
1562
- * std::istream is(&b);
1563
- * std::string line;
1564
- * std::getline(is, line);
2599
+ * std::string line = data.substr(0, n);
2600
+ * data.erase(0, n);
1565
2601
  * ...
1566
2602
  * }
1567
2603
  * }
1568
2604
  * ...
1569
- * boost::asio::async_read_until(s, b, "\r\n", handler); @endcode
1570
- * After the @c async_read_until operation completes successfully, the buffer
1571
- * @c b contains the delimiter:
2605
+ * boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
2606
+ * After the @c async_read_until operation completes successfully, the string
2607
+ * @c data contains the delimiter:
1572
2608
  * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1573
- * The call to @c std::getline then extracts the data up to and including the
1574
- * newline (which is discarded), so that the string @c line contains:
1575
- * @code { 'a', 'b', ..., 'c', '\r' } @endcode
1576
- * The remaining data is left in the buffer @c b as follows:
2609
+ * The call to @c substr then extracts the data up to and including the
2610
+ * delimiter, so that the string @c line contains:
2611
+ * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
2612
+ * After the call to @c erase, the remaining data is left in the string @c data
2613
+ * as follows:
1577
2614
  * @code { 'd', 'e', ... } @endcode
1578
2615
  * This data may be the start of a new line, to be extracted by a subsequent
1579
2616
  * @c async_read_until operation.
1580
2617
  */
1581
- template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
1582
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
2618
+ template <typename AsyncReadStream, typename DynamicBuffer_v2,
2619
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2620
+ std::size_t)) ReadHandler
2621
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2622
+ typename AsyncReadStream::executor_type)>
2623
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1583
2624
  void (boost::system::error_code, std::size_t))
1584
- async_read_until(AsyncReadStream& s,
1585
- boost::asio::basic_streambuf<Allocator>& b,
2625
+ async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
1586
2626
  BOOST_ASIO_STRING_VIEW_PARAM delim,
1587
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
2627
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2628
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2629
+ typename AsyncReadStream::executor_type),
2630
+ typename constraint<
2631
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
2632
+ >::type = 0);
1588
2633
 
2634
+ #if !defined(BOOST_ASIO_NO_EXTENSIONS)
1589
2635
  #if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
1590
2636
  || defined(GENERATING_DOCUMENTATION)
1591
2637
 
1592
- /// Start an asynchronous operation to read data into a streambuf until some
1593
- /// part of its data matches a regular expression.
2638
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
2639
+ /// until some part of its data matches a regular expression.
1594
2640
  /**
1595
- * This function is used to asynchronously read data into the specified
1596
- * streambuf until the streambuf's get area contains some data that matches a
1597
- * regular expression. The function call always returns immediately. The
1598
- * asynchronous operation will continue until one of the following conditions
1599
- * is true:
2641
+ * This function is used to asynchronously read data into the specified dynamic
2642
+ * buffer sequence until the dynamic buffer sequence's get area contains some
2643
+ * data that matches a regular expression. The function call always returns
2644
+ * immediately. The asynchronous operation will continue until one of the
2645
+ * following conditions is true:
1600
2646
  *
1601
- * @li A substring of the streambuf's get area matches the regular expression.
2647
+ * @li A substring of the dynamic buffer sequence's get area matches the regular
2648
+ * expression.
1602
2649
  *
1603
2650
  * @li An error occurred.
1604
2651
  *
1605
2652
  * This operation is implemented in terms of zero or more calls to the stream's
1606
2653
  * async_read_some function, and is known as a <em>composed operation</em>. If
1607
- * the streambuf's get area already contains data that matches the regular
1608
- * expression, this asynchronous operation completes immediately. The program
1609
- * must ensure that the stream performs no other read operations (such as
1610
- * async_read, async_read_until, the stream's async_read_some function, or any
1611
- * other composed operations that perform reads) until this operation
1612
- * completes.
2654
+ * the dynamic buffer sequence's get area already contains data that matches
2655
+ * the regular expression, this asynchronous operation completes immediately.
2656
+ * The program must ensure that the stream performs no other read operations
2657
+ * (such as async_read, async_read_until, the stream's async_read_some
2658
+ * function, or any other composed operations that perform reads) until this
2659
+ * operation completes.
1613
2660
  *
1614
2661
  * @param s The stream from which the data is to be read. The type must support
1615
2662
  * the AsyncReadStream concept.
1616
2663
  *
1617
- * @param b A streambuf object into which the data will be read. Ownership of
1618
- * the streambuf is retained by the caller, which must guarantee that it remains
1619
- * valid until the handler is called.
2664
+ * @param buffers The dynamic buffer sequence into which the data will be read.
2665
+ * Although the buffers object may be copied as necessary, ownership of the
2666
+ * underlying memory blocks is retained by the caller, which must guarantee
2667
+ * that they remain valid until the handler is called.
1620
2668
  *
1621
2669
  * @param expr The regular expression.
1622
2670
  *
@@ -1627,68 +2675,79 @@ async_read_until(AsyncReadStream& s,
1627
2675
  * // Result of operation.
1628
2676
  * const boost::system::error_code& error,
1629
2677
  *
1630
- * // The number of bytes in the streambuf's get
1631
- * // area up to and including the substring
1632
- * // that matches the regular. expression.
2678
+ * // The number of bytes in the dynamic buffer
2679
+ * // sequence's get area up to and including the
2680
+ * // substring that matches the regular expression.
1633
2681
  * // 0 if an error occurred.
1634
2682
  * std::size_t bytes_transferred
1635
2683
  * ); @endcode
1636
2684
  * Regardless of whether the asynchronous operation completes immediately or
1637
- * not, the handler will not be invoked from within this function. Invocation of
1638
- * the handler will be performed in a manner equivalent to using
1639
- * boost::asio::io_context::post().
2685
+ * not, the handler will not be invoked from within this function. On
2686
+ * immediate completion, invocation of the handler will be performed in a
2687
+ * manner equivalent to using boost::asio::post().
1640
2688
  *
1641
- * @note After a successful async_read_until operation, the streambuf may
1642
- * contain additional data beyond that which matched the regular expression. An
1643
- * application will typically leave that data in the streambuf for a subsequent
1644
- * async_read_until operation to examine.
2689
+ * @note After a successful async_read_until operation, the dynamic buffer
2690
+ * sequence may contain additional data beyond that which matched the regular
2691
+ * expression. An application will typically leave that data in the dynamic
2692
+ * buffer sequence for a subsequent async_read_until operation to examine.
1645
2693
  *
1646
2694
  * @par Example
1647
- * To asynchronously read data into a streambuf until a CR-LF sequence is
2695
+ * To asynchronously read data into a @c std::string until a CR-LF sequence is
1648
2696
  * encountered:
1649
- * @code boost::asio::streambuf b;
2697
+ * @code std::string data;
1650
2698
  * ...
1651
2699
  * void handler(const boost::system::error_code& e, std::size_t size)
1652
2700
  * {
1653
2701
  * if (!e)
1654
2702
  * {
1655
- * std::istream is(&b);
1656
- * std::string line;
1657
- * std::getline(is, line);
2703
+ * std::string line = data.substr(0, n);
2704
+ * data.erase(0, n);
1658
2705
  * ...
1659
2706
  * }
1660
2707
  * }
1661
2708
  * ...
1662
- * boost::asio::async_read_until(s, b, boost::regex("\r\n"), handler); @endcode
1663
- * After the @c async_read_until operation completes successfully, the buffer
1664
- * @c b contains the data which matched the regular expression:
2709
+ * boost::asio::async_read_until(s, data,
2710
+ * boost::regex("\r\n"), handler); @endcode
2711
+ * After the @c async_read_until operation completes successfully, the string
2712
+ * @c data contains the data which matched the regular expression:
1665
2713
  * @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
1666
- * The call to @c std::getline then extracts the data up to and including the
1667
- * newline (which is discarded), so that the string @c line contains:
1668
- * @code { 'a', 'b', ..., 'c', '\r' } @endcode
1669
- * The remaining data is left in the buffer @c b as follows:
2714
+ * The call to @c substr then extracts the data up to and including the match,
2715
+ * so that the string @c line contains:
2716
+ * @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
2717
+ * After the call to @c erase, the remaining data is left in the string @c data
2718
+ * as follows:
1670
2719
  * @code { 'd', 'e', ... } @endcode
1671
2720
  * This data may be the start of a new line, to be extracted by a subsequent
1672
2721
  * @c async_read_until operation.
1673
2722
  */
1674
- template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
1675
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
2723
+ template <typename AsyncReadStream, typename DynamicBuffer_v2,
2724
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2725
+ std::size_t)) ReadHandler
2726
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2727
+ typename AsyncReadStream::executor_type)>
2728
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1676
2729
  void (boost::system::error_code, std::size_t))
1677
- async_read_until(AsyncReadStream& s,
1678
- boost::asio::basic_streambuf<Allocator>& b, const boost::regex& expr,
1679
- BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
2730
+ async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
2731
+ const boost::regex& expr,
2732
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2733
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2734
+ typename AsyncReadStream::executor_type),
2735
+ typename constraint<
2736
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
2737
+ >::type = 0);
1680
2738
 
1681
2739
  #endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
1682
2740
  // || defined(GENERATING_DOCUMENTATION)
1683
2741
 
1684
- /// Start an asynchronous operation to read data into a streambuf until a
1685
- /// function object indicates a match.
2742
+ /// Start an asynchronous operation to read data into a dynamic buffer sequence
2743
+ /// until a function object indicates a match.
1686
2744
  /**
1687
- * This function is used to asynchronously read data into the specified
1688
- * streambuf until a user-defined match condition function object, when applied
1689
- * to the data contained in the streambuf, indicates a successful match. The
1690
- * function call always returns immediately. The asynchronous operation will
1691
- * continue until one of the following conditions is true:
2745
+ * This function is used to asynchronously read data into the specified dynamic
2746
+ * buffer sequence until a user-defined match condition function object, when
2747
+ * applied to the data contained in the dynamic buffer sequence, indicates a
2748
+ * successful match. The function call always returns immediately. The
2749
+ * asynchronous operation will continue until one of the following conditions
2750
+ * is true:
1692
2751
  *
1693
2752
  * @li The match condition function object returns a std::pair where the second
1694
2753
  * element evaluates to true.
@@ -1706,14 +2765,17 @@ async_read_until(AsyncReadStream& s,
1706
2765
  * @param s The stream from which the data is to be read. The type must support
1707
2766
  * the AsyncReadStream concept.
1708
2767
  *
1709
- * @param b A streambuf object into which the data will be read.
2768
+ * @param buffers The dynamic buffer sequence into which the data will be read.
2769
+ * Although the buffers object may be copied as necessary, ownership of the
2770
+ * underlying memory blocks is retained by the caller, which must guarantee
2771
+ * that they remain valid until the handler is called.
1710
2772
  *
1711
2773
  * @param match_condition The function object to be called to determine whether
1712
2774
  * a match exists. The signature of the function object must be:
1713
2775
  * @code pair<iterator, bool> match_condition(iterator begin, iterator end);
1714
2776
  * @endcode
1715
2777
  * where @c iterator represents the type:
1716
- * @code buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
2778
+ * @code buffers_iterator<typename DynamicBuffer_v2::const_buffers_type>
1717
2779
  * @endcode
1718
2780
  * The iterator parameters @c begin and @c end define the range of bytes to be
1719
2781
  * scanned to determine whether there is a match. The @c first member of the
@@ -1730,20 +2792,20 @@ async_read_until(AsyncReadStream& s,
1730
2792
  * // Result of operation.
1731
2793
  * const boost::system::error_code& error,
1732
2794
  *
1733
- * // The number of bytes in the streambuf's get
1734
- * // area that have been fully consumed by the
1735
- * // match function. O if an error occurred.
2795
+ * // The number of bytes in the dynamic buffer sequence's
2796
+ * // get area that have been fully consumed by the match
2797
+ * // function. O if an error occurred.
1736
2798
  * std::size_t bytes_transferred
1737
2799
  * ); @endcode
1738
2800
  * Regardless of whether the asynchronous operation completes immediately or
1739
- * not, the handler will not be invoked from within this function. Invocation of
1740
- * the handler will be performed in a manner equivalent to using
1741
- * boost::asio::io_context::post().
2801
+ * not, the handler will not be invoked from within this function. On
2802
+ * immediate completion, invocation of the handler will be performed in a
2803
+ * manner equivalent to using boost::asio::post().
1742
2804
  *
1743
- * @note After a successful async_read_until operation, the streambuf may
1744
- * contain additional data beyond that which matched the function object. An
1745
- * application will typically leave that data in the streambuf for a subsequent
1746
- * async_read_until operation to examine.
2805
+ * @note After a successful async_read_until operation, the dynamic buffer
2806
+ * sequence may contain additional data beyond that which matched the function
2807
+ * object. An application will typically leave that data in the dynamic buffer
2808
+ * sequence for a subsequent async_read_until operation to examine.
1747
2809
  *
1748
2810
  * @note The default implementation of the @c is_match_condition type trait
1749
2811
  * evaluates to true for function pointers and function objects with a
@@ -1751,9 +2813,10 @@ async_read_until(AsyncReadStream& s,
1751
2813
  * function objects.
1752
2814
  *
1753
2815
  * @par Examples
1754
- * To asynchronously read data into a streambuf until whitespace is encountered:
2816
+ * To asynchronously read data into a @c std::string until whitespace is
2817
+ * encountered:
1755
2818
  * @code typedef boost::asio::buffers_iterator<
1756
- * boost::asio::streambuf::const_buffers_type> iterator;
2819
+ * boost::asio::const_buffers_1> iterator;
1757
2820
  *
1758
2821
  * std::pair<iterator, bool>
1759
2822
  * match_whitespace(iterator begin, iterator end)
@@ -1767,12 +2830,12 @@ async_read_until(AsyncReadStream& s,
1767
2830
  * ...
1768
2831
  * void handler(const boost::system::error_code& e, std::size_t size);
1769
2832
  * ...
1770
- * boost::asio::streambuf b;
1771
- * boost::asio::async_read_until(s, b, match_whitespace, handler);
2833
+ * std::string data;
2834
+ * boost::asio::async_read_until(s, data, match_whitespace, handler);
1772
2835
  * @endcode
1773
2836
  *
1774
- * To asynchronously read data into a streambuf until a matching character is
1775
- * found:
2837
+ * To asynchronously read data into a @c std::string until a matching character
2838
+ * is found:
1776
2839
  * @code class match_char
1777
2840
  * {
1778
2841
  * public:
@@ -1800,20 +2863,30 @@ async_read_until(AsyncReadStream& s,
1800
2863
  * ...
1801
2864
  * void handler(const boost::system::error_code& e, std::size_t size);
1802
2865
  * ...
1803
- * boost::asio::streambuf b;
1804
- * boost::asio::async_read_until(s, b, match_char('a'), handler);
2866
+ * std::string data;
2867
+ * boost::asio::async_read_until(s, data, match_char('a'), handler);
1805
2868
  * @endcode
1806
2869
  */
1807
- template <typename AsyncReadStream, typename Allocator,
1808
- typename MatchCondition, typename ReadHandler>
1809
- BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
2870
+ template <typename AsyncReadStream,
2871
+ typename DynamicBuffer_v2, typename MatchCondition,
2872
+ BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
2873
+ std::size_t)) ReadHandler
2874
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
2875
+ typename AsyncReadStream::executor_type)>
2876
+ BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
1810
2877
  void (boost::system::error_code, std::size_t))
1811
- async_read_until(AsyncReadStream& s,
1812
- boost::asio::basic_streambuf<Allocator>& b,
1813
- MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
1814
- typename enable_if<is_match_condition<MatchCondition>::value>::type* = 0);
2878
+ async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
2879
+ MatchCondition match_condition,
2880
+ BOOST_ASIO_MOVE_ARG(ReadHandler) handler
2881
+ BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
2882
+ typename AsyncReadStream::executor_type),
2883
+ typename constraint<
2884
+ is_match_condition<MatchCondition>::value
2885
+ >::type = 0,
2886
+ typename constraint<
2887
+ is_dynamic_buffer_v2<DynamicBuffer_v2>::value
2888
+ >::type = 0);
1815
2889
 
1816
- #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
1817
2890
  #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
1818
2891
 
1819
2892
  /*@}*/