passenger 6.0.2 → 6.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +356 -19
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +17 -0
- data/README.md +2 -9
- data/bin/passenger-install-nginx-module +2 -1
- data/bin/passenger-memory-stats +65 -12
- data/bin/passenger-status +29 -4
- data/build/common_library.rb +6 -5
- data/build/packaging.rb +4 -2
- data/build/support/cxx_dependency_map.rb +1 -0
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +56 -3
- data/build/test_basics.rb +2 -2
- data/dev/copy_boost_headers +50 -17
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/webpacketpp.patch +39 -0
- data/doc/templates/markdown.html.erb +2 -6
- data/package.json +20 -18
- data/passenger.gemspec +9 -1
- data/resources/mime.types +1 -0
- data/resources/release.txt +1 -0
- data/resources/templates/config/installation_utils/user_support_binaries_dir_not_writable.txt.erb +1 -0
- data/resources/templates/error_renderer/with_details/dist/bundle.js +2 -33
- data/resources/templates/error_renderer/with_details/dist/styles.css +2 -2
- data/resources/templates/error_renderer/with_details/src/GetHelpView.jsx +1 -1
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.css +0 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.js +0 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/config.json +0 -0
- data/resources/templates/error_renderer/with_details/src/index.html.template +0 -2
- data/resources/templates/error_renderer/with_details/webpack.config.js +13 -16
- data/resources/templates/error_renderer/without_details/dist/bundle.js +0 -1
- data/resources/templates/error_renderer/without_details/dist/styles.css +1 -1
- data/resources/templates/error_renderer/without_details/webpack.config.js +13 -16
- data/resources/templates/standalone/global.erb +4 -0
- data/resources/templates/standalone/http.erb +1 -0
- data/resources/templates/standalone/rails_asset_pipeline.erb +1 -1
- data/resources/templates/standalone/server.erb +2 -0
- data/src/agent/Core/AdminPanelConnector.h +1 -1
- data/src/agent/Core/ApiServer.h +35 -0
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +2 -2
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +3 -0
- data/src/agent/Core/ApplicationPool/Group.h +1 -1
- data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -1
- data/src/agent/Core/ApplicationPool/Options.h +26 -2
- data/src/agent/Core/ApplicationPool/Pool/GarbageCollection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool.h +10 -2
- data/src/agent/Core/Config.h +17 -2
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +15 -3
- data/src/agent/Core/Controller/ForwardResponse.cpp +13 -0
- data/src/agent/Core/Controller/InitRequest.cpp +7 -0
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller.h +5 -1
- data/src/agent/Core/CoreMain.cpp +1 -0
- data/src/agent/Core/OptionParser.h +7 -0
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +20 -0
- data/src/agent/Core/SpawningKit/Config.h +24 -0
- data/src/agent/Core/SpawningKit/Context.h +1 -0
- data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +5 -1
- data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +5 -2
- data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/Spawner.h +3 -0
- data/src/agent/Core/TelemetryCollector.h +1 -1
- data/src/agent/Shared/ApiServerUtils.h +1 -1
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +27 -1
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +2 -0
- data/src/agent/Watchdog/Config.h +17 -1
- data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +12 -1
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +46 -26
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +20 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +59 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +13 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +9 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +37 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +21 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +53 -2
- data/src/apache2_module/Hooks.cpp +6 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +11 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +31 -18
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +5 -1
- data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
- data/src/cxx_supportlib/Constants.h +5 -3
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/FileDescriptor.h +8 -0
- data/src/cxx_supportlib/FileTools/FileManip.cpp +10 -1
- data/src/cxx_supportlib/FileTools/FileManip.h +16 -0
- data/src/cxx_supportlib/Hooks.h +1 -0
- data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
- data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Config.h +1 -0
- data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +3 -1
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParser.h +1 -1
- data/src/cxx_supportlib/StaticString.h +2 -0
- data/src/cxx_supportlib/SystemTools/ContainerHelpers.h +2 -2
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +20 -19
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +5 -1
- data/src/cxx_supportlib/oxt/system_calls.cpp +10 -10
- data/src/cxx_supportlib/oxt/thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/compare.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_iterator.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/finder.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/trim.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_format.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/finder.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/iter_find.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/predicate.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/split.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/align.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of_forward.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/element_type.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/integral_constant.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/min_size.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +305 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +54 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +96 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +1478 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +144 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +665 -309
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +206 -119
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +831 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +703 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +668 -311
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +637 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +380 -163
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +420 -108
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +273 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +427 -237
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +1266 -501
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +21 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +15 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +756 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +501 -233
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +250 -122
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +724 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +726 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +212 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +680 -164
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +55 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +60 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +55 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +307 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +525 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +808 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +307 -159
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +150 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +677 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +354 -99
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +298 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +938 -212
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +69 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +65 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +38 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +38 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +206 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +63 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +24 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +465 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +543 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +15 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +31 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +20 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +40 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +882 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +251 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +35 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/{reactive_serial_port_service.ipp → posix_serial_port_service.ipp} +52 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +13 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +9 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +37 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +109 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +62 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +129 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +746 -348
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +200 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +7 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +34 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +183 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +681 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +184 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +264 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +320 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +283 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +205 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +665 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +117 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +19 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +80 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +19 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +63 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +30 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +15 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/{reactive_serial_port_service.hpp → posix_serial_port_service.hpp} +42 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +60 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +179 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +15 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +57 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +22 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +45 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +44 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +28 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +50 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +45 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +189 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +191 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +15 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +17 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +33 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +32 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +37 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +36 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +41 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +11 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +80 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +71 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +33 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +164 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +33 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +81 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +177 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +13 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +90 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +46 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +144 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +339 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +2353 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +1553 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +1214 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +401 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +1217 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +235 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +235 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +289 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +254 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +1118 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +228 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +96 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +869 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +333 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +867 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +291 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +254 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +254 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +487 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +251 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +454 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +235 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +233 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +138 -177
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +265 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +230 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_message.hpp +124 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +134 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +499 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +611 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +231 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +1197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +420 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +270 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +230 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +168 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +29 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +30 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +246 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +1157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +187 -108
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +181 -104
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +412 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +709 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +394 -317
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +219 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +214 -31
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +16 -102
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +19 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +220 -115
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +219 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +766 -236
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +286 -173
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +2420 -545
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +611 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +1319 -293
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +15 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +114 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +266 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +73 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +303 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +131 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +703 -232
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +256 -162
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +727 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +58 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +57 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +126 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +119 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +51 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +347 -223
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +23 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +14 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +278 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +287 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +5 -612
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +3 -326
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +146 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +738 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +328 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +696 -163
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +184 -60
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +1795 -453
- data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/{experimental/redirect_error.hpp → redirect_error.hpp} +11 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +358 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +575 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +356 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +3 -736
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +3 -422
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +661 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +18 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +69 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +87 -34
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +17 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +93 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +21 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +237 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +27 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +437 -125
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +307 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +16 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +580 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +946 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +116 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +116 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +236 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +236 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +125 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +126 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +93 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +357 -46
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +462 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +287 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +287 -85
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +3 -346
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +4 -296
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +38 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +3 -344
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +3 -328
- data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +670 -159
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +187 -59
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +73 -17
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +184 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/capabilities.hpp +2 -191
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/aligned_variable.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag_impl.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{atomic_template.hpp → atomic_impl.hpp} +473 -456
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +1226 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +99 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +43 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/capabilities.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_gcc_alpha.hpp → caps_arch_gcc_alpha.hpp} +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_arm.hpp → caps_arch_gcc_arm.hpp} +44 -8
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_ppc.hpp → caps_arch_gcc_ppc.hpp} +19 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_gcc_sparc.hpp → caps_arch_gcc_sparc.hpp} +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_x86.hpp → caps_arch_gcc_x86.hpp} +22 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_msvc_arm.hpp → caps_arch_msvc_arm.hpp} +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_msvc_x86.hpp → caps_arch_msvc_x86.hpp} +12 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_atomic.hpp +100 -75
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sync.hpp +0 -7
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas_based_exchange.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +64 -22
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp +1121 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +1909 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_alpha.hpp → core_arch_ops_gcc_alpha.hpp} +280 -289
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_arm.hpp → core_arch_ops_gcc_arm.hpp} +467 -447
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_ppc.hpp → core_arch_ops_gcc_ppc.hpp} +180 -194
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_sparc.hpp → core_arch_ops_gcc_sparc.hpp} +33 -58
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_x86_dcas.hpp → core_arch_ops_gcc_x86.hpp} +520 -32
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_msvc_arm.hpp → core_arch_ops_msvc_arm.hpp} +62 -58
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_msvc_x86.hpp → core_arch_ops_msvc_x86.hpp} +69 -101
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_cas_based.hpp → core_ops_cas_based.hpp} +9 -22
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_atomic.hpp +306 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_sync.hpp → core_ops_gcc_sync.hpp} +75 -52
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_linux_arm.hpp → core_ops_linux_arm.hpp} +32 -43
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_windows.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_extending_cas_based.hpp → extending_cas_based_arithmetic.hpp} +12 -9
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_emulated.hpp +23 -12
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +13 -10
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_emulated.hpp +60 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +1060 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +1330 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_arm.hpp +363 -355
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +167 -163
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_x86.hpp +232 -102
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_generic.hpp +9 -17
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_arm.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_x86.hpp +119 -92
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_operations.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations_emulated.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_atomic.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_sync.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_linux_arm.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_windows.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/footer.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_emulated.hpp +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_generic.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_ppc_asm_common.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/header.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{integral_extend.hpp → integral_conversions.hpp} +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +35 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/intptr.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lock_pool.hpp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/memory_order_utils.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/once_flag.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch32_common.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch64_common.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm_common.hpp +8 -79
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc_common.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_common.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +23 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +80 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_traits.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_floating_point.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_copyable.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_capabilities.hpp +363 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_darwin_ulock.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_freebsd_umtx.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_futex.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_windows.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations_fwd.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_emulated.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_freebsd_umtx.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_futex.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_generic.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_windows.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +7 -18
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_flag.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +15 -35
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_template.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +164 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +25 -11
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +52 -8
- data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp +34 -34
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/thread_clock.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/chrono.hpp +34 -14
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/thread_clock.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/system.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/timezone.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/system_clocks.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +178 -167
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +34 -46
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +32 -38
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +12 -9
- data/src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/has_constraints.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +20 -20
- data/src/cxx_supportlib/vendor-modified/boost/config/abi_prefix.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/abi_suffix.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +78 -19
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +20 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +159 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/comeau.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +37 -11
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +373 -52
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +28 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/greenhills.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/kai.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +35 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +203 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_compiler_config.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_stdlib_config.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +214 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/cygwin.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/vxworks.hpp +63 -74
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/requires_threads.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +44 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +42 -4
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +125 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/modena.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/msl.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/roguewave.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/sgi.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/stlport.hpp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/vacpp.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/xlcpp_zos.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/user.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +284 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +31 -22
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +29 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +121 -29
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +384 -272
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +24 -21
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +836 -460
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/addressof.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +146 -65
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_list.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_slist.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +73 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/construct_in_place.hpp +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_or_allocator_rebind.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +21 -116
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +250 -113
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +149 -53
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +41 -39
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +318 -159
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/hash_table.hpp +1278 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_pair.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +182 -147
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +60 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +40 -31
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +4 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +331 -144
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +142 -94
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_resource.hpp +3 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/thread_mutex.hpp +181 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/transform_iterator.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +409 -329
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +9 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/variadic_templates_tools.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/version_type.hpp +3 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +50 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3028 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +665 -186
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +311 -46
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +142 -120
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +524 -158
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +27 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +336 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/flat_set.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +1 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +8 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +92 -8
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +80 -80
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +371 -106
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +136 -112
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +220 -185
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +371 -225
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +218 -134
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +535 -378
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +156 -41
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +706 -659
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -54
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +45 -39
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +820 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +298 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +1256 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/exchange.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/explicit_operator_bool.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +272 -146
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +43 -8
- data/src/cxx_supportlib/vendor-modified/boost/core/no_exceptions_support.hpp +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +16 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/nvp.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +112 -60
- data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +39 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +399 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1157 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +26 -10
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/use_default.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/verbose_terminate_handler.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/cstdint.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/current_function.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/c_time.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +9 -41
- data/src/cxx_supportlib/vendor-modified/boost/date_time/constrained_value.hpp +19 -11
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +23 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration.hpp +17 -22
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration_types.hpp +44 -49
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_facet.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generators.hpp +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_parsing.hpp +51 -25
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_rules.hpp +56 -56
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_transition_generators.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/find_match.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/format_date_parser.hpp +98 -98
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +22 -14
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_day.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration.hpp +44 -32
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration_types.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_month.hpp +51 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_serialize.hpp +29 -27
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_weekday.hpp +43 -9
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_year.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +32 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.hpp +15 -17
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +28 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/int_adapter.hpp +57 -37
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_time_io.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/locale_config.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +44 -47
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_formatter.hpp +34 -31
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_parser.hpp +27 -28
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/conversion.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/date_duration_operators.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_config.hpp +13 -26
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_duration.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/ptime.hpp +22 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_serialize.hpp +28 -12
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_formatter.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/date_time/string_parse_tree.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/strings_from_facet.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_duration.hpp +56 -44
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +8 -11
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +3 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_resolution_traits.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_counted.hpp +65 -50
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_split.hpp +43 -30
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_names.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/tz_db_base.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/wrapping_int.hpp +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp +7 -5
- data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/detail/indirect_traits.hpp +38 -47
- data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/detail/reference_content.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/detail/workaround.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/current_exception_cast.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/clone_current_exception.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/error_info_impl.hpp +12 -7
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +122 -33
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/is_output_streamable.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/object_hex_dump.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/shared_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +118 -70
- data/src/cxx_supportlib/vendor-modified/boost/exception/get_error_info.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +12 -10
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string_stub.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +16 -9
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +42 -41
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +76 -44
- data/src/cxx_supportlib/vendor-modified/boost/function.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +35 -33
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +86 -81
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +97 -97
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +79 -79
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +99 -99
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +108 -116
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +118 -112
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +31 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +88 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +39 -39
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +23 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +80 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/default_header_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +196 -107
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +20 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +111 -81
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +11 -64
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_to_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/reverse_iterator.hpp +3 -140
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +25 -13
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_value_compare.hpp +33 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1588 -948
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +97 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +103 -100
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +26 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +7 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +31 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +11 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +72 -72
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +99 -99
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +107 -107
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +65 -73
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +80 -80
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +163 -170
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +105 -105
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +53 -53
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +95 -95
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +140 -113
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +82 -81
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +156 -149
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +96 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +17 -17
- data/src/cxx_supportlib/vendor-modified/boost/io/ios_state.hpp +361 -315
- data/src/cxx_supportlib/vendor-modified/boost/io_fwd.hpp +45 -49
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +12 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +65 -65
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +42 -42
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +17 -14
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +22 -17
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +13 -122
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +11 -8
- data/src/cxx_supportlib/vendor-modified/boost/libs/system/src/error_code.cpp +16 -5
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/future.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once.cpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +26 -15
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/tss_null.cpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +6 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +102 -59
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +102 -70
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +296 -450
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +19 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/insertion_sort.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +457 -112
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +87 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/search.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/move.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +23 -8
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +29 -8
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/addressof.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/force_ptr.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_to_raw_pointer.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +109 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +10 -32
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/reverse_iterator.hpp +40 -33
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +257 -47
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +1 -27
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +31 -28
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +1306 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp +185 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_fold.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_front.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_list.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_min_element.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_plus.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_rename.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_void.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_with_index.hpp +385 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/function.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +304 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/utility.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +28 -8
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/common_name_wknd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/adl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/arrays.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bcc.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/compiler.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ctps.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dtp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/forwarding.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/integral.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/overload_resolution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/preprocessor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ttp.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/count_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_impl_body.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_rebind.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/integral_wrapper.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_support.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/nested_type_wknd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/size_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/yes_no.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/if.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/lower_bound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/numeric_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/upper_bound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/at.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +33 -24
- data/src/cxx_supportlib/vendor-modified/boost/optional/bad_optional_access.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/experimental_traits.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +28 -2
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +38 -27
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +300 -124
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/are_tagged_arguments.hpp +125 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/always_true_predicate.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +1253 -359
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/as_lvalue.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/augment_predicate.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/cast.hpp +7 -136
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +101 -59
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/has_nested_template_fn.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_maybe.hpp +42 -16
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_placeholder.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_tagged_argument.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/lambda_tag.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +128 -97
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/as_parameter_requirements.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduce_tag.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduced_item.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/insert_tagged.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/is_named_argument.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +438 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_deduced_items.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_parameter_spec_items.hpp +244 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/parameter_requirements.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/predicate.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/satisfies.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_deduced.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_type.hpp +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parameter_requirements.hpp +7 -20
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parenthesized_type.hpp +8 -31
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/argument_pack.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/match.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp +1638 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp +1796 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/flatten.hpp +7 -110
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each.hpp +7 -98
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each_pred.hpp +1029 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/arity_range.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/flatten.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/for_each.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp +509 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +730 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_name.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp +331 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/split_args.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp +78 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/nullptr.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/qualifier.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_enum.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_merge.hpp +1807 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/result_of0.hpp +46 -29
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +94 -42
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +152 -30
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +874 -159
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/template_keyword.hpp +76 -34
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +161 -78
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default_tag.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/yesno.hpp +30 -14
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +154 -70
- data/src/cxx_supportlib/vendor-modified/boost/parameter/compose.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +75 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/deduced.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/is_argument_pack.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword.hpp +724 -102
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword_fwd.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +205 -72
- data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +37 -44
- data/src/cxx_supportlib/vendor-modified/boost/parameter/name.hpp +100 -126
- data/src/cxx_supportlib/vendor-modified/boost/parameter/nested_keyword.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/optional.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +556 -887
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor.hpp +156 -1016
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor_no_spec.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/python.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/required.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +152 -70
- data/src/cxx_supportlib/vendor-modified/boost/pool/detail/mutex.hpp +119 -25
- data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +22 -9
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +97 -28
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/loongarch.h +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +33 -27
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +31 -20
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +24 -18
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +82 -30
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +13 -7
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +23 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +26 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +29 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +31 -25
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86.h +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/borland.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/clang.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/comeau.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/compaq.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/diab.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/digitalmars.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/dignus.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/edg.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ekopath.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc_xml.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/greenhills.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/hp_acc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/iar.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ibm.h +15 -14
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/intel.h +18 -17
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/kai.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/llvm.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metaware.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metrowerks.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/microtec.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/mpw.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/nvcc.h +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/palm.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/pgi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sgi_mipspro.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sunpro.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/tendra.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/visualc.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/watcom.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm/versions.h +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc/versions.h +27 -21
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc.h +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86/versions.h +73 -67
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86.h +39 -37
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd/versions.h +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd.h +25 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd.h +95 -46
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/cuda.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/objc.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +41 -34
- data/src/cxx_supportlib/vendor-modified/boost/predef/language.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/cloudabi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/gnu.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/uc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/vms.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/zos.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/dinkumware.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/libcomo.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/modena.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/msl.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/roguewave.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/sgi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stlport.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/vacpp.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +103 -33
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/aix.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/amigaos.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/beos.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +11 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +60 -58
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd.h +22 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/cygwin.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/haiku.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/hpux.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/ios.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/irix.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/linux.h +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/macos.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/os400.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/qnxnto.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/solaris.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/unix.h +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/vms.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/windows.h +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/os.h +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +19 -21
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/workaround.h +22 -14
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/android.h +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/cloudabi.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/ios.h +14 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw32.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw64.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_desktop.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_phone.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_runtime.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_server.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_store.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_system.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_uwp.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version_number.h +16 -14
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_list.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_tuple.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +26 -34
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/check_empty.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/detail/is_empty.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +28 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/va_opt.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +21 -88
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_tuple.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +121 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/is_empty.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each_i.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/replace.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +2 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +21 -43
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +2 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/integer_log2.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +514 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +291 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +4107 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/discrete_distribution.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/faure.hpp +367 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +360 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +238 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +43 -6
- data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/common.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/implementation_help.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/range/distance.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +18 -16
- data/src/cxx_supportlib/vendor-modified/boost/range/has_range_iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/range/rbegin.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/rend.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/size.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/ratio/config.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +95 -51
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +82 -76
- data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +104 -101
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -72
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -140
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
- data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +32 -16
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +50 -25
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +64 -30
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +111 -28
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/indexed_bit_flag.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +18 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +21 -12
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +42 -18
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +24 -10
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +57 -54
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +2 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +38 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_split.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +9 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +653 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +7 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/sub_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_iterator.hpp +1 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.hpp +3 -11
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +526 -40
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3130 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +921 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1874 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +862 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1311 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +93 -444
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_nt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_pt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_sync.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +88 -48
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +12 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +17 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +27 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +16 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +27 -18
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +48 -31
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_pause.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_sleep.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_typeinfo_.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +7 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_nt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +13 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_sync.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +14 -140
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +47 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +119 -29
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +79 -8
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/system/config.hpp +4 -24
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +219 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +726 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +297 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +123 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category_impl.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_message.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +12 -760
- data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_error.hpp +30 -59
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_adaptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +9 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +9 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_adaptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_op_status.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_bounded_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_deque.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_priority_queue.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_queue.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_timed_queue.hpp +80 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/queue.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +18 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +16 -17
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/move.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/nullary_function.hpp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/platform_time.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +33 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_safety.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/tss_hooks.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/exceptions.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor_adaptor.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/generic_executor_ref.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/inline_executor.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/loop_executor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduled_thread_pool.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduler.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduling_adaptor.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor_cont.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/thread_executor.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/work.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/externally_locked.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +12 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_any.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/interruption.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/lock_guard.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/lockable_traits.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_lockable.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable.hpp +16 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable_adapter.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable.hpp +20 -26
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +8 -15
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +17 -88
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +29 -28
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_helpers.hpp +163 -18
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_mutex_scoped_lock.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +25 -25
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/shared_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +21 -13
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/thread_guard.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/tss.hpp +23 -41
- data/src/cxx_supportlib/vendor-modified/boost/thread/user_scheduler.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/xtime.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +232 -56
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +32 -27
- data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +22 -20
- data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/alignment_of.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/conjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_cv_ref.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_reference.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/common_arithmetic_type.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +36 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/detector.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_binary_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_postfix_operator.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_03.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +676 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_msvc10_fix.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +415 -255
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +1345 -1542
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +697 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detected.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detected_or.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/disjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/enable_if.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_dereference.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_copy.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_plus_assign.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_post_decrement.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_post_increment.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_pre_decrement.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_pre_increment.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_move_assign.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_move_constructor.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +6 -16
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_promotion.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +18 -8
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_array.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_and_derived.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_bounded_array.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_compound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_const.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_constructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_copy_assignable.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_copy_constructible.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_default_constructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_destructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_detected.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_detected_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_detected_exact.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_enum.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_final.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +4 -79
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_fundamental.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_lvalue_reference.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_function_pointer.hpp +3 -97
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_noncopyable.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_move_assignable.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_move_constructible.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_rvalue_reference.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_same.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_scoped_enum.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_signed.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unbounded_array.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unscoped_enum.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unsigned.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_virtual_base_of.hpp +105 -64
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/make_void.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/negation.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/nonesuch.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/rank.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_all_extents.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_const.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_cv.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_extent.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_volatile.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/dmc/typeof_impl.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode.hpp +0 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode_params.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/int_encoding.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/typeof/msvc/typeof_impl.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/native.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/pointers_data_members.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions_iterate.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_mem_functions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_encoding.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +18 -17
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector100.hpp +201 -201
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector150.hpp +301 -301
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector200.hpp +401 -401
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector50.hpp +101 -101
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +819 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1647 -2909
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +8 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +262 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +309 -150
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +207 -84
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/base_from_member.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/binary.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/minstd_rand.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_iterate.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/in_place_factory.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +33 -11
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +11 -44
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +56 -52
- data/src/cxx_supportlib/vendor-modified/boost/utility/typed_in_place_factory.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +34 -68
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h +261 -143
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json.h +947 -763
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +1487 -1477
- data/src/cxx_supportlib/vendor-modified/modp_b64_data.h +0 -4
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +5 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +107 -5
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +2 -2
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +12 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +13 -3
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +6 -2
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +13 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +6 -15
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +24 -24
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +1 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +84 -19
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +3 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +4 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +10 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +150 -147
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +4 -4
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +47 -25
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +3 -3
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +14 -9
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +189 -189
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +59 -66
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +73 -38
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +9 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +12 -22
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +11 -11
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +13 -13
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +3 -3
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +8 -8
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +1 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +2 -4
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +3 -3
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/helper-scripts/prespawn +1 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +56 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +39 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +72 -0
- data/src/nginx_module/Configuration.c +14 -1
- data/src/nginx_module/ContentHandler.c +5 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +31 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +69 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +68 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +15 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +23 -0
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +6 -0
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +12 -0
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +4 -0
- data/src/nginx_module/config +2 -0
- data/src/nginx_module/ngx_http_passenger_module.c +4 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/common.js +50 -29
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/cli-config.js +20 -20
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/npm-config.js +11 -11
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/syslog-config.js +3 -3
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config.js +8 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/container.js +2 -1
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/logger.js +174 -146
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/console.js +4 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/file.js +15 -5
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/http.js +14 -4
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports.js +26 -24
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston.js +5 -5
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/package.json +4 -13
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/colors/package.json +19 -33
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/cycle/package.json +11 -29
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/eyes/package.json +12 -40
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/isstream/package.json +3 -12
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/lib/stack-trace.js +49 -24
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/package.json +4 -16
- data/src/nodejs_supportlib/vendor-copy/winston/package.json +11 -55
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +28 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +2 -0
- data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +16 -12
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +7 -2
- data/src/ruby_supportlib/phusion_passenger/constants.rb +4 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +26 -9
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +47 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +2 -4
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +46 -27
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +19 -0
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +23 -18
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +11 -7
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +20 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +5 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +29 -18
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +15 -11
- data/src/ruby_supportlib/phusion_passenger.rb +8 -8
- metadata +820 -201
- data/src/cxx_supportlib/vendor-modified/boost/asio/datagram_socket_service.hpp +0 -468
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer_service.hpp +0 -175
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detached.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_spawn.hpp +0 -878
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/detached.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/redirect_error.hpp +0 -296
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_type.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_service.hpp +0 -202
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor_service.hpp +0 -281
- data/src/cxx_supportlib/vendor-modified/boost/asio/raw_socket_service.hpp +0 -468
- data/src/cxx_supportlib/vendor-modified/boost/asio/seq_packet_socket_service.hpp +0 -418
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_service.hpp +0 -251
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_service.hpp +0 -144
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_acceptor_service.hpp +0 -374
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_socket_service.hpp +0 -414
- data/src/cxx_supportlib/vendor-modified/boost/asio/waitable_timer_service.hpp +0 -212
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_handle.hpp +0 -275
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle_service.hpp +0 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle_service.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle_service.hpp +0 -212
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_arm.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_ppc.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_x86.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lockpool.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_fwd.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_emulated.hpp +0 -162
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp +0 -392
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86.hpp +0 -563
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_type.hpp +0 -207
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -41
- data/src/cxx_supportlib/vendor-modified/boost/call_traits.hpp +0 -20
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/detail/call_traits.hpp +0 -172
- data/src/cxx_supportlib/vendor-modified/boost/detail/endian.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/detail/iterator.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/detail/no_exceptions_support.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/detail/sp_typeinfo.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -660
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1040
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1651
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -469
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/overloads.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/boost/pointer_to_other.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/endian_compat.h +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/android.h +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -455
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -225
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_solaris.hpp +0 -59
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_clang.hpp +0 -150
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +0 -115
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.ipp +0 -496
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/daily-rotate-file.js +0 -601
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/webhook.js +0 -146
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/LICENSE +0 -19
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/lib/pkginfo.js +0 -136
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/package.json +0 -56
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
// read_until.hpp
|
3
3
|
// ~~~~~~~~~~~~~~
|
4
4
|
//
|
5
|
-
// Copyright (c) 2003-
|
5
|
+
// Copyright (c) 2003-2022 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>
|
@@ -32,19 +33,34 @@
|
|
32
33
|
|
33
34
|
namespace boost {
|
34
35
|
namespace asio {
|
36
|
+
namespace detail {
|
35
37
|
|
36
|
-
|
38
|
+
char (&has_result_type_helper(...))[2];
|
39
|
+
|
40
|
+
template <typename T>
|
41
|
+
char has_result_type_helper(T*, typename T::result_type* = 0);
|
42
|
+
|
43
|
+
template <typename T>
|
44
|
+
struct has_result_type
|
37
45
|
{
|
38
|
-
|
46
|
+
enum { value = (sizeof((has_result_type_helper)((T*)(0))) == 1) };
|
47
|
+
};
|
39
48
|
|
40
|
-
|
41
|
-
|
49
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
50
|
+
template <typename> class initiate_async_read_until_delim_v1;
|
51
|
+
template <typename> class initiate_async_read_until_delim_string_v1;
|
52
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
53
|
+
template <typename> class initiate_async_read_until_expr_v1;
|
54
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
55
|
+
template <typename> class initiate_async_read_until_match_v1;
|
56
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
57
|
+
template <typename> class initiate_async_read_until_delim_v2;
|
58
|
+
template <typename> class initiate_async_read_until_delim_string_v2;
|
59
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
60
|
+
template <typename> class initiate_async_read_until_expr_v2;
|
61
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
62
|
+
template <typename> class initiate_async_read_until_match_v2;
|
42
63
|
|
43
|
-
template <typename T>
|
44
|
-
struct has_result_type
|
45
|
-
{
|
46
|
-
enum { value = (sizeof((has_result_type_helper)((T*)(0))) == 1) };
|
47
|
-
};
|
48
64
|
} // namespace detail
|
49
65
|
|
50
66
|
/// Type trait used to determine whether a type can be used as a match condition
|
@@ -68,12 +84,15 @@ struct is_match_condition
|
|
68
84
|
/**
|
69
85
|
* @defgroup read_until boost::asio::read_until
|
70
86
|
*
|
71
|
-
* @brief
|
72
|
-
*
|
73
|
-
* indicates a
|
87
|
+
* @brief The @c read_until function is a composed operation that reads data
|
88
|
+
* into a dynamic buffer sequence, or into a streambuf, until it contains a
|
89
|
+
* delimiter, matches a regular expression, or a function object indicates a
|
90
|
+
* match.
|
74
91
|
*/
|
75
92
|
/*@{*/
|
76
93
|
|
94
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
95
|
+
|
77
96
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
78
97
|
/// delimiter.
|
79
98
|
/**
|
@@ -111,7 +130,7 @@ struct is_match_condition
|
|
111
130
|
* @par Example
|
112
131
|
* To read data into a @c std::string until a newline is encountered:
|
113
132
|
* @code std::string data;
|
114
|
-
* std::
|
133
|
+
* std::size_t n = boost::asio::read_until(s,
|
115
134
|
* boost::asio::dynamic_buffer(data), '\n');
|
116
135
|
* std::string line = data.substr(0, n);
|
117
136
|
* data.erase(0, n); @endcode
|
@@ -127,9 +146,15 @@ struct is_match_condition
|
|
127
146
|
* This data may be the start of a new line, to be extracted by a subsequent
|
128
147
|
* @c read_until operation.
|
129
148
|
*/
|
130
|
-
template <typename SyncReadStream, typename
|
149
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
131
150
|
std::size_t read_until(SyncReadStream& s,
|
132
|
-
BOOST_ASIO_MOVE_ARG(
|
151
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
|
152
|
+
typename constraint<
|
153
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
154
|
+
>::type = 0,
|
155
|
+
typename constraint<
|
156
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
157
|
+
>::type = 0);
|
133
158
|
|
134
159
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
135
160
|
/// delimiter.
|
@@ -165,10 +190,16 @@ std::size_t read_until(SyncReadStream& s,
|
|
165
190
|
* typically leave that data in the dynamic buffer sequence for a subsequent
|
166
191
|
* read_until operation to examine.
|
167
192
|
*/
|
168
|
-
template <typename SyncReadStream, typename
|
193
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
169
194
|
std::size_t read_until(SyncReadStream& s,
|
170
|
-
BOOST_ASIO_MOVE_ARG(
|
171
|
-
char delim, boost::system::error_code& ec
|
195
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
196
|
+
char delim, boost::system::error_code& ec,
|
197
|
+
typename constraint<
|
198
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
199
|
+
>::type = 0,
|
200
|
+
typename constraint<
|
201
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
202
|
+
>::type = 0);
|
172
203
|
|
173
204
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
174
205
|
/// delimiter.
|
@@ -205,7 +236,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
205
236
|
* @par Example
|
206
237
|
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
207
238
|
* @code std::string data;
|
208
|
-
* std::
|
239
|
+
* std::size_t n = boost::asio::read_until(s,
|
209
240
|
* boost::asio::dynamic_buffer(data), "\r\n");
|
210
241
|
* std::string line = data.substr(0, n);
|
211
242
|
* data.erase(0, n); @endcode
|
@@ -221,10 +252,16 @@ std::size_t read_until(SyncReadStream& s,
|
|
221
252
|
* This data may be the start of a new line, to be extracted by a subsequent
|
222
253
|
* @c read_until operation.
|
223
254
|
*/
|
224
|
-
template <typename SyncReadStream, typename
|
255
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
225
256
|
std::size_t read_until(SyncReadStream& s,
|
226
|
-
BOOST_ASIO_MOVE_ARG(
|
227
|
-
BOOST_ASIO_STRING_VIEW_PARAM delim
|
257
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
258
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
259
|
+
typename constraint<
|
260
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
261
|
+
>::type = 0,
|
262
|
+
typename constraint<
|
263
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
264
|
+
>::type = 0);
|
228
265
|
|
229
266
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
230
267
|
/// delimiter.
|
@@ -260,11 +297,17 @@ std::size_t read_until(SyncReadStream& s,
|
|
260
297
|
* typically leave that data in the dynamic buffer sequence for a subsequent
|
261
298
|
* read_until operation to examine.
|
262
299
|
*/
|
263
|
-
template <typename SyncReadStream, typename
|
300
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
264
301
|
std::size_t read_until(SyncReadStream& s,
|
265
|
-
BOOST_ASIO_MOVE_ARG(
|
302
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
266
303
|
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
267
|
-
boost::system::error_code& ec
|
304
|
+
boost::system::error_code& ec,
|
305
|
+
typename constraint<
|
306
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
307
|
+
>::type = 0,
|
308
|
+
typename constraint<
|
309
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
310
|
+
>::type = 0);
|
268
311
|
|
269
312
|
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
270
313
|
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
@@ -308,7 +351,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
308
351
|
* @par Example
|
309
352
|
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
310
353
|
* @code std::string data;
|
311
|
-
* std::
|
354
|
+
* std::size_t n = boost::asio::read_until(s,
|
312
355
|
* boost::asio::dynamic_buffer(data), boost::regex("\r\n"));
|
313
356
|
* std::string line = data.substr(0, n);
|
314
357
|
* data.erase(0, n); @endcode
|
@@ -324,10 +367,16 @@ std::size_t read_until(SyncReadStream& s,
|
|
324
367
|
* This data may be the start of a new line, to be extracted by a subsequent
|
325
368
|
* @c read_until operation.
|
326
369
|
*/
|
327
|
-
template <typename SyncReadStream, typename
|
370
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
328
371
|
std::size_t read_until(SyncReadStream& s,
|
329
|
-
BOOST_ASIO_MOVE_ARG(
|
330
|
-
const boost::regex& expr
|
372
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
373
|
+
const boost::regex& expr,
|
374
|
+
typename constraint<
|
375
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
376
|
+
>::type = 0,
|
377
|
+
typename constraint<
|
378
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
379
|
+
>::type = 0);
|
331
380
|
|
332
381
|
/// Read data into a dynamic buffer sequence until some part of the data it
|
333
382
|
/// contains matches a regular expression.
|
@@ -365,10 +414,16 @@ std::size_t read_until(SyncReadStream& s,
|
|
365
414
|
* expression. An application will typically leave that data in the dynamic
|
366
415
|
* buffer sequence for a subsequent read_until operation to examine.
|
367
416
|
*/
|
368
|
-
template <typename SyncReadStream, typename
|
417
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
369
418
|
std::size_t read_until(SyncReadStream& s,
|
370
|
-
BOOST_ASIO_MOVE_ARG(
|
371
|
-
const boost::regex& expr, boost::system::error_code& ec
|
419
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
420
|
+
const boost::regex& expr, boost::system::error_code& ec,
|
421
|
+
typename constraint<
|
422
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
423
|
+
>::type = 0,
|
424
|
+
typename constraint<
|
425
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
426
|
+
>::type = 0);
|
372
427
|
|
373
428
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
374
429
|
// || defined(GENERATING_DOCUMENTATION)
|
@@ -401,7 +456,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
401
456
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
402
457
|
* @endcode
|
403
458
|
* where @c iterator represents the type:
|
404
|
-
* @code buffers_iterator<typename
|
459
|
+
* @code buffers_iterator<typename DynamicBuffer_v1::const_buffers_type>
|
405
460
|
* @endcode
|
406
461
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
407
462
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -476,11 +531,19 @@ std::size_t read_until(SyncReadStream& s,
|
|
476
531
|
* @endcode
|
477
532
|
*/
|
478
533
|
template <typename SyncReadStream,
|
479
|
-
typename
|
534
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
480
535
|
std::size_t read_until(SyncReadStream& s,
|
481
|
-
BOOST_ASIO_MOVE_ARG(
|
536
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
482
537
|
MatchCondition match_condition,
|
483
|
-
typename
|
538
|
+
typename constraint<
|
539
|
+
is_match_condition<MatchCondition>::value
|
540
|
+
>::type = 0,
|
541
|
+
typename constraint<
|
542
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
543
|
+
>::type = 0,
|
544
|
+
typename constraint<
|
545
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
546
|
+
>::type = 0);
|
484
547
|
|
485
548
|
/// Read data into a dynamic buffer sequence until a function object indicates a
|
486
549
|
/// match.
|
@@ -509,7 +572,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
509
572
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
510
573
|
* @endcode
|
511
574
|
* where @c iterator represents the type:
|
512
|
-
* @code buffers_iterator<
|
575
|
+
* @code buffers_iterator<DynamicBuffer_v1::const_buffers_type>
|
513
576
|
* @endcode
|
514
577
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
515
578
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -536,11 +599,19 @@ std::size_t read_until(SyncReadStream& s,
|
|
536
599
|
* function objects.
|
537
600
|
*/
|
538
601
|
template <typename SyncReadStream,
|
539
|
-
typename
|
602
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
540
603
|
std::size_t read_until(SyncReadStream& s,
|
541
|
-
BOOST_ASIO_MOVE_ARG(
|
604
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
542
605
|
MatchCondition match_condition, boost::system::error_code& ec,
|
543
|
-
typename
|
606
|
+
typename constraint<
|
607
|
+
is_match_condition<MatchCondition>::value
|
608
|
+
>::type = 0,
|
609
|
+
typename constraint<
|
610
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
611
|
+
>::type = 0,
|
612
|
+
typename constraint<
|
613
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
614
|
+
>::type = 0);
|
544
615
|
|
545
616
|
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
546
617
|
|
@@ -920,7 +991,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
920
991
|
template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
921
992
|
std::size_t read_until(SyncReadStream& s,
|
922
993
|
boost::asio::basic_streambuf<Allocator>& b, MatchCondition match_condition,
|
923
|
-
typename
|
994
|
+
typename constraint<is_match_condition<MatchCondition>::value>::type = 0);
|
924
995
|
|
925
996
|
/// Read data into a streambuf until a function object indicates a match.
|
926
997
|
/**
|
@@ -977,29 +1048,19 @@ template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
|
977
1048
|
std::size_t read_until(SyncReadStream& s,
|
978
1049
|
boost::asio::basic_streambuf<Allocator>& b,
|
979
1050
|
MatchCondition match_condition, boost::system::error_code& ec,
|
980
|
-
typename
|
1051
|
+
typename constraint<is_match_condition<MatchCondition>::value>::type = 0);
|
981
1052
|
|
982
1053
|
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
983
1054
|
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1055
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
984
1056
|
|
985
|
-
|
986
|
-
|
987
|
-
* @defgroup async_read_until boost::asio::async_read_until
|
988
|
-
*
|
989
|
-
* @brief Start an asynchronous operation to read data into a dynamic buffer
|
990
|
-
* sequence, or into a streambuf, until it contains a delimiter, matches a
|
991
|
-
* regular expression, or a function object indicates a match.
|
992
|
-
*/
|
993
|
-
/*@{*/
|
994
|
-
|
995
|
-
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
996
|
-
/// until it contains a specified delimiter.
|
1057
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1058
|
+
/// delimiter.
|
997
1059
|
/**
|
998
|
-
* This function is used to
|
999
|
-
*
|
1000
|
-
*
|
1001
|
-
*
|
1002
|
-
* is true:
|
1060
|
+
* This function is used to read data into the specified dynamic buffer
|
1061
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1062
|
+
* delimiter. The call will block until one of the following conditions is
|
1063
|
+
* true:
|
1003
1064
|
*
|
1004
1065
|
* @li The get area of the dynamic buffer sequence contains the specified
|
1005
1066
|
* delimiter.
|
@@ -1007,89 +1068,58 @@ std::size_t read_until(SyncReadStream& s,
|
|
1007
1068
|
* @li An error occurred.
|
1008
1069
|
*
|
1009
1070
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1010
|
-
*
|
1011
|
-
*
|
1012
|
-
* asynchronous operation completes immediately. The program must ensure that
|
1013
|
-
* the stream performs no other read operations (such as async_read,
|
1014
|
-
* async_read_until, the stream's async_read_some function, or any other
|
1015
|
-
* composed operations that perform reads) until this operation completes.
|
1071
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1072
|
+
* contains the delimiter, the function returns immediately.
|
1016
1073
|
*
|
1017
1074
|
* @param s The stream from which the data is to be read. The type must support
|
1018
|
-
* the
|
1075
|
+
* the SyncReadStream concept.
|
1019
1076
|
*
|
1020
1077
|
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1021
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1022
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1023
|
-
* that they remain valid until the handler is called.
|
1024
1078
|
*
|
1025
1079
|
* @param delim The delimiter character.
|
1026
1080
|
*
|
1027
|
-
* @
|
1028
|
-
*
|
1029
|
-
* handler must be:
|
1030
|
-
* @code void handler(
|
1031
|
-
* // Result of operation.
|
1032
|
-
* const boost::system::error_code& error,
|
1081
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1082
|
+
* and including the delimiter.
|
1033
1083
|
*
|
1034
|
-
*
|
1035
|
-
* // get area up to and including the delimiter.
|
1036
|
-
* // 0 if an error occurred.
|
1037
|
-
* std::size_t bytes_transferred
|
1038
|
-
* ); @endcode
|
1039
|
-
* Regardless of whether the asynchronous operation completes immediately or
|
1040
|
-
* not, the handler will not be invoked from within this function. Invocation of
|
1041
|
-
* the handler will be performed in a manner equivalent to using
|
1042
|
-
* boost::asio::io_context::post().
|
1084
|
+
* @throws boost::system::system_error Thrown on failure.
|
1043
1085
|
*
|
1044
|
-
* @note After a successful
|
1045
|
-
*
|
1046
|
-
*
|
1047
|
-
*
|
1086
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1087
|
+
* may contain additional data beyond the delimiter. An application will
|
1088
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1089
|
+
* read_until operation to examine.
|
1048
1090
|
*
|
1049
1091
|
* @par Example
|
1050
|
-
* To
|
1051
|
-
* encountered:
|
1092
|
+
* To read data into a @c std::string until a newline is encountered:
|
1052
1093
|
* @code std::string data;
|
1053
|
-
*
|
1054
|
-
*
|
1055
|
-
*
|
1056
|
-
*
|
1057
|
-
*
|
1058
|
-
*
|
1059
|
-
* data.erase(0, n);
|
1060
|
-
* ...
|
1061
|
-
* }
|
1062
|
-
* }
|
1063
|
-
* ...
|
1064
|
-
* boost::asio::async_read_until(s, data, '\n', handler); @endcode
|
1065
|
-
* After the @c async_read_until operation completes successfully, the buffer
|
1066
|
-
* @c data contains the delimiter:
|
1094
|
+
* std::size_t n = boost::asio::read_until(s,
|
1095
|
+
* boost::asio::dynamic_buffer(data), '\n');
|
1096
|
+
* std::string line = data.substr(0, n);
|
1097
|
+
* data.erase(0, n); @endcode
|
1098
|
+
* After the @c read_until operation completes successfully, the string @c data
|
1099
|
+
* contains the delimiter:
|
1067
1100
|
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
1068
1101
|
* The call to @c substr then extracts the data up to and including the
|
1069
1102
|
* delimiter, so that the string @c line contains:
|
1070
1103
|
* @code { 'a', 'b', ..., 'c', '\n' } @endcode
|
1071
|
-
* After the call to @c erase, the remaining data is left in the buffer @c
|
1072
|
-
*
|
1104
|
+
* After the call to @c erase, the remaining data is left in the buffer @c b as
|
1105
|
+
* follows:
|
1073
1106
|
* @code { 'd', 'e', ... } @endcode
|
1074
1107
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1075
|
-
* @c
|
1108
|
+
* @c read_until operation.
|
1076
1109
|
*/
|
1077
|
-
template <typename
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
|
1083
|
-
char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
|
1110
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1111
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
|
1112
|
+
typename constraint<
|
1113
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1114
|
+
>::type = 0);
|
1084
1115
|
|
1085
|
-
///
|
1086
|
-
///
|
1116
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1117
|
+
/// delimiter.
|
1087
1118
|
/**
|
1088
|
-
* This function is used to
|
1089
|
-
*
|
1090
|
-
*
|
1091
|
-
*
|
1092
|
-
* is true:
|
1119
|
+
* This function is used to read data into the specified dynamic buffer
|
1120
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1121
|
+
* delimiter. The call will block until one of the following conditions is
|
1122
|
+
* true:
|
1093
1123
|
*
|
1094
1124
|
* @li The get area of the dynamic buffer sequence contains the specified
|
1095
1125
|
* delimiter.
|
@@ -1097,192 +1127,1342 @@ async_read_until(AsyncReadStream& s,
|
|
1097
1127
|
* @li An error occurred.
|
1098
1128
|
*
|
1099
1129
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1100
|
-
*
|
1101
|
-
*
|
1102
|
-
* asynchronous operation completes immediately. The program must ensure that
|
1103
|
-
* the stream performs no other read operations (such as async_read,
|
1104
|
-
* async_read_until, the stream's async_read_some function, or any other
|
1105
|
-
* composed operations that perform reads) until this operation completes.
|
1130
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1131
|
+
* contains the delimiter, the function returns immediately.
|
1106
1132
|
*
|
1107
1133
|
* @param s The stream from which the data is to be read. The type must support
|
1108
|
-
* the
|
1134
|
+
* the SyncReadStream concept.
|
1109
1135
|
*
|
1110
1136
|
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1111
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1112
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1113
|
-
* that they remain valid until the handler is called.
|
1114
1137
|
*
|
1115
|
-
* @param delim The delimiter
|
1138
|
+
* @param delim The delimiter character.
|
1116
1139
|
*
|
1117
|
-
* @param
|
1118
|
-
* Copies will be made of the handler as required. The function signature of the
|
1119
|
-
* handler must be:
|
1120
|
-
* @code void handler(
|
1121
|
-
* // Result of operation.
|
1122
|
-
* const boost::system::error_code& error,
|
1140
|
+
* @param ec Set to indicate what error occurred, if any.
|
1123
1141
|
*
|
1124
|
-
*
|
1125
|
-
*
|
1126
|
-
* // 0 if an error occurred.
|
1127
|
-
* std::size_t bytes_transferred
|
1128
|
-
* ); @endcode
|
1129
|
-
* Regardless of whether the asynchronous operation completes immediately or
|
1130
|
-
* not, the handler will not be invoked from within this function. Invocation of
|
1131
|
-
* the handler will be performed in a manner equivalent to using
|
1132
|
-
* boost::asio::io_context::post().
|
1142
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1143
|
+
* and including the delimiter. Returns 0 if an error occurred.
|
1133
1144
|
*
|
1134
|
-
* @note After a successful
|
1135
|
-
*
|
1136
|
-
*
|
1137
|
-
*
|
1145
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1146
|
+
* may contain additional data beyond the delimiter. An application will
|
1147
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1148
|
+
* read_until operation to examine.
|
1149
|
+
*/
|
1150
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1151
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1152
|
+
char delim, boost::system::error_code& ec,
|
1153
|
+
typename constraint<
|
1154
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1155
|
+
>::type = 0);
|
1156
|
+
|
1157
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1158
|
+
/// delimiter.
|
1159
|
+
/**
|
1160
|
+
* This function is used to read data into the specified dynamic buffer
|
1161
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1162
|
+
* delimiter. The call will block until one of the following conditions is
|
1163
|
+
* true:
|
1164
|
+
*
|
1165
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1166
|
+
* delimiter.
|
1167
|
+
*
|
1168
|
+
* @li An error occurred.
|
1169
|
+
*
|
1170
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1171
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1172
|
+
* contains the delimiter, the function returns immediately.
|
1173
|
+
*
|
1174
|
+
* @param s The stream from which the data is to be read. The type must support
|
1175
|
+
* the SyncReadStream concept.
|
1176
|
+
*
|
1177
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1178
|
+
*
|
1179
|
+
* @param delim The delimiter string.
|
1180
|
+
*
|
1181
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1182
|
+
* and including the delimiter.
|
1183
|
+
*
|
1184
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1185
|
+
* may contain additional data beyond the delimiter. An application will
|
1186
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1187
|
+
* read_until operation to examine.
|
1138
1188
|
*
|
1139
1189
|
* @par Example
|
1140
|
-
* To
|
1141
|
-
* encountered:
|
1190
|
+
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
1142
1191
|
* @code std::string data;
|
1143
|
-
*
|
1144
|
-
*
|
1145
|
-
*
|
1146
|
-
*
|
1147
|
-
*
|
1148
|
-
*
|
1149
|
-
* data.erase(0, n);
|
1150
|
-
* ...
|
1151
|
-
* }
|
1152
|
-
* }
|
1153
|
-
* ...
|
1154
|
-
* boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
|
1155
|
-
* After the @c async_read_until operation completes successfully, the string
|
1156
|
-
* @c data contains the delimiter:
|
1192
|
+
* std::size_t n = boost::asio::read_until(s,
|
1193
|
+
* boost::asio::dynamic_buffer(data), "\r\n");
|
1194
|
+
* std::string line = data.substr(0, n);
|
1195
|
+
* data.erase(0, n); @endcode
|
1196
|
+
* After the @c read_until operation completes successfully, the string @c data
|
1197
|
+
* contains the delimiter:
|
1157
1198
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1158
1199
|
* The call to @c substr then extracts the data up to and including the
|
1159
1200
|
* delimiter, so that the string @c line contains:
|
1160
1201
|
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1161
|
-
* After the call to @c erase, the remaining data is left in the
|
1162
|
-
*
|
1202
|
+
* After the call to @c erase, the remaining data is left in the buffer @c b as
|
1203
|
+
* follows:
|
1163
1204
|
* @code { 'd', 'e', ... } @endcode
|
1164
1205
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1165
|
-
* @c
|
1206
|
+
* @c read_until operation.
|
1166
1207
|
*/
|
1167
|
-
template <typename
|
1168
|
-
|
1169
|
-
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
1170
|
-
void (boost::system::error_code, std::size_t))
|
1171
|
-
async_read_until(AsyncReadStream& s,
|
1172
|
-
BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
|
1208
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1209
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1173
1210
|
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1174
|
-
|
1211
|
+
typename constraint<
|
1212
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1213
|
+
>::type = 0);
|
1175
1214
|
|
1176
|
-
|
1177
|
-
|
1178
|
-
|| defined(GENERATING_DOCUMENTATION)
|
1179
|
-
|
1180
|
-
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1181
|
-
/// until some part of its data matches a regular expression.
|
1215
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1216
|
+
/// delimiter.
|
1182
1217
|
/**
|
1183
|
-
* This function is used to
|
1184
|
-
*
|
1185
|
-
*
|
1186
|
-
*
|
1187
|
-
* following conditions is true:
|
1218
|
+
* This function is used to read data into the specified dynamic buffer
|
1219
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1220
|
+
* delimiter. The call will block until one of the following conditions is
|
1221
|
+
* true:
|
1188
1222
|
*
|
1189
|
-
* @li
|
1190
|
-
*
|
1223
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1224
|
+
* delimiter.
|
1191
1225
|
*
|
1192
1226
|
* @li An error occurred.
|
1193
1227
|
*
|
1194
1228
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1195
|
-
*
|
1196
|
-
* the
|
1197
|
-
* the regular expression, this asynchronous operation completes immediately.
|
1198
|
-
* The program must ensure that the stream performs no other read operations
|
1199
|
-
* (such as async_read, async_read_until, the stream's async_read_some
|
1200
|
-
* function, or any other composed operations that perform reads) until this
|
1201
|
-
* operation completes.
|
1229
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1230
|
+
* contains the delimiter, the function returns immediately.
|
1202
1231
|
*
|
1203
1232
|
* @param s The stream from which the data is to be read. The type must support
|
1204
|
-
* the
|
1233
|
+
* the SyncReadStream concept.
|
1205
1234
|
*
|
1206
1235
|
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1207
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1208
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1209
|
-
* that they remain valid until the handler is called.
|
1210
1236
|
*
|
1211
|
-
* @param
|
1237
|
+
* @param delim The delimiter string.
|
1212
1238
|
*
|
1213
|
-
* @param
|
1214
|
-
* Copies will be made of the handler as required. The function signature of the
|
1215
|
-
* handler must be:
|
1216
|
-
* @code void handler(
|
1217
|
-
* // Result of operation.
|
1218
|
-
* const boost::system::error_code& error,
|
1239
|
+
* @param ec Set to indicate what error occurred, if any.
|
1219
1240
|
*
|
1220
|
-
*
|
1221
|
-
*
|
1222
|
-
* // substring that matches the regular expression.
|
1223
|
-
* // 0 if an error occurred.
|
1224
|
-
* std::size_t bytes_transferred
|
1225
|
-
* ); @endcode
|
1226
|
-
* Regardless of whether the asynchronous operation completes immediately or
|
1227
|
-
* not, the handler will not be invoked from within this function. Invocation of
|
1228
|
-
* the handler will be performed in a manner equivalent to using
|
1229
|
-
* boost::asio::io_context::post().
|
1241
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1242
|
+
* and including the delimiter. Returns 0 if an error occurred.
|
1230
1243
|
*
|
1231
|
-
* @note After a successful
|
1244
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1245
|
+
* may contain additional data beyond the delimiter. An application will
|
1246
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1247
|
+
* read_until operation to examine.
|
1248
|
+
*/
|
1249
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1250
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1251
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
|
1252
|
+
typename constraint<
|
1253
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1254
|
+
>::type = 0);
|
1255
|
+
|
1256
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1257
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1258
|
+
|| defined(GENERATING_DOCUMENTATION)
|
1259
|
+
|
1260
|
+
/// Read data into a dynamic buffer sequence until some part of the data it
|
1261
|
+
/// contains matches a regular expression.
|
1262
|
+
/**
|
1263
|
+
* This function is used to read data into the specified dynamic buffer
|
1264
|
+
* sequence until the dynamic buffer sequence's get area contains some data
|
1265
|
+
* that matches a regular expression. The call will block until one of the
|
1266
|
+
* following conditions is true:
|
1267
|
+
*
|
1268
|
+
* @li A substring of the dynamic buffer sequence's get area matches the
|
1269
|
+
* regular expression.
|
1270
|
+
*
|
1271
|
+
* @li An error occurred.
|
1272
|
+
*
|
1273
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1274
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1275
|
+
* contains data that matches the regular expression, the function returns
|
1276
|
+
* immediately.
|
1277
|
+
*
|
1278
|
+
* @param s The stream from which the data is to be read. The type must support
|
1279
|
+
* the SyncReadStream concept.
|
1280
|
+
*
|
1281
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1282
|
+
*
|
1283
|
+
* @param expr The regular expression.
|
1284
|
+
*
|
1285
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1286
|
+
* and including the substring that matches the regular expression.
|
1287
|
+
*
|
1288
|
+
* @throws boost::system::system_error Thrown on failure.
|
1289
|
+
*
|
1290
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1291
|
+
* may contain additional data beyond that which matched the regular
|
1292
|
+
* expression. An application will typically leave that data in the dynamic
|
1293
|
+
* buffer sequence for a subsequent read_until operation to examine.
|
1294
|
+
*
|
1295
|
+
* @par Example
|
1296
|
+
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
1297
|
+
* @code std::string data;
|
1298
|
+
* std::size_t n = boost::asio::read_until(s,
|
1299
|
+
* boost::asio::dynamic_buffer(data), boost::regex("\r\n"));
|
1300
|
+
* std::string line = data.substr(0, n);
|
1301
|
+
* data.erase(0, n); @endcode
|
1302
|
+
* After the @c read_until operation completes successfully, the string @c data
|
1303
|
+
* contains the delimiter:
|
1304
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1305
|
+
* The call to @c substr then extracts the data up to and including the
|
1306
|
+
* delimiter, so that the string @c line contains:
|
1307
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1308
|
+
* After the call to @c erase, the remaining data is left in the buffer @c b as
|
1309
|
+
* follows:
|
1310
|
+
* @code { 'd', 'e', ... } @endcode
|
1311
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1312
|
+
* @c read_until operation.
|
1313
|
+
*/
|
1314
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1315
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1316
|
+
const boost::regex& expr,
|
1317
|
+
typename constraint<
|
1318
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1319
|
+
>::type = 0);
|
1320
|
+
|
1321
|
+
/// Read data into a dynamic buffer sequence until some part of the data it
|
1322
|
+
/// contains matches a regular expression.
|
1323
|
+
/**
|
1324
|
+
* This function is used to read data into the specified dynamic buffer
|
1325
|
+
* sequence until the dynamic buffer sequence's get area contains some data
|
1326
|
+
* that matches a regular expression. The call will block until one of the
|
1327
|
+
* following conditions is true:
|
1328
|
+
*
|
1329
|
+
* @li A substring of the dynamic buffer sequence's get area matches the
|
1330
|
+
* regular expression.
|
1331
|
+
*
|
1332
|
+
* @li An error occurred.
|
1333
|
+
*
|
1334
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1335
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1336
|
+
* contains data that matches the regular expression, the function returns
|
1337
|
+
* immediately.
|
1338
|
+
*
|
1339
|
+
* @param s The stream from which the data is to be read. The type must support
|
1340
|
+
* the SyncReadStream concept.
|
1341
|
+
*
|
1342
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1343
|
+
*
|
1344
|
+
* @param expr The regular expression.
|
1345
|
+
*
|
1346
|
+
* @param ec Set to indicate what error occurred, if any.
|
1347
|
+
*
|
1348
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1349
|
+
* and including the substring that matches the regular expression. Returns 0
|
1350
|
+
* if an error occurred.
|
1351
|
+
*
|
1352
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1353
|
+
* may contain additional data beyond that which matched the regular
|
1354
|
+
* expression. An application will typically leave that data in the dynamic
|
1355
|
+
* buffer sequence for a subsequent read_until operation to examine.
|
1356
|
+
*/
|
1357
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1358
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1359
|
+
const boost::regex& expr, boost::system::error_code& ec,
|
1360
|
+
typename constraint<
|
1361
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1362
|
+
>::type = 0);
|
1363
|
+
|
1364
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1365
|
+
// || defined(GENERATING_DOCUMENTATION)
|
1366
|
+
|
1367
|
+
/// Read data into a dynamic buffer sequence until a function object indicates a
|
1368
|
+
/// match.
|
1369
|
+
|
1370
|
+
/**
|
1371
|
+
* This function is used to read data into the specified dynamic buffer
|
1372
|
+
* sequence until a user-defined match condition function object, when applied
|
1373
|
+
* to the data contained in the dynamic buffer sequence, indicates a successful
|
1374
|
+
* match. The call will block until one of the following conditions is true:
|
1375
|
+
*
|
1376
|
+
* @li The match condition function object returns a std::pair where the second
|
1377
|
+
* element evaluates to true.
|
1378
|
+
*
|
1379
|
+
* @li An error occurred.
|
1380
|
+
*
|
1381
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1382
|
+
* read_some function. If the match condition function object already indicates
|
1383
|
+
* a match, the function returns immediately.
|
1384
|
+
*
|
1385
|
+
* @param s The stream from which the data is to be read. The type must support
|
1386
|
+
* the SyncReadStream concept.
|
1387
|
+
*
|
1388
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1389
|
+
*
|
1390
|
+
* @param match_condition The function object to be called to determine whether
|
1391
|
+
* a match exists. The signature of the function object must be:
|
1392
|
+
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1393
|
+
* @endcode
|
1394
|
+
* where @c iterator represents the type:
|
1395
|
+
* @code buffers_iterator<typename DynamicBuffer_v2::const_buffers_type>
|
1396
|
+
* @endcode
|
1397
|
+
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1398
|
+
* scanned to determine whether there is a match. The @c first member of the
|
1399
|
+
* return value is an iterator marking one-past-the-end of the bytes that have
|
1400
|
+
* been consumed by the match function. This iterator is used to calculate the
|
1401
|
+
* @c begin parameter for any subsequent invocation of the match condition. The
|
1402
|
+
* @c second member of the return value is true if a match has been found, false
|
1403
|
+
* otherwise.
|
1404
|
+
*
|
1405
|
+
* @returns The number of bytes in the dynamic_buffer's get area that
|
1406
|
+
* have been fully consumed by the match function.
|
1407
|
+
*
|
1408
|
+
* @throws boost::system::system_error Thrown on failure.
|
1409
|
+
*
|
1410
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1411
|
+
* may contain additional data beyond that which matched the function object.
|
1412
|
+
* An application will typically leave that data in the dynamic buffer sequence
|
1413
|
+
* for a subsequent read_until operation to examine.
|
1414
|
+
|
1415
|
+
* @note The default implementation of the @c is_match_condition type trait
|
1416
|
+
* evaluates to true for function pointers and function objects with a
|
1417
|
+
* @c result_type typedef. It must be specialised for other user-defined
|
1418
|
+
* function objects.
|
1419
|
+
*
|
1420
|
+
* @par Examples
|
1421
|
+
* To read data into a dynamic buffer sequence until whitespace is encountered:
|
1422
|
+
* @code typedef boost::asio::buffers_iterator<
|
1423
|
+
* boost::asio::const_buffers_1> iterator;
|
1424
|
+
*
|
1425
|
+
* std::pair<iterator, bool>
|
1426
|
+
* match_whitespace(iterator begin, iterator end)
|
1427
|
+
* {
|
1428
|
+
* iterator i = begin;
|
1429
|
+
* while (i != end)
|
1430
|
+
* if (std::isspace(*i++))
|
1431
|
+
* return std::make_pair(i, true);
|
1432
|
+
* return std::make_pair(i, false);
|
1433
|
+
* }
|
1434
|
+
* ...
|
1435
|
+
* std::string data;
|
1436
|
+
* boost::asio::read_until(s, data, match_whitespace);
|
1437
|
+
* @endcode
|
1438
|
+
*
|
1439
|
+
* To read data into a @c std::string until a matching character is found:
|
1440
|
+
* @code class match_char
|
1441
|
+
* {
|
1442
|
+
* public:
|
1443
|
+
* explicit match_char(char c) : c_(c) {}
|
1444
|
+
*
|
1445
|
+
* template <typename Iterator>
|
1446
|
+
* std::pair<Iterator, bool> operator()(
|
1447
|
+
* Iterator begin, Iterator end) const
|
1448
|
+
* {
|
1449
|
+
* Iterator i = begin;
|
1450
|
+
* while (i != end)
|
1451
|
+
* if (c_ == *i++)
|
1452
|
+
* return std::make_pair(i, true);
|
1453
|
+
* return std::make_pair(i, false);
|
1454
|
+
* }
|
1455
|
+
*
|
1456
|
+
* private:
|
1457
|
+
* char c_;
|
1458
|
+
* };
|
1459
|
+
*
|
1460
|
+
* namespace asio {
|
1461
|
+
* template <> struct is_match_condition<match_char>
|
1462
|
+
* : public boost::true_type {};
|
1463
|
+
* } // namespace asio
|
1464
|
+
* ...
|
1465
|
+
* std::string data;
|
1466
|
+
* boost::asio::read_until(s, data, match_char('a'));
|
1467
|
+
* @endcode
|
1468
|
+
*/
|
1469
|
+
template <typename SyncReadStream,
|
1470
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
1471
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1472
|
+
MatchCondition match_condition,
|
1473
|
+
typename constraint<
|
1474
|
+
is_match_condition<MatchCondition>::value
|
1475
|
+
>::type = 0,
|
1476
|
+
typename constraint<
|
1477
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1478
|
+
>::type = 0);
|
1479
|
+
|
1480
|
+
/// Read data into a dynamic buffer sequence until a function object indicates a
|
1481
|
+
/// match.
|
1482
|
+
/**
|
1483
|
+
* This function is used to read data into the specified dynamic buffer
|
1484
|
+
* sequence until a user-defined match condition function object, when applied
|
1485
|
+
* to the data contained in the dynamic buffer sequence, indicates a successful
|
1486
|
+
* match. The call will block until one of the following conditions is true:
|
1487
|
+
*
|
1488
|
+
* @li The match condition function object returns a std::pair where the second
|
1489
|
+
* element evaluates to true.
|
1490
|
+
*
|
1491
|
+
* @li An error occurred.
|
1492
|
+
*
|
1493
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1494
|
+
* read_some function. If the match condition function object already indicates
|
1495
|
+
* a match, the function returns immediately.
|
1496
|
+
*
|
1497
|
+
* @param s The stream from which the data is to be read. The type must support
|
1498
|
+
* the SyncReadStream concept.
|
1499
|
+
*
|
1500
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1501
|
+
*
|
1502
|
+
* @param match_condition The function object to be called to determine whether
|
1503
|
+
* a match exists. The signature of the function object must be:
|
1504
|
+
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1505
|
+
* @endcode
|
1506
|
+
* where @c iterator represents the type:
|
1507
|
+
* @code buffers_iterator<DynamicBuffer_v2::const_buffers_type>
|
1508
|
+
* @endcode
|
1509
|
+
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1510
|
+
* scanned to determine whether there is a match. The @c first member of the
|
1511
|
+
* return value is an iterator marking one-past-the-end of the bytes that have
|
1512
|
+
* been consumed by the match function. This iterator is used to calculate the
|
1513
|
+
* @c begin parameter for any subsequent invocation of the match condition. The
|
1514
|
+
* @c second member of the return value is true if a match has been found, false
|
1515
|
+
* otherwise.
|
1516
|
+
*
|
1517
|
+
* @param ec Set to indicate what error occurred, if any.
|
1518
|
+
*
|
1519
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area that
|
1520
|
+
* have been fully consumed by the match function. Returns 0 if an error
|
1521
|
+
* occurred.
|
1522
|
+
*
|
1523
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1524
|
+
* may contain additional data beyond that which matched the function object.
|
1525
|
+
* An application will typically leave that data in the dynamic buffer sequence
|
1526
|
+
* for a subsequent read_until operation to examine.
|
1527
|
+
*
|
1528
|
+
* @note The default implementation of the @c is_match_condition type trait
|
1529
|
+
* evaluates to true for function pointers and function objects with a
|
1530
|
+
* @c result_type typedef. It must be specialised for other user-defined
|
1531
|
+
* function objects.
|
1532
|
+
*/
|
1533
|
+
template <typename SyncReadStream,
|
1534
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
1535
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1536
|
+
MatchCondition match_condition, boost::system::error_code& ec,
|
1537
|
+
typename constraint<
|
1538
|
+
is_match_condition<MatchCondition>::value
|
1539
|
+
>::type = 0,
|
1540
|
+
typename constraint<
|
1541
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1542
|
+
>::type = 0);
|
1543
|
+
|
1544
|
+
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1545
|
+
|
1546
|
+
/*@}*/
|
1547
|
+
/**
|
1548
|
+
* @defgroup async_read_until boost::asio::async_read_until
|
1549
|
+
*
|
1550
|
+
* @brief The @c async_read_until function is a composed asynchronous operation
|
1551
|
+
* that reads data into a dynamic buffer sequence, or into a streambuf, until
|
1552
|
+
* it contains a delimiter, matches a regular expression, or a function object
|
1553
|
+
* indicates a match.
|
1554
|
+
*/
|
1555
|
+
/*@{*/
|
1556
|
+
|
1557
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
1558
|
+
|
1559
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1560
|
+
/// until it contains a specified delimiter.
|
1561
|
+
/**
|
1562
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1563
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
1564
|
+
* specified delimiter. It is an initiating function for an @ref
|
1565
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
1566
|
+
* operation will continue until one of the following conditions is true:
|
1567
|
+
*
|
1568
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1569
|
+
* delimiter.
|
1570
|
+
*
|
1571
|
+
* @li An error occurred.
|
1572
|
+
*
|
1573
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1574
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1575
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
1576
|
+
* asynchronous operation completes immediately. The program must ensure that
|
1577
|
+
* the stream performs no other read operations (such as async_read,
|
1578
|
+
* async_read_until, the stream's async_read_some function, or any other
|
1579
|
+
* composed operations that perform reads) until this operation completes.
|
1580
|
+
*
|
1581
|
+
* @param s The stream from which the data is to be read. The type must support
|
1582
|
+
* the AsyncReadStream concept.
|
1583
|
+
*
|
1584
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1585
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1586
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1587
|
+
* that they remain valid until the completion handler is called.
|
1588
|
+
*
|
1589
|
+
* @param delim The delimiter character.
|
1590
|
+
*
|
1591
|
+
* @param token The @ref completion_token that will be used to produce a
|
1592
|
+
* completion handler, which will be called when the read completes.
|
1593
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1594
|
+
* @ref yield_context, or a function object with the correct completion
|
1595
|
+
* signature. The function signature of the completion handler must be:
|
1596
|
+
* @code void handler(
|
1597
|
+
* // Result of operation.
|
1598
|
+
* const boost::system::error_code& error,
|
1599
|
+
*
|
1600
|
+
* // The number of bytes in the dynamic buffer sequence's
|
1601
|
+
* // get area up to and including the delimiter.
|
1602
|
+
* std::size_t bytes_transferred
|
1603
|
+
* ); @endcode
|
1604
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1605
|
+
* not, the completion handler will not be invoked from within this function.
|
1606
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1607
|
+
* manner equivalent to using boost::asio::post().
|
1608
|
+
*
|
1609
|
+
* @par Completion Signature
|
1610
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1611
|
+
*
|
1612
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1613
|
+
* sequence may contain additional data beyond the delimiter. An application
|
1614
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
1615
|
+
* subsequent async_read_until operation to examine.
|
1616
|
+
*
|
1617
|
+
* @par Example
|
1618
|
+
* To asynchronously read data into a @c std::string until a newline is
|
1619
|
+
* encountered:
|
1620
|
+
* @code std::string data;
|
1621
|
+
* ...
|
1622
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
1623
|
+
* {
|
1624
|
+
* if (!e)
|
1625
|
+
* {
|
1626
|
+
* std::string line = data.substr(0, n);
|
1627
|
+
* data.erase(0, n);
|
1628
|
+
* ...
|
1629
|
+
* }
|
1630
|
+
* }
|
1631
|
+
* ...
|
1632
|
+
* boost::asio::async_read_until(s, data, '\n', handler); @endcode
|
1633
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
1634
|
+
* @c data contains the delimiter:
|
1635
|
+
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
1636
|
+
* The call to @c substr then extracts the data up to and including the
|
1637
|
+
* delimiter, so that the string @c line contains:
|
1638
|
+
* @code { 'a', 'b', ..., 'c', '\n' } @endcode
|
1639
|
+
* After the call to @c erase, the remaining data is left in the buffer @c data
|
1640
|
+
* as follows:
|
1641
|
+
* @code { 'd', 'e', ... } @endcode
|
1642
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1643
|
+
* @c async_read_until operation.
|
1644
|
+
*
|
1645
|
+
* @par Per-Operation Cancellation
|
1646
|
+
* This asynchronous operation supports cancellation for the following
|
1647
|
+
* boost::asio::cancellation_type values:
|
1648
|
+
*
|
1649
|
+
* @li @c cancellation_type::terminal
|
1650
|
+
*
|
1651
|
+
* @li @c cancellation_type::partial
|
1652
|
+
*
|
1653
|
+
* if they are also supported by the @c AsyncReadStream type's
|
1654
|
+
* @c async_read_some operation.
|
1655
|
+
*/
|
1656
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1657
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1658
|
+
std::size_t)) ReadToken
|
1659
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
1660
|
+
typename AsyncReadStream::executor_type)>
|
1661
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1662
|
+
void (boost::system::error_code, std::size_t))
|
1663
|
+
async_read_until(AsyncReadStream& s,
|
1664
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim,
|
1665
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
1666
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
1667
|
+
typename AsyncReadStream::executor_type),
|
1668
|
+
typename constraint<
|
1669
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
1670
|
+
>::type = 0,
|
1671
|
+
typename constraint<
|
1672
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
1673
|
+
>::type = 0)
|
1674
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1675
|
+
async_initiate<ReadToken,
|
1676
|
+
void (boost::system::error_code, std::size_t)>(
|
1677
|
+
declval<detail::initiate_async_read_until_delim_v1<AsyncReadStream> >(),
|
1678
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), delim)));
|
1679
|
+
|
1680
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1681
|
+
/// until it contains a specified delimiter.
|
1682
|
+
/**
|
1683
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1684
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
1685
|
+
* specified delimiter. It is an initiating function for an @ref
|
1686
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
1687
|
+
* operation will continue until one of the following conditions is true:
|
1688
|
+
*
|
1689
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1690
|
+
* delimiter.
|
1691
|
+
*
|
1692
|
+
* @li An error occurred.
|
1693
|
+
*
|
1694
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1695
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1696
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
1697
|
+
* asynchronous operation completes immediately. The program must ensure that
|
1698
|
+
* the stream performs no other read operations (such as async_read,
|
1699
|
+
* async_read_until, the stream's async_read_some function, or any other
|
1700
|
+
* composed operations that perform reads) until this operation completes.
|
1701
|
+
*
|
1702
|
+
* @param s The stream from which the data is to be read. The type must support
|
1703
|
+
* the AsyncReadStream concept.
|
1704
|
+
*
|
1705
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1706
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1707
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1708
|
+
* that they remain valid until the completion handler is called.
|
1709
|
+
*
|
1710
|
+
* @param delim The delimiter string.
|
1711
|
+
*
|
1712
|
+
* @param token The @ref completion_token that will be used to produce a
|
1713
|
+
* completion handler, which will be called when the read completes.
|
1714
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1715
|
+
* @ref yield_context, or a function object with the correct completion
|
1716
|
+
* signature. The function signature of the completion handler must be:
|
1717
|
+
* @code void handler(
|
1718
|
+
* // Result of operation.
|
1719
|
+
* const boost::system::error_code& error,
|
1720
|
+
*
|
1721
|
+
* // The number of bytes in the dynamic buffer sequence's
|
1722
|
+
* // get area up to and including the delimiter.
|
1723
|
+
* std::size_t bytes_transferred
|
1724
|
+
* ); @endcode
|
1725
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1726
|
+
* not, the completion handler will not be invoked from within this function.
|
1727
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1728
|
+
* manner equivalent to using boost::asio::post().
|
1729
|
+
*
|
1730
|
+
* @par Completion Signature
|
1731
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1732
|
+
*
|
1733
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1734
|
+
* sequence may contain additional data beyond the delimiter. An application
|
1735
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
1736
|
+
* subsequent async_read_until operation to examine.
|
1737
|
+
*
|
1738
|
+
* @par Example
|
1739
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1740
|
+
* encountered:
|
1741
|
+
* @code std::string data;
|
1742
|
+
* ...
|
1743
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
1744
|
+
* {
|
1745
|
+
* if (!e)
|
1746
|
+
* {
|
1747
|
+
* std::string line = data.substr(0, n);
|
1748
|
+
* data.erase(0, n);
|
1749
|
+
* ...
|
1750
|
+
* }
|
1751
|
+
* }
|
1752
|
+
* ...
|
1753
|
+
* boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
|
1754
|
+
* After the @c async_read_until operation completes successfully, the string
|
1755
|
+
* @c data contains the delimiter:
|
1756
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1757
|
+
* The call to @c substr then extracts the data up to and including the
|
1758
|
+
* delimiter, so that the string @c line contains:
|
1759
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1760
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
1761
|
+
* as follows:
|
1762
|
+
* @code { 'd', 'e', ... } @endcode
|
1763
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1764
|
+
* @c async_read_until operation.
|
1765
|
+
*
|
1766
|
+
* @par Per-Operation Cancellation
|
1767
|
+
* This asynchronous operation supports cancellation for the following
|
1768
|
+
* boost::asio::cancellation_type values:
|
1769
|
+
*
|
1770
|
+
* @li @c cancellation_type::terminal
|
1771
|
+
*
|
1772
|
+
* @li @c cancellation_type::partial
|
1773
|
+
*
|
1774
|
+
* if they are also supported by the @c AsyncReadStream type's
|
1775
|
+
* @c async_read_some operation.
|
1776
|
+
*/
|
1777
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1778
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1779
|
+
std::size_t)) ReadToken
|
1780
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
1781
|
+
typename AsyncReadStream::executor_type)>
|
1782
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1783
|
+
void (boost::system::error_code, std::size_t))
|
1784
|
+
async_read_until(AsyncReadStream& s,
|
1785
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
1786
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1787
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
1788
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
1789
|
+
typename AsyncReadStream::executor_type),
|
1790
|
+
typename constraint<
|
1791
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
1792
|
+
>::type = 0,
|
1793
|
+
typename constraint<
|
1794
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
1795
|
+
>::type = 0)
|
1796
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1797
|
+
async_initiate<ReadToken,
|
1798
|
+
void (boost::system::error_code, std::size_t)>(
|
1799
|
+
declval<detail::initiate_async_read_until_delim_string_v1<
|
1800
|
+
AsyncReadStream> >(),
|
1801
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
|
1802
|
+
static_cast<std::string>(delim))));
|
1803
|
+
|
1804
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1805
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1806
|
+
|| defined(GENERATING_DOCUMENTATION)
|
1807
|
+
|
1808
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1809
|
+
/// until some part of its data matches a regular expression.
|
1810
|
+
/**
|
1811
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1812
|
+
* buffer sequence until the dynamic buffer sequence's get area contains some
|
1813
|
+
* data that matches a regular expression. It is an initiating function for an
|
1814
|
+
* @ref asynchronous_operation, and always returns immediately. The
|
1815
|
+
* asynchronous operation will continue until one of the following conditions
|
1816
|
+
* is true:
|
1817
|
+
*
|
1818
|
+
* @li A substring of the dynamic buffer sequence's get area matches the regular
|
1819
|
+
* expression.
|
1820
|
+
*
|
1821
|
+
* @li An error occurred.
|
1822
|
+
*
|
1823
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1824
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1825
|
+
* the dynamic buffer sequence's get area already contains data that matches
|
1826
|
+
* the regular expression, this asynchronous operation completes immediately.
|
1827
|
+
* The program must ensure that the stream performs no other read operations
|
1828
|
+
* (such as async_read, async_read_until, the stream's async_read_some
|
1829
|
+
* function, or any other composed operations that perform reads) until this
|
1830
|
+
* operation completes.
|
1831
|
+
*
|
1832
|
+
* @param s The stream from which the data is to be read. The type must support
|
1833
|
+
* the AsyncReadStream concept.
|
1834
|
+
*
|
1835
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1836
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1837
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1838
|
+
* that they remain valid until the completion handler is called.
|
1839
|
+
*
|
1840
|
+
* @param expr The regular expression.
|
1841
|
+
*
|
1842
|
+
* @param token The @ref completion_token that will be used to produce a
|
1843
|
+
* completion handler, which will be called when the read completes.
|
1844
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1845
|
+
* @ref yield_context, or a function object with the correct completion
|
1846
|
+
* signature. The function signature of the completion handler must be:
|
1847
|
+
* @code void handler(
|
1848
|
+
* // Result of operation.
|
1849
|
+
* const boost::system::error_code& error,
|
1850
|
+
*
|
1851
|
+
* // The number of bytes in the dynamic buffer
|
1852
|
+
* // sequence's get area up to and including the
|
1853
|
+
* // substring that matches the regular expression.
|
1854
|
+
* // 0 if an error occurred.
|
1855
|
+
* std::size_t bytes_transferred
|
1856
|
+
* ); @endcode
|
1857
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1858
|
+
* not, the completion handler will not be invoked from within this function.
|
1859
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1860
|
+
* manner equivalent to using boost::asio::post().
|
1861
|
+
*
|
1862
|
+
* @par Completion Signature
|
1863
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1864
|
+
*
|
1865
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1232
1866
|
* sequence may contain additional data beyond that which matched the regular
|
1233
1867
|
* expression. An application will typically leave that data in the dynamic
|
1234
1868
|
* buffer sequence for a subsequent async_read_until operation to examine.
|
1235
1869
|
*
|
1236
1870
|
* @par Example
|
1237
|
-
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1871
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1872
|
+
* encountered:
|
1873
|
+
* @code std::string data;
|
1874
|
+
* ...
|
1875
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
1876
|
+
* {
|
1877
|
+
* if (!e)
|
1878
|
+
* {
|
1879
|
+
* std::string line = data.substr(0, n);
|
1880
|
+
* data.erase(0, n);
|
1881
|
+
* ...
|
1882
|
+
* }
|
1883
|
+
* }
|
1884
|
+
* ...
|
1885
|
+
* boost::asio::async_read_until(s, data,
|
1886
|
+
* boost::regex("\r\n"), handler); @endcode
|
1887
|
+
* After the @c async_read_until operation completes successfully, the string
|
1888
|
+
* @c data contains the data which matched the regular expression:
|
1889
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1890
|
+
* The call to @c substr then extracts the data up to and including the match,
|
1891
|
+
* so that the string @c line contains:
|
1892
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1893
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
1894
|
+
* as follows:
|
1895
|
+
* @code { 'd', 'e', ... } @endcode
|
1896
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1897
|
+
* @c async_read_until operation.
|
1898
|
+
*
|
1899
|
+
* @par Per-Operation Cancellation
|
1900
|
+
* This asynchronous operation supports cancellation for the following
|
1901
|
+
* boost::asio::cancellation_type values:
|
1902
|
+
*
|
1903
|
+
* @li @c cancellation_type::terminal
|
1904
|
+
*
|
1905
|
+
* @li @c cancellation_type::partial
|
1906
|
+
*
|
1907
|
+
* if they are also supported by the @c AsyncReadStream type's
|
1908
|
+
* @c async_read_some operation.
|
1909
|
+
*/
|
1910
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1911
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1912
|
+
std::size_t)) ReadToken
|
1913
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
1914
|
+
typename AsyncReadStream::executor_type)>
|
1915
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1916
|
+
void (boost::system::error_code, std::size_t))
|
1917
|
+
async_read_until(AsyncReadStream& s,
|
1918
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
1919
|
+
const boost::regex& expr,
|
1920
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
1921
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
1922
|
+
typename AsyncReadStream::executor_type),
|
1923
|
+
typename constraint<
|
1924
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
1925
|
+
>::type = 0,
|
1926
|
+
typename constraint<
|
1927
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
1928
|
+
>::type = 0)
|
1929
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
1930
|
+
async_initiate<ReadToken,
|
1931
|
+
void (boost::system::error_code, std::size_t)>(
|
1932
|
+
declval<detail::initiate_async_read_until_expr_v1<AsyncReadStream> >(),
|
1933
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), expr)));
|
1934
|
+
|
1935
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1936
|
+
// || defined(GENERATING_DOCUMENTATION)
|
1937
|
+
|
1938
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1939
|
+
/// until a function object indicates a match.
|
1940
|
+
/**
|
1941
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1942
|
+
* buffer sequence until a user-defined match condition function object, when
|
1943
|
+
* applied to the data contained in the dynamic buffer sequence, indicates a
|
1944
|
+
* successful match. It is an initiating function for an @ref
|
1945
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
1946
|
+
* operation will continue until one of the following conditions is true:
|
1947
|
+
*
|
1948
|
+
* @li The match condition function object returns a std::pair where the second
|
1949
|
+
* element evaluates to true.
|
1950
|
+
*
|
1951
|
+
* @li An error occurred.
|
1952
|
+
*
|
1953
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1954
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1955
|
+
* the match condition function object already indicates a match, this
|
1956
|
+
* asynchronous operation completes immediately. The program must ensure that
|
1957
|
+
* the stream performs no other read operations (such as async_read,
|
1958
|
+
* async_read_until, the stream's async_read_some function, or any other
|
1959
|
+
* composed operations that perform reads) until this operation completes.
|
1960
|
+
*
|
1961
|
+
* @param s The stream from which the data is to be read. The type must support
|
1962
|
+
* the AsyncReadStream concept.
|
1963
|
+
*
|
1964
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1965
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1966
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1967
|
+
* that they remain valid until the completion handler is called.
|
1968
|
+
*
|
1969
|
+
* @param match_condition The function object to be called to determine whether
|
1970
|
+
* a match exists. The signature of the function object must be:
|
1971
|
+
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1972
|
+
* @endcode
|
1973
|
+
* where @c iterator represents the type:
|
1974
|
+
* @code buffers_iterator<typename DynamicBuffer_v1::const_buffers_type>
|
1975
|
+
* @endcode
|
1976
|
+
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1977
|
+
* scanned to determine whether there is a match. The @c first member of the
|
1978
|
+
* return value is an iterator marking one-past-the-end of the bytes that have
|
1979
|
+
* been consumed by the match function. This iterator is used to calculate the
|
1980
|
+
* @c begin parameter for any subsequent invocation of the match condition. The
|
1981
|
+
* @c second member of the return value is true if a match has been found, false
|
1982
|
+
* otherwise.
|
1983
|
+
*
|
1984
|
+
* @param token The @ref completion_token that will be used to produce a
|
1985
|
+
* completion handler, which will be called when the read completes.
|
1986
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1987
|
+
* @ref yield_context, or a function object with the correct completion
|
1988
|
+
* signature. The function signature of the completion handler must be:
|
1989
|
+
* @code void handler(
|
1990
|
+
* // Result of operation.
|
1991
|
+
* const boost::system::error_code& error,
|
1992
|
+
*
|
1993
|
+
* // The number of bytes in the dynamic buffer sequence's
|
1994
|
+
* // get area that have been fully consumed by the match
|
1995
|
+
* // function. O if an error occurred.
|
1996
|
+
* std::size_t bytes_transferred
|
1997
|
+
* ); @endcode
|
1998
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1999
|
+
* not, the completion handler will not be invoked from within this function.
|
2000
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2001
|
+
* manner equivalent to using boost::asio::post().
|
2002
|
+
*
|
2003
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2004
|
+
* sequence may contain additional data beyond that which matched the function
|
2005
|
+
* object. An application will typically leave that data in the dynamic buffer
|
2006
|
+
* sequence for a subsequent async_read_until operation to examine.
|
2007
|
+
*
|
2008
|
+
* @par Completion Signature
|
2009
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2010
|
+
*
|
2011
|
+
* @note The default implementation of the @c is_match_condition type trait
|
2012
|
+
* evaluates to true for function pointers and function objects with a
|
2013
|
+
* @c result_type typedef. It must be specialised for other user-defined
|
2014
|
+
* function objects.
|
2015
|
+
*
|
2016
|
+
* @par Examples
|
2017
|
+
* To asynchronously read data into a @c std::string until whitespace is
|
2018
|
+
* encountered:
|
2019
|
+
* @code typedef boost::asio::buffers_iterator<
|
2020
|
+
* boost::asio::const_buffers_1> iterator;
|
2021
|
+
*
|
2022
|
+
* std::pair<iterator, bool>
|
2023
|
+
* match_whitespace(iterator begin, iterator end)
|
2024
|
+
* {
|
2025
|
+
* iterator i = begin;
|
2026
|
+
* while (i != end)
|
2027
|
+
* if (std::isspace(*i++))
|
2028
|
+
* return std::make_pair(i, true);
|
2029
|
+
* return std::make_pair(i, false);
|
2030
|
+
* }
|
2031
|
+
* ...
|
2032
|
+
* void handler(const boost::system::error_code& e, std::size_t size);
|
2033
|
+
* ...
|
2034
|
+
* std::string data;
|
2035
|
+
* boost::asio::async_read_until(s, data, match_whitespace, handler);
|
2036
|
+
* @endcode
|
2037
|
+
*
|
2038
|
+
* To asynchronously read data into a @c std::string until a matching character
|
2039
|
+
* is found:
|
2040
|
+
* @code class match_char
|
2041
|
+
* {
|
2042
|
+
* public:
|
2043
|
+
* explicit match_char(char c) : c_(c) {}
|
2044
|
+
*
|
2045
|
+
* template <typename Iterator>
|
2046
|
+
* std::pair<Iterator, bool> operator()(
|
2047
|
+
* Iterator begin, Iterator end) const
|
2048
|
+
* {
|
2049
|
+
* Iterator i = begin;
|
2050
|
+
* while (i != end)
|
2051
|
+
* if (c_ == *i++)
|
2052
|
+
* return std::make_pair(i, true);
|
2053
|
+
* return std::make_pair(i, false);
|
2054
|
+
* }
|
2055
|
+
*
|
2056
|
+
* private:
|
2057
|
+
* char c_;
|
2058
|
+
* };
|
2059
|
+
*
|
2060
|
+
* namespace asio {
|
2061
|
+
* template <> struct is_match_condition<match_char>
|
2062
|
+
* : public boost::true_type {};
|
2063
|
+
* } // namespace asio
|
2064
|
+
* ...
|
2065
|
+
* void handler(const boost::system::error_code& e, std::size_t size);
|
2066
|
+
* ...
|
2067
|
+
* std::string data;
|
2068
|
+
* boost::asio::async_read_until(s, data, match_char('a'), handler);
|
2069
|
+
* @endcode
|
2070
|
+
*
|
2071
|
+
* @par Per-Operation Cancellation
|
2072
|
+
* This asynchronous operation supports cancellation for the following
|
2073
|
+
* boost::asio::cancellation_type values:
|
2074
|
+
*
|
2075
|
+
* @li @c cancellation_type::terminal
|
2076
|
+
*
|
2077
|
+
* @li @c cancellation_type::partial
|
2078
|
+
*
|
2079
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2080
|
+
* @c async_read_some operation.
|
2081
|
+
*/
|
2082
|
+
template <typename AsyncReadStream,
|
2083
|
+
typename DynamicBuffer_v1, typename MatchCondition,
|
2084
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2085
|
+
std::size_t)) ReadToken
|
2086
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2087
|
+
typename AsyncReadStream::executor_type)>
|
2088
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
2089
|
+
void (boost::system::error_code, std::size_t))
|
2090
|
+
async_read_until(AsyncReadStream& s,
|
2091
|
+
BOOST_ASIO_MOVE_ARG(DynamicBuffer_v1) buffers,
|
2092
|
+
MatchCondition match_condition,
|
2093
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2094
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2095
|
+
typename AsyncReadStream::executor_type),
|
2096
|
+
typename constraint<
|
2097
|
+
is_match_condition<MatchCondition>::value
|
2098
|
+
>::type = 0,
|
2099
|
+
typename constraint<
|
2100
|
+
is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value
|
2101
|
+
>::type = 0,
|
2102
|
+
typename constraint<
|
2103
|
+
!is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value
|
2104
|
+
>::type = 0)
|
2105
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2106
|
+
async_initiate<ReadToken,
|
2107
|
+
void (boost::system::error_code, std::size_t)>(
|
2108
|
+
declval<detail::initiate_async_read_until_match_v1<AsyncReadStream> >(),
|
2109
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers),
|
2110
|
+
match_condition)));
|
2111
|
+
|
2112
|
+
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
2113
|
+
|
2114
|
+
/// Start an asynchronous operation to read data into a streambuf until it
|
2115
|
+
/// contains a specified delimiter.
|
2116
|
+
/**
|
2117
|
+
* This function is used to asynchronously read data into the specified
|
2118
|
+
* streambuf until the streambuf's get area contains the specified delimiter.
|
2119
|
+
* It is an initiating function for an @ref asynchronous_operation, and always
|
2120
|
+
* returns immediately. The asynchronous operation will continue until one of
|
2121
|
+
* the following conditions is true:
|
2122
|
+
*
|
2123
|
+
* @li The get area of the streambuf contains the specified delimiter.
|
2124
|
+
*
|
2125
|
+
* @li An error occurred.
|
2126
|
+
*
|
2127
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
2128
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2129
|
+
* the streambuf's get area already contains the delimiter, this asynchronous
|
2130
|
+
* operation completes immediately. The program must ensure that the stream
|
2131
|
+
* performs no other read operations (such as async_read, async_read_until, the
|
2132
|
+
* stream's async_read_some function, or any other composed operations that
|
2133
|
+
* perform reads) until this operation completes.
|
2134
|
+
*
|
2135
|
+
* @param s The stream from which the data is to be read. The type must support
|
2136
|
+
* the AsyncReadStream concept.
|
2137
|
+
*
|
2138
|
+
* @param b A streambuf object into which the data will be read. Ownership of
|
2139
|
+
* the streambuf is retained by the caller, which must guarantee that it remains
|
2140
|
+
* valid until the completion handler is called.
|
2141
|
+
*
|
2142
|
+
* @param delim The delimiter character.
|
2143
|
+
*
|
2144
|
+
* @param token The @ref completion_token that will be used to produce a
|
2145
|
+
* completion handler, which will be called when the read completes.
|
2146
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2147
|
+
* @ref yield_context, or a function object with the correct completion
|
2148
|
+
* signature. The function signature of the completion handler must be:
|
2149
|
+
* @code void handler(
|
2150
|
+
* // Result of operation.
|
2151
|
+
* const boost::system::error_code& error,
|
2152
|
+
*
|
2153
|
+
* // The number of bytes in the streambuf's get
|
2154
|
+
* // area up to and including the delimiter.
|
2155
|
+
* // 0 if an error occurred.
|
2156
|
+
* std::size_t bytes_transferred
|
2157
|
+
* ); @endcode
|
2158
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
2159
|
+
* not, the completion handler will not be invoked from within this function.
|
2160
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2161
|
+
* manner equivalent to using boost::asio::post().
|
2162
|
+
*
|
2163
|
+
* @par Completion Signature
|
2164
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2165
|
+
*
|
2166
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2167
|
+
* contain additional data beyond the delimiter. An application will typically
|
2168
|
+
* leave that data in the streambuf for a subsequent async_read_until operation
|
2169
|
+
* to examine.
|
2170
|
+
*
|
2171
|
+
* @par Example
|
2172
|
+
* To asynchronously read data into a streambuf until a newline is encountered:
|
2173
|
+
* @code boost::asio::streambuf b;
|
2174
|
+
* ...
|
2175
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
2176
|
+
* {
|
2177
|
+
* if (!e)
|
2178
|
+
* {
|
2179
|
+
* std::istream is(&b);
|
2180
|
+
* std::string line;
|
2181
|
+
* std::getline(is, line);
|
2182
|
+
* ...
|
2183
|
+
* }
|
2184
|
+
* }
|
2185
|
+
* ...
|
2186
|
+
* boost::asio::async_read_until(s, b, '\n', handler); @endcode
|
2187
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
2188
|
+
* @c b contains the delimiter:
|
2189
|
+
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
2190
|
+
* The call to @c std::getline then extracts the data up to and including the
|
2191
|
+
* newline (which is discarded), so that the string @c line contains:
|
2192
|
+
* @code { 'a', 'b', ..., 'c' } @endcode
|
2193
|
+
* The remaining data is left in the buffer @c b as follows:
|
2194
|
+
* @code { 'd', 'e', ... } @endcode
|
2195
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
2196
|
+
* @c async_read_until operation.
|
2197
|
+
*
|
2198
|
+
* @par Per-Operation Cancellation
|
2199
|
+
* This asynchronous operation supports cancellation for the following
|
2200
|
+
* boost::asio::cancellation_type values:
|
2201
|
+
*
|
2202
|
+
* @li @c cancellation_type::terminal
|
2203
|
+
*
|
2204
|
+
* @li @c cancellation_type::partial
|
2205
|
+
*
|
2206
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2207
|
+
* @c async_read_some operation.
|
2208
|
+
*/
|
2209
|
+
template <typename AsyncReadStream, typename Allocator,
|
2210
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2211
|
+
std::size_t)) ReadToken
|
2212
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2213
|
+
typename AsyncReadStream::executor_type)>
|
2214
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
2215
|
+
void (boost::system::error_code, std::size_t))
|
2216
|
+
async_read_until(AsyncReadStream& s,
|
2217
|
+
boost::asio::basic_streambuf<Allocator>& b, char delim,
|
2218
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2219
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2220
|
+
typename AsyncReadStream::executor_type))
|
2221
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2222
|
+
async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
2223
|
+
delim, BOOST_ASIO_MOVE_CAST(ReadToken)(token))));
|
2224
|
+
|
2225
|
+
/// Start an asynchronous operation to read data into a streambuf until it
|
2226
|
+
/// contains a specified delimiter.
|
2227
|
+
/**
|
2228
|
+
* This function is used to asynchronously read data into the specified
|
2229
|
+
* streambuf until the streambuf's get area contains the specified delimiter.
|
2230
|
+
* It is an initiating function for an @ref asynchronous_operation, and always
|
2231
|
+
* returns immediately. The asynchronous operation will continue until one of
|
2232
|
+
* the following conditions is true:
|
2233
|
+
*
|
2234
|
+
* @li The get area of the streambuf contains the specified delimiter.
|
2235
|
+
*
|
2236
|
+
* @li An error occurred.
|
2237
|
+
*
|
2238
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
2239
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2240
|
+
* the streambuf's get area already contains the delimiter, this asynchronous
|
2241
|
+
* operation completes immediately. The program must ensure that the stream
|
2242
|
+
* performs no other read operations (such as async_read, async_read_until, the
|
2243
|
+
* stream's async_read_some function, or any other composed operations that
|
2244
|
+
* perform reads) until this operation completes.
|
2245
|
+
*
|
2246
|
+
* @param s The stream from which the data is to be read. The type must support
|
2247
|
+
* the AsyncReadStream concept.
|
2248
|
+
*
|
2249
|
+
* @param b A streambuf object into which the data will be read. Ownership of
|
2250
|
+
* the streambuf is retained by the caller, which must guarantee that it remains
|
2251
|
+
* valid until the completion handler is called.
|
2252
|
+
*
|
2253
|
+
* @param delim The delimiter string.
|
2254
|
+
*
|
2255
|
+
* @param token The @ref completion_token that will be used to produce a
|
2256
|
+
* completion handler, which will be called when the read completes.
|
2257
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2258
|
+
* @ref yield_context, or a function object with the correct completion
|
2259
|
+
* signature. The function signature of the completion handler must be:
|
2260
|
+
* @code void handler(
|
2261
|
+
* // Result of operation.
|
2262
|
+
* const boost::system::error_code& error,
|
2263
|
+
*
|
2264
|
+
* // The number of bytes in the streambuf's get
|
2265
|
+
* // area up to and including the delimiter.
|
2266
|
+
* // 0 if an error occurred.
|
2267
|
+
* std::size_t bytes_transferred
|
2268
|
+
* ); @endcode
|
2269
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
2270
|
+
* not, the completion handler will not be invoked from within this function.
|
2271
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2272
|
+
* manner equivalent to using boost::asio::post().
|
2273
|
+
*
|
2274
|
+
* @par Completion Signature
|
2275
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2276
|
+
*
|
2277
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2278
|
+
* contain additional data beyond the delimiter. An application will typically
|
2279
|
+
* leave that data in the streambuf for a subsequent async_read_until operation
|
2280
|
+
* to examine.
|
2281
|
+
*
|
2282
|
+
* @par Example
|
2283
|
+
* To asynchronously read data into a streambuf until a newline is encountered:
|
2284
|
+
* @code boost::asio::streambuf b;
|
2285
|
+
* ...
|
2286
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
2287
|
+
* {
|
2288
|
+
* if (!e)
|
2289
|
+
* {
|
2290
|
+
* std::istream is(&b);
|
2291
|
+
* std::string line;
|
2292
|
+
* std::getline(is, line);
|
2293
|
+
* ...
|
2294
|
+
* }
|
2295
|
+
* }
|
2296
|
+
* ...
|
2297
|
+
* boost::asio::async_read_until(s, b, "\r\n", handler); @endcode
|
2298
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
2299
|
+
* @c b contains the delimiter:
|
2300
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
2301
|
+
* The call to @c std::getline then extracts the data up to and including the
|
2302
|
+
* newline (which is discarded), so that the string @c line contains:
|
2303
|
+
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
2304
|
+
* The remaining data is left in the buffer @c b as follows:
|
2305
|
+
* @code { 'd', 'e', ... } @endcode
|
2306
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
2307
|
+
* @c async_read_until operation.
|
2308
|
+
*
|
2309
|
+
* @par Per-Operation Cancellation
|
2310
|
+
* This asynchronous operation supports cancellation for the following
|
2311
|
+
* boost::asio::cancellation_type values:
|
2312
|
+
*
|
2313
|
+
* @li @c cancellation_type::terminal
|
2314
|
+
*
|
2315
|
+
* @li @c cancellation_type::partial
|
2316
|
+
*
|
2317
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2318
|
+
* @c async_read_some operation.
|
2319
|
+
*/
|
2320
|
+
template <typename AsyncReadStream, typename Allocator,
|
2321
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2322
|
+
std::size_t)) ReadToken
|
2323
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2324
|
+
typename AsyncReadStream::executor_type)>
|
2325
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
2326
|
+
void (boost::system::error_code, std::size_t))
|
2327
|
+
async_read_until(AsyncReadStream& s,
|
2328
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
2329
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
2330
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2331
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2332
|
+
typename AsyncReadStream::executor_type))
|
2333
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2334
|
+
async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
2335
|
+
delim, BOOST_ASIO_MOVE_CAST(ReadToken)(token))));
|
2336
|
+
|
2337
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
2338
|
+
|| defined(GENERATING_DOCUMENTATION)
|
2339
|
+
|
2340
|
+
/// Start an asynchronous operation to read data into a streambuf until some
|
2341
|
+
/// part of its data matches a regular expression.
|
2342
|
+
/**
|
2343
|
+
* This function is used to asynchronously read data into the specified
|
2344
|
+
* streambuf until the streambuf's get area contains some data that matches a
|
2345
|
+
* regular expression. It is an initiating function for an @ref
|
2346
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2347
|
+
* operation will continue until one of the following conditions is true:
|
2348
|
+
*
|
2349
|
+
* @li A substring of the streambuf's get area matches the regular expression.
|
2350
|
+
*
|
2351
|
+
* @li An error occurred.
|
2352
|
+
*
|
2353
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
2354
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2355
|
+
* the streambuf's get area already contains data that matches the regular
|
2356
|
+
* expression, this asynchronous operation completes immediately. The program
|
2357
|
+
* must ensure that the stream performs no other read operations (such as
|
2358
|
+
* async_read, async_read_until, the stream's async_read_some function, or any
|
2359
|
+
* other composed operations that perform reads) until this operation
|
2360
|
+
* completes.
|
2361
|
+
*
|
2362
|
+
* @param s The stream from which the data is to be read. The type must support
|
2363
|
+
* the AsyncReadStream concept.
|
2364
|
+
*
|
2365
|
+
* @param b A streambuf object into which the data will be read. Ownership of
|
2366
|
+
* the streambuf is retained by the caller, which must guarantee that it remains
|
2367
|
+
* valid until the completion handler is called.
|
2368
|
+
*
|
2369
|
+
* @param expr The regular expression.
|
2370
|
+
*
|
2371
|
+
* @param token The @ref completion_token that will be used to produce a
|
2372
|
+
* completion handler, which will be called when the read completes.
|
2373
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2374
|
+
* @ref yield_context, or a function object with the correct completion
|
2375
|
+
* signature. The function signature of the completion handler must be:
|
2376
|
+
* @code void handler(
|
2377
|
+
* // Result of operation.
|
2378
|
+
* const boost::system::error_code& error,
|
2379
|
+
*
|
2380
|
+
* // The number of bytes in the streambuf's get
|
2381
|
+
* // area up to and including the substring
|
2382
|
+
* // that matches the regular. expression.
|
2383
|
+
* // 0 if an error occurred.
|
2384
|
+
* std::size_t bytes_transferred
|
2385
|
+
* ); @endcode
|
2386
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
2387
|
+
* not, the completion handler will not be invoked from within this function.
|
2388
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2389
|
+
* manner equivalent to using boost::asio::post().
|
2390
|
+
*
|
2391
|
+
* @par Completion Signature
|
2392
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2393
|
+
*
|
2394
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2395
|
+
* contain additional data beyond that which matched the regular expression. An
|
2396
|
+
* application will typically leave that data in the streambuf for a subsequent
|
2397
|
+
* async_read_until operation to examine.
|
2398
|
+
*
|
2399
|
+
* @par Example
|
2400
|
+
* To asynchronously read data into a streambuf until a CR-LF sequence is
|
1238
2401
|
* encountered:
|
1239
|
-
* @code
|
2402
|
+
* @code boost::asio::streambuf b;
|
1240
2403
|
* ...
|
1241
2404
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1242
2405
|
* {
|
1243
2406
|
* if (!e)
|
1244
2407
|
* {
|
1245
|
-
* std::
|
1246
|
-
*
|
2408
|
+
* std::istream is(&b);
|
2409
|
+
* std::string line;
|
2410
|
+
* std::getline(is, line);
|
1247
2411
|
* ...
|
1248
2412
|
* }
|
1249
2413
|
* }
|
1250
2414
|
* ...
|
1251
|
-
* boost::asio::async_read_until(s,
|
1252
|
-
*
|
1253
|
-
*
|
1254
|
-
* @c data contains the data which matched the regular expression:
|
2415
|
+
* boost::asio::async_read_until(s, b, boost::regex("\r\n"), handler); @endcode
|
2416
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
2417
|
+
* @c b contains the data which matched the regular expression:
|
1255
2418
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1256
|
-
* The call to @c
|
1257
|
-
* so that the string @c line contains:
|
1258
|
-
* @code { 'a', 'b', ..., 'c', '\r'
|
1259
|
-
*
|
1260
|
-
* as follows:
|
2419
|
+
* The call to @c std::getline then extracts the data up to and including the
|
2420
|
+
* newline (which is discarded), so that the string @c line contains:
|
2421
|
+
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
2422
|
+
* The remaining data is left in the buffer @c b as follows:
|
1261
2423
|
* @code { 'd', 'e', ... } @endcode
|
1262
2424
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1263
2425
|
* @c async_read_until operation.
|
2426
|
+
*
|
2427
|
+
* @par Per-Operation Cancellation
|
2428
|
+
* This asynchronous operation supports cancellation for the following
|
2429
|
+
* boost::asio::cancellation_type values:
|
2430
|
+
*
|
2431
|
+
* @li @c cancellation_type::terminal
|
2432
|
+
*
|
2433
|
+
* @li @c cancellation_type::partial
|
2434
|
+
*
|
2435
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2436
|
+
* @c async_read_some operation.
|
1264
2437
|
*/
|
1265
|
-
template <typename AsyncReadStream,
|
1266
|
-
|
1267
|
-
|
2438
|
+
template <typename AsyncReadStream, typename Allocator,
|
2439
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2440
|
+
std::size_t)) ReadToken
|
2441
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2442
|
+
typename AsyncReadStream::executor_type)>
|
2443
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1268
2444
|
void (boost::system::error_code, std::size_t))
|
1269
2445
|
async_read_until(AsyncReadStream& s,
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
2446
|
+
boost::asio::basic_streambuf<Allocator>& b, const boost::regex& expr,
|
2447
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2448
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2449
|
+
typename AsyncReadStream::executor_type))
|
2450
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2451
|
+
async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
2452
|
+
expr, BOOST_ASIO_MOVE_CAST(ReadToken)(token))));
|
1273
2453
|
|
1274
2454
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1275
2455
|
// || defined(GENERATING_DOCUMENTATION)
|
1276
2456
|
|
1277
|
-
/// Start an asynchronous operation to read data into a
|
1278
|
-
///
|
2457
|
+
/// Start an asynchronous operation to read data into a streambuf until a
|
2458
|
+
/// function object indicates a match.
|
1279
2459
|
/**
|
1280
|
-
* This function is used to asynchronously read data into the specified
|
1281
|
-
*
|
1282
|
-
*
|
1283
|
-
*
|
1284
|
-
* asynchronous operation will continue until one of
|
1285
|
-
* is true:
|
2460
|
+
* This function is used to asynchronously read data into the specified
|
2461
|
+
* streambuf until a user-defined match condition function object, when applied
|
2462
|
+
* to the data contained in the streambuf, indicates a successful match. It is
|
2463
|
+
* an initiating function for an @ref asynchronous_operation, and always
|
2464
|
+
* returns immediately. The asynchronous operation will continue until one of
|
2465
|
+
* the following conditions is true:
|
1286
2466
|
*
|
1287
2467
|
* @li The match condition function object returns a std::pair where the second
|
1288
2468
|
* element evaluates to true.
|
@@ -1300,17 +2480,14 @@ async_read_until(AsyncReadStream& s,
|
|
1300
2480
|
* @param s The stream from which the data is to be read. The type must support
|
1301
2481
|
* the AsyncReadStream concept.
|
1302
2482
|
*
|
1303
|
-
* @param
|
1304
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1305
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1306
|
-
* that they remain valid until the handler is called.
|
2483
|
+
* @param b A streambuf object into which the data will be read.
|
1307
2484
|
*
|
1308
2485
|
* @param match_condition The function object to be called to determine whether
|
1309
2486
|
* a match exists. The signature of the function object must be:
|
1310
2487
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1311
2488
|
* @endcode
|
1312
2489
|
* where @c iterator represents the type:
|
1313
|
-
* @code buffers_iterator<
|
2490
|
+
* @code buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
|
1314
2491
|
* @endcode
|
1315
2492
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1316
2493
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -1320,27 +2497,32 @@ async_read_until(AsyncReadStream& s,
|
|
1320
2497
|
* @c second member of the return value is true if a match has been found, false
|
1321
2498
|
* otherwise.
|
1322
2499
|
*
|
1323
|
-
* @param
|
1324
|
-
*
|
1325
|
-
*
|
2500
|
+
* @param token The @ref completion_token that will be used to produce a
|
2501
|
+
* completion handler, which will be called when the read completes.
|
2502
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2503
|
+
* @ref yield_context, or a function object with the correct completion
|
2504
|
+
* signature. The function signature of the completion handler must be:
|
1326
2505
|
* @code void handler(
|
1327
2506
|
* // Result of operation.
|
1328
2507
|
* const boost::system::error_code& error,
|
1329
2508
|
*
|
1330
|
-
* // The number of bytes in the
|
1331
|
-
* //
|
1332
|
-
* // function. O if an error occurred.
|
2509
|
+
* // The number of bytes in the streambuf's get
|
2510
|
+
* // area that have been fully consumed by the
|
2511
|
+
* // match function. O if an error occurred.
|
1333
2512
|
* std::size_t bytes_transferred
|
1334
2513
|
* ); @endcode
|
1335
2514
|
* Regardless of whether the asynchronous operation completes immediately or
|
1336
|
-
* not, the handler will not be invoked from within this function.
|
1337
|
-
* the handler will be performed in a
|
1338
|
-
* boost::asio::
|
2515
|
+
* not, the completion handler will not be invoked from within this function.
|
2516
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2517
|
+
* manner equivalent to using boost::asio::post().
|
1339
2518
|
*
|
1340
|
-
* @note After a successful async_read_until operation, the
|
1341
|
-
*
|
1342
|
-
*
|
1343
|
-
*
|
2519
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2520
|
+
* contain additional data beyond that which matched the function object. An
|
2521
|
+
* application will typically leave that data in the streambuf for a subsequent
|
2522
|
+
* async_read_until operation to examine.
|
2523
|
+
*
|
2524
|
+
* @par Completion Signature
|
2525
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1344
2526
|
*
|
1345
2527
|
* @note The default implementation of the @c is_match_condition type trait
|
1346
2528
|
* evaluates to true for function pointers and function objects with a
|
@@ -1348,10 +2530,9 @@ async_read_until(AsyncReadStream& s,
|
|
1348
2530
|
* function objects.
|
1349
2531
|
*
|
1350
2532
|
* @par Examples
|
1351
|
-
* To asynchronously read data into a
|
1352
|
-
* encountered:
|
2533
|
+
* To asynchronously read data into a streambuf until whitespace is encountered:
|
1353
2534
|
* @code typedef boost::asio::buffers_iterator<
|
1354
|
-
* boost::asio::
|
2535
|
+
* boost::asio::streambuf::const_buffers_type> iterator;
|
1355
2536
|
*
|
1356
2537
|
* std::pair<iterator, bool>
|
1357
2538
|
* match_whitespace(iterator begin, iterator end)
|
@@ -1365,12 +2546,12 @@ async_read_until(AsyncReadStream& s,
|
|
1365
2546
|
* ...
|
1366
2547
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1367
2548
|
* ...
|
1368
|
-
*
|
1369
|
-
* boost::asio::async_read_until(s,
|
2549
|
+
* boost::asio::streambuf b;
|
2550
|
+
* boost::asio::async_read_until(s, b, match_whitespace, handler);
|
1370
2551
|
* @endcode
|
1371
2552
|
*
|
1372
|
-
* To asynchronously read data into a
|
1373
|
-
*
|
2553
|
+
* To asynchronously read data into a streambuf until a matching character is
|
2554
|
+
* found:
|
1374
2555
|
* @code class match_char
|
1375
2556
|
* {
|
1376
2557
|
* public:
|
@@ -1398,295 +2579,420 @@ async_read_until(AsyncReadStream& s,
|
|
1398
2579
|
* ...
|
1399
2580
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1400
2581
|
* ...
|
1401
|
-
*
|
1402
|
-
* boost::asio::async_read_until(s,
|
2582
|
+
* boost::asio::streambuf b;
|
2583
|
+
* boost::asio::async_read_until(s, b, match_char('a'), handler);
|
1403
2584
|
* @endcode
|
2585
|
+
*
|
2586
|
+
* @par Per-Operation Cancellation
|
2587
|
+
* This asynchronous operation supports cancellation for the following
|
2588
|
+
* boost::asio::cancellation_type values:
|
2589
|
+
*
|
2590
|
+
* @li @c cancellation_type::terminal
|
2591
|
+
*
|
2592
|
+
* @li @c cancellation_type::partial
|
2593
|
+
*
|
2594
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2595
|
+
* @c async_read_some operation.
|
1404
2596
|
*/
|
1405
|
-
template <typename AsyncReadStream, typename
|
1406
|
-
|
1407
|
-
|
2597
|
+
template <typename AsyncReadStream, typename Allocator, typename MatchCondition,
|
2598
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2599
|
+
std::size_t)) ReadToken
|
2600
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2601
|
+
typename AsyncReadStream::executor_type)>
|
2602
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1408
2603
|
void (boost::system::error_code, std::size_t))
|
1409
2604
|
async_read_until(AsyncReadStream& s,
|
1410
|
-
|
1411
|
-
MatchCondition match_condition,
|
1412
|
-
|
2605
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
2606
|
+
MatchCondition match_condition,
|
2607
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2608
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2609
|
+
typename AsyncReadStream::executor_type),
|
2610
|
+
typename constraint<is_match_condition<MatchCondition>::value>::type = 0)
|
2611
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2612
|
+
async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
2613
|
+
match_condition, BOOST_ASIO_MOVE_CAST(ReadToken)(token))));
|
1413
2614
|
|
1414
|
-
#
|
2615
|
+
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
2616
|
+
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
2617
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
1415
2618
|
|
1416
|
-
/// Start an asynchronous operation to read data into a
|
1417
|
-
/// contains a specified delimiter.
|
2619
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2620
|
+
/// until it contains a specified delimiter.
|
1418
2621
|
/**
|
1419
|
-
* This function is used to asynchronously read data into the specified
|
1420
|
-
*
|
1421
|
-
*
|
1422
|
-
*
|
2622
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2623
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
2624
|
+
* specified delimiter. It is an initiating function for an @ref
|
2625
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2626
|
+
* operation will continue until one of the following conditions is true:
|
1423
2627
|
*
|
1424
|
-
* @li The get area of the
|
2628
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
2629
|
+
* delimiter.
|
1425
2630
|
*
|
1426
2631
|
* @li An error occurred.
|
1427
2632
|
*
|
1428
2633
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1429
|
-
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1430
|
-
* the
|
1431
|
-
* operation completes immediately. The program must ensure that
|
1432
|
-
* performs no other read operations (such as async_read,
|
1433
|
-
* stream's async_read_some function, or any other
|
1434
|
-
* perform reads) until this operation completes.
|
2634
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2635
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
2636
|
+
* asynchronous operation completes immediately. The program must ensure that
|
2637
|
+
* the stream performs no other read operations (such as async_read,
|
2638
|
+
* async_read_until, the stream's async_read_some function, or any other
|
2639
|
+
* composed operations that perform reads) until this operation completes.
|
1435
2640
|
*
|
1436
2641
|
* @param s The stream from which the data is to be read. The type must support
|
1437
2642
|
* the AsyncReadStream concept.
|
1438
2643
|
*
|
1439
|
-
* @param
|
1440
|
-
* the
|
1441
|
-
*
|
2644
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2645
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2646
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2647
|
+
* that they remain valid until the completion handler is called.
|
1442
2648
|
*
|
1443
2649
|
* @param delim The delimiter character.
|
1444
2650
|
*
|
1445
|
-
* @param
|
1446
|
-
*
|
1447
|
-
*
|
2651
|
+
* @param token The @ref completion_token that will be used to produce a
|
2652
|
+
* completion handler, which will be called when the read completes.
|
2653
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2654
|
+
* @ref yield_context, or a function object with the correct completion
|
2655
|
+
* signature. The function signature of the completion handler must be:
|
1448
2656
|
* @code void handler(
|
1449
2657
|
* // Result of operation.
|
1450
2658
|
* const boost::system::error_code& error,
|
1451
2659
|
*
|
1452
|
-
* // The number of bytes in the
|
1453
|
-
* // area up to and including the delimiter.
|
2660
|
+
* // The number of bytes in the dynamic buffer sequence's
|
2661
|
+
* // get area up to and including the delimiter.
|
1454
2662
|
* // 0 if an error occurred.
|
1455
2663
|
* std::size_t bytes_transferred
|
1456
2664
|
* ); @endcode
|
1457
2665
|
* Regardless of whether the asynchronous operation completes immediately or
|
1458
|
-
* not, the handler will not be invoked from within this function.
|
1459
|
-
* the handler will be performed in a
|
1460
|
-
* boost::asio::
|
2666
|
+
* not, the completion handler will not be invoked from within this function.
|
2667
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2668
|
+
* manner equivalent to using boost::asio::post().
|
1461
2669
|
*
|
1462
|
-
* @
|
1463
|
-
*
|
1464
|
-
*
|
1465
|
-
*
|
2670
|
+
* @par Completion Signature
|
2671
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2672
|
+
*
|
2673
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2674
|
+
* sequence may contain additional data beyond the delimiter. An application
|
2675
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
2676
|
+
* subsequent async_read_until operation to examine.
|
1466
2677
|
*
|
1467
2678
|
* @par Example
|
1468
|
-
* To asynchronously read data into a
|
1469
|
-
*
|
2679
|
+
* To asynchronously read data into a @c std::string until a newline is
|
2680
|
+
* encountered:
|
2681
|
+
* @code std::string data;
|
1470
2682
|
* ...
|
1471
2683
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1472
2684
|
* {
|
1473
2685
|
* if (!e)
|
1474
2686
|
* {
|
1475
|
-
* std::
|
1476
|
-
*
|
1477
|
-
* std::getline(is, line);
|
2687
|
+
* std::string line = data.substr(0, n);
|
2688
|
+
* data.erase(0, n);
|
1478
2689
|
* ...
|
1479
2690
|
* }
|
1480
2691
|
* }
|
1481
2692
|
* ...
|
1482
|
-
* boost::asio::async_read_until(s,
|
2693
|
+
* boost::asio::async_read_until(s, data, '\n', handler); @endcode
|
1483
2694
|
* After the @c async_read_until operation completes successfully, the buffer
|
1484
|
-
* @c
|
2695
|
+
* @c data contains the delimiter:
|
1485
2696
|
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
1486
|
-
* The call to @c
|
1487
|
-
*
|
1488
|
-
* @code { 'a', 'b', ..., 'c' } @endcode
|
1489
|
-
*
|
2697
|
+
* The call to @c substr then extracts the data up to and including the
|
2698
|
+
* delimiter, so that the string @c line contains:
|
2699
|
+
* @code { 'a', 'b', ..., 'c', '\n' } @endcode
|
2700
|
+
* After the call to @c erase, the remaining data is left in the buffer @c data
|
2701
|
+
* as follows:
|
1490
2702
|
* @code { 'd', 'e', ... } @endcode
|
1491
2703
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1492
2704
|
* @c async_read_until operation.
|
2705
|
+
*
|
2706
|
+
* @par Per-Operation Cancellation
|
2707
|
+
* This asynchronous operation supports cancellation for the following
|
2708
|
+
* boost::asio::cancellation_type values:
|
2709
|
+
*
|
2710
|
+
* @li @c cancellation_type::terminal
|
2711
|
+
*
|
2712
|
+
* @li @c cancellation_type::partial
|
2713
|
+
*
|
2714
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2715
|
+
* @c async_read_some operation.
|
1493
2716
|
*/
|
1494
|
-
template <typename AsyncReadStream, typename
|
1495
|
-
|
2717
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
2718
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2719
|
+
std::size_t)) ReadToken
|
2720
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2721
|
+
typename AsyncReadStream::executor_type)>
|
2722
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1496
2723
|
void (boost::system::error_code, std::size_t))
|
1497
|
-
async_read_until(AsyncReadStream& s,
|
1498
|
-
|
1499
|
-
|
2724
|
+
async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
|
2725
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2726
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2727
|
+
typename AsyncReadStream::executor_type),
|
2728
|
+
typename constraint<
|
2729
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2730
|
+
>::type = 0)
|
2731
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2732
|
+
async_initiate<ReadToken,
|
2733
|
+
void (boost::system::error_code, std::size_t)>(
|
2734
|
+
declval<detail::initiate_async_read_until_delim_v2<AsyncReadStream> >(),
|
2735
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), delim)));
|
1500
2736
|
|
1501
|
-
/// Start an asynchronous operation to read data into a
|
1502
|
-
/// contains a specified delimiter.
|
2737
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2738
|
+
/// until it contains a specified delimiter.
|
1503
2739
|
/**
|
1504
|
-
* This function is used to asynchronously read data into the specified
|
1505
|
-
*
|
1506
|
-
*
|
1507
|
-
*
|
2740
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2741
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
2742
|
+
* specified delimiter. It is an initiating function for an @ref
|
2743
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2744
|
+
* operation will continue until one of the following conditions is true:
|
1508
2745
|
*
|
1509
|
-
* @li The get area of the
|
2746
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
2747
|
+
* delimiter.
|
1510
2748
|
*
|
1511
2749
|
* @li An error occurred.
|
1512
2750
|
*
|
1513
2751
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1514
2752
|
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1515
|
-
* the
|
1516
|
-
* operation completes immediately. The program must ensure that
|
1517
|
-
* performs no other read operations (such as async_read,
|
1518
|
-
* stream's async_read_some function, or any other
|
1519
|
-
* perform reads) until this operation completes.
|
2753
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
2754
|
+
* asynchronous operation completes immediately. The program must ensure that
|
2755
|
+
* the stream performs no other read operations (such as async_read,
|
2756
|
+
* async_read_until, the stream's async_read_some function, or any other
|
2757
|
+
* composed operations that perform reads) until this operation completes.
|
1520
2758
|
*
|
1521
2759
|
* @param s The stream from which the data is to be read. The type must support
|
1522
2760
|
* the AsyncReadStream concept.
|
1523
2761
|
*
|
1524
|
-
* @param
|
1525
|
-
* the
|
1526
|
-
*
|
2762
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2763
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2764
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2765
|
+
* that they remain valid until the completion handler is called.
|
1527
2766
|
*
|
1528
2767
|
* @param delim The delimiter string.
|
1529
2768
|
*
|
1530
|
-
* @param
|
1531
|
-
*
|
1532
|
-
*
|
2769
|
+
* @param token The @ref completion_token that will be used to produce a
|
2770
|
+
* completion handler, which will be called when the read completes.
|
2771
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2772
|
+
* @ref yield_context, or a function object with the correct completion
|
2773
|
+
* signature. The function signature of the completion handler must be:
|
1533
2774
|
* @code void handler(
|
1534
2775
|
* // Result of operation.
|
1535
2776
|
* const boost::system::error_code& error,
|
1536
2777
|
*
|
1537
|
-
* // The number of bytes in the
|
1538
|
-
* // area up to and including the delimiter.
|
1539
|
-
* // 0 if an error occurred.
|
2778
|
+
* // The number of bytes in the dynamic buffer sequence's
|
2779
|
+
* // get area up to and including the delimiter.
|
1540
2780
|
* std::size_t bytes_transferred
|
1541
2781
|
* ); @endcode
|
1542
2782
|
* Regardless of whether the asynchronous operation completes immediately or
|
1543
|
-
* not, the handler will not be invoked from within this function.
|
1544
|
-
* the handler will be performed in a
|
1545
|
-
* boost::asio::
|
2783
|
+
* not, the completion handler will not be invoked from within this function.
|
2784
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2785
|
+
* manner equivalent to using boost::asio::post().
|
1546
2786
|
*
|
1547
|
-
* @
|
1548
|
-
*
|
1549
|
-
*
|
1550
|
-
*
|
2787
|
+
* @par Completion Signature
|
2788
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2789
|
+
*
|
2790
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2791
|
+
* sequence may contain additional data beyond the delimiter. An application
|
2792
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
2793
|
+
* subsequent async_read_until operation to examine.
|
1551
2794
|
*
|
1552
2795
|
* @par Example
|
1553
|
-
* To asynchronously read data into a
|
1554
|
-
*
|
2796
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
2797
|
+
* encountered:
|
2798
|
+
* @code std::string data;
|
1555
2799
|
* ...
|
1556
2800
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1557
2801
|
* {
|
1558
2802
|
* if (!e)
|
1559
2803
|
* {
|
1560
|
-
* std::
|
1561
|
-
*
|
1562
|
-
* std::getline(is, line);
|
2804
|
+
* std::string line = data.substr(0, n);
|
2805
|
+
* data.erase(0, n);
|
1563
2806
|
* ...
|
1564
2807
|
* }
|
1565
2808
|
* }
|
1566
2809
|
* ...
|
1567
|
-
* boost::asio::async_read_until(s,
|
1568
|
-
* After the @c async_read_until operation completes successfully, the
|
1569
|
-
* @c
|
2810
|
+
* boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
|
2811
|
+
* After the @c async_read_until operation completes successfully, the string
|
2812
|
+
* @c data contains the delimiter:
|
1570
2813
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1571
|
-
* The call to @c
|
1572
|
-
*
|
1573
|
-
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
1574
|
-
*
|
2814
|
+
* The call to @c substr then extracts the data up to and including the
|
2815
|
+
* delimiter, so that the string @c line contains:
|
2816
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
2817
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
2818
|
+
* as follows:
|
1575
2819
|
* @code { 'd', 'e', ... } @endcode
|
1576
2820
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1577
2821
|
* @c async_read_until operation.
|
2822
|
+
*
|
2823
|
+
* @par Per-Operation Cancellation
|
2824
|
+
* This asynchronous operation supports cancellation for the following
|
2825
|
+
* boost::asio::cancellation_type values:
|
2826
|
+
*
|
2827
|
+
* @li @c cancellation_type::terminal
|
2828
|
+
*
|
2829
|
+
* @li @c cancellation_type::partial
|
2830
|
+
*
|
2831
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2832
|
+
* @c async_read_some operation.
|
1578
2833
|
*/
|
1579
|
-
template <typename AsyncReadStream, typename
|
1580
|
-
|
2834
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
2835
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2836
|
+
std::size_t)) ReadToken
|
2837
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2838
|
+
typename AsyncReadStream::executor_type)>
|
2839
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1581
2840
|
void (boost::system::error_code, std::size_t))
|
1582
|
-
async_read_until(AsyncReadStream& s,
|
1583
|
-
boost::asio::basic_streambuf<Allocator>& b,
|
2841
|
+
async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
1584
2842
|
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1585
|
-
BOOST_ASIO_MOVE_ARG(
|
2843
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2844
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2845
|
+
typename AsyncReadStream::executor_type),
|
2846
|
+
typename constraint<
|
2847
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2848
|
+
>::type = 0)
|
2849
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2850
|
+
async_initiate<ReadToken,
|
2851
|
+
void (boost::system::error_code, std::size_t)>(
|
2852
|
+
declval<detail::initiate_async_read_until_delim_string_v2<
|
2853
|
+
AsyncReadStream> >(),
|
2854
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
|
2855
|
+
static_cast<std::string>(delim))));
|
1586
2856
|
|
2857
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1587
2858
|
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1588
2859
|
|| defined(GENERATING_DOCUMENTATION)
|
1589
2860
|
|
1590
|
-
/// Start an asynchronous operation to read data into a
|
1591
|
-
/// part of its data matches a regular expression.
|
2861
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2862
|
+
/// until some part of its data matches a regular expression.
|
1592
2863
|
/**
|
1593
|
-
* This function is used to asynchronously read data into the specified
|
1594
|
-
*
|
1595
|
-
* regular expression.
|
2864
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2865
|
+
* buffer sequence until the dynamic buffer sequence's get area contains some
|
2866
|
+
* data that matches a regular expression. It is an initiating function for an
|
2867
|
+
* @ref asynchronous_operation, and always returns immediately. The
|
1596
2868
|
* asynchronous operation will continue until one of the following conditions
|
1597
2869
|
* is true:
|
1598
2870
|
*
|
1599
|
-
* @li A substring of the
|
2871
|
+
* @li A substring of the dynamic buffer sequence's get area matches the regular
|
2872
|
+
* expression.
|
1600
2873
|
*
|
1601
2874
|
* @li An error occurred.
|
1602
2875
|
*
|
1603
2876
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1604
2877
|
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1605
|
-
* the
|
1606
|
-
* expression, this asynchronous operation completes immediately.
|
1607
|
-
* must ensure that the stream performs no other read operations
|
1608
|
-
* async_read, async_read_until, the stream's async_read_some
|
1609
|
-
* other composed operations that perform reads) until this
|
1610
|
-
* completes.
|
2878
|
+
* the dynamic buffer sequence's get area already contains data that matches
|
2879
|
+
* the regular expression, this asynchronous operation completes immediately.
|
2880
|
+
* The program must ensure that the stream performs no other read operations
|
2881
|
+
* (such as async_read, async_read_until, the stream's async_read_some
|
2882
|
+
* function, or any other composed operations that perform reads) until this
|
2883
|
+
* operation completes.
|
1611
2884
|
*
|
1612
2885
|
* @param s The stream from which the data is to be read. The type must support
|
1613
2886
|
* the AsyncReadStream concept.
|
1614
2887
|
*
|
1615
|
-
* @param
|
1616
|
-
* the
|
1617
|
-
*
|
2888
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2889
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2890
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2891
|
+
* that they remain valid until the completion handler is called.
|
1618
2892
|
*
|
1619
2893
|
* @param expr The regular expression.
|
1620
2894
|
*
|
1621
|
-
* @param
|
1622
|
-
*
|
1623
|
-
*
|
2895
|
+
* @param token The @ref completion_token that will be used to produce a
|
2896
|
+
* completion handler, which will be called when the read completes.
|
2897
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2898
|
+
* @ref yield_context, or a function object with the correct completion
|
2899
|
+
* signature. The function signature of the completion handler must be:
|
1624
2900
|
* @code void handler(
|
1625
2901
|
* // Result of operation.
|
1626
2902
|
* const boost::system::error_code& error,
|
1627
2903
|
*
|
1628
|
-
* // The number of bytes in the
|
1629
|
-
* // area up to and including the
|
1630
|
-
* // that matches the regular
|
2904
|
+
* // The number of bytes in the dynamic buffer
|
2905
|
+
* // sequence's get area up to and including the
|
2906
|
+
* // substring that matches the regular expression.
|
1631
2907
|
* // 0 if an error occurred.
|
1632
2908
|
* std::size_t bytes_transferred
|
1633
2909
|
* ); @endcode
|
1634
2910
|
* Regardless of whether the asynchronous operation completes immediately or
|
1635
|
-
* not, the handler will not be invoked from within this function.
|
1636
|
-
* the handler will be performed in a
|
1637
|
-
* boost::asio::
|
2911
|
+
* not, the completion handler will not be invoked from within this function.
|
2912
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2913
|
+
* manner equivalent to using boost::asio::post().
|
1638
2914
|
*
|
1639
|
-
* @
|
1640
|
-
*
|
1641
|
-
*
|
1642
|
-
* async_read_until operation
|
2915
|
+
* @par Completion Signature
|
2916
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2917
|
+
*
|
2918
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2919
|
+
* sequence may contain additional data beyond that which matched the regular
|
2920
|
+
* expression. An application will typically leave that data in the dynamic
|
2921
|
+
* buffer sequence for a subsequent async_read_until operation to examine.
|
1643
2922
|
*
|
1644
2923
|
* @par Example
|
1645
|
-
* To asynchronously read data into a
|
2924
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1646
2925
|
* encountered:
|
1647
|
-
* @code
|
2926
|
+
* @code std::string data;
|
1648
2927
|
* ...
|
1649
2928
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1650
2929
|
* {
|
1651
2930
|
* if (!e)
|
1652
2931
|
* {
|
1653
|
-
* std::
|
1654
|
-
*
|
1655
|
-
* std::getline(is, line);
|
2932
|
+
* std::string line = data.substr(0, n);
|
2933
|
+
* data.erase(0, n);
|
1656
2934
|
* ...
|
1657
2935
|
* }
|
1658
2936
|
* }
|
1659
2937
|
* ...
|
1660
|
-
* boost::asio::async_read_until(s,
|
1661
|
-
*
|
1662
|
-
* @c
|
2938
|
+
* boost::asio::async_read_until(s, data,
|
2939
|
+
* boost::regex("\r\n"), handler); @endcode
|
2940
|
+
* After the @c async_read_until operation completes successfully, the string
|
2941
|
+
* @c data contains the data which matched the regular expression:
|
1663
2942
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1664
|
-
* The call to @c
|
1665
|
-
*
|
1666
|
-
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
1667
|
-
*
|
2943
|
+
* The call to @c substr then extracts the data up to and including the match,
|
2944
|
+
* so that the string @c line contains:
|
2945
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
2946
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
2947
|
+
* as follows:
|
1668
2948
|
* @code { 'd', 'e', ... } @endcode
|
1669
2949
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1670
2950
|
* @c async_read_until operation.
|
2951
|
+
*
|
2952
|
+
* @par Per-Operation Cancellation
|
2953
|
+
* This asynchronous operation supports cancellation for the following
|
2954
|
+
* boost::asio::cancellation_type values:
|
2955
|
+
*
|
2956
|
+
* @li @c cancellation_type::terminal
|
2957
|
+
*
|
2958
|
+
* @li @c cancellation_type::partial
|
2959
|
+
*
|
2960
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2961
|
+
* @c async_read_some operation.
|
1671
2962
|
*/
|
1672
|
-
template <typename AsyncReadStream, typename
|
1673
|
-
|
2963
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
2964
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2965
|
+
std::size_t)) ReadToken
|
2966
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
2967
|
+
typename AsyncReadStream::executor_type)>
|
2968
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1674
2969
|
void (boost::system::error_code, std::size_t))
|
1675
|
-
async_read_until(AsyncReadStream& s,
|
1676
|
-
|
1677
|
-
BOOST_ASIO_MOVE_ARG(
|
2970
|
+
async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
2971
|
+
const boost::regex& expr,
|
2972
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
2973
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
2974
|
+
typename AsyncReadStream::executor_type),
|
2975
|
+
typename constraint<
|
2976
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2977
|
+
>::type = 0)
|
2978
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
2979
|
+
async_initiate<ReadToken,
|
2980
|
+
void (boost::system::error_code, std::size_t)>(
|
2981
|
+
declval<detail::initiate_async_read_until_expr_v2<AsyncReadStream> >(),
|
2982
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers), expr)));
|
1678
2983
|
|
1679
2984
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1680
2985
|
// || defined(GENERATING_DOCUMENTATION)
|
1681
2986
|
|
1682
|
-
/// Start an asynchronous operation to read data into a
|
1683
|
-
/// function object indicates a match.
|
2987
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2988
|
+
/// until a function object indicates a match.
|
1684
2989
|
/**
|
1685
|
-
* This function is used to asynchronously read data into the specified
|
1686
|
-
*
|
1687
|
-
* to the data contained in the
|
1688
|
-
*
|
1689
|
-
*
|
2990
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2991
|
+
* buffer sequence until a user-defined match condition function object, when
|
2992
|
+
* applied to the data contained in the dynamic buffer sequence, indicates a
|
2993
|
+
* successful match. It is an initiating function for an @ref
|
2994
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2995
|
+
* operation will continue until one of the following conditions is true:
|
1690
2996
|
*
|
1691
2997
|
* @li The match condition function object returns a std::pair where the second
|
1692
2998
|
* element evaluates to true.
|
@@ -1704,14 +3010,17 @@ async_read_until(AsyncReadStream& s,
|
|
1704
3010
|
* @param s The stream from which the data is to be read. The type must support
|
1705
3011
|
* the AsyncReadStream concept.
|
1706
3012
|
*
|
1707
|
-
* @param
|
3013
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
3014
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
3015
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
3016
|
+
* that they remain valid until the completion handler is called.
|
1708
3017
|
*
|
1709
3018
|
* @param match_condition The function object to be called to determine whether
|
1710
3019
|
* a match exists. The signature of the function object must be:
|
1711
3020
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1712
3021
|
* @endcode
|
1713
3022
|
* where @c iterator represents the type:
|
1714
|
-
* @code buffers_iterator<
|
3023
|
+
* @code buffers_iterator<typename DynamicBuffer_v2::const_buffers_type>
|
1715
3024
|
* @endcode
|
1716
3025
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1717
3026
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -1721,27 +3030,32 @@ async_read_until(AsyncReadStream& s,
|
|
1721
3030
|
* @c second member of the return value is true if a match has been found, false
|
1722
3031
|
* otherwise.
|
1723
3032
|
*
|
1724
|
-
* @param
|
1725
|
-
*
|
1726
|
-
*
|
3033
|
+
* @param token The @ref completion_token that will be used to produce a
|
3034
|
+
* completion handler, which will be called when the read completes.
|
3035
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
3036
|
+
* @ref yield_context, or a function object with the correct completion
|
3037
|
+
* signature. The function signature of the completion handler must be:
|
1727
3038
|
* @code void handler(
|
1728
3039
|
* // Result of operation.
|
1729
3040
|
* const boost::system::error_code& error,
|
1730
3041
|
*
|
1731
|
-
* // The number of bytes in the
|
1732
|
-
* // area that have been fully consumed by the
|
1733
|
-
* //
|
3042
|
+
* // The number of bytes in the dynamic buffer sequence's
|
3043
|
+
* // get area that have been fully consumed by the match
|
3044
|
+
* // function. O if an error occurred.
|
1734
3045
|
* std::size_t bytes_transferred
|
1735
3046
|
* ); @endcode
|
1736
3047
|
* Regardless of whether the asynchronous operation completes immediately or
|
1737
|
-
* not, the handler will not be invoked from within this function.
|
1738
|
-
* the handler will be performed in a
|
1739
|
-
* boost::asio::
|
3048
|
+
* not, the completion handler will not be invoked from within this function.
|
3049
|
+
* On immediate completion, invocation of the handler will be performed in a
|
3050
|
+
* manner equivalent to using boost::asio::post().
|
1740
3051
|
*
|
1741
|
-
* @note After a successful async_read_until operation, the
|
1742
|
-
* contain additional data beyond that which matched the function
|
1743
|
-
* application will typically leave that data in the
|
1744
|
-
* async_read_until operation to examine.
|
3052
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
3053
|
+
* sequence may contain additional data beyond that which matched the function
|
3054
|
+
* object. An application will typically leave that data in the dynamic buffer
|
3055
|
+
* sequence for a subsequent async_read_until operation to examine.
|
3056
|
+
*
|
3057
|
+
* @par Completion Signature
|
3058
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1745
3059
|
*
|
1746
3060
|
* @note The default implementation of the @c is_match_condition type trait
|
1747
3061
|
* evaluates to true for function pointers and function objects with a
|
@@ -1749,9 +3063,10 @@ async_read_until(AsyncReadStream& s,
|
|
1749
3063
|
* function objects.
|
1750
3064
|
*
|
1751
3065
|
* @par Examples
|
1752
|
-
* To asynchronously read data into a
|
3066
|
+
* To asynchronously read data into a @c std::string until whitespace is
|
3067
|
+
* encountered:
|
1753
3068
|
* @code typedef boost::asio::buffers_iterator<
|
1754
|
-
* boost::asio::
|
3069
|
+
* boost::asio::const_buffers_1> iterator;
|
1755
3070
|
*
|
1756
3071
|
* std::pair<iterator, bool>
|
1757
3072
|
* match_whitespace(iterator begin, iterator end)
|
@@ -1765,12 +3080,12 @@ async_read_until(AsyncReadStream& s,
|
|
1765
3080
|
* ...
|
1766
3081
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1767
3082
|
* ...
|
1768
|
-
*
|
1769
|
-
* boost::asio::async_read_until(s,
|
3083
|
+
* std::string data;
|
3084
|
+
* boost::asio::async_read_until(s, data, match_whitespace, handler);
|
1770
3085
|
* @endcode
|
1771
3086
|
*
|
1772
|
-
* To asynchronously read data into a
|
1773
|
-
* found:
|
3087
|
+
* To asynchronously read data into a @c std::string until a matching character
|
3088
|
+
* is found:
|
1774
3089
|
* @code class match_char
|
1775
3090
|
* {
|
1776
3091
|
* public:
|
@@ -1798,20 +3113,47 @@ async_read_until(AsyncReadStream& s,
|
|
1798
3113
|
* ...
|
1799
3114
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1800
3115
|
* ...
|
1801
|
-
*
|
1802
|
-
* boost::asio::async_read_until(s,
|
3116
|
+
* std::string data;
|
3117
|
+
* boost::asio::async_read_until(s, data, match_char('a'), handler);
|
1803
3118
|
* @endcode
|
3119
|
+
*
|
3120
|
+
* @par Per-Operation Cancellation
|
3121
|
+
* This asynchronous operation supports cancellation for the following
|
3122
|
+
* boost::asio::cancellation_type values:
|
3123
|
+
*
|
3124
|
+
* @li @c cancellation_type::terminal
|
3125
|
+
*
|
3126
|
+
* @li @c cancellation_type::partial
|
3127
|
+
*
|
3128
|
+
* if they are also supported by the @c AsyncReadStream type's
|
3129
|
+
* @c async_read_some operation.
|
1804
3130
|
*/
|
1805
|
-
template <typename AsyncReadStream,
|
1806
|
-
typename
|
1807
|
-
|
3131
|
+
template <typename AsyncReadStream,
|
3132
|
+
typename DynamicBuffer_v2, typename MatchCondition,
|
3133
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
3134
|
+
std::size_t)) ReadToken
|
3135
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
3136
|
+
typename AsyncReadStream::executor_type)>
|
3137
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ReadToken,
|
1808
3138
|
void (boost::system::error_code, std::size_t))
|
1809
|
-
async_read_until(AsyncReadStream& s,
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
3139
|
+
async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
3140
|
+
MatchCondition match_condition,
|
3141
|
+
BOOST_ASIO_MOVE_ARG(ReadToken) token
|
3142
|
+
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
3143
|
+
typename AsyncReadStream::executor_type),
|
3144
|
+
typename constraint<
|
3145
|
+
is_match_condition<MatchCondition>::value
|
3146
|
+
>::type = 0,
|
3147
|
+
typename constraint<
|
3148
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
3149
|
+
>::type = 0)
|
3150
|
+
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
3151
|
+
async_initiate<ReadToken,
|
3152
|
+
void (boost::system::error_code, std::size_t)>(
|
3153
|
+
declval<detail::initiate_async_read_until_match_v2<AsyncReadStream> >(),
|
3154
|
+
token, BOOST_ASIO_MOVE_CAST(DynamicBuffer_v2)(buffers),
|
3155
|
+
match_condition)));
|
1813
3156
|
|
1814
|
-
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
1815
3157
|
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1816
3158
|
|
1817
3159
|
/*@}*/
|