passenger 6.0.6 → 6.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +391 -1
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +20 -0
- data/README.md +4 -11
- data/bin/passenger-install-nginx-module +5 -4
- data/bin/passenger-memory-stats +65 -12
- data/bin/passenger-status +29 -4
- data/build/common_library.rb +6 -5
- data/build/integration_tests.rb +8 -7
- data/build/packaging.rb +4 -2
- data/build/ruby_tests.rb +1 -1
- data/build/support/cxx_dependency_map.rb +156 -54
- data/build/test_basics.rb +8 -5
- data/dev/copy_boost_headers +140 -78
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/nginx_version_sha256 +72 -0
- data/dev/websocketpp.patch +39 -0
- data/doc/templates/markdown.html.erb +2 -6
- data/package.json +20 -18
- data/passenger.gemspec +1 -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/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/rails_asset_pipeline.erb +1 -1
- data/resources/templates/standalone/server.erb +1 -0
- data/src/agent/AgentMain.cpp +2 -8
- data/src/agent/Core/AdminPanelConnector.h +3 -4
- data/src/agent/Core/ApiServer.h +36 -1
- 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/StateInspection.cpp +2 -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 +16 -2
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +8 -1
- data/src/agent/Core/ApplicationPool/Pool.h +10 -2
- data/src/agent/Core/Config.h +9 -4
- data/src/agent/Core/Controller/AppResponse.h +0 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +12 -4
- data/src/agent/Core/Controller/InitRequest.cpp +4 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller/SendRequest.cpp +2 -2
- data/src/agent/Core/Controller.h +4 -1
- data/src/agent/Core/CoreMain.cpp +1 -0
- data/src/agent/Core/OptionParser.h +4 -0
- data/src/agent/Core/ResponseCache.h +3 -2
- data/src/agent/Core/SecurityUpdateChecker.h +5 -5
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +20 -0
- data/src/agent/Core/SpawningKit/Config.h +24 -0
- data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +5 -5
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +4 -0
- data/src/agent/Core/SpawningKit/PipeWatcher.h +19 -4
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/Spawner.h +3 -0
- data/src/agent/Core/SpawningKit/UserSwitchingRules.h +2 -2
- data/src/agent/Core/TelemetryCollector.h +1 -1
- data/src/agent/ExecHelper/ExecHelperMain.cpp +10 -12
- data/src/agent/FileReadHelper/FileReadHelperMain.cpp +7 -10
- data/src/agent/MainFunctions.h +38 -0
- data/src/agent/Shared/ApiServerUtils.h +4 -3
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/Shared/Fundamentals/Initialization.cpp +1 -1
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +28 -3
- data/src/agent/SystemMetrics/SystemMetricsMain.cpp +1 -0
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +6 -4
- data/src/agent/Watchdog/ApiServer.h +1 -1
- data/src/agent/Watchdog/Config.h +3 -1
- data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +10 -13
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +42 -27
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +15 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +44 -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 +27 -1
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +5 -1
- data/src/cxx_supportlib/ConfigKit/Common.h +1 -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 +4 -3
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -1
- 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/FileTools/PathManip.cpp +10 -1
- data/src/cxx_supportlib/Hooks.h +1 -0
- data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +6 -10
- data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
- data/src/cxx_supportlib/Integrations/LibevJsonUtils.h +3 -3
- data/src/cxx_supportlib/JsonTools/CBindings.cpp +0 -2
- data/src/cxx_supportlib/JsonTools/JsonUtils.h +4 -4
- data/src/cxx_supportlib/LoggingKit/Context.h +16 -21
- data/src/cxx_supportlib/LoggingKit/Forward.h +0 -2
- data/src/cxx_supportlib/LoggingKit/Implementation.cpp +36 -72
- data/src/cxx_supportlib/MemoryKit/mbuf.cpp +12 -4
- data/src/cxx_supportlib/MemoryKit/mbuf.h +1 -1
- data/src/cxx_supportlib/ProcessManagement/Utils.cpp +1 -1
- data/src/cxx_supportlib/ResourceLocator.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +3 -1
- data/src/cxx_supportlib/SecurityKit/Crypto.cpp +3 -94
- data/src/cxx_supportlib/SecurityKit/Crypto.h +0 -8
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/ServerKit/Context.h +6 -0
- data/src/cxx_supportlib/ServerKit/Errors.h +3 -2
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +99 -64
- data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +4 -1
- data/src/cxx_supportlib/ServerKit/HttpRequest.h +2 -2
- data/src/cxx_supportlib/ServerKit/HttpServer.h +3 -2
- data/src/cxx_supportlib/ServerKit/llerrors.h +84 -0
- data/src/cxx_supportlib/ServerKit/llhttp.c +10168 -0
- data/src/cxx_supportlib/ServerKit/llhttp.h +903 -0
- data/src/cxx_supportlib/ServerKit/llhttp_api.c +510 -0
- data/src/cxx_supportlib/ServerKit/llhttp_http.c +170 -0
- data/src/cxx_supportlib/ServerKit/llversion.h +12 -0
- data/src/cxx_supportlib/ServerKit/url_parser.c +574 -0
- data/src/cxx_supportlib/ServerKit/url_parser.h +74 -0
- data/src/cxx_supportlib/StaticString.h +5 -1
- data/src/cxx_supportlib/StrIntTools/DateParsing.h +1 -1
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.cpp +12 -3
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +5 -0
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +2 -2
- data/src/cxx_supportlib/SystemTools/UserDatabase.cpp +14 -14
- data/src/cxx_supportlib/SystemTools/UserDatabase.h +6 -10
- data/src/cxx_supportlib/Utils/AnsiColorConstants.h +11 -9
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/Utils.cpp +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +9 -12
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +5 -1
- data/src/cxx_supportlib/oxt/implementation.cpp +1 -2
- data/src/cxx_supportlib/oxt/system_calls.cpp +1 -1
- 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/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/aligned_alloc.hpp +47 -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/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +338 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +824 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +353 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +115 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +119 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +828 -107
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +144 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +649 -327
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +205 -123
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +826 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +691 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +655 -329
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +628 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +376 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +413 -114
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +325 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +427 -248
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +1239 -517
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +22 -121
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +16 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +746 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +494 -252
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +13 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +250 -131
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +624 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +546 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +157 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +551 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +918 -336
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +320 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +55 -39
- 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 +61 -47
- 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 -39
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +247 -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 +159 -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 +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +270 -150
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +154 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +717 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +2 -4
- 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 +24 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +166 -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 +265 -370
- 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 +300 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
- 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 +2 -23
- 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 +12 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +254 -0
- 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 +667 -702
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +40 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -23
- 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 +76 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +75 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +36 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +36 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +3 -5
- 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 +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +6 -6
- 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 +3 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +5 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +9 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +66 -76
- 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_tracking.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +24 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +452 -36
- 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 +601 -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 +27 -4
- 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 +47 -8
- 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 +47 -7
- 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 +916 -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 +49 -7
- 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/posix_serial_port_service.ipp +170 -0
- 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 +20 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +32 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +39 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +110 -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 +74 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +2 -3
- 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 +185 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +817 -353
- 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 +209 -42
- 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 +8 -40
- 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 +17 -11
- 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/initiate_defer.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_dispatch.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_post.hpp +209 -0
- 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 +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +192 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +689 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +116 -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 +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +208 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +631 -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 +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +85 -52
- 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 +37 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/limits.hpp +1 -6
- 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/memory.hpp +94 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +45 -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/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/posix_serial_port_service.hpp +251 -0
- 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 +233 -55
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +49 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +139 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +59 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +81 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +81 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +65 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +87 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +81 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +198 -91
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +314 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +49 -8
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +34 -16
- 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 +34 -18
- 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 +59 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +2 -3
- 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 +90 -15
- 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 +12 -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 +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +36 -5
- 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 +7 -9
- 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 +154 -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 +31 -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 +6 -2
- 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 +132 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +85 -0
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +85 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +7 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +136 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +1935 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +1362 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +1082 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +192 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +118 -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/invocable_archetype.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +1004 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +186 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +755 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +753 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +3 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +66 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +239 -47
- 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 +134 -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 +515 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +515 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +154 -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 +303 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +147 -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 +295 -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 +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_message.hpp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +363 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +224 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +150 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +679 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +143 -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 +623 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +178 -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/co_composed.hpp +1176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +1224 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +790 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +257 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +216 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +459 -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 +226 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -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 -6
- 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_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +136 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +164 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +247 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +1198 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +160 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +154 -181
- 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 +451 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +328 -379
- 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/consign.hpp +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +7 -37
- 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 +72 -141
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +220 -132
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +663 -325
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +248 -260
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +2114 -675
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +252 -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 +1183 -318
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +26 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +115 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +198 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +74 -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 +186 -416
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +586 -321
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +221 -242
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +699 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +82 -70
- 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 +52 -31
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +124 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +13 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +16 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +114 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +13 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +15 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +46 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +331 -239
- 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 +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +9 -13
- 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 -14
- 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 -22
- 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 -15
- 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 -35
- 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 +6 -4
- 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 +6 -4
- 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 +17 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +14 -18
- 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 -6
- 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/seq_packet_protocol.hpp +86 -0
- 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 +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +29 -105
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +273 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +283 -86
- 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 +149 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +581 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +315 -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 +672 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +173 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +1767 -469
- 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/redirect_error.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +346 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +437 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +347 -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/signal_set_base.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +641 -105
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +24 -24
- 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 +10 -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 +65 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +75 -71
- 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 +89 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +2 -2
- 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 +188 -73
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +29 -5
- 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 +421 -141
- 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 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +311 -40
- 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 +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +570 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +269 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +773 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +102 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +118 -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 +82 -43
- 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 +163 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +2 -6
- 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/writable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +656 -170
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +174 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +66 -28
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +170 -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 +97 -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_impl.hpp +1265 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +1228 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +102 -12
- 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_arch_gcc_alpha.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_arm.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_ppc.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_sparc.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_x86.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_msvc_arm.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_msvc_x86.hpp +61 -0
- 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 +57 -64
- 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/core_arch_ops_gcc_alpha.hpp +867 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_arm.hpp +1417 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +1218 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp +215 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +1110 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +828 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +903 -0
- 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 +194 -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/core_ops_cas_based.hpp +94 -0
- 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/core_ops_gcc_sync.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_linux_arm.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extending_cas_based_arithmetic.hpp +72 -0
- 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 +22 -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 +59 -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/float_sizes.hpp +122 -35
- 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 +13 -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_conversions.hpp +108 -0
- 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 +30 -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/type_traits/remove_cv.hpp +42 -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_on_address.hpp +64 -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 +96 -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/fences.hpp +7 -18
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +90 -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 +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +4 -49
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +237 -1767
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/bind_cc.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/bind_mf2_cc.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/bind_mf_cc.hpp +405 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/integer_sequence.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/tuple_for_each.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +143 -279
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +24 -259
- data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
- data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/chrono.hpp +26 -6
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/is_evenly_divisible_by.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/requires_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_get.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/timezone.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io_v1/chrono_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/system_clocks.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +113 -111
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +26 -22
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +27 -33
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
- 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 +212 -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 +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx23.hpp +41 -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 +73 -22
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +33 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +160 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +37 -12
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +35 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +47 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_compiler_config.hpp +1 -1
- 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 +291 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- 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 +74 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +140 -7
- 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 +34 -21
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +39 -32
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +55 -32
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +121 -29
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +409 -305
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +14 -13
- 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 +186 -139
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- 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 +14 -15
- 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 +27 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
- 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 +959 -141
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +181 -57
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +67 -67
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +305 -224
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -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 +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +220 -186
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +48 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +28 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +253 -120
- 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 +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +94 -102
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +1 -7
- 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 +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/thread_mutex.hpp +6 -6
- 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 +365 -424
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +9 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_init.hpp +3 -3
- 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 +111 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2961 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +433 -342
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +142 -139
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +135 -157
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +270 -271
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +32 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +15 -16
- data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +32 -20
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +431 -5
- 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 +36 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +91 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +4 -4
- 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 +78 -80
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +173 -188
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +124 -150
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +301 -278
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +294 -217
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +239 -156
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +473 -392
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +155 -41
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +751 -964
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_integral.hpp +146 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +408 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple_like.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/mulx.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +395 -580
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +25 -24
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_tuple_like.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/alignof.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +834 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +954 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +35 -7
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +298 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/data.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/is_same.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/lwt_unattended.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_pause.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_sleep.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_yield.hpp +100 -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 +1272 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +37 -18
- data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/functor.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/identity.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/invoke_swap.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp +10 -15
- data/src/cxx_supportlib/vendor-modified/boost/core/launder.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +214 -62
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +41 -6
- data/src/cxx_supportlib/vendor-modified/boost/core/make_span.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/max_align.hpp +82 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/memory_resource.hpp +108 -0
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/null_deleter.hpp +7 -0
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +59 -16
- data/src/cxx_supportlib/vendor-modified/boost/core/serialization.hpp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/size.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/snprintf.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +399 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +10 -37
- data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1181 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +2 -2
- 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/core/yield_primitives.hpp +12 -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 +4 -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 +24 -24
- 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/formatters.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +34 -27
- 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 +34 -15
- 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 +30 -25
- data/src/cxx_supportlib/vendor-modified/boost/date_time/int_adapter.hpp +57 -37
- data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
- 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 +4 -4
- 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_formatters.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
- 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 +1 -6
- 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 +9 -12
- 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 +5 -10
- 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/describe/bases.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +161 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +6 -10
- data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +6 -97
- 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 +135 -34
- 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/requires_cxx11.hpp +24 -0
- 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 +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +103 -59
- 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 +10 -5
- 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/function0.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function1.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function10.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function2.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function3.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function4.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function5.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function6.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function7.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function8.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function9.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +62 -210
- data/src/cxx_supportlib/vendor-modified/boost/function/function_fwd.hpp +36 -41
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +313 -422
- data/src/cxx_supportlib/vendor-modified/boost/function/function_typeof.hpp +1 -31
- data/src/cxx_supportlib/vendor-modified/boost/function.hpp +5 -61
- 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 +31 -29
- 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 +99 -100
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +51 -52
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +64 -64
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +101 -102
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +155 -164
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +147 -141
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +35 -27
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +30 -30
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +38 -40
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +84 -15
- 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 +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/equal_to_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +1 -32
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +14 -15
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash.hpp +277 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_integral.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_mix.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +204 -115
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +22 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iiterator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +126 -80
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +30 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +11 -64
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +8 -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/parent_from_member.hpp +6 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +18 -18
- 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/size_holder.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +36 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/transform_iterator.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +38 -26
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_value_compare.hpp +28 -28
- 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 +66 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1764 -1040
- 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 +98 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +113 -111
- 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 +21 -11
- 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 +4 -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 +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +51 -52
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +101 -102
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +109 -110
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +68 -77
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +41 -41
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +174 -182
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +107 -108
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +54 -55
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +59 -57
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +141 -115
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +58 -53
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +158 -152
- 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 +126 -116
- 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 +11 -0
- 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 +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +107 -26
- 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 -25
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/buffer_view.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +140 -158
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +613 -646
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +85 -73
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +35 -45
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +22 -29
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp +73 -0
- 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 +30 -25
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +7 -9
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +22 -161
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +10 -13
- data/src/cxx_supportlib/vendor-modified/boost/libs/chrono/src/chrono.cpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/chrono/src/process_cpu_clocks.cpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/chrono/src/thread_clock.cpp +3 -1
- 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 +20 -25
- 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 +24 -22
- 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 +36 -21
- data/src/cxx_supportlib/vendor-modified/boost/limits.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +6 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/adl_move_swap.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +82 -60
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +108 -84
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +321 -488
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/basic_op.hpp +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +22 -11
- 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 +463 -120
- 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 +16 -5
- 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 +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +24 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +32 -6
- 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_traits.hpp +109 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +8 -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/move_helpers.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +268 -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/to_raw_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +332 -69
- 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 +85 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +65 -66
- data/src/cxx_supportlib/vendor-modified/boost/move/utility.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +38 -33
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +1386 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp +321 -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_defer.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_fold.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_front.hpp +50 -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_is_value_list.hpp +41 -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_list_v.hpp +27 -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 +84 -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 +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_value.hpp +25 -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 +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +481 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/utility.hpp +169 -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 +9 -9
- 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/next_prior.hpp +3 -44
- data/src/cxx_supportlib/vendor-modified/boost/nondet_random.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +11 -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/int_float_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
- 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/old_optional_implementation.hpp +7 -6
- 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 +4 -4
- 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 +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_swap.hpp +6 -6
- 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 +95 -29
- 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 +156 -34
- 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 +26 -17
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/yesno.hpp +30 -14
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +158 -74
- 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/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 +156 -74
- 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/pool/simple_segregated_storage.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +96 -32
- 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 +15 -9
- 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 +3 -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 +12 -11
- 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 +10 -9
- 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/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 +11 -10
- 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/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/msvc.h +53 -0
- 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/library/std.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +105 -35
- 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 +10 -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 +18 -19
- 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 +16 -33
- 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 +0 -4
- 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 +34 -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 +0 -4
- 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 +29 -5
- 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 +1 -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 +5 -5
- 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 +1 -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/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 +3 -4
- 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 +2 -2
- 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 +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/splitmix64.hpp +203 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +18 -18
- 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 +4 -5
- 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 +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +4 -10
- data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +4 -10
- 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 +4 -82
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/gcd_lcm.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/is_evenly_divisible_by.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/is_ratio.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/include.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio.hpp +5 -249
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio_fwd.hpp +30 -56
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio_io.hpp +0 -533
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +40 -14
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
- data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +104 -111
- 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 +25 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +47 -24
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +59 -28
- 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 -6
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +9 -9
- 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 +39 -20
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +17 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +51 -52
- 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 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +9 -7
- 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 +641 -25
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +7 -7
- 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_token_iterator.hpp +1 -1
- 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 +524 -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/regex/v5/regex_traits_defaults.hpp +996 -0
- 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 -388
- 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 +6 -6
- 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/requires_cxx11.hpp +23 -0
- 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 +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +15 -3
- 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 +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +25 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +45 -28
- 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_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 +94 -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 +13 -147
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +49 -12
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +23 -22
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_unique.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +120 -40
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +80 -8
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +5 -4
- 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 +44 -18
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +23 -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 +183 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +659 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +326 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
- 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 +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/mutex.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +84 -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 +7 -942
- 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/deque.hpp +1 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/functional.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/list.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/allocator_arg.hpp +2 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/allocator_traits.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/config.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/default_delete.hpp +0 -16
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/pointer_traits.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/scoped_allocator.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/shared_ptr.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/unique_ptr.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/queue.hpp +1 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/tuple.hpp +1 -18
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/vector.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +27 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/platform_time.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/string_to_unsigned.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/string_trim.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +30 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +3 -0
- 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 +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_any.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/interruption.hpp +22 -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 +18 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +6 -13
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +11 -37
- 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 +1 -69
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +19 -19
- 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 +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/synchronized_value.hpp +4 -4
- 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/throw_exception.hpp +231 -56
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +35 -30
- data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +52 -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/config.hpp +29 -5
- 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 +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_03.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +276 -101
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
- 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 +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +288 -148
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_swappable_cxx_11.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/disjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +6 -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 +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +1 -1
- 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 +23 -9
- 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 +3 -2
- 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_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_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_floating_point.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +1 -1
- 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 +6 -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 +1 -1
- 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_nothrow_swappable.hpp +4 -24
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pointer.hpp +1 -1
- 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_swappable.hpp +92 -0
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.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/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/decltype.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/incr_registration_group.hpp +1 -10
- data/src/cxx_supportlib/vendor-modified/boost/typeof/msvc/typeof_impl.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/bitset.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/complex.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/deque.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/fstream.hpp +2 -15
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/functional.hpp +4 -51
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/iostream.hpp +2 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/istream.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/iterator.hpp +2 -46
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/list.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/locale.hpp +2 -29
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/map.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/memory.hpp +4 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/ostream.hpp +2 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/queue.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/set.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/sstream.hpp +2 -19
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/stack.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/streambuf.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +2 -12
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/utility.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/valarray.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/vector.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +8 -202
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +860 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map_fwd.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +716 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set_fwd.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/allocator_constructed.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/archive_constructed.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/bad_archive_exception.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/concurrent_static_asserts.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +884 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +1764 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2271 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/element_type.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/ignore_wshadow.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/reentrancy_check.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/restore_wshadow.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/rw_spinlock.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +651 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1462 -3502
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +10 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/mulx.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/narrow_cast.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/opt_storage.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +214 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialization_version.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialize_container.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialize_fca_container.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/serialize_tracked_address.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/static_assert.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/throw_exception.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +226 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +800 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +610 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +768 -1002
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +16 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +895 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +699 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set_fwd.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +547 -672
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +18 -15
- 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/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 +9 -44
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +31 -47
- data/src/cxx_supportlib/vendor-modified/boost/utility/swap.hpp +4 -1
- 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 +41 -75
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +2 -9
- 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-modified/websocketpp/changelog.md +444 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/readme.md +49 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/close.hpp +353 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/functional.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +448 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/memory.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/thread.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core.hpp +297 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection.hpp +1642 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint.hpp +700 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +817 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/frame.hpp +853 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/parser.hpp +200 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/parser.hpp +629 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/connection_impl.hpp +2375 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/endpoint_impl.hpp +269 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/base.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi13.hpp +1072 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/client_endpoint.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/server_endpoint.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/sha1/sha1.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/connection.hpp +1197 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/endpoint.hpp +1182 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/none.hpp +372 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/tls.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/endpoint.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/connection.hpp +412 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/endpoint.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/connection.hpp +714 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/endpoint.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/connection.hpp +286 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/uri.hpp +356 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utilities.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/version.hpp +61 -0
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/helper-scripts/wsgi-loader.py +34 -17
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +24 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +19 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +36 -0
- data/src/nginx_module/ConfigGeneral/ManifestGeneration.c +2 -2
- data/src/nginx_module/Configuration.c +4 -4
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +16 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +54 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +40 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +9 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +12 -0
- data/src/nginx_module/config +2 -0
- data/src/nginx_module/ngx_http_passenger_module.c +3 -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_native_extension/extconf.rb +1 -1
- 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 +12 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +17 -4
- 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 +4 -3
- 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 +3 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +28 -7
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +10 -5
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +18 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +3 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +10 -13
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +14 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +8 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +10 -6
- 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 +47 -28
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +64 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +12 -1
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +18 -18
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +11 -7
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +14 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +28 -17
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/app.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +4 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/lldb_controller.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger.rb +9 -9
- metadata +863 -303
- data/src/cxx_supportlib/ServerKit/http_parser.cpp +0 -2265
- data/src/cxx_supportlib/ServerKit/http_parser.h +0 -330
- data/src/cxx_supportlib/vendor-copy/websocketpp/changelog.md +0 -342
- data/src/cxx_supportlib/vendor-copy/websocketpp/readme.md +0 -49
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/close.hpp +0 -342
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/asio.hpp +0 -131
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/functional.hpp +0 -105
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/md5.hpp +0 -448
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/memory.hpp +0 -89
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/thread.hpp +0 -84
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/config/core.hpp +0 -285
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/connection.hpp +0 -1651
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/endpoint.hpp +0 -700
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -128
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -752
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/frame.hpp +0 -861
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/http/impl/parser.hpp +0 -196
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/http/parser.hpp +0 -619
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/impl/connection_impl.hpp +0 -2372
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -269
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/processors/base.hpp +0 -299
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/processors/hybi13.hpp +0 -1056
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -173
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -190
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/sha1/sha1.hpp +0 -189
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/connection.hpp +0 -1204
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -1147
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -370
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -484
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -77
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/debug/connection.hpp +0 -412
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -140
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -714
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -222
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/stub/connection.hpp +0 -286
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/uri.hpp +0 -355
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/utilities.hpp +0 -182
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/version.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +0 -457
- 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/gcc_arm_fenced_block.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +0 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +0 -101
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +0 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +0 -154
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_serial_port_service.hpp +0 -238
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +0 -119
- 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/redirect_error.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +0 -83
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +0 -87
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_type.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +0 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +0 -79
- 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/basic_object_handle.hpp +0 -184
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +0 -378
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +0 -361
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +0 -383
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle_service.hpp +0 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +0 -333
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +0 -118
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +0 -380
- 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.hpp +0 -364
- 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/atomic_template.hpp +0 -1248
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_alpha.hpp +0 -34
- 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_sparc.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_x86.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_arm.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/hwcaps_gcc_arm.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/hwcaps_gcc_ppc.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/hwcaps_gcc_x86.hpp +0 -58
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/integral_extend.hpp +0 -105
- 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_cas_based.hpp +0 -107
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_emulated.hpp +0 -162
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_extending_cas_based.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_alpha.hpp +0 -876
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm.hpp +0 -1397
- 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_ppc.hpp +0 -1232
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_sparc.hpp +0 -240
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_sync.hpp +0 -240
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86.hpp +0 -563
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp +0 -556
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_linux_arm.hpp +0 -180
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_arm.hpp +0 -824
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_x86.hpp +0 -908
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_type.hpp +0 -207
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_cc.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +0 -228
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf_cc.hpp +0 -441
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_template.hpp +0 -345
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_cc.hpp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_template.hpp +0 -1047
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_vw.hpp +0 -130
- data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +0 -475
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -41
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/allocators.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/cygwin.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -414
- data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
- 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/sp_typeinfo.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/function_iterate.hpp +0 -16
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/gen_maybe_include.pl +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/maybe_include.hpp +0 -369
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/prologue.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash_fwd.hpp +0 -6
- 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/regex_traits_defaults.cpp +0 -692
- 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 -1678
- 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 -28
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/android.h +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/abs.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/gcd.hpp +0 -124
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/lcm.hpp +0 -126
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/sign.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/overflow_helpers.hpp +0 -367
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/ratio_io.hpp +0 -1342
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/abs.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/arithmetic.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/comparison.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/divides.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/equal_to.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/gcd.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/greater.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/greater_equal.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/lcm.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/less.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/less_equal.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/minus.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/negate.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/not_equal_to.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/numeric_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/plus.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/rational_c_tag.hpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/rational_constant.hpp +0 -15
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/sign.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/times.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -452
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
- 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 -151
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +0 -161
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +0 -116
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/swap.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_interoperability.hpp +0 -141
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
- data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +0 -278
- data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +0 -297
- data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +0 -265
- data/src/cxx_supportlib/vendor-modified/boost/typeof/dmc/typeof_impl.hpp +0 -100
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode.hpp +0 -58
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode_params.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/typeof/int_encoding.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/typeof/integral_template_param.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/boost/typeof/message.hpp +0 -8
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +0 -121
- data/src/cxx_supportlib/vendor-modified/boost/typeof/native.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/typeof/pointers_data_members.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions.hpp +0 -50
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions_iterate.hpp +0 -135
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_mem_functions.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +0 -149
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_encoding.hpp +0 -27
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +0 -186
- data/src/cxx_supportlib/vendor-modified/boost/typeof/unsupported.hpp +0 -29
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector.hpp +0 -166
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector100.hpp +0 -321
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector150.hpp +0 -471
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector200.hpp +0 -621
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector50.hpp +0 -171
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +0 -63
- 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/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-2024 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
|
@@ -58,8 +74,7 @@ struct is_match_condition
|
|
58
74
|
#else
|
59
75
|
enum
|
60
76
|
{
|
61
|
-
value = boost::asio::is_function<
|
62
|
-
typename boost::asio::remove_pointer<T>::type>::value
|
77
|
+
value = boost::asio::is_function<remove_pointer_t<T>>::value
|
63
78
|
|| detail::has_result_type<T>::value
|
64
79
|
};
|
65
80
|
#endif
|
@@ -75,6 +90,8 @@ struct is_match_condition
|
|
75
90
|
*/
|
76
91
|
/*@{*/
|
77
92
|
|
93
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
94
|
+
|
78
95
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
79
96
|
/// delimiter.
|
80
97
|
/**
|
@@ -112,7 +129,7 @@ struct is_match_condition
|
|
112
129
|
* @par Example
|
113
130
|
* To read data into a @c std::string until a newline is encountered:
|
114
131
|
* @code std::string data;
|
115
|
-
* std::
|
132
|
+
* std::size_t n = boost::asio::read_until(s,
|
116
133
|
* boost::asio::dynamic_buffer(data), '\n');
|
117
134
|
* std::string line = data.substr(0, n);
|
118
135
|
* data.erase(0, n); @endcode
|
@@ -128,9 +145,15 @@ struct is_match_condition
|
|
128
145
|
* This data may be the start of a new line, to be extracted by a subsequent
|
129
146
|
* @c read_until operation.
|
130
147
|
*/
|
131
|
-
template <typename SyncReadStream, typename
|
148
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
132
149
|
std::size_t read_until(SyncReadStream& s,
|
133
|
-
|
150
|
+
DynamicBuffer_v1&& buffers, char delim,
|
151
|
+
constraint_t<
|
152
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
153
|
+
> = 0,
|
154
|
+
constraint_t<
|
155
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
156
|
+
> = 0);
|
134
157
|
|
135
158
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
136
159
|
/// delimiter.
|
@@ -166,10 +189,16 @@ std::size_t read_until(SyncReadStream& s,
|
|
166
189
|
* typically leave that data in the dynamic buffer sequence for a subsequent
|
167
190
|
* read_until operation to examine.
|
168
191
|
*/
|
169
|
-
template <typename SyncReadStream, typename
|
192
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
170
193
|
std::size_t read_until(SyncReadStream& s,
|
171
|
-
|
172
|
-
char delim, boost::system::error_code& ec
|
194
|
+
DynamicBuffer_v1&& buffers,
|
195
|
+
char delim, boost::system::error_code& ec,
|
196
|
+
constraint_t<
|
197
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
198
|
+
> = 0,
|
199
|
+
constraint_t<
|
200
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
201
|
+
> = 0);
|
173
202
|
|
174
203
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
175
204
|
/// delimiter.
|
@@ -206,7 +235,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
206
235
|
* @par Example
|
207
236
|
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
208
237
|
* @code std::string data;
|
209
|
-
* std::
|
238
|
+
* std::size_t n = boost::asio::read_until(s,
|
210
239
|
* boost::asio::dynamic_buffer(data), "\r\n");
|
211
240
|
* std::string line = data.substr(0, n);
|
212
241
|
* data.erase(0, n); @endcode
|
@@ -222,10 +251,16 @@ std::size_t read_until(SyncReadStream& s,
|
|
222
251
|
* This data may be the start of a new line, to be extracted by a subsequent
|
223
252
|
* @c read_until operation.
|
224
253
|
*/
|
225
|
-
template <typename SyncReadStream, typename
|
254
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
226
255
|
std::size_t read_until(SyncReadStream& s,
|
227
|
-
|
228
|
-
BOOST_ASIO_STRING_VIEW_PARAM delim
|
256
|
+
DynamicBuffer_v1&& buffers,
|
257
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
258
|
+
constraint_t<
|
259
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
260
|
+
> = 0,
|
261
|
+
constraint_t<
|
262
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
263
|
+
> = 0);
|
229
264
|
|
230
265
|
/// Read data into a dynamic buffer sequence until it contains a specified
|
231
266
|
/// delimiter.
|
@@ -261,11 +296,17 @@ std::size_t read_until(SyncReadStream& s,
|
|
261
296
|
* typically leave that data in the dynamic buffer sequence for a subsequent
|
262
297
|
* read_until operation to examine.
|
263
298
|
*/
|
264
|
-
template <typename SyncReadStream, typename
|
299
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
265
300
|
std::size_t read_until(SyncReadStream& s,
|
266
|
-
|
301
|
+
DynamicBuffer_v1&& buffers,
|
267
302
|
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
268
|
-
boost::system::error_code& ec
|
303
|
+
boost::system::error_code& ec,
|
304
|
+
constraint_t<
|
305
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
306
|
+
> = 0,
|
307
|
+
constraint_t<
|
308
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
309
|
+
> = 0);
|
269
310
|
|
270
311
|
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
271
312
|
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
@@ -309,7 +350,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
309
350
|
* @par Example
|
310
351
|
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
311
352
|
* @code std::string data;
|
312
|
-
* std::
|
353
|
+
* std::size_t n = boost::asio::read_until(s,
|
313
354
|
* boost::asio::dynamic_buffer(data), boost::regex("\r\n"));
|
314
355
|
* std::string line = data.substr(0, n);
|
315
356
|
* data.erase(0, n); @endcode
|
@@ -325,10 +366,15 @@ std::size_t read_until(SyncReadStream& s,
|
|
325
366
|
* This data may be the start of a new line, to be extracted by a subsequent
|
326
367
|
* @c read_until operation.
|
327
368
|
*/
|
328
|
-
template <typename SyncReadStream, typename
|
329
|
-
std::size_t read_until(SyncReadStream& s,
|
330
|
-
|
331
|
-
|
369
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1, typename Traits>
|
370
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v1&& buffers,
|
371
|
+
const boost::basic_regex<char, Traits>& expr,
|
372
|
+
constraint_t<
|
373
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
374
|
+
> = 0,
|
375
|
+
constraint_t<
|
376
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
377
|
+
> = 0);
|
332
378
|
|
333
379
|
/// Read data into a dynamic buffer sequence until some part of the data it
|
334
380
|
/// contains matches a regular expression.
|
@@ -366,10 +412,15 @@ std::size_t read_until(SyncReadStream& s,
|
|
366
412
|
* expression. An application will typically leave that data in the dynamic
|
367
413
|
* buffer sequence for a subsequent read_until operation to examine.
|
368
414
|
*/
|
369
|
-
template <typename SyncReadStream, typename
|
370
|
-
std::size_t read_until(SyncReadStream& s,
|
371
|
-
|
372
|
-
|
415
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1, typename Traits>
|
416
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v1&& buffers,
|
417
|
+
const boost::basic_regex<char, Traits>& expr, boost::system::error_code& ec,
|
418
|
+
constraint_t<
|
419
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
420
|
+
> = 0,
|
421
|
+
constraint_t<
|
422
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
423
|
+
> = 0);
|
373
424
|
|
374
425
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
375
426
|
// || defined(GENERATING_DOCUMENTATION)
|
@@ -402,7 +453,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
402
453
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
403
454
|
* @endcode
|
404
455
|
* where @c iterator represents the type:
|
405
|
-
* @code buffers_iterator<typename
|
456
|
+
* @code buffers_iterator<typename DynamicBuffer_v1::const_buffers_type>
|
406
457
|
* @endcode
|
407
458
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
408
459
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -477,11 +528,19 @@ std::size_t read_until(SyncReadStream& s,
|
|
477
528
|
* @endcode
|
478
529
|
*/
|
479
530
|
template <typename SyncReadStream,
|
480
|
-
typename
|
531
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
481
532
|
std::size_t read_until(SyncReadStream& s,
|
482
|
-
|
533
|
+
DynamicBuffer_v1&& buffers,
|
483
534
|
MatchCondition match_condition,
|
484
|
-
|
535
|
+
constraint_t<
|
536
|
+
is_match_condition<MatchCondition>::value
|
537
|
+
> = 0,
|
538
|
+
constraint_t<
|
539
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
540
|
+
> = 0,
|
541
|
+
constraint_t<
|
542
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
543
|
+
> = 0);
|
485
544
|
|
486
545
|
/// Read data into a dynamic buffer sequence until a function object indicates a
|
487
546
|
/// match.
|
@@ -510,7 +569,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
510
569
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
511
570
|
* @endcode
|
512
571
|
* where @c iterator represents the type:
|
513
|
-
* @code buffers_iterator<
|
572
|
+
* @code buffers_iterator<DynamicBuffer_v1::const_buffers_type>
|
514
573
|
* @endcode
|
515
574
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
516
575
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -537,11 +596,19 @@ std::size_t read_until(SyncReadStream& s,
|
|
537
596
|
* function objects.
|
538
597
|
*/
|
539
598
|
template <typename SyncReadStream,
|
540
|
-
typename
|
599
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
541
600
|
std::size_t read_until(SyncReadStream& s,
|
542
|
-
|
601
|
+
DynamicBuffer_v1&& buffers,
|
543
602
|
MatchCondition match_condition, boost::system::error_code& ec,
|
544
|
-
|
603
|
+
constraint_t<
|
604
|
+
is_match_condition<MatchCondition>::value
|
605
|
+
> = 0,
|
606
|
+
constraint_t<
|
607
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
608
|
+
> = 0,
|
609
|
+
constraint_t<
|
610
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
611
|
+
> = 0);
|
545
612
|
|
546
613
|
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
547
614
|
|
@@ -773,9 +840,10 @@ std::size_t read_until(SyncReadStream& s,
|
|
773
840
|
* This data may be the start of a new line, to be extracted by a subsequent
|
774
841
|
* @c read_until operation.
|
775
842
|
*/
|
776
|
-
template <typename SyncReadStream, typename Allocator>
|
843
|
+
template <typename SyncReadStream, typename Allocator, typename Traits>
|
777
844
|
std::size_t read_until(SyncReadStream& s,
|
778
|
-
boost::asio::basic_streambuf<Allocator>& b,
|
845
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
846
|
+
const boost::basic_regex<char, Traits>& expr);
|
779
847
|
|
780
848
|
/// Read data into a streambuf until some part of the data it contains matches
|
781
849
|
/// a regular expression.
|
@@ -810,9 +878,10 @@ std::size_t read_until(SyncReadStream& s,
|
|
810
878
|
* application will typically leave that data in the streambuf for a subsequent
|
811
879
|
* read_until operation to examine.
|
812
880
|
*/
|
813
|
-
template <typename SyncReadStream, typename Allocator>
|
881
|
+
template <typename SyncReadStream, typename Allocator, typename Traits>
|
814
882
|
std::size_t read_until(SyncReadStream& s,
|
815
|
-
boost::asio::basic_streambuf<Allocator>& b,
|
883
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
884
|
+
const boost::basic_regex<char, Traits>& expr,
|
816
885
|
boost::system::error_code& ec);
|
817
886
|
|
818
887
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
@@ -921,7 +990,7 @@ std::size_t read_until(SyncReadStream& s,
|
|
921
990
|
template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
922
991
|
std::size_t read_until(SyncReadStream& s,
|
923
992
|
boost::asio::basic_streambuf<Allocator>& b, MatchCondition match_condition,
|
924
|
-
|
993
|
+
constraint_t<is_match_condition<MatchCondition>::value> = 0);
|
925
994
|
|
926
995
|
/// Read data into a streambuf until a function object indicates a match.
|
927
996
|
/**
|
@@ -978,30 +1047,19 @@ template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
|
978
1047
|
std::size_t read_until(SyncReadStream& s,
|
979
1048
|
boost::asio::basic_streambuf<Allocator>& b,
|
980
1049
|
MatchCondition match_condition, boost::system::error_code& ec,
|
981
|
-
|
1050
|
+
constraint_t<is_match_condition<MatchCondition>::value> = 0);
|
982
1051
|
|
983
1052
|
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
984
1053
|
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1054
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
985
1055
|
|
986
|
-
|
987
|
-
|
988
|
-
* @defgroup async_read_until boost::asio::async_read_until
|
989
|
-
*
|
990
|
-
* @brief The @c async_read_until function is a composed asynchronous operation
|
991
|
-
* that reads data into a dynamic buffer sequence, or into a streambuf, until
|
992
|
-
* it contains a delimiter, matches a regular expression, or a function object
|
993
|
-
* indicates a match.
|
994
|
-
*/
|
995
|
-
/*@{*/
|
996
|
-
|
997
|
-
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
998
|
-
/// until it contains a specified delimiter.
|
1056
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1057
|
+
/// delimiter.
|
999
1058
|
/**
|
1000
|
-
* This function is used to
|
1001
|
-
*
|
1002
|
-
*
|
1003
|
-
*
|
1004
|
-
* is true:
|
1059
|
+
* This function is used to read data into the specified dynamic buffer
|
1060
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1061
|
+
* delimiter. The call will block until one of the following conditions is
|
1062
|
+
* true:
|
1005
1063
|
*
|
1006
1064
|
* @li The get area of the dynamic buffer sequence contains the specified
|
1007
1065
|
* delimiter.
|
@@ -1009,89 +1067,58 @@ std::size_t read_until(SyncReadStream& s,
|
|
1009
1067
|
* @li An error occurred.
|
1010
1068
|
*
|
1011
1069
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1012
|
-
*
|
1013
|
-
*
|
1014
|
-
* asynchronous operation completes immediately. The program must ensure that
|
1015
|
-
* the stream performs no other read operations (such as async_read,
|
1016
|
-
* async_read_until, the stream's async_read_some function, or any other
|
1017
|
-
* composed operations that perform reads) until this operation completes.
|
1070
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1071
|
+
* contains the delimiter, the function returns immediately.
|
1018
1072
|
*
|
1019
1073
|
* @param s The stream from which the data is to be read. The type must support
|
1020
|
-
* the
|
1074
|
+
* the SyncReadStream concept.
|
1021
1075
|
*
|
1022
1076
|
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1023
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1024
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1025
|
-
* that they remain valid until the handler is called.
|
1026
1077
|
*
|
1027
1078
|
* @param delim The delimiter character.
|
1028
1079
|
*
|
1029
|
-
* @
|
1030
|
-
*
|
1031
|
-
* handler must be:
|
1032
|
-
* @code void handler(
|
1033
|
-
* // Result of operation.
|
1034
|
-
* const boost::system::error_code& error,
|
1080
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1081
|
+
* and including the delimiter.
|
1035
1082
|
*
|
1036
|
-
*
|
1037
|
-
* // get area up to and including the delimiter.
|
1038
|
-
* // 0 if an error occurred.
|
1039
|
-
* std::size_t bytes_transferred
|
1040
|
-
* ); @endcode
|
1041
|
-
* Regardless of whether the asynchronous operation completes immediately or
|
1042
|
-
* not, the handler will not be invoked from within this function. Invocation of
|
1043
|
-
* the handler will be performed in a manner equivalent to using
|
1044
|
-
* boost::asio::io_context::post().
|
1083
|
+
* @throws boost::system::system_error Thrown on failure.
|
1045
1084
|
*
|
1046
|
-
* @note After a successful
|
1047
|
-
*
|
1048
|
-
*
|
1049
|
-
*
|
1085
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1086
|
+
* may contain additional data beyond the delimiter. An application will
|
1087
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1088
|
+
* read_until operation to examine.
|
1050
1089
|
*
|
1051
1090
|
* @par Example
|
1052
|
-
* To
|
1053
|
-
* encountered:
|
1091
|
+
* To read data into a @c std::string until a newline is encountered:
|
1054
1092
|
* @code std::string data;
|
1055
|
-
*
|
1056
|
-
*
|
1057
|
-
*
|
1058
|
-
*
|
1059
|
-
*
|
1060
|
-
*
|
1061
|
-
* data.erase(0, n);
|
1062
|
-
* ...
|
1063
|
-
* }
|
1064
|
-
* }
|
1065
|
-
* ...
|
1066
|
-
* boost::asio::async_read_until(s, data, '\n', handler); @endcode
|
1067
|
-
* After the @c async_read_until operation completes successfully, the buffer
|
1068
|
-
* @c data contains the delimiter:
|
1093
|
+
* std::size_t n = boost::asio::read_until(s,
|
1094
|
+
* boost::asio::dynamic_buffer(data), '\n');
|
1095
|
+
* std::string line = data.substr(0, n);
|
1096
|
+
* data.erase(0, n); @endcode
|
1097
|
+
* After the @c read_until operation completes successfully, the string @c data
|
1098
|
+
* contains the delimiter:
|
1069
1099
|
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
1070
1100
|
* The call to @c substr then extracts the data up to and including the
|
1071
1101
|
* delimiter, so that the string @c line contains:
|
1072
1102
|
* @code { 'a', 'b', ..., 'c', '\n' } @endcode
|
1073
|
-
* After the call to @c erase, the remaining data is left in the buffer @c
|
1074
|
-
*
|
1103
|
+
* After the call to @c erase, the remaining data is left in the buffer @c b as
|
1104
|
+
* follows:
|
1075
1105
|
* @code { 'd', 'e', ... } @endcode
|
1076
1106
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1077
|
-
* @c
|
1107
|
+
* @c read_until operation.
|
1078
1108
|
*/
|
1079
|
-
template <typename
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
|
1085
|
-
char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
|
1109
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1110
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
|
1111
|
+
constraint_t<
|
1112
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1113
|
+
> = 0);
|
1086
1114
|
|
1087
|
-
///
|
1088
|
-
///
|
1115
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1116
|
+
/// delimiter.
|
1089
1117
|
/**
|
1090
|
-
* This function is used to
|
1091
|
-
*
|
1092
|
-
*
|
1093
|
-
*
|
1094
|
-
* is true:
|
1118
|
+
* This function is used to read data into the specified dynamic buffer
|
1119
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1120
|
+
* delimiter. The call will block until one of the following conditions is
|
1121
|
+
* true:
|
1095
1122
|
*
|
1096
1123
|
* @li The get area of the dynamic buffer sequence contains the specified
|
1097
1124
|
* delimiter.
|
@@ -1099,192 +1126,1321 @@ async_read_until(AsyncReadStream& s,
|
|
1099
1126
|
* @li An error occurred.
|
1100
1127
|
*
|
1101
1128
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1102
|
-
*
|
1103
|
-
*
|
1104
|
-
* asynchronous operation completes immediately. The program must ensure that
|
1105
|
-
* the stream performs no other read operations (such as async_read,
|
1106
|
-
* async_read_until, the stream's async_read_some function, or any other
|
1107
|
-
* composed operations that perform reads) until this operation completes.
|
1129
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1130
|
+
* contains the delimiter, the function returns immediately.
|
1108
1131
|
*
|
1109
1132
|
* @param s The stream from which the data is to be read. The type must support
|
1110
|
-
* the
|
1133
|
+
* the SyncReadStream concept.
|
1111
1134
|
*
|
1112
1135
|
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1113
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1114
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1115
|
-
* that they remain valid until the handler is called.
|
1116
1136
|
*
|
1117
|
-
* @param delim The delimiter
|
1137
|
+
* @param delim The delimiter character.
|
1118
1138
|
*
|
1119
|
-
* @param
|
1120
|
-
* Copies will be made of the handler as required. The function signature of the
|
1121
|
-
* handler must be:
|
1122
|
-
* @code void handler(
|
1123
|
-
* // Result of operation.
|
1124
|
-
* const boost::system::error_code& error,
|
1139
|
+
* @param ec Set to indicate what error occurred, if any.
|
1125
1140
|
*
|
1126
|
-
*
|
1127
|
-
*
|
1128
|
-
* // 0 if an error occurred.
|
1129
|
-
* std::size_t bytes_transferred
|
1130
|
-
* ); @endcode
|
1131
|
-
* Regardless of whether the asynchronous operation completes immediately or
|
1132
|
-
* not, the handler will not be invoked from within this function. Invocation of
|
1133
|
-
* the handler will be performed in a manner equivalent to using
|
1134
|
-
* boost::asio::io_context::post().
|
1141
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1142
|
+
* and including the delimiter. Returns 0 if an error occurred.
|
1135
1143
|
*
|
1136
|
-
* @note After a successful
|
1137
|
-
*
|
1138
|
-
*
|
1139
|
-
*
|
1144
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1145
|
+
* may contain additional data beyond the delimiter. An application will
|
1146
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1147
|
+
* read_until operation to examine.
|
1148
|
+
*/
|
1149
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1150
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1151
|
+
char delim, boost::system::error_code& ec,
|
1152
|
+
constraint_t<
|
1153
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1154
|
+
> = 0);
|
1155
|
+
|
1156
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1157
|
+
/// delimiter.
|
1158
|
+
/**
|
1159
|
+
* This function is used to read data into the specified dynamic buffer
|
1160
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1161
|
+
* delimiter. The call will block until one of the following conditions is
|
1162
|
+
* true:
|
1163
|
+
*
|
1164
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1165
|
+
* delimiter.
|
1166
|
+
*
|
1167
|
+
* @li An error occurred.
|
1168
|
+
*
|
1169
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1170
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1171
|
+
* contains the delimiter, the function returns immediately.
|
1172
|
+
*
|
1173
|
+
* @param s The stream from which the data is to be read. The type must support
|
1174
|
+
* the SyncReadStream concept.
|
1175
|
+
*
|
1176
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1177
|
+
*
|
1178
|
+
* @param delim The delimiter string.
|
1179
|
+
*
|
1180
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1181
|
+
* and including the delimiter.
|
1182
|
+
*
|
1183
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1184
|
+
* may contain additional data beyond the delimiter. An application will
|
1185
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1186
|
+
* read_until operation to examine.
|
1140
1187
|
*
|
1141
1188
|
* @par Example
|
1142
|
-
* To
|
1143
|
-
* encountered:
|
1189
|
+
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
1144
1190
|
* @code std::string data;
|
1145
|
-
*
|
1146
|
-
*
|
1147
|
-
*
|
1148
|
-
*
|
1149
|
-
*
|
1150
|
-
*
|
1151
|
-
* data.erase(0, n);
|
1152
|
-
* ...
|
1153
|
-
* }
|
1154
|
-
* }
|
1155
|
-
* ...
|
1156
|
-
* boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
|
1157
|
-
* After the @c async_read_until operation completes successfully, the string
|
1158
|
-
* @c data contains the delimiter:
|
1191
|
+
* std::size_t n = boost::asio::read_until(s,
|
1192
|
+
* boost::asio::dynamic_buffer(data), "\r\n");
|
1193
|
+
* std::string line = data.substr(0, n);
|
1194
|
+
* data.erase(0, n); @endcode
|
1195
|
+
* After the @c read_until operation completes successfully, the string @c data
|
1196
|
+
* contains the delimiter:
|
1159
1197
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1160
1198
|
* The call to @c substr then extracts the data up to and including the
|
1161
1199
|
* delimiter, so that the string @c line contains:
|
1162
1200
|
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1163
|
-
* After the call to @c erase, the remaining data is left in the
|
1164
|
-
*
|
1201
|
+
* After the call to @c erase, the remaining data is left in the buffer @c b as
|
1202
|
+
* follows:
|
1165
1203
|
* @code { 'd', 'e', ... } @endcode
|
1166
1204
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1167
|
-
* @c
|
1205
|
+
* @c read_until operation.
|
1168
1206
|
*/
|
1169
|
-
template <typename
|
1170
|
-
|
1171
|
-
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
1172
|
-
void (boost::system::error_code, std::size_t))
|
1173
|
-
async_read_until(AsyncReadStream& s,
|
1174
|
-
BOOST_ASIO_MOVE_ARG(DynamicBuffer) buffers,
|
1207
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1208
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1175
1209
|
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1180
|
-
|| defined(GENERATING_DOCUMENTATION)
|
1210
|
+
constraint_t<
|
1211
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1212
|
+
> = 0);
|
1181
1213
|
|
1182
|
-
///
|
1183
|
-
///
|
1214
|
+
/// Read data into a dynamic buffer sequence until it contains a specified
|
1215
|
+
/// delimiter.
|
1184
1216
|
/**
|
1185
|
-
* This function is used to
|
1186
|
-
*
|
1187
|
-
*
|
1188
|
-
*
|
1189
|
-
* following conditions is true:
|
1217
|
+
* This function is used to read data into the specified dynamic buffer
|
1218
|
+
* sequence until the dynamic buffer sequence's get area contains the specified
|
1219
|
+
* delimiter. The call will block until one of the following conditions is
|
1220
|
+
* true:
|
1190
1221
|
*
|
1191
|
-
* @li
|
1192
|
-
*
|
1222
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1223
|
+
* delimiter.
|
1193
1224
|
*
|
1194
1225
|
* @li An error occurred.
|
1195
1226
|
*
|
1196
1227
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1197
|
-
*
|
1198
|
-
* the
|
1199
|
-
* the regular expression, this asynchronous operation completes immediately.
|
1200
|
-
* The program must ensure that the stream performs no other read operations
|
1201
|
-
* (such as async_read, async_read_until, the stream's async_read_some
|
1202
|
-
* function, or any other composed operations that perform reads) until this
|
1203
|
-
* operation completes.
|
1228
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1229
|
+
* contains the delimiter, the function returns immediately.
|
1204
1230
|
*
|
1205
1231
|
* @param s The stream from which the data is to be read. The type must support
|
1206
|
-
* the
|
1232
|
+
* the SyncReadStream concept.
|
1207
1233
|
*
|
1208
1234
|
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1209
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1210
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1211
|
-
* that they remain valid until the handler is called.
|
1212
1235
|
*
|
1213
|
-
* @param
|
1236
|
+
* @param delim The delimiter string.
|
1214
1237
|
*
|
1215
|
-
* @param
|
1216
|
-
* Copies will be made of the handler as required. The function signature of the
|
1217
|
-
* handler must be:
|
1218
|
-
* @code void handler(
|
1219
|
-
* // Result of operation.
|
1220
|
-
* const boost::system::error_code& error,
|
1238
|
+
* @param ec Set to indicate what error occurred, if any.
|
1221
1239
|
*
|
1222
|
-
*
|
1223
|
-
*
|
1224
|
-
*
|
1225
|
-
*
|
1226
|
-
*
|
1227
|
-
*
|
1228
|
-
*
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1240
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1241
|
+
* and including the delimiter. Returns 0 if an error occurred.
|
1242
|
+
*
|
1243
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1244
|
+
* may contain additional data beyond the delimiter. An application will
|
1245
|
+
* typically leave that data in the dynamic buffer sequence for a subsequent
|
1246
|
+
* read_until operation to examine.
|
1247
|
+
*/
|
1248
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
1249
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1250
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
|
1251
|
+
constraint_t<
|
1252
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1253
|
+
> = 0);
|
1254
|
+
|
1255
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1256
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1257
|
+
|| defined(GENERATING_DOCUMENTATION)
|
1258
|
+
|
1259
|
+
/// Read data into a dynamic buffer sequence until some part of the data it
|
1260
|
+
/// contains matches a regular expression.
|
1261
|
+
/**
|
1262
|
+
* This function is used to read data into the specified dynamic buffer
|
1263
|
+
* sequence until the dynamic buffer sequence's get area contains some data
|
1264
|
+
* that matches a regular expression. The call will block until one of the
|
1265
|
+
* following conditions is true:
|
1266
|
+
*
|
1267
|
+
* @li A substring of the dynamic buffer sequence's get area matches the
|
1268
|
+
* regular expression.
|
1269
|
+
*
|
1270
|
+
* @li An error occurred.
|
1271
|
+
*
|
1272
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1273
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1274
|
+
* contains data that matches the regular expression, the function returns
|
1275
|
+
* immediately.
|
1276
|
+
*
|
1277
|
+
* @param s The stream from which the data is to be read. The type must support
|
1278
|
+
* the SyncReadStream concept.
|
1279
|
+
*
|
1280
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1281
|
+
*
|
1282
|
+
* @param expr The regular expression.
|
1283
|
+
*
|
1284
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1285
|
+
* and including the substring that matches the regular expression.
|
1286
|
+
*
|
1287
|
+
* @throws boost::system::system_error Thrown on failure.
|
1288
|
+
*
|
1289
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1290
|
+
* may contain additional data beyond that which matched the regular
|
1291
|
+
* expression. An application will typically leave that data in the dynamic
|
1292
|
+
* buffer sequence for a subsequent read_until operation to examine.
|
1293
|
+
*
|
1294
|
+
* @par Example
|
1295
|
+
* To read data into a @c std::string until a CR-LF sequence is encountered:
|
1296
|
+
* @code std::string data;
|
1297
|
+
* std::size_t n = boost::asio::read_until(s,
|
1298
|
+
* boost::asio::dynamic_buffer(data), boost::regex("\r\n"));
|
1299
|
+
* std::string line = data.substr(0, n);
|
1300
|
+
* data.erase(0, n); @endcode
|
1301
|
+
* After the @c read_until operation completes successfully, the string @c data
|
1302
|
+
* contains the delimiter:
|
1303
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1304
|
+
* The call to @c substr then extracts the data up to and including the
|
1305
|
+
* delimiter, so that the string @c line contains:
|
1306
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1307
|
+
* After the call to @c erase, the remaining data is left in the buffer @c b as
|
1308
|
+
* follows:
|
1309
|
+
* @code { 'd', 'e', ... } @endcode
|
1310
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1311
|
+
* @c read_until operation.
|
1312
|
+
*/
|
1313
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2, typename Traits>
|
1314
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1315
|
+
const boost::basic_regex<char, Traits>& expr,
|
1316
|
+
constraint_t<
|
1317
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1318
|
+
> = 0);
|
1319
|
+
|
1320
|
+
/// Read data into a dynamic buffer sequence until some part of the data it
|
1321
|
+
/// contains matches a regular expression.
|
1322
|
+
/**
|
1323
|
+
* This function is used to read data into the specified dynamic buffer
|
1324
|
+
* sequence until the dynamic buffer sequence's get area contains some data
|
1325
|
+
* that matches a regular expression. The call will block until one of the
|
1326
|
+
* following conditions is true:
|
1327
|
+
*
|
1328
|
+
* @li A substring of the dynamic buffer sequence's get area matches the
|
1329
|
+
* regular expression.
|
1330
|
+
*
|
1331
|
+
* @li An error occurred.
|
1332
|
+
*
|
1333
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1334
|
+
* read_some function. If the dynamic buffer sequence's get area already
|
1335
|
+
* contains data that matches the regular expression, the function returns
|
1336
|
+
* immediately.
|
1337
|
+
*
|
1338
|
+
* @param s The stream from which the data is to be read. The type must support
|
1339
|
+
* the SyncReadStream concept.
|
1340
|
+
*
|
1341
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1342
|
+
*
|
1343
|
+
* @param expr The regular expression.
|
1344
|
+
*
|
1345
|
+
* @param ec Set to indicate what error occurred, if any.
|
1346
|
+
*
|
1347
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area up to
|
1348
|
+
* and including the substring that matches the regular expression. Returns 0
|
1349
|
+
* if an error occurred.
|
1350
|
+
*
|
1351
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1352
|
+
* may contain additional data beyond that which matched the regular
|
1353
|
+
* expression. An application will typically leave that data in the dynamic
|
1354
|
+
* buffer sequence for a subsequent read_until operation to examine.
|
1355
|
+
*/
|
1356
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2, typename Traits>
|
1357
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1358
|
+
const boost::basic_regex<char, Traits>& expr, boost::system::error_code& ec,
|
1359
|
+
constraint_t<
|
1360
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1361
|
+
> = 0);
|
1362
|
+
|
1363
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1364
|
+
// || defined(GENERATING_DOCUMENTATION)
|
1365
|
+
|
1366
|
+
/// Read data into a dynamic buffer sequence until a function object indicates a
|
1367
|
+
/// match.
|
1368
|
+
|
1369
|
+
/**
|
1370
|
+
* This function is used to read data into the specified dynamic buffer
|
1371
|
+
* sequence until a user-defined match condition function object, when applied
|
1372
|
+
* to the data contained in the dynamic buffer sequence, indicates a successful
|
1373
|
+
* match. The call will block until one of the following conditions is true:
|
1374
|
+
*
|
1375
|
+
* @li The match condition function object returns a std::pair where the second
|
1376
|
+
* element evaluates to true.
|
1377
|
+
*
|
1378
|
+
* @li An error occurred.
|
1379
|
+
*
|
1380
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1381
|
+
* read_some function. If the match condition function object already indicates
|
1382
|
+
* a match, the function returns immediately.
|
1383
|
+
*
|
1384
|
+
* @param s The stream from which the data is to be read. The type must support
|
1385
|
+
* the SyncReadStream concept.
|
1386
|
+
*
|
1387
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1388
|
+
*
|
1389
|
+
* @param match_condition The function object to be called to determine whether
|
1390
|
+
* a match exists. The signature of the function object must be:
|
1391
|
+
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1392
|
+
* @endcode
|
1393
|
+
* where @c iterator represents the type:
|
1394
|
+
* @code buffers_iterator<typename DynamicBuffer_v2::const_buffers_type>
|
1395
|
+
* @endcode
|
1396
|
+
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1397
|
+
* scanned to determine whether there is a match. The @c first member of the
|
1398
|
+
* return value is an iterator marking one-past-the-end of the bytes that have
|
1399
|
+
* been consumed by the match function. This iterator is used to calculate the
|
1400
|
+
* @c begin parameter for any subsequent invocation of the match condition. The
|
1401
|
+
* @c second member of the return value is true if a match has been found, false
|
1402
|
+
* otherwise.
|
1403
|
+
*
|
1404
|
+
* @returns The number of bytes in the dynamic_buffer's get area that
|
1405
|
+
* have been fully consumed by the match function.
|
1406
|
+
*
|
1407
|
+
* @throws boost::system::system_error Thrown on failure.
|
1408
|
+
*
|
1409
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1410
|
+
* may contain additional data beyond that which matched the function object.
|
1411
|
+
* An application will typically leave that data in the dynamic buffer sequence
|
1412
|
+
* for a subsequent read_until operation to examine.
|
1413
|
+
|
1414
|
+
* @note The default implementation of the @c is_match_condition type trait
|
1415
|
+
* evaluates to true for function pointers and function objects with a
|
1416
|
+
* @c result_type typedef. It must be specialised for other user-defined
|
1417
|
+
* function objects.
|
1418
|
+
*
|
1419
|
+
* @par Examples
|
1420
|
+
* To read data into a dynamic buffer sequence until whitespace is encountered:
|
1421
|
+
* @code typedef boost::asio::buffers_iterator<
|
1422
|
+
* boost::asio::const_buffers_1> iterator;
|
1423
|
+
*
|
1424
|
+
* std::pair<iterator, bool>
|
1425
|
+
* match_whitespace(iterator begin, iterator end)
|
1426
|
+
* {
|
1427
|
+
* iterator i = begin;
|
1428
|
+
* while (i != end)
|
1429
|
+
* if (std::isspace(*i++))
|
1430
|
+
* return std::make_pair(i, true);
|
1431
|
+
* return std::make_pair(i, false);
|
1432
|
+
* }
|
1433
|
+
* ...
|
1434
|
+
* std::string data;
|
1435
|
+
* boost::asio::read_until(s, data, match_whitespace);
|
1436
|
+
* @endcode
|
1437
|
+
*
|
1438
|
+
* To read data into a @c std::string until a matching character is found:
|
1439
|
+
* @code class match_char
|
1440
|
+
* {
|
1441
|
+
* public:
|
1442
|
+
* explicit match_char(char c) : c_(c) {}
|
1443
|
+
*
|
1444
|
+
* template <typename Iterator>
|
1445
|
+
* std::pair<Iterator, bool> operator()(
|
1446
|
+
* Iterator begin, Iterator end) const
|
1447
|
+
* {
|
1448
|
+
* Iterator i = begin;
|
1449
|
+
* while (i != end)
|
1450
|
+
* if (c_ == *i++)
|
1451
|
+
* return std::make_pair(i, true);
|
1452
|
+
* return std::make_pair(i, false);
|
1453
|
+
* }
|
1454
|
+
*
|
1455
|
+
* private:
|
1456
|
+
* char c_;
|
1457
|
+
* };
|
1458
|
+
*
|
1459
|
+
* namespace asio {
|
1460
|
+
* template <> struct is_match_condition<match_char>
|
1461
|
+
* : public boost::true_type {};
|
1462
|
+
* } // namespace asio
|
1463
|
+
* ...
|
1464
|
+
* std::string data;
|
1465
|
+
* boost::asio::read_until(s, data, match_char('a'));
|
1466
|
+
* @endcode
|
1467
|
+
*/
|
1468
|
+
template <typename SyncReadStream,
|
1469
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
1470
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1471
|
+
MatchCondition match_condition,
|
1472
|
+
constraint_t<
|
1473
|
+
is_match_condition<MatchCondition>::value
|
1474
|
+
> = 0,
|
1475
|
+
constraint_t<
|
1476
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1477
|
+
> = 0);
|
1478
|
+
|
1479
|
+
/// Read data into a dynamic buffer sequence until a function object indicates a
|
1480
|
+
/// match.
|
1481
|
+
/**
|
1482
|
+
* This function is used to read data into the specified dynamic buffer
|
1483
|
+
* sequence until a user-defined match condition function object, when applied
|
1484
|
+
* to the data contained in the dynamic buffer sequence, indicates a successful
|
1485
|
+
* match. The call will block until one of the following conditions is true:
|
1486
|
+
*
|
1487
|
+
* @li The match condition function object returns a std::pair where the second
|
1488
|
+
* element evaluates to true.
|
1489
|
+
*
|
1490
|
+
* @li An error occurred.
|
1491
|
+
*
|
1492
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1493
|
+
* read_some function. If the match condition function object already indicates
|
1494
|
+
* a match, the function returns immediately.
|
1495
|
+
*
|
1496
|
+
* @param s The stream from which the data is to be read. The type must support
|
1497
|
+
* the SyncReadStream concept.
|
1498
|
+
*
|
1499
|
+
* @param buffers A dynamic buffer sequence into which the data will be read.
|
1500
|
+
*
|
1501
|
+
* @param match_condition The function object to be called to determine whether
|
1502
|
+
* a match exists. The signature of the function object must be:
|
1503
|
+
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1504
|
+
* @endcode
|
1505
|
+
* where @c iterator represents the type:
|
1506
|
+
* @code buffers_iterator<DynamicBuffer_v2::const_buffers_type>
|
1507
|
+
* @endcode
|
1508
|
+
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1509
|
+
* scanned to determine whether there is a match. The @c first member of the
|
1510
|
+
* return value is an iterator marking one-past-the-end of the bytes that have
|
1511
|
+
* been consumed by the match function. This iterator is used to calculate the
|
1512
|
+
* @c begin parameter for any subsequent invocation of the match condition. The
|
1513
|
+
* @c second member of the return value is true if a match has been found, false
|
1514
|
+
* otherwise.
|
1515
|
+
*
|
1516
|
+
* @param ec Set to indicate what error occurred, if any.
|
1517
|
+
*
|
1518
|
+
* @returns The number of bytes in the dynamic buffer sequence's get area that
|
1519
|
+
* have been fully consumed by the match function. Returns 0 if an error
|
1520
|
+
* occurred.
|
1521
|
+
*
|
1522
|
+
* @note After a successful read_until operation, the dynamic buffer sequence
|
1523
|
+
* may contain additional data beyond that which matched the function object.
|
1524
|
+
* An application will typically leave that data in the dynamic buffer sequence
|
1525
|
+
* for a subsequent read_until operation to examine.
|
1526
|
+
*
|
1527
|
+
* @note The default implementation of the @c is_match_condition type trait
|
1528
|
+
* evaluates to true for function pointers and function objects with a
|
1529
|
+
* @c result_type typedef. It must be specialised for other user-defined
|
1530
|
+
* function objects.
|
1531
|
+
*/
|
1532
|
+
template <typename SyncReadStream,
|
1533
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
1534
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
1535
|
+
MatchCondition match_condition, boost::system::error_code& ec,
|
1536
|
+
constraint_t<
|
1537
|
+
is_match_condition<MatchCondition>::value
|
1538
|
+
> = 0,
|
1539
|
+
constraint_t<
|
1540
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
1541
|
+
> = 0);
|
1542
|
+
|
1543
|
+
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1544
|
+
|
1545
|
+
/*@}*/
|
1546
|
+
/**
|
1547
|
+
* @defgroup async_read_until boost::asio::async_read_until
|
1548
|
+
*
|
1549
|
+
* @brief The @c async_read_until function is a composed asynchronous operation
|
1550
|
+
* that reads data into a dynamic buffer sequence, or into a streambuf, until
|
1551
|
+
* it contains a delimiter, matches a regular expression, or a function object
|
1552
|
+
* indicates a match.
|
1553
|
+
*/
|
1554
|
+
/*@{*/
|
1555
|
+
|
1556
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
1557
|
+
|
1558
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1559
|
+
/// until it contains a specified delimiter.
|
1560
|
+
/**
|
1561
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1562
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
1563
|
+
* specified delimiter. It is an initiating function for an @ref
|
1564
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
1565
|
+
* operation will continue until one of the following conditions is true:
|
1566
|
+
*
|
1567
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1568
|
+
* delimiter.
|
1569
|
+
*
|
1570
|
+
* @li An error occurred.
|
1571
|
+
*
|
1572
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1573
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1574
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
1575
|
+
* asynchronous operation completes immediately. The program must ensure that
|
1576
|
+
* the stream performs no other read operations (such as async_read,
|
1577
|
+
* async_read_until, the stream's async_read_some function, or any other
|
1578
|
+
* composed operations that perform reads) until this operation completes.
|
1579
|
+
*
|
1580
|
+
* @param s The stream from which the data is to be read. The type must support
|
1581
|
+
* the AsyncReadStream concept.
|
1582
|
+
*
|
1583
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1584
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1585
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1586
|
+
* that they remain valid until the completion handler is called.
|
1587
|
+
*
|
1588
|
+
* @param delim The delimiter character.
|
1589
|
+
*
|
1590
|
+
* @param token The @ref completion_token that will be used to produce a
|
1591
|
+
* completion handler, which will be called when the read completes.
|
1592
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1593
|
+
* @ref yield_context, or a function object with the correct completion
|
1594
|
+
* signature. The function signature of the completion handler must be:
|
1595
|
+
* @code void handler(
|
1596
|
+
* // Result of operation.
|
1597
|
+
* const boost::system::error_code& error,
|
1598
|
+
*
|
1599
|
+
* // The number of bytes in the dynamic buffer sequence's
|
1600
|
+
* // get area up to and including the delimiter.
|
1601
|
+
* std::size_t bytes_transferred
|
1602
|
+
* ); @endcode
|
1603
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1604
|
+
* not, the completion handler will not be invoked from within this function.
|
1605
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1606
|
+
* manner equivalent to using boost::asio::post().
|
1607
|
+
*
|
1608
|
+
* @par Completion Signature
|
1609
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1610
|
+
*
|
1611
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1612
|
+
* sequence may contain additional data beyond the delimiter. An application
|
1613
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
1614
|
+
* subsequent async_read_until operation to examine.
|
1615
|
+
*
|
1616
|
+
* @par Example
|
1617
|
+
* To asynchronously read data into a @c std::string until a newline is
|
1618
|
+
* encountered:
|
1619
|
+
* @code std::string data;
|
1620
|
+
* ...
|
1621
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
1622
|
+
* {
|
1623
|
+
* if (!e)
|
1624
|
+
* {
|
1625
|
+
* std::string line = data.substr(0, n);
|
1626
|
+
* data.erase(0, n);
|
1627
|
+
* ...
|
1628
|
+
* }
|
1629
|
+
* }
|
1630
|
+
* ...
|
1631
|
+
* boost::asio::async_read_until(s, data, '\n', handler); @endcode
|
1632
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
1633
|
+
* @c data contains the delimiter:
|
1634
|
+
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
1635
|
+
* The call to @c substr then extracts the data up to and including the
|
1636
|
+
* delimiter, so that the string @c line contains:
|
1637
|
+
* @code { 'a', 'b', ..., 'c', '\n' } @endcode
|
1638
|
+
* After the call to @c erase, the remaining data is left in the buffer @c data
|
1639
|
+
* as follows:
|
1640
|
+
* @code { 'd', 'e', ... } @endcode
|
1641
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1642
|
+
* @c async_read_until operation.
|
1643
|
+
*
|
1644
|
+
* @par Per-Operation Cancellation
|
1645
|
+
* This asynchronous operation supports cancellation for the following
|
1646
|
+
* boost::asio::cancellation_type values:
|
1647
|
+
*
|
1648
|
+
* @li @c cancellation_type::terminal
|
1649
|
+
*
|
1650
|
+
* @li @c cancellation_type::partial
|
1651
|
+
*
|
1652
|
+
* if they are also supported by the @c AsyncReadStream type's
|
1653
|
+
* @c async_read_some operation.
|
1654
|
+
*/
|
1655
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1656
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1657
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
1658
|
+
typename AsyncReadStream::executor_type>>
|
1659
|
+
auto async_read_until(AsyncReadStream& s,
|
1660
|
+
DynamicBuffer_v1&& buffers, char delim,
|
1661
|
+
ReadToken&& token = default_completion_token_t<
|
1662
|
+
typename AsyncReadStream::executor_type>(),
|
1663
|
+
constraint_t<
|
1664
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1665
|
+
> = 0,
|
1666
|
+
constraint_t<
|
1667
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1668
|
+
> = 0)
|
1669
|
+
-> decltype(
|
1670
|
+
async_initiate<ReadToken,
|
1671
|
+
void (boost::system::error_code, std::size_t)>(
|
1672
|
+
declval<detail::initiate_async_read_until_delim_v1<AsyncReadStream>>(),
|
1673
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers), delim));
|
1674
|
+
|
1675
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1676
|
+
/// until it contains a specified delimiter.
|
1677
|
+
/**
|
1678
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1679
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
1680
|
+
* specified delimiter. It is an initiating function for an @ref
|
1681
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
1682
|
+
* operation will continue until one of the following conditions is true:
|
1683
|
+
*
|
1684
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
1685
|
+
* delimiter.
|
1686
|
+
*
|
1687
|
+
* @li An error occurred.
|
1688
|
+
*
|
1689
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1690
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1691
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
1692
|
+
* asynchronous operation completes immediately. The program must ensure that
|
1693
|
+
* the stream performs no other read operations (such as async_read,
|
1694
|
+
* async_read_until, the stream's async_read_some function, or any other
|
1695
|
+
* composed operations that perform reads) until this operation completes.
|
1696
|
+
*
|
1697
|
+
* @param s The stream from which the data is to be read. The type must support
|
1698
|
+
* the AsyncReadStream concept.
|
1699
|
+
*
|
1700
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1701
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1702
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1703
|
+
* that they remain valid until the completion handler is called.
|
1704
|
+
*
|
1705
|
+
* @param delim The delimiter string.
|
1706
|
+
*
|
1707
|
+
* @param token The @ref completion_token that will be used to produce a
|
1708
|
+
* completion handler, which will be called when the read completes.
|
1709
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1710
|
+
* @ref yield_context, or a function object with the correct completion
|
1711
|
+
* signature. The function signature of the completion handler must be:
|
1712
|
+
* @code void handler(
|
1713
|
+
* // Result of operation.
|
1714
|
+
* const boost::system::error_code& error,
|
1715
|
+
*
|
1716
|
+
* // The number of bytes in the dynamic buffer sequence's
|
1717
|
+
* // get area up to and including the delimiter.
|
1718
|
+
* std::size_t bytes_transferred
|
1719
|
+
* ); @endcode
|
1720
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1721
|
+
* not, the completion handler will not be invoked from within this function.
|
1722
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1723
|
+
* manner equivalent to using boost::asio::post().
|
1724
|
+
*
|
1725
|
+
* @par Completion Signature
|
1726
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1727
|
+
*
|
1728
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1729
|
+
* sequence may contain additional data beyond the delimiter. An application
|
1730
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
1731
|
+
* subsequent async_read_until operation to examine.
|
1732
|
+
*
|
1733
|
+
* @par Example
|
1734
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1735
|
+
* encountered:
|
1736
|
+
* @code std::string data;
|
1737
|
+
* ...
|
1738
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
1739
|
+
* {
|
1740
|
+
* if (!e)
|
1741
|
+
* {
|
1742
|
+
* std::string line = data.substr(0, n);
|
1743
|
+
* data.erase(0, n);
|
1744
|
+
* ...
|
1745
|
+
* }
|
1746
|
+
* }
|
1747
|
+
* ...
|
1748
|
+
* boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
|
1749
|
+
* After the @c async_read_until operation completes successfully, the string
|
1750
|
+
* @c data contains the delimiter:
|
1751
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1752
|
+
* The call to @c substr then extracts the data up to and including the
|
1753
|
+
* delimiter, so that the string @c line contains:
|
1754
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1755
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
1756
|
+
* as follows:
|
1757
|
+
* @code { 'd', 'e', ... } @endcode
|
1758
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1759
|
+
* @c async_read_until operation.
|
1760
|
+
*
|
1761
|
+
* @par Per-Operation Cancellation
|
1762
|
+
* This asynchronous operation supports cancellation for the following
|
1763
|
+
* boost::asio::cancellation_type values:
|
1764
|
+
*
|
1765
|
+
* @li @c cancellation_type::terminal
|
1766
|
+
*
|
1767
|
+
* @li @c cancellation_type::partial
|
1768
|
+
*
|
1769
|
+
* if they are also supported by the @c AsyncReadStream type's
|
1770
|
+
* @c async_read_some operation.
|
1771
|
+
*/
|
1772
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1773
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1774
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
1775
|
+
typename AsyncReadStream::executor_type>>
|
1776
|
+
auto async_read_until(AsyncReadStream& s,
|
1777
|
+
DynamicBuffer_v1&& buffers,
|
1778
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1779
|
+
ReadToken&& token = default_completion_token_t<
|
1780
|
+
typename AsyncReadStream::executor_type>(),
|
1781
|
+
constraint_t<
|
1782
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1783
|
+
> = 0,
|
1784
|
+
constraint_t<
|
1785
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1786
|
+
> = 0)
|
1787
|
+
-> decltype(
|
1788
|
+
async_initiate<ReadToken,
|
1789
|
+
void (boost::system::error_code, std::size_t)>(
|
1790
|
+
declval<detail::initiate_async_read_until_delim_string_v1<
|
1791
|
+
AsyncReadStream>>(),
|
1792
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers),
|
1793
|
+
static_cast<std::string>(delim)));
|
1794
|
+
|
1795
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1796
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1797
|
+
|| defined(GENERATING_DOCUMENTATION)
|
1798
|
+
|
1799
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1800
|
+
/// until some part of its data matches a regular expression.
|
1801
|
+
/**
|
1802
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1803
|
+
* buffer sequence until the dynamic buffer sequence's get area contains some
|
1804
|
+
* data that matches a regular expression. It is an initiating function for an
|
1805
|
+
* @ref asynchronous_operation, and always returns immediately. The
|
1806
|
+
* asynchronous operation will continue until one of the following conditions
|
1807
|
+
* is true:
|
1808
|
+
*
|
1809
|
+
* @li A substring of the dynamic buffer sequence's get area matches the regular
|
1810
|
+
* expression.
|
1811
|
+
*
|
1812
|
+
* @li An error occurred.
|
1813
|
+
*
|
1814
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1815
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1816
|
+
* the dynamic buffer sequence's get area already contains data that matches
|
1817
|
+
* the regular expression, this asynchronous operation completes immediately.
|
1818
|
+
* The program must ensure that the stream performs no other read operations
|
1819
|
+
* (such as async_read, async_read_until, the stream's async_read_some
|
1820
|
+
* function, or any other composed operations that perform reads) until this
|
1821
|
+
* operation completes.
|
1822
|
+
*
|
1823
|
+
* @param s The stream from which the data is to be read. The type must support
|
1824
|
+
* the AsyncReadStream concept.
|
1825
|
+
*
|
1826
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1827
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1828
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1829
|
+
* that they remain valid until the completion handler is called.
|
1830
|
+
*
|
1831
|
+
* @param expr The regular expression.
|
1832
|
+
*
|
1833
|
+
* @param token The @ref completion_token that will be used to produce a
|
1834
|
+
* completion handler, which will be called when the read completes.
|
1835
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1836
|
+
* @ref yield_context, or a function object with the correct completion
|
1837
|
+
* signature. The function signature of the completion handler must be:
|
1838
|
+
* @code void handler(
|
1839
|
+
* // Result of operation.
|
1840
|
+
* const boost::system::error_code& error,
|
1841
|
+
*
|
1842
|
+
* // The number of bytes in the dynamic buffer
|
1843
|
+
* // sequence's get area up to and including the
|
1844
|
+
* // substring that matches the regular expression.
|
1845
|
+
* // 0 if an error occurred.
|
1846
|
+
* std::size_t bytes_transferred
|
1847
|
+
* ); @endcode
|
1848
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1849
|
+
* not, the completion handler will not be invoked from within this function.
|
1850
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1851
|
+
* manner equivalent to using boost::asio::post().
|
1852
|
+
*
|
1853
|
+
* @par Completion Signature
|
1854
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1855
|
+
*
|
1856
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1857
|
+
* sequence may contain additional data beyond that which matched the regular
|
1858
|
+
* expression. An application will typically leave that data in the dynamic
|
1859
|
+
* buffer sequence for a subsequent async_read_until operation to examine.
|
1860
|
+
*
|
1861
|
+
* @par Example
|
1862
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1863
|
+
* encountered:
|
1864
|
+
* @code std::string data;
|
1865
|
+
* ...
|
1866
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
1867
|
+
* {
|
1868
|
+
* if (!e)
|
1869
|
+
* {
|
1870
|
+
* std::string line = data.substr(0, n);
|
1871
|
+
* data.erase(0, n);
|
1872
|
+
* ...
|
1873
|
+
* }
|
1874
|
+
* }
|
1875
|
+
* ...
|
1876
|
+
* boost::asio::async_read_until(s, data,
|
1877
|
+
* boost::regex("\r\n"), handler); @endcode
|
1878
|
+
* After the @c async_read_until operation completes successfully, the string
|
1879
|
+
* @c data contains the data which matched the regular expression:
|
1880
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1881
|
+
* The call to @c substr then extracts the data up to and including the match,
|
1882
|
+
* so that the string @c line contains:
|
1883
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
1884
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
1885
|
+
* as follows:
|
1886
|
+
* @code { 'd', 'e', ... } @endcode
|
1887
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
1888
|
+
* @c async_read_until operation.
|
1889
|
+
*
|
1890
|
+
* @par Per-Operation Cancellation
|
1891
|
+
* This asynchronous operation supports cancellation for the following
|
1892
|
+
* boost::asio::cancellation_type values:
|
1893
|
+
*
|
1894
|
+
* @li @c cancellation_type::terminal
|
1895
|
+
*
|
1896
|
+
* @li @c cancellation_type::partial
|
1897
|
+
*
|
1898
|
+
* if they are also supported by the @c AsyncReadStream type's
|
1899
|
+
* @c async_read_some operation.
|
1900
|
+
*/
|
1901
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1, typename Traits,
|
1902
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1903
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
1904
|
+
typename AsyncReadStream::executor_type>>
|
1905
|
+
auto async_read_until(AsyncReadStream& s, DynamicBuffer_v1&& buffers,
|
1906
|
+
const boost::basic_regex<char, Traits>& expr,
|
1907
|
+
ReadToken&& token = default_completion_token_t<
|
1908
|
+
typename AsyncReadStream::executor_type>(),
|
1909
|
+
constraint_t<
|
1910
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1911
|
+
> = 0,
|
1912
|
+
constraint_t<
|
1913
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1914
|
+
> = 0)
|
1915
|
+
-> decltype(
|
1916
|
+
async_initiate<ReadToken,
|
1917
|
+
void (boost::system::error_code, std::size_t)>(
|
1918
|
+
declval<detail::initiate_async_read_until_expr_v1<AsyncReadStream>>(),
|
1919
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers), expr));
|
1920
|
+
|
1921
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1922
|
+
// || defined(GENERATING_DOCUMENTATION)
|
1923
|
+
|
1924
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
1925
|
+
/// until a function object indicates a match.
|
1926
|
+
/**
|
1927
|
+
* This function is used to asynchronously read data into the specified dynamic
|
1928
|
+
* buffer sequence until a user-defined match condition function object, when
|
1929
|
+
* applied to the data contained in the dynamic buffer sequence, indicates a
|
1930
|
+
* successful match. It is an initiating function for an @ref
|
1931
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
1932
|
+
* operation will continue until one of the following conditions is true:
|
1933
|
+
*
|
1934
|
+
* @li The match condition function object returns a std::pair where the second
|
1935
|
+
* element evaluates to true.
|
1936
|
+
*
|
1937
|
+
* @li An error occurred.
|
1938
|
+
*
|
1939
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
1940
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1941
|
+
* the match condition function object already indicates a match, this
|
1942
|
+
* asynchronous operation completes immediately. The program must ensure that
|
1943
|
+
* the stream performs no other read operations (such as async_read,
|
1944
|
+
* async_read_until, the stream's async_read_some function, or any other
|
1945
|
+
* composed operations that perform reads) until this operation completes.
|
1946
|
+
*
|
1947
|
+
* @param s The stream from which the data is to be read. The type must support
|
1948
|
+
* the AsyncReadStream concept.
|
1949
|
+
*
|
1950
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
1951
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
1952
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
1953
|
+
* that they remain valid until the completion handler is called.
|
1954
|
+
*
|
1955
|
+
* @param match_condition The function object to be called to determine whether
|
1956
|
+
* a match exists. The signature of the function object must be:
|
1957
|
+
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1958
|
+
* @endcode
|
1959
|
+
* where @c iterator represents the type:
|
1960
|
+
* @code buffers_iterator<typename DynamicBuffer_v1::const_buffers_type>
|
1961
|
+
* @endcode
|
1962
|
+
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1963
|
+
* scanned to determine whether there is a match. The @c first member of the
|
1964
|
+
* return value is an iterator marking one-past-the-end of the bytes that have
|
1965
|
+
* been consumed by the match function. This iterator is used to calculate the
|
1966
|
+
* @c begin parameter for any subsequent invocation of the match condition. The
|
1967
|
+
* @c second member of the return value is true if a match has been found, false
|
1968
|
+
* otherwise.
|
1969
|
+
*
|
1970
|
+
* @param token The @ref completion_token that will be used to produce a
|
1971
|
+
* completion handler, which will be called when the read completes.
|
1972
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
1973
|
+
* @ref yield_context, or a function object with the correct completion
|
1974
|
+
* signature. The function signature of the completion handler must be:
|
1975
|
+
* @code void handler(
|
1976
|
+
* // Result of operation.
|
1977
|
+
* const boost::system::error_code& error,
|
1978
|
+
*
|
1979
|
+
* // The number of bytes in the dynamic buffer sequence's
|
1980
|
+
* // get area that have been fully consumed by the match
|
1981
|
+
* // function. O if an error occurred.
|
1982
|
+
* std::size_t bytes_transferred
|
1983
|
+
* ); @endcode
|
1984
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
1985
|
+
* not, the completion handler will not be invoked from within this function.
|
1986
|
+
* On immediate completion, invocation of the handler will be performed in a
|
1987
|
+
* manner equivalent to using boost::asio::post().
|
1988
|
+
*
|
1989
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
1990
|
+
* sequence may contain additional data beyond that which matched the function
|
1991
|
+
* object. An application will typically leave that data in the dynamic buffer
|
1992
|
+
* sequence for a subsequent async_read_until operation to examine.
|
1993
|
+
*
|
1994
|
+
* @par Completion Signature
|
1995
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1996
|
+
*
|
1997
|
+
* @note The default implementation of the @c is_match_condition type trait
|
1998
|
+
* evaluates to true for function pointers and function objects with a
|
1999
|
+
* @c result_type typedef. It must be specialised for other user-defined
|
2000
|
+
* function objects.
|
2001
|
+
*
|
2002
|
+
* @par Examples
|
2003
|
+
* To asynchronously read data into a @c std::string until whitespace is
|
2004
|
+
* encountered:
|
2005
|
+
* @code typedef boost::asio::buffers_iterator<
|
2006
|
+
* boost::asio::const_buffers_1> iterator;
|
2007
|
+
*
|
2008
|
+
* std::pair<iterator, bool>
|
2009
|
+
* match_whitespace(iterator begin, iterator end)
|
2010
|
+
* {
|
2011
|
+
* iterator i = begin;
|
2012
|
+
* while (i != end)
|
2013
|
+
* if (std::isspace(*i++))
|
2014
|
+
* return std::make_pair(i, true);
|
2015
|
+
* return std::make_pair(i, false);
|
2016
|
+
* }
|
2017
|
+
* ...
|
2018
|
+
* void handler(const boost::system::error_code& e, std::size_t size);
|
2019
|
+
* ...
|
2020
|
+
* std::string data;
|
2021
|
+
* boost::asio::async_read_until(s, data, match_whitespace, handler);
|
2022
|
+
* @endcode
|
2023
|
+
*
|
2024
|
+
* To asynchronously read data into a @c std::string until a matching character
|
2025
|
+
* is found:
|
2026
|
+
* @code class match_char
|
2027
|
+
* {
|
2028
|
+
* public:
|
2029
|
+
* explicit match_char(char c) : c_(c) {}
|
2030
|
+
*
|
2031
|
+
* template <typename Iterator>
|
2032
|
+
* std::pair<Iterator, bool> operator()(
|
2033
|
+
* Iterator begin, Iterator end) const
|
2034
|
+
* {
|
2035
|
+
* Iterator i = begin;
|
2036
|
+
* while (i != end)
|
2037
|
+
* if (c_ == *i++)
|
2038
|
+
* return std::make_pair(i, true);
|
2039
|
+
* return std::make_pair(i, false);
|
2040
|
+
* }
|
2041
|
+
*
|
2042
|
+
* private:
|
2043
|
+
* char c_;
|
2044
|
+
* };
|
2045
|
+
*
|
2046
|
+
* namespace asio {
|
2047
|
+
* template <> struct is_match_condition<match_char>
|
2048
|
+
* : public boost::true_type {};
|
2049
|
+
* } // namespace asio
|
2050
|
+
* ...
|
2051
|
+
* void handler(const boost::system::error_code& e, std::size_t size);
|
2052
|
+
* ...
|
2053
|
+
* std::string data;
|
2054
|
+
* boost::asio::async_read_until(s, data, match_char('a'), handler);
|
2055
|
+
* @endcode
|
2056
|
+
*
|
2057
|
+
* @par Per-Operation Cancellation
|
2058
|
+
* This asynchronous operation supports cancellation for the following
|
2059
|
+
* boost::asio::cancellation_type values:
|
2060
|
+
*
|
2061
|
+
* @li @c cancellation_type::terminal
|
2062
|
+
*
|
2063
|
+
* @li @c cancellation_type::partial
|
2064
|
+
*
|
2065
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2066
|
+
* @c async_read_some operation.
|
2067
|
+
*/
|
2068
|
+
template <typename AsyncReadStream,
|
2069
|
+
typename DynamicBuffer_v1, typename MatchCondition,
|
2070
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2071
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2072
|
+
typename AsyncReadStream::executor_type>>
|
2073
|
+
auto async_read_until(AsyncReadStream& s,
|
2074
|
+
DynamicBuffer_v1&& buffers, MatchCondition match_condition,
|
2075
|
+
ReadToken&& token = default_completion_token_t<
|
2076
|
+
typename AsyncReadStream::executor_type>(),
|
2077
|
+
constraint_t<
|
2078
|
+
is_match_condition<MatchCondition>::value
|
2079
|
+
> = 0,
|
2080
|
+
constraint_t<
|
2081
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
2082
|
+
> = 0,
|
2083
|
+
constraint_t<
|
2084
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
2085
|
+
> = 0)
|
2086
|
+
-> decltype(
|
2087
|
+
async_initiate<ReadToken,
|
2088
|
+
void (boost::system::error_code, std::size_t)>(
|
2089
|
+
declval<detail::initiate_async_read_until_match_v1<AsyncReadStream>>(),
|
2090
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers),
|
2091
|
+
match_condition));
|
2092
|
+
|
2093
|
+
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
2094
|
+
|
2095
|
+
/// Start an asynchronous operation to read data into a streambuf until it
|
2096
|
+
/// contains a specified delimiter.
|
2097
|
+
/**
|
2098
|
+
* This function is used to asynchronously read data into the specified
|
2099
|
+
* streambuf until the streambuf's get area contains the specified delimiter.
|
2100
|
+
* It is an initiating function for an @ref asynchronous_operation, and always
|
2101
|
+
* returns immediately. The asynchronous operation will continue until one of
|
2102
|
+
* the following conditions is true:
|
2103
|
+
*
|
2104
|
+
* @li The get area of the streambuf contains the specified delimiter.
|
2105
|
+
*
|
2106
|
+
* @li An error occurred.
|
2107
|
+
*
|
2108
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
2109
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2110
|
+
* the streambuf's get area already contains the delimiter, this asynchronous
|
2111
|
+
* operation completes immediately. The program must ensure that the stream
|
2112
|
+
* performs no other read operations (such as async_read, async_read_until, the
|
2113
|
+
* stream's async_read_some function, or any other composed operations that
|
2114
|
+
* perform reads) until this operation completes.
|
2115
|
+
*
|
2116
|
+
* @param s The stream from which the data is to be read. The type must support
|
2117
|
+
* the AsyncReadStream concept.
|
2118
|
+
*
|
2119
|
+
* @param b A streambuf object into which the data will be read. Ownership of
|
2120
|
+
* the streambuf is retained by the caller, which must guarantee that it remains
|
2121
|
+
* valid until the completion handler is called.
|
2122
|
+
*
|
2123
|
+
* @param delim The delimiter character.
|
2124
|
+
*
|
2125
|
+
* @param token The @ref completion_token that will be used to produce a
|
2126
|
+
* completion handler, which will be called when the read completes.
|
2127
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2128
|
+
* @ref yield_context, or a function object with the correct completion
|
2129
|
+
* signature. The function signature of the completion handler must be:
|
2130
|
+
* @code void handler(
|
2131
|
+
* // Result of operation.
|
2132
|
+
* const boost::system::error_code& error,
|
2133
|
+
*
|
2134
|
+
* // The number of bytes in the streambuf's get
|
2135
|
+
* // area up to and including the delimiter.
|
2136
|
+
* // 0 if an error occurred.
|
2137
|
+
* std::size_t bytes_transferred
|
2138
|
+
* ); @endcode
|
2139
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
2140
|
+
* not, the completion handler will not be invoked from within this function.
|
2141
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2142
|
+
* manner equivalent to using boost::asio::post().
|
2143
|
+
*
|
2144
|
+
* @par Completion Signature
|
2145
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2146
|
+
*
|
2147
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2148
|
+
* contain additional data beyond the delimiter. An application will typically
|
2149
|
+
* leave that data in the streambuf for a subsequent async_read_until operation
|
2150
|
+
* to examine.
|
2151
|
+
*
|
2152
|
+
* @par Example
|
2153
|
+
* To asynchronously read data into a streambuf until a newline is encountered:
|
2154
|
+
* @code boost::asio::streambuf b;
|
2155
|
+
* ...
|
2156
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
2157
|
+
* {
|
2158
|
+
* if (!e)
|
2159
|
+
* {
|
2160
|
+
* std::istream is(&b);
|
2161
|
+
* std::string line;
|
2162
|
+
* std::getline(is, line);
|
2163
|
+
* ...
|
2164
|
+
* }
|
2165
|
+
* }
|
2166
|
+
* ...
|
2167
|
+
* boost::asio::async_read_until(s, b, '\n', handler); @endcode
|
2168
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
2169
|
+
* @c b contains the delimiter:
|
2170
|
+
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
2171
|
+
* The call to @c std::getline then extracts the data up to and including the
|
2172
|
+
* newline (which is discarded), so that the string @c line contains:
|
2173
|
+
* @code { 'a', 'b', ..., 'c' } @endcode
|
2174
|
+
* The remaining data is left in the buffer @c b as follows:
|
2175
|
+
* @code { 'd', 'e', ... } @endcode
|
2176
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
2177
|
+
* @c async_read_until operation.
|
1232
2178
|
*
|
1233
|
-
* @
|
1234
|
-
*
|
1235
|
-
*
|
1236
|
-
*
|
2179
|
+
* @par Per-Operation Cancellation
|
2180
|
+
* This asynchronous operation supports cancellation for the following
|
2181
|
+
* boost::asio::cancellation_type values:
|
2182
|
+
*
|
2183
|
+
* @li @c cancellation_type::terminal
|
2184
|
+
*
|
2185
|
+
* @li @c cancellation_type::partial
|
2186
|
+
*
|
2187
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2188
|
+
* @c async_read_some operation.
|
2189
|
+
*/
|
2190
|
+
template <typename AsyncReadStream, typename Allocator,
|
2191
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2192
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2193
|
+
typename AsyncReadStream::executor_type>>
|
2194
|
+
auto async_read_until(AsyncReadStream& s,
|
2195
|
+
boost::asio::basic_streambuf<Allocator>& b, char delim,
|
2196
|
+
ReadToken&& token = default_completion_token_t<
|
2197
|
+
typename AsyncReadStream::executor_type>())
|
2198
|
+
-> decltype(
|
2199
|
+
async_initiate<ReadToken,
|
2200
|
+
void (boost::system::error_code, std::size_t)>(
|
2201
|
+
declval<detail::initiate_async_read_until_delim_v1<AsyncReadStream>>(),
|
2202
|
+
token, basic_streambuf_ref<Allocator>(b), delim));
|
2203
|
+
|
2204
|
+
/// Start an asynchronous operation to read data into a streambuf until it
|
2205
|
+
/// contains a specified delimiter.
|
2206
|
+
/**
|
2207
|
+
* This function is used to asynchronously read data into the specified
|
2208
|
+
* streambuf until the streambuf's get area contains the specified delimiter.
|
2209
|
+
* It is an initiating function for an @ref asynchronous_operation, and always
|
2210
|
+
* returns immediately. The asynchronous operation will continue until one of
|
2211
|
+
* the following conditions is true:
|
2212
|
+
*
|
2213
|
+
* @li The get area of the streambuf contains the specified delimiter.
|
2214
|
+
*
|
2215
|
+
* @li An error occurred.
|
2216
|
+
*
|
2217
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
2218
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2219
|
+
* the streambuf's get area already contains the delimiter, this asynchronous
|
2220
|
+
* operation completes immediately. The program must ensure that the stream
|
2221
|
+
* performs no other read operations (such as async_read, async_read_until, the
|
2222
|
+
* stream's async_read_some function, or any other composed operations that
|
2223
|
+
* perform reads) until this operation completes.
|
2224
|
+
*
|
2225
|
+
* @param s The stream from which the data is to be read. The type must support
|
2226
|
+
* the AsyncReadStream concept.
|
2227
|
+
*
|
2228
|
+
* @param b A streambuf object into which the data will be read. Ownership of
|
2229
|
+
* the streambuf is retained by the caller, which must guarantee that it remains
|
2230
|
+
* valid until the completion handler is called.
|
2231
|
+
*
|
2232
|
+
* @param delim The delimiter string.
|
2233
|
+
*
|
2234
|
+
* @param token The @ref completion_token that will be used to produce a
|
2235
|
+
* completion handler, which will be called when the read completes.
|
2236
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2237
|
+
* @ref yield_context, or a function object with the correct completion
|
2238
|
+
* signature. The function signature of the completion handler must be:
|
2239
|
+
* @code void handler(
|
2240
|
+
* // Result of operation.
|
2241
|
+
* const boost::system::error_code& error,
|
2242
|
+
*
|
2243
|
+
* // The number of bytes in the streambuf's get
|
2244
|
+
* // area up to and including the delimiter.
|
2245
|
+
* // 0 if an error occurred.
|
2246
|
+
* std::size_t bytes_transferred
|
2247
|
+
* ); @endcode
|
2248
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
2249
|
+
* not, the completion handler will not be invoked from within this function.
|
2250
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2251
|
+
* manner equivalent to using boost::asio::post().
|
2252
|
+
*
|
2253
|
+
* @par Completion Signature
|
2254
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2255
|
+
*
|
2256
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2257
|
+
* contain additional data beyond the delimiter. An application will typically
|
2258
|
+
* leave that data in the streambuf for a subsequent async_read_until operation
|
2259
|
+
* to examine.
|
1237
2260
|
*
|
1238
2261
|
* @par Example
|
1239
|
-
* To asynchronously read data into a
|
2262
|
+
* To asynchronously read data into a streambuf until a newline is encountered:
|
2263
|
+
* @code boost::asio::streambuf b;
|
2264
|
+
* ...
|
2265
|
+
* void handler(const boost::system::error_code& e, std::size_t size)
|
2266
|
+
* {
|
2267
|
+
* if (!e)
|
2268
|
+
* {
|
2269
|
+
* std::istream is(&b);
|
2270
|
+
* std::string line;
|
2271
|
+
* std::getline(is, line);
|
2272
|
+
* ...
|
2273
|
+
* }
|
2274
|
+
* }
|
2275
|
+
* ...
|
2276
|
+
* boost::asio::async_read_until(s, b, "\r\n", handler); @endcode
|
2277
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
2278
|
+
* @c b contains the delimiter:
|
2279
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
2280
|
+
* The call to @c std::getline then extracts the data up to and including the
|
2281
|
+
* newline (which is discarded), so that the string @c line contains:
|
2282
|
+
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
2283
|
+
* The remaining data is left in the buffer @c b as follows:
|
2284
|
+
* @code { 'd', 'e', ... } @endcode
|
2285
|
+
* This data may be the start of a new line, to be extracted by a subsequent
|
2286
|
+
* @c async_read_until operation.
|
2287
|
+
*
|
2288
|
+
* @par Per-Operation Cancellation
|
2289
|
+
* This asynchronous operation supports cancellation for the following
|
2290
|
+
* boost::asio::cancellation_type values:
|
2291
|
+
*
|
2292
|
+
* @li @c cancellation_type::terminal
|
2293
|
+
*
|
2294
|
+
* @li @c cancellation_type::partial
|
2295
|
+
*
|
2296
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2297
|
+
* @c async_read_some operation.
|
2298
|
+
*/
|
2299
|
+
template <typename AsyncReadStream, typename Allocator,
|
2300
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2301
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2302
|
+
typename AsyncReadStream::executor_type>>
|
2303
|
+
auto async_read_until(AsyncReadStream& s,
|
2304
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
2305
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
2306
|
+
ReadToken&& token = default_completion_token_t<
|
2307
|
+
typename AsyncReadStream::executor_type>())
|
2308
|
+
-> decltype(
|
2309
|
+
async_initiate<ReadToken,
|
2310
|
+
void (boost::system::error_code, std::size_t)>(
|
2311
|
+
declval<detail::initiate_async_read_until_delim_string_v1<
|
2312
|
+
AsyncReadStream>>(),
|
2313
|
+
token, basic_streambuf_ref<Allocator>(b),
|
2314
|
+
static_cast<std::string>(delim)));
|
2315
|
+
|
2316
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
2317
|
+
|| defined(GENERATING_DOCUMENTATION)
|
2318
|
+
|
2319
|
+
/// Start an asynchronous operation to read data into a streambuf until some
|
2320
|
+
/// part of its data matches a regular expression.
|
2321
|
+
/**
|
2322
|
+
* This function is used to asynchronously read data into the specified
|
2323
|
+
* streambuf until the streambuf's get area contains some data that matches a
|
2324
|
+
* regular expression. It is an initiating function for an @ref
|
2325
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2326
|
+
* operation will continue until one of the following conditions is true:
|
2327
|
+
*
|
2328
|
+
* @li A substring of the streambuf's get area matches the regular expression.
|
2329
|
+
*
|
2330
|
+
* @li An error occurred.
|
2331
|
+
*
|
2332
|
+
* This operation is implemented in terms of zero or more calls to the stream's
|
2333
|
+
* async_read_some function, and is known as a <em>composed operation</em>. If
|
2334
|
+
* the streambuf's get area already contains data that matches the regular
|
2335
|
+
* expression, this asynchronous operation completes immediately. The program
|
2336
|
+
* must ensure that the stream performs no other read operations (such as
|
2337
|
+
* async_read, async_read_until, the stream's async_read_some function, or any
|
2338
|
+
* other composed operations that perform reads) until this operation
|
2339
|
+
* completes.
|
2340
|
+
*
|
2341
|
+
* @param s The stream from which the data is to be read. The type must support
|
2342
|
+
* the AsyncReadStream concept.
|
2343
|
+
*
|
2344
|
+
* @param b A streambuf object into which the data will be read. Ownership of
|
2345
|
+
* the streambuf is retained by the caller, which must guarantee that it remains
|
2346
|
+
* valid until the completion handler is called.
|
2347
|
+
*
|
2348
|
+
* @param expr The regular expression.
|
2349
|
+
*
|
2350
|
+
* @param token The @ref completion_token that will be used to produce a
|
2351
|
+
* completion handler, which will be called when the read completes.
|
2352
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2353
|
+
* @ref yield_context, or a function object with the correct completion
|
2354
|
+
* signature. The function signature of the completion handler must be:
|
2355
|
+
* @code void handler(
|
2356
|
+
* // Result of operation.
|
2357
|
+
* const boost::system::error_code& error,
|
2358
|
+
*
|
2359
|
+
* // The number of bytes in the streambuf's get
|
2360
|
+
* // area up to and including the substring
|
2361
|
+
* // that matches the regular. expression.
|
2362
|
+
* // 0 if an error occurred.
|
2363
|
+
* std::size_t bytes_transferred
|
2364
|
+
* ); @endcode
|
2365
|
+
* Regardless of whether the asynchronous operation completes immediately or
|
2366
|
+
* not, the completion handler will not be invoked from within this function.
|
2367
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2368
|
+
* manner equivalent to using boost::asio::post().
|
2369
|
+
*
|
2370
|
+
* @par Completion Signature
|
2371
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2372
|
+
*
|
2373
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2374
|
+
* contain additional data beyond that which matched the regular expression. An
|
2375
|
+
* application will typically leave that data in the streambuf for a subsequent
|
2376
|
+
* async_read_until operation to examine.
|
2377
|
+
*
|
2378
|
+
* @par Example
|
2379
|
+
* To asynchronously read data into a streambuf until a CR-LF sequence is
|
1240
2380
|
* encountered:
|
1241
|
-
* @code
|
2381
|
+
* @code boost::asio::streambuf b;
|
1242
2382
|
* ...
|
1243
2383
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1244
2384
|
* {
|
1245
2385
|
* if (!e)
|
1246
2386
|
* {
|
1247
|
-
* std::
|
1248
|
-
*
|
2387
|
+
* std::istream is(&b);
|
2388
|
+
* std::string line;
|
2389
|
+
* std::getline(is, line);
|
1249
2390
|
* ...
|
1250
2391
|
* }
|
1251
2392
|
* }
|
1252
2393
|
* ...
|
1253
|
-
* boost::asio::async_read_until(s,
|
1254
|
-
*
|
1255
|
-
*
|
1256
|
-
* @c data contains the data which matched the regular expression:
|
2394
|
+
* boost::asio::async_read_until(s, b, boost::regex("\r\n"), handler); @endcode
|
2395
|
+
* After the @c async_read_until operation completes successfully, the buffer
|
2396
|
+
* @c b contains the data which matched the regular expression:
|
1257
2397
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1258
|
-
* The call to @c
|
1259
|
-
* so that the string @c line contains:
|
1260
|
-
* @code { 'a', 'b', ..., 'c', '\r'
|
1261
|
-
*
|
1262
|
-
* as follows:
|
2398
|
+
* The call to @c std::getline then extracts the data up to and including the
|
2399
|
+
* newline (which is discarded), so that the string @c line contains:
|
2400
|
+
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
2401
|
+
* The remaining data is left in the buffer @c b as follows:
|
1263
2402
|
* @code { 'd', 'e', ... } @endcode
|
1264
2403
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1265
2404
|
* @c async_read_until operation.
|
2405
|
+
*
|
2406
|
+
* @par Per-Operation Cancellation
|
2407
|
+
* This asynchronous operation supports cancellation for the following
|
2408
|
+
* boost::asio::cancellation_type values:
|
2409
|
+
*
|
2410
|
+
* @li @c cancellation_type::terminal
|
2411
|
+
*
|
2412
|
+
* @li @c cancellation_type::partial
|
2413
|
+
*
|
2414
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2415
|
+
* @c async_read_some operation.
|
1266
2416
|
*/
|
1267
|
-
template <typename AsyncReadStream,
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
async_read_until(AsyncReadStream& s,
|
1272
|
-
|
1273
|
-
const boost::
|
1274
|
-
|
2417
|
+
template <typename AsyncReadStream, typename Allocator, typename Traits,
|
2418
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2419
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2420
|
+
typename AsyncReadStream::executor_type>>
|
2421
|
+
auto async_read_until(AsyncReadStream& s,
|
2422
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
2423
|
+
const boost::basic_regex<char, Traits>& expr,
|
2424
|
+
ReadToken&& token = default_completion_token_t<
|
2425
|
+
typename AsyncReadStream::executor_type>())
|
2426
|
+
-> decltype(
|
2427
|
+
async_initiate<ReadToken,
|
2428
|
+
void (boost::system::error_code, std::size_t)>(
|
2429
|
+
declval<detail::initiate_async_read_until_expr_v1<AsyncReadStream>>(),
|
2430
|
+
token, basic_streambuf_ref<Allocator>(b), expr));
|
1275
2431
|
|
1276
2432
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1277
2433
|
// || defined(GENERATING_DOCUMENTATION)
|
1278
2434
|
|
1279
|
-
/// Start an asynchronous operation to read data into a
|
1280
|
-
///
|
2435
|
+
/// Start an asynchronous operation to read data into a streambuf until a
|
2436
|
+
/// function object indicates a match.
|
1281
2437
|
/**
|
1282
|
-
* This function is used to asynchronously read data into the specified
|
1283
|
-
*
|
1284
|
-
*
|
1285
|
-
*
|
1286
|
-
* asynchronous operation will continue until one of
|
1287
|
-
* is true:
|
2438
|
+
* This function is used to asynchronously read data into the specified
|
2439
|
+
* streambuf until a user-defined match condition function object, when applied
|
2440
|
+
* to the data contained in the streambuf, indicates a successful match. It is
|
2441
|
+
* an initiating function for an @ref asynchronous_operation, and always
|
2442
|
+
* returns immediately. The asynchronous operation will continue until one of
|
2443
|
+
* the following conditions is true:
|
1288
2444
|
*
|
1289
2445
|
* @li The match condition function object returns a std::pair where the second
|
1290
2446
|
* element evaluates to true.
|
@@ -1302,17 +2458,14 @@ async_read_until(AsyncReadStream& s,
|
|
1302
2458
|
* @param s The stream from which the data is to be read. The type must support
|
1303
2459
|
* the AsyncReadStream concept.
|
1304
2460
|
*
|
1305
|
-
* @param
|
1306
|
-
* Although the buffers object may be copied as necessary, ownership of the
|
1307
|
-
* underlying memory blocks is retained by the caller, which must guarantee
|
1308
|
-
* that they remain valid until the handler is called.
|
2461
|
+
* @param b A streambuf object into which the data will be read.
|
1309
2462
|
*
|
1310
2463
|
* @param match_condition The function object to be called to determine whether
|
1311
2464
|
* a match exists. The signature of the function object must be:
|
1312
2465
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1313
2466
|
* @endcode
|
1314
2467
|
* where @c iterator represents the type:
|
1315
|
-
* @code buffers_iterator<
|
2468
|
+
* @code buffers_iterator<basic_streambuf<Allocator>::const_buffers_type>
|
1316
2469
|
* @endcode
|
1317
2470
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1318
2471
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -1322,27 +2475,32 @@ async_read_until(AsyncReadStream& s,
|
|
1322
2475
|
* @c second member of the return value is true if a match has been found, false
|
1323
2476
|
* otherwise.
|
1324
2477
|
*
|
1325
|
-
* @param
|
1326
|
-
*
|
1327
|
-
*
|
2478
|
+
* @param token The @ref completion_token that will be used to produce a
|
2479
|
+
* completion handler, which will be called when the read completes.
|
2480
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2481
|
+
* @ref yield_context, or a function object with the correct completion
|
2482
|
+
* signature. The function signature of the completion handler must be:
|
1328
2483
|
* @code void handler(
|
1329
2484
|
* // Result of operation.
|
1330
2485
|
* const boost::system::error_code& error,
|
1331
2486
|
*
|
1332
|
-
* // The number of bytes in the
|
1333
|
-
* //
|
1334
|
-
* // function. O if an error occurred.
|
2487
|
+
* // The number of bytes in the streambuf's get
|
2488
|
+
* // area that have been fully consumed by the
|
2489
|
+
* // match function. O if an error occurred.
|
1335
2490
|
* std::size_t bytes_transferred
|
1336
2491
|
* ); @endcode
|
1337
2492
|
* Regardless of whether the asynchronous operation completes immediately or
|
1338
|
-
* not, the handler will not be invoked from within this function.
|
1339
|
-
* the handler will be performed in a
|
1340
|
-
* boost::asio::
|
2493
|
+
* not, the completion handler will not be invoked from within this function.
|
2494
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2495
|
+
* manner equivalent to using boost::asio::post().
|
1341
2496
|
*
|
1342
|
-
* @note After a successful async_read_until operation, the
|
1343
|
-
*
|
1344
|
-
*
|
1345
|
-
*
|
2497
|
+
* @note After a successful async_read_until operation, the streambuf may
|
2498
|
+
* contain additional data beyond that which matched the function object. An
|
2499
|
+
* application will typically leave that data in the streambuf for a subsequent
|
2500
|
+
* async_read_until operation to examine.
|
2501
|
+
*
|
2502
|
+
* @par Completion Signature
|
2503
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1346
2504
|
*
|
1347
2505
|
* @note The default implementation of the @c is_match_condition type trait
|
1348
2506
|
* evaluates to true for function pointers and function objects with a
|
@@ -1350,10 +2508,9 @@ async_read_until(AsyncReadStream& s,
|
|
1350
2508
|
* function objects.
|
1351
2509
|
*
|
1352
2510
|
* @par Examples
|
1353
|
-
* To asynchronously read data into a
|
1354
|
-
* encountered:
|
2511
|
+
* To asynchronously read data into a streambuf until whitespace is encountered:
|
1355
2512
|
* @code typedef boost::asio::buffers_iterator<
|
1356
|
-
* boost::asio::
|
2513
|
+
* boost::asio::streambuf::const_buffers_type> iterator;
|
1357
2514
|
*
|
1358
2515
|
* std::pair<iterator, bool>
|
1359
2516
|
* match_whitespace(iterator begin, iterator end)
|
@@ -1367,12 +2524,12 @@ async_read_until(AsyncReadStream& s,
|
|
1367
2524
|
* ...
|
1368
2525
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1369
2526
|
* ...
|
1370
|
-
*
|
1371
|
-
* boost::asio::async_read_until(s,
|
2527
|
+
* boost::asio::streambuf b;
|
2528
|
+
* boost::asio::async_read_until(s, b, match_whitespace, handler);
|
1372
2529
|
* @endcode
|
1373
2530
|
*
|
1374
|
-
* To asynchronously read data into a
|
1375
|
-
*
|
2531
|
+
* To asynchronously read data into a streambuf until a matching character is
|
2532
|
+
* found:
|
1376
2533
|
* @code class match_char
|
1377
2534
|
* {
|
1378
2535
|
* public:
|
@@ -1400,295 +2557,405 @@ async_read_until(AsyncReadStream& s,
|
|
1400
2557
|
* ...
|
1401
2558
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1402
2559
|
* ...
|
1403
|
-
*
|
1404
|
-
* boost::asio::async_read_until(s,
|
2560
|
+
* boost::asio::streambuf b;
|
2561
|
+
* boost::asio::async_read_until(s, b, match_char('a'), handler);
|
1405
2562
|
* @endcode
|
2563
|
+
*
|
2564
|
+
* @par Per-Operation Cancellation
|
2565
|
+
* This asynchronous operation supports cancellation for the following
|
2566
|
+
* boost::asio::cancellation_type values:
|
2567
|
+
*
|
2568
|
+
* @li @c cancellation_type::terminal
|
2569
|
+
*
|
2570
|
+
* @li @c cancellation_type::partial
|
2571
|
+
*
|
2572
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2573
|
+
* @c async_read_some operation.
|
1406
2574
|
*/
|
1407
|
-
template <typename AsyncReadStream, typename
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
async_read_until(AsyncReadStream& s,
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
2575
|
+
template <typename AsyncReadStream, typename Allocator, typename MatchCondition,
|
2576
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2577
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2578
|
+
typename AsyncReadStream::executor_type>>
|
2579
|
+
auto async_read_until(AsyncReadStream& s,
|
2580
|
+
boost::asio::basic_streambuf<Allocator>& b, MatchCondition match_condition,
|
2581
|
+
ReadToken&& token = default_completion_token_t<
|
2582
|
+
typename AsyncReadStream::executor_type>(),
|
2583
|
+
constraint_t<is_match_condition<MatchCondition>::value> = 0)
|
2584
|
+
-> decltype(
|
2585
|
+
async_initiate<ReadToken,
|
2586
|
+
void (boost::system::error_code, std::size_t)>(
|
2587
|
+
declval<detail::initiate_async_read_until_match_v1<AsyncReadStream>>(),
|
2588
|
+
token, basic_streambuf_ref<Allocator>(b), match_condition));
|
1415
2589
|
|
1416
|
-
#
|
2590
|
+
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
2591
|
+
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
2592
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
1417
2593
|
|
1418
|
-
/// Start an asynchronous operation to read data into a
|
1419
|
-
/// contains a specified delimiter.
|
2594
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2595
|
+
/// until it contains a specified delimiter.
|
1420
2596
|
/**
|
1421
|
-
* This function is used to asynchronously read data into the specified
|
1422
|
-
*
|
1423
|
-
*
|
1424
|
-
*
|
2597
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2598
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
2599
|
+
* specified delimiter. It is an initiating function for an @ref
|
2600
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2601
|
+
* operation will continue until one of the following conditions is true:
|
1425
2602
|
*
|
1426
|
-
* @li The get area of the
|
2603
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
2604
|
+
* delimiter.
|
1427
2605
|
*
|
1428
2606
|
* @li An error occurred.
|
1429
2607
|
*
|
1430
2608
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1431
2609
|
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1432
|
-
* the
|
1433
|
-
* operation completes immediately. The program must ensure that
|
1434
|
-
* performs no other read operations (such as async_read,
|
1435
|
-
* stream's async_read_some function, or any other
|
1436
|
-
* perform reads) until this operation completes.
|
2610
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
2611
|
+
* asynchronous operation completes immediately. The program must ensure that
|
2612
|
+
* the stream performs no other read operations (such as async_read,
|
2613
|
+
* async_read_until, the stream's async_read_some function, or any other
|
2614
|
+
* composed operations that perform reads) until this operation completes.
|
1437
2615
|
*
|
1438
2616
|
* @param s The stream from which the data is to be read. The type must support
|
1439
2617
|
* the AsyncReadStream concept.
|
1440
2618
|
*
|
1441
|
-
* @param
|
1442
|
-
* the
|
1443
|
-
*
|
2619
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2620
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2621
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2622
|
+
* that they remain valid until the completion handler is called.
|
1444
2623
|
*
|
1445
2624
|
* @param delim The delimiter character.
|
1446
2625
|
*
|
1447
|
-
* @param
|
1448
|
-
*
|
1449
|
-
*
|
2626
|
+
* @param token The @ref completion_token that will be used to produce a
|
2627
|
+
* completion handler, which will be called when the read completes.
|
2628
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2629
|
+
* @ref yield_context, or a function object with the correct completion
|
2630
|
+
* signature. The function signature of the completion handler must be:
|
1450
2631
|
* @code void handler(
|
1451
2632
|
* // Result of operation.
|
1452
2633
|
* const boost::system::error_code& error,
|
1453
2634
|
*
|
1454
|
-
* // The number of bytes in the
|
1455
|
-
* // area up to and including the delimiter.
|
2635
|
+
* // The number of bytes in the dynamic buffer sequence's
|
2636
|
+
* // get area up to and including the delimiter.
|
1456
2637
|
* // 0 if an error occurred.
|
1457
2638
|
* std::size_t bytes_transferred
|
1458
2639
|
* ); @endcode
|
1459
2640
|
* Regardless of whether the asynchronous operation completes immediately or
|
1460
|
-
* not, the handler will not be invoked from within this function.
|
1461
|
-
* the handler will be performed in a
|
1462
|
-
* boost::asio::
|
2641
|
+
* not, the completion handler will not be invoked from within this function.
|
2642
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2643
|
+
* manner equivalent to using boost::asio::post().
|
1463
2644
|
*
|
1464
|
-
* @
|
1465
|
-
*
|
1466
|
-
*
|
1467
|
-
*
|
2645
|
+
* @par Completion Signature
|
2646
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2647
|
+
*
|
2648
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2649
|
+
* sequence may contain additional data beyond the delimiter. An application
|
2650
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
2651
|
+
* subsequent async_read_until operation to examine.
|
1468
2652
|
*
|
1469
2653
|
* @par Example
|
1470
|
-
* To asynchronously read data into a
|
1471
|
-
*
|
2654
|
+
* To asynchronously read data into a @c std::string until a newline is
|
2655
|
+
* encountered:
|
2656
|
+
* @code std::string data;
|
1472
2657
|
* ...
|
1473
2658
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1474
2659
|
* {
|
1475
2660
|
* if (!e)
|
1476
2661
|
* {
|
1477
|
-
* std::
|
1478
|
-
*
|
1479
|
-
* std::getline(is, line);
|
2662
|
+
* std::string line = data.substr(0, n);
|
2663
|
+
* data.erase(0, n);
|
1480
2664
|
* ...
|
1481
2665
|
* }
|
1482
2666
|
* }
|
1483
2667
|
* ...
|
1484
|
-
* boost::asio::async_read_until(s,
|
2668
|
+
* boost::asio::async_read_until(s, data, '\n', handler); @endcode
|
1485
2669
|
* After the @c async_read_until operation completes successfully, the buffer
|
1486
|
-
* @c
|
2670
|
+
* @c data contains the delimiter:
|
1487
2671
|
* @code { 'a', 'b', ..., 'c', '\n', 'd', 'e', ... } @endcode
|
1488
|
-
* The call to @c
|
1489
|
-
*
|
1490
|
-
* @code { 'a', 'b', ..., 'c' } @endcode
|
1491
|
-
*
|
2672
|
+
* The call to @c substr then extracts the data up to and including the
|
2673
|
+
* delimiter, so that the string @c line contains:
|
2674
|
+
* @code { 'a', 'b', ..., 'c', '\n' } @endcode
|
2675
|
+
* After the call to @c erase, the remaining data is left in the buffer @c data
|
2676
|
+
* as follows:
|
1492
2677
|
* @code { 'd', 'e', ... } @endcode
|
1493
2678
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1494
2679
|
* @c async_read_until operation.
|
2680
|
+
*
|
2681
|
+
* @par Per-Operation Cancellation
|
2682
|
+
* This asynchronous operation supports cancellation for the following
|
2683
|
+
* boost::asio::cancellation_type values:
|
2684
|
+
*
|
2685
|
+
* @li @c cancellation_type::terminal
|
2686
|
+
*
|
2687
|
+
* @li @c cancellation_type::partial
|
2688
|
+
*
|
2689
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2690
|
+
* @c async_read_some operation.
|
1495
2691
|
*/
|
1496
|
-
template <typename AsyncReadStream, typename
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
2692
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
2693
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2694
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2695
|
+
typename AsyncReadStream::executor_type>>
|
2696
|
+
auto async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers, char delim,
|
2697
|
+
ReadToken&& token = default_completion_token_t<
|
2698
|
+
typename AsyncReadStream::executor_type>(),
|
2699
|
+
constraint_t<
|
2700
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2701
|
+
> = 0)
|
2702
|
+
-> decltype(
|
2703
|
+
async_initiate<ReadToken,
|
2704
|
+
void (boost::system::error_code, std::size_t)>(
|
2705
|
+
declval<detail::initiate_async_read_until_delim_v2<AsyncReadStream>>(),
|
2706
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), delim));
|
1502
2707
|
|
1503
|
-
/// Start an asynchronous operation to read data into a
|
1504
|
-
/// contains a specified delimiter.
|
2708
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2709
|
+
/// until it contains a specified delimiter.
|
1505
2710
|
/**
|
1506
|
-
* This function is used to asynchronously read data into the specified
|
1507
|
-
*
|
1508
|
-
*
|
1509
|
-
*
|
2711
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2712
|
+
* buffer sequence until the dynamic buffer sequence's get area contains the
|
2713
|
+
* specified delimiter. It is an initiating function for an @ref
|
2714
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2715
|
+
* operation will continue until one of the following conditions is true:
|
1510
2716
|
*
|
1511
|
-
* @li The get area of the
|
2717
|
+
* @li The get area of the dynamic buffer sequence contains the specified
|
2718
|
+
* delimiter.
|
1512
2719
|
*
|
1513
2720
|
* @li An error occurred.
|
1514
2721
|
*
|
1515
2722
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1516
2723
|
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1517
|
-
* the
|
1518
|
-
* operation completes immediately. The program must ensure that
|
1519
|
-
* performs no other read operations (such as async_read,
|
1520
|
-
* stream's async_read_some function, or any other
|
1521
|
-
* perform reads) until this operation completes.
|
2724
|
+
* the dynamic buffer sequence's get area already contains the delimiter, this
|
2725
|
+
* asynchronous operation completes immediately. The program must ensure that
|
2726
|
+
* the stream performs no other read operations (such as async_read,
|
2727
|
+
* async_read_until, the stream's async_read_some function, or any other
|
2728
|
+
* composed operations that perform reads) until this operation completes.
|
1522
2729
|
*
|
1523
2730
|
* @param s The stream from which the data is to be read. The type must support
|
1524
2731
|
* the AsyncReadStream concept.
|
1525
2732
|
*
|
1526
|
-
* @param
|
1527
|
-
* the
|
1528
|
-
*
|
2733
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2734
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2735
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2736
|
+
* that they remain valid until the completion handler is called.
|
1529
2737
|
*
|
1530
2738
|
* @param delim The delimiter string.
|
1531
2739
|
*
|
1532
|
-
* @param
|
1533
|
-
*
|
1534
|
-
*
|
2740
|
+
* @param token The @ref completion_token that will be used to produce a
|
2741
|
+
* completion handler, which will be called when the read completes.
|
2742
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2743
|
+
* @ref yield_context, or a function object with the correct completion
|
2744
|
+
* signature. The function signature of the completion handler must be:
|
1535
2745
|
* @code void handler(
|
1536
2746
|
* // Result of operation.
|
1537
2747
|
* const boost::system::error_code& error,
|
1538
2748
|
*
|
1539
|
-
* // The number of bytes in the
|
1540
|
-
* // area up to and including the delimiter.
|
1541
|
-
* // 0 if an error occurred.
|
2749
|
+
* // The number of bytes in the dynamic buffer sequence's
|
2750
|
+
* // get area up to and including the delimiter.
|
1542
2751
|
* std::size_t bytes_transferred
|
1543
2752
|
* ); @endcode
|
1544
2753
|
* Regardless of whether the asynchronous operation completes immediately or
|
1545
|
-
* not, the handler will not be invoked from within this function.
|
1546
|
-
* the handler will be performed in a
|
1547
|
-
* boost::asio::
|
2754
|
+
* not, the completion handler will not be invoked from within this function.
|
2755
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2756
|
+
* manner equivalent to using boost::asio::post().
|
1548
2757
|
*
|
1549
|
-
* @
|
1550
|
-
*
|
1551
|
-
*
|
1552
|
-
*
|
2758
|
+
* @par Completion Signature
|
2759
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2760
|
+
*
|
2761
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2762
|
+
* sequence may contain additional data beyond the delimiter. An application
|
2763
|
+
* will typically leave that data in the dynamic buffer sequence for a
|
2764
|
+
* subsequent async_read_until operation to examine.
|
1553
2765
|
*
|
1554
2766
|
* @par Example
|
1555
|
-
* To asynchronously read data into a
|
1556
|
-
*
|
2767
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
2768
|
+
* encountered:
|
2769
|
+
* @code std::string data;
|
1557
2770
|
* ...
|
1558
2771
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1559
2772
|
* {
|
1560
2773
|
* if (!e)
|
1561
2774
|
* {
|
1562
|
-
* std::
|
1563
|
-
*
|
1564
|
-
* std::getline(is, line);
|
2775
|
+
* std::string line = data.substr(0, n);
|
2776
|
+
* data.erase(0, n);
|
1565
2777
|
* ...
|
1566
2778
|
* }
|
1567
2779
|
* }
|
1568
2780
|
* ...
|
1569
|
-
* boost::asio::async_read_until(s,
|
1570
|
-
* After the @c async_read_until operation completes successfully, the
|
1571
|
-
* @c
|
2781
|
+
* boost::asio::async_read_until(s, data, "\r\n", handler); @endcode
|
2782
|
+
* After the @c async_read_until operation completes successfully, the string
|
2783
|
+
* @c data contains the delimiter:
|
1572
2784
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1573
|
-
* The call to @c
|
1574
|
-
*
|
1575
|
-
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
1576
|
-
*
|
2785
|
+
* The call to @c substr then extracts the data up to and including the
|
2786
|
+
* delimiter, so that the string @c line contains:
|
2787
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
2788
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
2789
|
+
* as follows:
|
1577
2790
|
* @code { 'd', 'e', ... } @endcode
|
1578
2791
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1579
2792
|
* @c async_read_until operation.
|
2793
|
+
*
|
2794
|
+
* @par Per-Operation Cancellation
|
2795
|
+
* This asynchronous operation supports cancellation for the following
|
2796
|
+
* boost::asio::cancellation_type values:
|
2797
|
+
*
|
2798
|
+
* @li @c cancellation_type::terminal
|
2799
|
+
*
|
2800
|
+
* @li @c cancellation_type::partial
|
2801
|
+
*
|
2802
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2803
|
+
* @c async_read_some operation.
|
1580
2804
|
*/
|
1581
|
-
template <typename AsyncReadStream, typename
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
2805
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
2806
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2807
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2808
|
+
typename AsyncReadStream::executor_type>>
|
2809
|
+
auto async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
1586
2810
|
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1587
|
-
|
2811
|
+
ReadToken&& token = default_completion_token_t<
|
2812
|
+
typename AsyncReadStream::executor_type>(),
|
2813
|
+
constraint_t<
|
2814
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2815
|
+
> = 0)
|
2816
|
+
-> decltype(
|
2817
|
+
async_initiate<ReadToken,
|
2818
|
+
void (boost::system::error_code, std::size_t)>(
|
2819
|
+
declval<detail::initiate_async_read_until_delim_string_v2<
|
2820
|
+
AsyncReadStream>>(),
|
2821
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers),
|
2822
|
+
static_cast<std::string>(delim)));
|
1588
2823
|
|
2824
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1589
2825
|
#if defined(BOOST_ASIO_HAS_BOOST_REGEX) \
|
1590
2826
|
|| defined(GENERATING_DOCUMENTATION)
|
1591
2827
|
|
1592
|
-
/// Start an asynchronous operation to read data into a
|
1593
|
-
/// part of its data matches a regular expression.
|
2828
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2829
|
+
/// until some part of its data matches a regular expression.
|
1594
2830
|
/**
|
1595
|
-
* This function is used to asynchronously read data into the specified
|
1596
|
-
*
|
1597
|
-
* regular expression.
|
2831
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2832
|
+
* buffer sequence until the dynamic buffer sequence's get area contains some
|
2833
|
+
* data that matches a regular expression. It is an initiating function for an
|
2834
|
+
* @ref asynchronous_operation, and always returns immediately. The
|
1598
2835
|
* asynchronous operation will continue until one of the following conditions
|
1599
2836
|
* is true:
|
1600
2837
|
*
|
1601
|
-
* @li A substring of the
|
2838
|
+
* @li A substring of the dynamic buffer sequence's get area matches the regular
|
2839
|
+
* expression.
|
1602
2840
|
*
|
1603
2841
|
* @li An error occurred.
|
1604
2842
|
*
|
1605
2843
|
* This operation is implemented in terms of zero or more calls to the stream's
|
1606
2844
|
* async_read_some function, and is known as a <em>composed operation</em>. If
|
1607
|
-
* the
|
1608
|
-
* expression, this asynchronous operation completes immediately.
|
1609
|
-
* must ensure that the stream performs no other read operations
|
1610
|
-
* async_read, async_read_until, the stream's async_read_some
|
1611
|
-
* other composed operations that perform reads) until this
|
1612
|
-
* completes.
|
2845
|
+
* the dynamic buffer sequence's get area already contains data that matches
|
2846
|
+
* the regular expression, this asynchronous operation completes immediately.
|
2847
|
+
* The program must ensure that the stream performs no other read operations
|
2848
|
+
* (such as async_read, async_read_until, the stream's async_read_some
|
2849
|
+
* function, or any other composed operations that perform reads) until this
|
2850
|
+
* operation completes.
|
1613
2851
|
*
|
1614
2852
|
* @param s The stream from which the data is to be read. The type must support
|
1615
2853
|
* the AsyncReadStream concept.
|
1616
2854
|
*
|
1617
|
-
* @param
|
1618
|
-
* the
|
1619
|
-
*
|
2855
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2856
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2857
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2858
|
+
* that they remain valid until the completion handler is called.
|
1620
2859
|
*
|
1621
2860
|
* @param expr The regular expression.
|
1622
2861
|
*
|
1623
|
-
* @param
|
1624
|
-
*
|
1625
|
-
*
|
2862
|
+
* @param token The @ref completion_token that will be used to produce a
|
2863
|
+
* completion handler, which will be called when the read completes.
|
2864
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2865
|
+
* @ref yield_context, or a function object with the correct completion
|
2866
|
+
* signature. The function signature of the completion handler must be:
|
1626
2867
|
* @code void handler(
|
1627
2868
|
* // Result of operation.
|
1628
2869
|
* const boost::system::error_code& error,
|
1629
2870
|
*
|
1630
|
-
* // The number of bytes in the
|
1631
|
-
* // area up to and including the
|
1632
|
-
* // that matches the regular
|
2871
|
+
* // The number of bytes in the dynamic buffer
|
2872
|
+
* // sequence's get area up to and including the
|
2873
|
+
* // substring that matches the regular expression.
|
1633
2874
|
* // 0 if an error occurred.
|
1634
2875
|
* std::size_t bytes_transferred
|
1635
2876
|
* ); @endcode
|
1636
2877
|
* Regardless of whether the asynchronous operation completes immediately or
|
1637
|
-
* not, the handler will not be invoked from within this function.
|
1638
|
-
* the handler will be performed in a
|
1639
|
-
* boost::asio::
|
2878
|
+
* not, the completion handler will not be invoked from within this function.
|
2879
|
+
* On immediate completion, invocation of the handler will be performed in a
|
2880
|
+
* manner equivalent to using boost::asio::post().
|
1640
2881
|
*
|
1641
|
-
* @
|
1642
|
-
*
|
1643
|
-
*
|
1644
|
-
* async_read_until operation
|
2882
|
+
* @par Completion Signature
|
2883
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
2884
|
+
*
|
2885
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
2886
|
+
* sequence may contain additional data beyond that which matched the regular
|
2887
|
+
* expression. An application will typically leave that data in the dynamic
|
2888
|
+
* buffer sequence for a subsequent async_read_until operation to examine.
|
1645
2889
|
*
|
1646
2890
|
* @par Example
|
1647
|
-
* To asynchronously read data into a
|
2891
|
+
* To asynchronously read data into a @c std::string until a CR-LF sequence is
|
1648
2892
|
* encountered:
|
1649
|
-
* @code
|
2893
|
+
* @code std::string data;
|
1650
2894
|
* ...
|
1651
2895
|
* void handler(const boost::system::error_code& e, std::size_t size)
|
1652
2896
|
* {
|
1653
2897
|
* if (!e)
|
1654
2898
|
* {
|
1655
|
-
* std::
|
1656
|
-
*
|
1657
|
-
* std::getline(is, line);
|
2899
|
+
* std::string line = data.substr(0, n);
|
2900
|
+
* data.erase(0, n);
|
1658
2901
|
* ...
|
1659
2902
|
* }
|
1660
2903
|
* }
|
1661
2904
|
* ...
|
1662
|
-
* boost::asio::async_read_until(s,
|
1663
|
-
*
|
1664
|
-
* @c
|
2905
|
+
* boost::asio::async_read_until(s, data,
|
2906
|
+
* boost::regex("\r\n"), handler); @endcode
|
2907
|
+
* After the @c async_read_until operation completes successfully, the string
|
2908
|
+
* @c data contains the data which matched the regular expression:
|
1665
2909
|
* @code { 'a', 'b', ..., 'c', '\r', '\n', 'd', 'e', ... } @endcode
|
1666
|
-
* The call to @c
|
1667
|
-
*
|
1668
|
-
* @code { 'a', 'b', ..., 'c', '\r' } @endcode
|
1669
|
-
*
|
2910
|
+
* The call to @c substr then extracts the data up to and including the match,
|
2911
|
+
* so that the string @c line contains:
|
2912
|
+
* @code { 'a', 'b', ..., 'c', '\r', '\n' } @endcode
|
2913
|
+
* After the call to @c erase, the remaining data is left in the string @c data
|
2914
|
+
* as follows:
|
1670
2915
|
* @code { 'd', 'e', ... } @endcode
|
1671
2916
|
* This data may be the start of a new line, to be extracted by a subsequent
|
1672
2917
|
* @c async_read_until operation.
|
2918
|
+
*
|
2919
|
+
* @par Per-Operation Cancellation
|
2920
|
+
* This asynchronous operation supports cancellation for the following
|
2921
|
+
* boost::asio::cancellation_type values:
|
2922
|
+
*
|
2923
|
+
* @li @c cancellation_type::terminal
|
2924
|
+
*
|
2925
|
+
* @li @c cancellation_type::partial
|
2926
|
+
*
|
2927
|
+
* if they are also supported by the @c AsyncReadStream type's
|
2928
|
+
* @c async_read_some operation.
|
1673
2929
|
*/
|
1674
|
-
template <typename AsyncReadStream, typename
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
2930
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2, typename Traits,
|
2931
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2932
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
2933
|
+
typename AsyncReadStream::executor_type>>
|
2934
|
+
auto async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
2935
|
+
const boost::basic_regex<char, Traits>& expr,
|
2936
|
+
ReadToken&& token = default_completion_token_t<
|
2937
|
+
typename AsyncReadStream::executor_type>(),
|
2938
|
+
constraint_t<
|
2939
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2940
|
+
> = 0)
|
2941
|
+
-> decltype(
|
2942
|
+
async_initiate<ReadToken,
|
2943
|
+
void (boost::system::error_code, std::size_t)>(
|
2944
|
+
declval<detail::initiate_async_read_until_expr_v2<AsyncReadStream>>(),
|
2945
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), expr));
|
1680
2946
|
|
1681
2947
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1682
2948
|
// || defined(GENERATING_DOCUMENTATION)
|
1683
2949
|
|
1684
|
-
/// Start an asynchronous operation to read data into a
|
1685
|
-
/// function object indicates a match.
|
2950
|
+
/// Start an asynchronous operation to read data into a dynamic buffer sequence
|
2951
|
+
/// until a function object indicates a match.
|
1686
2952
|
/**
|
1687
|
-
* This function is used to asynchronously read data into the specified
|
1688
|
-
*
|
1689
|
-
* to the data contained in the
|
1690
|
-
*
|
1691
|
-
*
|
2953
|
+
* This function is used to asynchronously read data into the specified dynamic
|
2954
|
+
* buffer sequence until a user-defined match condition function object, when
|
2955
|
+
* applied to the data contained in the dynamic buffer sequence, indicates a
|
2956
|
+
* successful match. It is an initiating function for an @ref
|
2957
|
+
* asynchronous_operation, and always returns immediately. The asynchronous
|
2958
|
+
* operation will continue until one of the following conditions is true:
|
1692
2959
|
*
|
1693
2960
|
* @li The match condition function object returns a std::pair where the second
|
1694
2961
|
* element evaluates to true.
|
@@ -1706,14 +2973,17 @@ async_read_until(AsyncReadStream& s,
|
|
1706
2973
|
* @param s The stream from which the data is to be read. The type must support
|
1707
2974
|
* the AsyncReadStream concept.
|
1708
2975
|
*
|
1709
|
-
* @param
|
2976
|
+
* @param buffers The dynamic buffer sequence into which the data will be read.
|
2977
|
+
* Although the buffers object may be copied as necessary, ownership of the
|
2978
|
+
* underlying memory blocks is retained by the caller, which must guarantee
|
2979
|
+
* that they remain valid until the completion handler is called.
|
1710
2980
|
*
|
1711
2981
|
* @param match_condition The function object to be called to determine whether
|
1712
2982
|
* a match exists. The signature of the function object must be:
|
1713
2983
|
* @code pair<iterator, bool> match_condition(iterator begin, iterator end);
|
1714
2984
|
* @endcode
|
1715
2985
|
* where @c iterator represents the type:
|
1716
|
-
* @code buffers_iterator<
|
2986
|
+
* @code buffers_iterator<typename DynamicBuffer_v2::const_buffers_type>
|
1717
2987
|
* @endcode
|
1718
2988
|
* The iterator parameters @c begin and @c end define the range of bytes to be
|
1719
2989
|
* scanned to determine whether there is a match. The @c first member of the
|
@@ -1723,27 +2993,32 @@ async_read_until(AsyncReadStream& s,
|
|
1723
2993
|
* @c second member of the return value is true if a match has been found, false
|
1724
2994
|
* otherwise.
|
1725
2995
|
*
|
1726
|
-
* @param
|
1727
|
-
*
|
1728
|
-
*
|
2996
|
+
* @param token The @ref completion_token that will be used to produce a
|
2997
|
+
* completion handler, which will be called when the read completes.
|
2998
|
+
* Potential completion tokens include @ref use_future, @ref use_awaitable,
|
2999
|
+
* @ref yield_context, or a function object with the correct completion
|
3000
|
+
* signature. The function signature of the completion handler must be:
|
1729
3001
|
* @code void handler(
|
1730
3002
|
* // Result of operation.
|
1731
3003
|
* const boost::system::error_code& error,
|
1732
3004
|
*
|
1733
|
-
* // The number of bytes in the
|
1734
|
-
* // area that have been fully consumed by the
|
1735
|
-
* //
|
3005
|
+
* // The number of bytes in the dynamic buffer sequence's
|
3006
|
+
* // get area that have been fully consumed by the match
|
3007
|
+
* // function. O if an error occurred.
|
1736
3008
|
* std::size_t bytes_transferred
|
1737
3009
|
* ); @endcode
|
1738
3010
|
* Regardless of whether the asynchronous operation completes immediately or
|
1739
|
-
* not, the handler will not be invoked from within this function.
|
1740
|
-
* the handler will be performed in a
|
1741
|
-
* boost::asio::
|
3011
|
+
* not, the completion handler will not be invoked from within this function.
|
3012
|
+
* On immediate completion, invocation of the handler will be performed in a
|
3013
|
+
* manner equivalent to using boost::asio::post().
|
1742
3014
|
*
|
1743
|
-
* @note After a successful async_read_until operation, the
|
1744
|
-
* contain additional data beyond that which matched the function
|
1745
|
-
* application will typically leave that data in the
|
1746
|
-
* async_read_until operation to examine.
|
3015
|
+
* @note After a successful async_read_until operation, the dynamic buffer
|
3016
|
+
* sequence may contain additional data beyond that which matched the function
|
3017
|
+
* object. An application will typically leave that data in the dynamic buffer
|
3018
|
+
* sequence for a subsequent async_read_until operation to examine.
|
3019
|
+
*
|
3020
|
+
* @par Completion Signature
|
3021
|
+
* @code void(boost::system::error_code, std::size_t) @endcode
|
1747
3022
|
*
|
1748
3023
|
* @note The default implementation of the @c is_match_condition type trait
|
1749
3024
|
* evaluates to true for function pointers and function objects with a
|
@@ -1751,9 +3026,10 @@ async_read_until(AsyncReadStream& s,
|
|
1751
3026
|
* function objects.
|
1752
3027
|
*
|
1753
3028
|
* @par Examples
|
1754
|
-
* To asynchronously read data into a
|
3029
|
+
* To asynchronously read data into a @c std::string until whitespace is
|
3030
|
+
* encountered:
|
1755
3031
|
* @code typedef boost::asio::buffers_iterator<
|
1756
|
-
* boost::asio::
|
3032
|
+
* boost::asio::const_buffers_1> iterator;
|
1757
3033
|
*
|
1758
3034
|
* std::pair<iterator, bool>
|
1759
3035
|
* match_whitespace(iterator begin, iterator end)
|
@@ -1767,12 +3043,12 @@ async_read_until(AsyncReadStream& s,
|
|
1767
3043
|
* ...
|
1768
3044
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1769
3045
|
* ...
|
1770
|
-
*
|
1771
|
-
* boost::asio::async_read_until(s,
|
3046
|
+
* std::string data;
|
3047
|
+
* boost::asio::async_read_until(s, data, match_whitespace, handler);
|
1772
3048
|
* @endcode
|
1773
3049
|
*
|
1774
|
-
* To asynchronously read data into a
|
1775
|
-
* found:
|
3050
|
+
* To asynchronously read data into a @c std::string until a matching character
|
3051
|
+
* is found:
|
1776
3052
|
* @code class match_char
|
1777
3053
|
* {
|
1778
3054
|
* public:
|
@@ -1800,20 +3076,42 @@ async_read_until(AsyncReadStream& s,
|
|
1800
3076
|
* ...
|
1801
3077
|
* void handler(const boost::system::error_code& e, std::size_t size);
|
1802
3078
|
* ...
|
1803
|
-
*
|
1804
|
-
* boost::asio::async_read_until(s,
|
3079
|
+
* std::string data;
|
3080
|
+
* boost::asio::async_read_until(s, data, match_char('a'), handler);
|
1805
3081
|
* @endcode
|
3082
|
+
*
|
3083
|
+
* @par Per-Operation Cancellation
|
3084
|
+
* This asynchronous operation supports cancellation for the following
|
3085
|
+
* boost::asio::cancellation_type values:
|
3086
|
+
*
|
3087
|
+
* @li @c cancellation_type::terminal
|
3088
|
+
*
|
3089
|
+
* @li @c cancellation_type::partial
|
3090
|
+
*
|
3091
|
+
* if they are also supported by the @c AsyncReadStream type's
|
3092
|
+
* @c async_read_some operation.
|
1806
3093
|
*/
|
1807
|
-
template <typename AsyncReadStream,
|
1808
|
-
typename
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
3094
|
+
template <typename AsyncReadStream,
|
3095
|
+
typename DynamicBuffer_v2, typename MatchCondition,
|
3096
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
3097
|
+
std::size_t)) ReadToken = default_completion_token_t<
|
3098
|
+
typename AsyncReadStream::executor_type>>
|
3099
|
+
auto async_read_until(AsyncReadStream& s,
|
3100
|
+
DynamicBuffer_v2 buffers, MatchCondition match_condition,
|
3101
|
+
ReadToken&& token = default_completion_token_t<
|
3102
|
+
typename AsyncReadStream::executor_type>(),
|
3103
|
+
constraint_t<
|
3104
|
+
is_match_condition<MatchCondition>::value
|
3105
|
+
> = 0,
|
3106
|
+
constraint_t<
|
3107
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
3108
|
+
> = 0)
|
3109
|
+
-> decltype(
|
3110
|
+
async_initiate<ReadToken,
|
3111
|
+
void (boost::system::error_code, std::size_t)>(
|
3112
|
+
declval<detail::initiate_async_read_until_match_v2<AsyncReadStream>>(),
|
3113
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), match_condition));
|
1815
3114
|
|
1816
|
-
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
1817
3115
|
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1818
3116
|
|
1819
3117
|
/*@}*/
|