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
|
// impl/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,16 +19,16 @@
|
|
19
19
|
#include <string>
|
20
20
|
#include <vector>
|
21
21
|
#include <utility>
|
22
|
-
#include <boost/asio/
|
23
|
-
#include <boost/asio/associated_executor.hpp>
|
22
|
+
#include <boost/asio/associator.hpp>
|
24
23
|
#include <boost/asio/buffer.hpp>
|
25
24
|
#include <boost/asio/buffers_iterator.hpp>
|
25
|
+
#include <boost/asio/detail/base_from_cancellation_state.hpp>
|
26
26
|
#include <boost/asio/detail/bind_handler.hpp>
|
27
|
-
#include <boost/asio/detail/handler_alloc_helpers.hpp>
|
28
27
|
#include <boost/asio/detail/handler_cont_helpers.hpp>
|
29
|
-
#include <boost/asio/detail/
|
28
|
+
#include <boost/asio/detail/handler_tracking.hpp>
|
30
29
|
#include <boost/asio/detail/handler_type_requirements.hpp>
|
31
30
|
#include <boost/asio/detail/limits.hpp>
|
31
|
+
#include <boost/asio/detail/non_const_lvalue.hpp>
|
32
32
|
#include <boost/asio/detail/throw_error.hpp>
|
33
33
|
|
34
34
|
#include <boost/asio/detail/push_options.hpp>
|
@@ -36,30 +36,79 @@
|
|
36
36
|
namespace boost {
|
37
37
|
namespace asio {
|
38
38
|
|
39
|
-
|
39
|
+
namespace detail
|
40
|
+
{
|
41
|
+
// Algorithm that finds a subsequence of equal values in a sequence. Returns
|
42
|
+
// (iterator,true) if a full match was found, in which case the iterator
|
43
|
+
// points to the beginning of the match. Returns (iterator,false) if a
|
44
|
+
// partial match was found at the end of the first sequence, in which case
|
45
|
+
// the iterator points to the beginning of the partial match. Returns
|
46
|
+
// (last1,false) if no full or partial match was found.
|
47
|
+
template <typename Iterator1, typename Iterator2>
|
48
|
+
std::pair<Iterator1, bool> partial_search(
|
49
|
+
Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2)
|
50
|
+
{
|
51
|
+
for (Iterator1 iter1 = first1; iter1 != last1; ++iter1)
|
52
|
+
{
|
53
|
+
Iterator1 test_iter1 = iter1;
|
54
|
+
Iterator2 test_iter2 = first2;
|
55
|
+
for (;; ++test_iter1, ++test_iter2)
|
56
|
+
{
|
57
|
+
if (test_iter2 == last2)
|
58
|
+
return std::make_pair(iter1, true);
|
59
|
+
if (test_iter1 == last1)
|
60
|
+
{
|
61
|
+
if (test_iter2 != first2)
|
62
|
+
return std::make_pair(iter1, false);
|
63
|
+
else
|
64
|
+
break;
|
65
|
+
}
|
66
|
+
if (*test_iter1 != *test_iter2)
|
67
|
+
break;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
return std::make_pair(last1, false);
|
71
|
+
}
|
72
|
+
} // namespace detail
|
73
|
+
|
74
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
75
|
+
|
76
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
40
77
|
inline std::size_t read_until(SyncReadStream& s,
|
41
|
-
|
78
|
+
DynamicBuffer_v1&& buffers, char delim,
|
79
|
+
constraint_t<
|
80
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
81
|
+
>,
|
82
|
+
constraint_t<
|
83
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
84
|
+
>)
|
42
85
|
{
|
43
86
|
boost::system::error_code ec;
|
44
87
|
std::size_t bytes_transferred = read_until(s,
|
45
|
-
|
88
|
+
static_cast<DynamicBuffer_v1&&>(buffers), delim, ec);
|
46
89
|
boost::asio::detail::throw_error(ec, "read_until");
|
47
90
|
return bytes_transferred;
|
48
91
|
}
|
49
92
|
|
50
|
-
template <typename SyncReadStream, typename
|
93
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
51
94
|
std::size_t read_until(SyncReadStream& s,
|
52
|
-
|
53
|
-
char delim, boost::system::error_code& ec
|
95
|
+
DynamicBuffer_v1&& buffers,
|
96
|
+
char delim, boost::system::error_code& ec,
|
97
|
+
constraint_t<
|
98
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
99
|
+
>,
|
100
|
+
constraint_t<
|
101
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
102
|
+
>)
|
54
103
|
{
|
55
|
-
|
56
|
-
|
104
|
+
decay_t<DynamicBuffer_v1> b(
|
105
|
+
static_cast<DynamicBuffer_v1&&>(buffers));
|
57
106
|
|
58
107
|
std::size_t search_position = 0;
|
59
108
|
for (;;)
|
60
109
|
{
|
61
110
|
// Determine the range of the data to be searched.
|
62
|
-
typedef typename
|
111
|
+
typedef typename DynamicBuffer_v1::const_buffers_type buffers_type;
|
63
112
|
typedef buffers_iterator<buffers_type> iterator;
|
64
113
|
buffers_type data_buffers = b.data();
|
65
114
|
iterator begin = iterator::begin(data_buffers);
|
@@ -97,66 +146,43 @@ std::size_t read_until(SyncReadStream& s,
|
|
97
146
|
}
|
98
147
|
}
|
99
148
|
|
100
|
-
template <typename SyncReadStream, typename
|
149
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
101
150
|
inline std::size_t read_until(SyncReadStream& s,
|
102
|
-
|
103
|
-
BOOST_ASIO_STRING_VIEW_PARAM delim
|
151
|
+
DynamicBuffer_v1&& buffers,
|
152
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
153
|
+
constraint_t<
|
154
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
155
|
+
>,
|
156
|
+
constraint_t<
|
157
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
158
|
+
>)
|
104
159
|
{
|
105
160
|
boost::system::error_code ec;
|
106
161
|
std::size_t bytes_transferred = read_until(s,
|
107
|
-
|
162
|
+
static_cast<DynamicBuffer_v1&&>(buffers), delim, ec);
|
108
163
|
boost::asio::detail::throw_error(ec, "read_until");
|
109
164
|
return bytes_transferred;
|
110
165
|
}
|
111
166
|
|
112
|
-
|
113
|
-
{
|
114
|
-
// Algorithm that finds a subsequence of equal values in a sequence. Returns
|
115
|
-
// (iterator,true) if a full match was found, in which case the iterator
|
116
|
-
// points to the beginning of the match. Returns (iterator,false) if a
|
117
|
-
// partial match was found at the end of the first sequence, in which case
|
118
|
-
// the iterator points to the beginning of the partial match. Returns
|
119
|
-
// (last1,false) if no full or partial match was found.
|
120
|
-
template <typename Iterator1, typename Iterator2>
|
121
|
-
std::pair<Iterator1, bool> partial_search(
|
122
|
-
Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2)
|
123
|
-
{
|
124
|
-
for (Iterator1 iter1 = first1; iter1 != last1; ++iter1)
|
125
|
-
{
|
126
|
-
Iterator1 test_iter1 = iter1;
|
127
|
-
Iterator2 test_iter2 = first2;
|
128
|
-
for (;; ++test_iter1, ++test_iter2)
|
129
|
-
{
|
130
|
-
if (test_iter2 == last2)
|
131
|
-
return std::make_pair(iter1, true);
|
132
|
-
if (test_iter1 == last1)
|
133
|
-
{
|
134
|
-
if (test_iter2 != first2)
|
135
|
-
return std::make_pair(iter1, false);
|
136
|
-
else
|
137
|
-
break;
|
138
|
-
}
|
139
|
-
if (*test_iter1 != *test_iter2)
|
140
|
-
break;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
return std::make_pair(last1, false);
|
144
|
-
}
|
145
|
-
} // namespace detail
|
146
|
-
|
147
|
-
template <typename SyncReadStream, typename DynamicBuffer>
|
167
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1>
|
148
168
|
std::size_t read_until(SyncReadStream& s,
|
149
|
-
|
150
|
-
BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec
|
169
|
+
DynamicBuffer_v1&& buffers,
|
170
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
|
171
|
+
constraint_t<
|
172
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
173
|
+
>,
|
174
|
+
constraint_t<
|
175
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
176
|
+
>)
|
151
177
|
{
|
152
|
-
|
153
|
-
|
178
|
+
decay_t<DynamicBuffer_v1> b(
|
179
|
+
static_cast<DynamicBuffer_v1&&>(buffers));
|
154
180
|
|
155
181
|
std::size_t search_position = 0;
|
156
182
|
for (;;)
|
157
183
|
{
|
158
184
|
// Determine the range of the data to be searched.
|
159
|
-
typedef typename
|
185
|
+
typedef typename DynamicBuffer_v1::const_buffers_type buffers_type;
|
160
186
|
typedef buffers_iterator<buffers_type> iterator;
|
161
187
|
buffers_type data_buffers = b.data();
|
162
188
|
iterator begin = iterator::begin(data_buffers);
|
@@ -206,31 +232,54 @@ std::size_t read_until(SyncReadStream& s,
|
|
206
232
|
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
207
233
|
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
208
234
|
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
235
|
+
namespace detail {
|
236
|
+
|
237
|
+
struct regex_match_flags
|
238
|
+
{
|
239
|
+
template <typename T>
|
240
|
+
operator T() const
|
241
|
+
{
|
242
|
+
return T::match_default | T::match_partial;
|
243
|
+
}
|
244
|
+
};
|
245
|
+
|
246
|
+
} // namespace detail
|
247
|
+
|
248
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1, typename Traits>
|
249
|
+
inline std::size_t read_until(SyncReadStream& s, DynamicBuffer_v1&& buffers,
|
250
|
+
const boost::basic_regex<char, Traits>& expr,
|
251
|
+
constraint_t<
|
252
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
253
|
+
>,
|
254
|
+
constraint_t<
|
255
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
256
|
+
>)
|
213
257
|
{
|
214
258
|
boost::system::error_code ec;
|
215
259
|
std::size_t bytes_transferred = read_until(s,
|
216
|
-
|
260
|
+
static_cast<DynamicBuffer_v1&&>(buffers), expr, ec);
|
217
261
|
boost::asio::detail::throw_error(ec, "read_until");
|
218
262
|
return bytes_transferred;
|
219
263
|
}
|
220
264
|
|
221
|
-
template <typename SyncReadStream, typename
|
222
|
-
std::size_t read_until(SyncReadStream& s,
|
223
|
-
|
224
|
-
|
265
|
+
template <typename SyncReadStream, typename DynamicBuffer_v1, typename Traits>
|
266
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v1&& buffers,
|
267
|
+
const boost::basic_regex<char, Traits>& expr, boost::system::error_code& ec,
|
268
|
+
constraint_t<
|
269
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
270
|
+
>,
|
271
|
+
constraint_t<
|
272
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
273
|
+
>)
|
225
274
|
{
|
226
|
-
|
227
|
-
|
275
|
+
decay_t<DynamicBuffer_v1> b(
|
276
|
+
static_cast<DynamicBuffer_v1&&>(buffers));
|
228
277
|
|
229
278
|
std::size_t search_position = 0;
|
230
279
|
for (;;)
|
231
280
|
{
|
232
281
|
// Determine the range of the data to be searched.
|
233
|
-
typedef typename
|
282
|
+
typedef typename DynamicBuffer_v1::const_buffers_type buffers_type;
|
234
283
|
typedef buffers_iterator<buffers_type> iterator;
|
235
284
|
buffers_type data_buffers = b.data();
|
236
285
|
iterator begin = iterator::begin(data_buffers);
|
@@ -239,10 +288,10 @@ std::size_t read_until(SyncReadStream& s,
|
|
239
288
|
|
240
289
|
// Look for a match.
|
241
290
|
boost::match_results<iterator,
|
242
|
-
typename std::vector<boost::sub_match<iterator
|
291
|
+
typename std::vector<boost::sub_match<iterator>>::allocator_type>
|
243
292
|
match_results;
|
244
|
-
if (regex_search(start_pos, end, match_results,
|
245
|
-
|
293
|
+
if (regex_search(start_pos, end, match_results,
|
294
|
+
expr, detail::regex_match_flags()))
|
246
295
|
{
|
247
296
|
if (match_results[0].matched)
|
248
297
|
{
|
@@ -282,35 +331,51 @@ std::size_t read_until(SyncReadStream& s,
|
|
282
331
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
283
332
|
|
284
333
|
template <typename SyncReadStream,
|
285
|
-
typename
|
334
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
286
335
|
inline std::size_t read_until(SyncReadStream& s,
|
287
|
-
|
336
|
+
DynamicBuffer_v1&& buffers,
|
288
337
|
MatchCondition match_condition,
|
289
|
-
|
338
|
+
constraint_t<
|
339
|
+
is_match_condition<MatchCondition>::value
|
340
|
+
>,
|
341
|
+
constraint_t<
|
342
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
343
|
+
>,
|
344
|
+
constraint_t<
|
345
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
346
|
+
>)
|
290
347
|
{
|
291
348
|
boost::system::error_code ec;
|
292
349
|
std::size_t bytes_transferred = read_until(s,
|
293
|
-
|
350
|
+
static_cast<DynamicBuffer_v1&&>(buffers),
|
294
351
|
match_condition, ec);
|
295
352
|
boost::asio::detail::throw_error(ec, "read_until");
|
296
353
|
return bytes_transferred;
|
297
354
|
}
|
298
355
|
|
299
356
|
template <typename SyncReadStream,
|
300
|
-
typename
|
357
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
301
358
|
std::size_t read_until(SyncReadStream& s,
|
302
|
-
|
359
|
+
DynamicBuffer_v1&& buffers,
|
303
360
|
MatchCondition match_condition, boost::system::error_code& ec,
|
304
|
-
|
361
|
+
constraint_t<
|
362
|
+
is_match_condition<MatchCondition>::value
|
363
|
+
>,
|
364
|
+
constraint_t<
|
365
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
366
|
+
>,
|
367
|
+
constraint_t<
|
368
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
369
|
+
>)
|
305
370
|
{
|
306
|
-
|
307
|
-
|
371
|
+
decay_t<DynamicBuffer_v1> b(
|
372
|
+
static_cast<DynamicBuffer_v1&&>(buffers));
|
308
373
|
|
309
374
|
std::size_t search_position = 0;
|
310
375
|
for (;;)
|
311
376
|
{
|
312
377
|
// Determine the range of the data to be searched.
|
313
|
-
typedef typename
|
378
|
+
typedef typename DynamicBuffer_v1::const_buffers_type buffers_type;
|
314
379
|
typedef buffers_iterator<buffers_type> iterator;
|
315
380
|
buffers_type data_buffers = b.data();
|
316
381
|
iterator begin = iterator::begin(data_buffers);
|
@@ -343,135 +408,1557 @@ std::size_t read_until(SyncReadStream& s,
|
|
343
408
|
return 0;
|
344
409
|
}
|
345
410
|
|
346
|
-
// Need more data.
|
347
|
-
std::size_t bytes_to_read = std::min<std::size_t>(
|
348
|
-
std::max<std::size_t>(512, b.capacity() - b.size()),
|
349
|
-
std::min<std::size_t>(65536, b.max_size() - b.size()));
|
350
|
-
b.commit(s.read_some(b.prepare(bytes_to_read), ec));
|
351
|
-
if (ec)
|
352
|
-
return 0;
|
411
|
+
// Need more data.
|
412
|
+
std::size_t bytes_to_read = std::min<std::size_t>(
|
413
|
+
std::max<std::size_t>(512, b.capacity() - b.size()),
|
414
|
+
std::min<std::size_t>(65536, b.max_size() - b.size()));
|
415
|
+
b.commit(s.read_some(b.prepare(bytes_to_read), ec));
|
416
|
+
if (ec)
|
417
|
+
return 0;
|
418
|
+
}
|
419
|
+
}
|
420
|
+
|
421
|
+
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
422
|
+
|
423
|
+
template <typename SyncReadStream, typename Allocator>
|
424
|
+
inline std::size_t read_until(SyncReadStream& s,
|
425
|
+
boost::asio::basic_streambuf<Allocator>& b, char delim)
|
426
|
+
{
|
427
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), delim);
|
428
|
+
}
|
429
|
+
|
430
|
+
template <typename SyncReadStream, typename Allocator>
|
431
|
+
inline std::size_t read_until(SyncReadStream& s,
|
432
|
+
boost::asio::basic_streambuf<Allocator>& b, char delim,
|
433
|
+
boost::system::error_code& ec)
|
434
|
+
{
|
435
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), delim, ec);
|
436
|
+
}
|
437
|
+
|
438
|
+
template <typename SyncReadStream, typename Allocator>
|
439
|
+
inline std::size_t read_until(SyncReadStream& s,
|
440
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
441
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim)
|
442
|
+
{
|
443
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), delim);
|
444
|
+
}
|
445
|
+
|
446
|
+
template <typename SyncReadStream, typename Allocator>
|
447
|
+
inline std::size_t read_until(SyncReadStream& s,
|
448
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
449
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec)
|
450
|
+
{
|
451
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), delim, ec);
|
452
|
+
}
|
453
|
+
|
454
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
455
|
+
|
456
|
+
template <typename SyncReadStream, typename Allocator, typename Traits>
|
457
|
+
inline std::size_t read_until(SyncReadStream& s,
|
458
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
459
|
+
const boost::basic_regex<char, Traits>& expr)
|
460
|
+
{
|
461
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), expr);
|
462
|
+
}
|
463
|
+
|
464
|
+
template <typename SyncReadStream, typename Allocator, typename Traits>
|
465
|
+
inline std::size_t read_until(SyncReadStream& s,
|
466
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
467
|
+
const boost::basic_regex<char, Traits>& expr,
|
468
|
+
boost::system::error_code& ec)
|
469
|
+
{
|
470
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), expr, ec);
|
471
|
+
}
|
472
|
+
|
473
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
474
|
+
|
475
|
+
template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
476
|
+
inline std::size_t read_until(SyncReadStream& s,
|
477
|
+
boost::asio::basic_streambuf<Allocator>& b, MatchCondition match_condition,
|
478
|
+
constraint_t<is_match_condition<MatchCondition>::value>)
|
479
|
+
{
|
480
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), match_condition);
|
481
|
+
}
|
482
|
+
|
483
|
+
template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
484
|
+
inline std::size_t read_until(SyncReadStream& s,
|
485
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
486
|
+
MatchCondition match_condition, boost::system::error_code& ec,
|
487
|
+
constraint_t<is_match_condition<MatchCondition>::value>)
|
488
|
+
{
|
489
|
+
return read_until(s, basic_streambuf_ref<Allocator>(b), match_condition, ec);
|
490
|
+
}
|
491
|
+
|
492
|
+
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
493
|
+
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
494
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
495
|
+
|
496
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
497
|
+
inline std::size_t read_until(SyncReadStream& s,
|
498
|
+
DynamicBuffer_v2 buffers, char delim,
|
499
|
+
constraint_t<
|
500
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
501
|
+
>)
|
502
|
+
{
|
503
|
+
boost::system::error_code ec;
|
504
|
+
std::size_t bytes_transferred = read_until(s,
|
505
|
+
static_cast<DynamicBuffer_v2&&>(buffers), delim, ec);
|
506
|
+
boost::asio::detail::throw_error(ec, "read_until");
|
507
|
+
return bytes_transferred;
|
508
|
+
}
|
509
|
+
|
510
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
511
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
512
|
+
char delim, boost::system::error_code& ec,
|
513
|
+
constraint_t<
|
514
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
515
|
+
>)
|
516
|
+
{
|
517
|
+
DynamicBuffer_v2& b = buffers;
|
518
|
+
|
519
|
+
std::size_t search_position = 0;
|
520
|
+
for (;;)
|
521
|
+
{
|
522
|
+
// Determine the range of the data to be searched.
|
523
|
+
typedef typename DynamicBuffer_v2::const_buffers_type buffers_type;
|
524
|
+
typedef buffers_iterator<buffers_type> iterator;
|
525
|
+
buffers_type data_buffers =
|
526
|
+
const_cast<const DynamicBuffer_v2&>(b).data(0, b.size());
|
527
|
+
iterator begin = iterator::begin(data_buffers);
|
528
|
+
iterator start_pos = begin + search_position;
|
529
|
+
iterator end = iterator::end(data_buffers);
|
530
|
+
|
531
|
+
// Look for a match.
|
532
|
+
iterator iter = std::find(start_pos, end, delim);
|
533
|
+
if (iter != end)
|
534
|
+
{
|
535
|
+
// Found a match. We're done.
|
536
|
+
ec = boost::system::error_code();
|
537
|
+
return iter - begin + 1;
|
538
|
+
}
|
539
|
+
else
|
540
|
+
{
|
541
|
+
// No match. Next search can start with the new data.
|
542
|
+
search_position = end - begin;
|
543
|
+
}
|
544
|
+
|
545
|
+
// Check if buffer is full.
|
546
|
+
if (b.size() == b.max_size())
|
547
|
+
{
|
548
|
+
ec = error::not_found;
|
549
|
+
return 0;
|
550
|
+
}
|
551
|
+
|
552
|
+
// Need more data.
|
553
|
+
std::size_t bytes_to_read = std::min<std::size_t>(
|
554
|
+
std::max<std::size_t>(512, b.capacity() - b.size()),
|
555
|
+
std::min<std::size_t>(65536, b.max_size() - b.size()));
|
556
|
+
std::size_t pos = b.size();
|
557
|
+
b.grow(bytes_to_read);
|
558
|
+
std::size_t bytes_transferred = s.read_some(b.data(pos, bytes_to_read), ec);
|
559
|
+
b.shrink(bytes_to_read - bytes_transferred);
|
560
|
+
if (ec)
|
561
|
+
return 0;
|
562
|
+
}
|
563
|
+
}
|
564
|
+
|
565
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
566
|
+
inline std::size_t read_until(SyncReadStream& s,
|
567
|
+
DynamicBuffer_v2 buffers, BOOST_ASIO_STRING_VIEW_PARAM delim,
|
568
|
+
constraint_t<
|
569
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
570
|
+
>)
|
571
|
+
{
|
572
|
+
boost::system::error_code ec;
|
573
|
+
std::size_t bytes_transferred = read_until(s,
|
574
|
+
static_cast<DynamicBuffer_v2&&>(buffers), delim, ec);
|
575
|
+
boost::asio::detail::throw_error(ec, "read_until");
|
576
|
+
return bytes_transferred;
|
577
|
+
}
|
578
|
+
|
579
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2>
|
580
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
581
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, boost::system::error_code& ec,
|
582
|
+
constraint_t<
|
583
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
584
|
+
>)
|
585
|
+
{
|
586
|
+
DynamicBuffer_v2& b = buffers;
|
587
|
+
|
588
|
+
std::size_t search_position = 0;
|
589
|
+
for (;;)
|
590
|
+
{
|
591
|
+
// Determine the range of the data to be searched.
|
592
|
+
typedef typename DynamicBuffer_v2::const_buffers_type buffers_type;
|
593
|
+
typedef buffers_iterator<buffers_type> iterator;
|
594
|
+
buffers_type data_buffers =
|
595
|
+
const_cast<const DynamicBuffer_v2&>(b).data(0, b.size());
|
596
|
+
iterator begin = iterator::begin(data_buffers);
|
597
|
+
iterator start_pos = begin + search_position;
|
598
|
+
iterator end = iterator::end(data_buffers);
|
599
|
+
|
600
|
+
// Look for a match.
|
601
|
+
std::pair<iterator, bool> result = detail::partial_search(
|
602
|
+
start_pos, end, delim.begin(), delim.end());
|
603
|
+
if (result.first != end)
|
604
|
+
{
|
605
|
+
if (result.second)
|
606
|
+
{
|
607
|
+
// Full match. We're done.
|
608
|
+
ec = boost::system::error_code();
|
609
|
+
return result.first - begin + delim.length();
|
610
|
+
}
|
611
|
+
else
|
612
|
+
{
|
613
|
+
// Partial match. Next search needs to start from beginning of match.
|
614
|
+
search_position = result.first - begin;
|
615
|
+
}
|
616
|
+
}
|
617
|
+
else
|
618
|
+
{
|
619
|
+
// No match. Next search can start with the new data.
|
620
|
+
search_position = end - begin;
|
621
|
+
}
|
622
|
+
|
623
|
+
// Check if buffer is full.
|
624
|
+
if (b.size() == b.max_size())
|
625
|
+
{
|
626
|
+
ec = error::not_found;
|
627
|
+
return 0;
|
628
|
+
}
|
629
|
+
|
630
|
+
// Need more data.
|
631
|
+
std::size_t bytes_to_read = std::min<std::size_t>(
|
632
|
+
std::max<std::size_t>(512, b.capacity() - b.size()),
|
633
|
+
std::min<std::size_t>(65536, b.max_size() - b.size()));
|
634
|
+
std::size_t pos = b.size();
|
635
|
+
b.grow(bytes_to_read);
|
636
|
+
std::size_t bytes_transferred = s.read_some(b.data(pos, bytes_to_read), ec);
|
637
|
+
b.shrink(bytes_to_read - bytes_transferred);
|
638
|
+
if (ec)
|
639
|
+
return 0;
|
640
|
+
}
|
641
|
+
}
|
642
|
+
|
643
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
644
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
645
|
+
|
646
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2, typename Traits>
|
647
|
+
inline std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
648
|
+
const boost::basic_regex<char, Traits>& expr,
|
649
|
+
constraint_t<
|
650
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
651
|
+
>)
|
652
|
+
{
|
653
|
+
boost::system::error_code ec;
|
654
|
+
std::size_t bytes_transferred = read_until(s,
|
655
|
+
static_cast<DynamicBuffer_v2&&>(buffers), expr, ec);
|
656
|
+
boost::asio::detail::throw_error(ec, "read_until");
|
657
|
+
return bytes_transferred;
|
658
|
+
}
|
659
|
+
|
660
|
+
template <typename SyncReadStream, typename DynamicBuffer_v2, typename Traits>
|
661
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
662
|
+
const boost::basic_regex<char, Traits>& expr, boost::system::error_code& ec,
|
663
|
+
constraint_t<
|
664
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
665
|
+
>)
|
666
|
+
{
|
667
|
+
DynamicBuffer_v2& b = buffers;
|
668
|
+
|
669
|
+
std::size_t search_position = 0;
|
670
|
+
for (;;)
|
671
|
+
{
|
672
|
+
// Determine the range of the data to be searched.
|
673
|
+
typedef typename DynamicBuffer_v2::const_buffers_type buffers_type;
|
674
|
+
typedef buffers_iterator<buffers_type> iterator;
|
675
|
+
buffers_type data_buffers =
|
676
|
+
const_cast<const DynamicBuffer_v2&>(b).data(0, b.size());
|
677
|
+
iterator begin = iterator::begin(data_buffers);
|
678
|
+
iterator start_pos = begin + search_position;
|
679
|
+
iterator end = iterator::end(data_buffers);
|
680
|
+
|
681
|
+
// Look for a match.
|
682
|
+
boost::match_results<iterator,
|
683
|
+
typename std::vector<boost::sub_match<iterator>>::allocator_type>
|
684
|
+
match_results;
|
685
|
+
if (regex_search(start_pos, end, match_results,
|
686
|
+
expr, detail::regex_match_flags()))
|
687
|
+
{
|
688
|
+
if (match_results[0].matched)
|
689
|
+
{
|
690
|
+
// Full match. We're done.
|
691
|
+
ec = boost::system::error_code();
|
692
|
+
return match_results[0].second - begin;
|
693
|
+
}
|
694
|
+
else
|
695
|
+
{
|
696
|
+
// Partial match. Next search needs to start from beginning of match.
|
697
|
+
search_position = match_results[0].first - begin;
|
698
|
+
}
|
699
|
+
}
|
700
|
+
else
|
701
|
+
{
|
702
|
+
// No match. Next search can start with the new data.
|
703
|
+
search_position = end - begin;
|
704
|
+
}
|
705
|
+
|
706
|
+
// Check if buffer is full.
|
707
|
+
if (b.size() == b.max_size())
|
708
|
+
{
|
709
|
+
ec = error::not_found;
|
710
|
+
return 0;
|
711
|
+
}
|
712
|
+
|
713
|
+
// Need more data.
|
714
|
+
std::size_t bytes_to_read = std::min<std::size_t>(
|
715
|
+
std::max<std::size_t>(512, b.capacity() - b.size()),
|
716
|
+
std::min<std::size_t>(65536, b.max_size() - b.size()));
|
717
|
+
std::size_t pos = b.size();
|
718
|
+
b.grow(bytes_to_read);
|
719
|
+
std::size_t bytes_transferred = s.read_some(b.data(pos, bytes_to_read), ec);
|
720
|
+
b.shrink(bytes_to_read - bytes_transferred);
|
721
|
+
if (ec)
|
722
|
+
return 0;
|
723
|
+
}
|
724
|
+
}
|
725
|
+
|
726
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
727
|
+
|
728
|
+
template <typename SyncReadStream,
|
729
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
730
|
+
inline std::size_t read_until(SyncReadStream& s,
|
731
|
+
DynamicBuffer_v2 buffers, MatchCondition match_condition,
|
732
|
+
constraint_t<
|
733
|
+
is_match_condition<MatchCondition>::value
|
734
|
+
>,
|
735
|
+
constraint_t<
|
736
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
737
|
+
>)
|
738
|
+
{
|
739
|
+
boost::system::error_code ec;
|
740
|
+
std::size_t bytes_transferred = read_until(s,
|
741
|
+
static_cast<DynamicBuffer_v2&&>(buffers),
|
742
|
+
match_condition, ec);
|
743
|
+
boost::asio::detail::throw_error(ec, "read_until");
|
744
|
+
return bytes_transferred;
|
745
|
+
}
|
746
|
+
|
747
|
+
template <typename SyncReadStream,
|
748
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
749
|
+
std::size_t read_until(SyncReadStream& s, DynamicBuffer_v2 buffers,
|
750
|
+
MatchCondition match_condition, boost::system::error_code& ec,
|
751
|
+
constraint_t<
|
752
|
+
is_match_condition<MatchCondition>::value
|
753
|
+
>,
|
754
|
+
constraint_t<
|
755
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
756
|
+
>)
|
757
|
+
{
|
758
|
+
DynamicBuffer_v2& b = buffers;
|
759
|
+
|
760
|
+
std::size_t search_position = 0;
|
761
|
+
for (;;)
|
762
|
+
{
|
763
|
+
// Determine the range of the data to be searched.
|
764
|
+
typedef typename DynamicBuffer_v2::const_buffers_type buffers_type;
|
765
|
+
typedef buffers_iterator<buffers_type> iterator;
|
766
|
+
buffers_type data_buffers =
|
767
|
+
const_cast<const DynamicBuffer_v2&>(b).data(0, b.size());
|
768
|
+
iterator begin = iterator::begin(data_buffers);
|
769
|
+
iterator start_pos = begin + search_position;
|
770
|
+
iterator end = iterator::end(data_buffers);
|
771
|
+
|
772
|
+
// Look for a match.
|
773
|
+
std::pair<iterator, bool> result = match_condition(start_pos, end);
|
774
|
+
if (result.second)
|
775
|
+
{
|
776
|
+
// Full match. We're done.
|
777
|
+
ec = boost::system::error_code();
|
778
|
+
return result.first - begin;
|
779
|
+
}
|
780
|
+
else if (result.first != end)
|
781
|
+
{
|
782
|
+
// Partial match. Next search needs to start from beginning of match.
|
783
|
+
search_position = result.first - begin;
|
784
|
+
}
|
785
|
+
else
|
786
|
+
{
|
787
|
+
// No match. Next search can start with the new data.
|
788
|
+
search_position = end - begin;
|
789
|
+
}
|
790
|
+
|
791
|
+
// Check if buffer is full.
|
792
|
+
if (b.size() == b.max_size())
|
793
|
+
{
|
794
|
+
ec = error::not_found;
|
795
|
+
return 0;
|
796
|
+
}
|
797
|
+
|
798
|
+
// Need more data.
|
799
|
+
std::size_t bytes_to_read = std::min<std::size_t>(
|
800
|
+
std::max<std::size_t>(512, b.capacity() - b.size()),
|
801
|
+
std::min<std::size_t>(65536, b.max_size() - b.size()));
|
802
|
+
std::size_t pos = b.size();
|
803
|
+
b.grow(bytes_to_read);
|
804
|
+
std::size_t bytes_transferred = s.read_some(b.data(pos, bytes_to_read), ec);
|
805
|
+
b.shrink(bytes_to_read - bytes_transferred);
|
806
|
+
if (ec)
|
807
|
+
return 0;
|
808
|
+
}
|
809
|
+
}
|
810
|
+
|
811
|
+
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
812
|
+
|
813
|
+
#if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
814
|
+
|
815
|
+
namespace detail
|
816
|
+
{
|
817
|
+
template <typename AsyncReadStream,
|
818
|
+
typename DynamicBuffer_v1, typename ReadHandler>
|
819
|
+
class read_until_delim_op_v1
|
820
|
+
: public base_from_cancellation_state<ReadHandler>
|
821
|
+
{
|
822
|
+
public:
|
823
|
+
template <typename BufferSequence>
|
824
|
+
read_until_delim_op_v1(AsyncReadStream& stream,
|
825
|
+
BufferSequence&& buffers,
|
826
|
+
char delim, ReadHandler& handler)
|
827
|
+
: base_from_cancellation_state<ReadHandler>(
|
828
|
+
handler, enable_partial_cancellation()),
|
829
|
+
stream_(stream),
|
830
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
831
|
+
delim_(delim),
|
832
|
+
start_(0),
|
833
|
+
search_position_(0),
|
834
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
835
|
+
{
|
836
|
+
}
|
837
|
+
|
838
|
+
read_until_delim_op_v1(const read_until_delim_op_v1& other)
|
839
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
840
|
+
stream_(other.stream_),
|
841
|
+
buffers_(other.buffers_),
|
842
|
+
delim_(other.delim_),
|
843
|
+
start_(other.start_),
|
844
|
+
search_position_(other.search_position_),
|
845
|
+
handler_(other.handler_)
|
846
|
+
{
|
847
|
+
}
|
848
|
+
|
849
|
+
read_until_delim_op_v1(read_until_delim_op_v1&& other)
|
850
|
+
: base_from_cancellation_state<ReadHandler>(
|
851
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
852
|
+
stream_(other.stream_),
|
853
|
+
buffers_(static_cast<DynamicBuffer_v1&&>(other.buffers_)),
|
854
|
+
delim_(other.delim_),
|
855
|
+
start_(other.start_),
|
856
|
+
search_position_(other.search_position_),
|
857
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
858
|
+
{
|
859
|
+
}
|
860
|
+
|
861
|
+
void operator()(boost::system::error_code ec,
|
862
|
+
std::size_t bytes_transferred, int start = 0)
|
863
|
+
{
|
864
|
+
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
865
|
+
std::size_t bytes_to_read;
|
866
|
+
switch (start_ = start)
|
867
|
+
{
|
868
|
+
case 1:
|
869
|
+
for (;;)
|
870
|
+
{
|
871
|
+
{
|
872
|
+
// Determine the range of the data to be searched.
|
873
|
+
typedef typename DynamicBuffer_v1::const_buffers_type
|
874
|
+
buffers_type;
|
875
|
+
typedef buffers_iterator<buffers_type> iterator;
|
876
|
+
buffers_type data_buffers = buffers_.data();
|
877
|
+
iterator begin = iterator::begin(data_buffers);
|
878
|
+
iterator start_pos = begin + search_position_;
|
879
|
+
iterator end = iterator::end(data_buffers);
|
880
|
+
|
881
|
+
// Look for a match.
|
882
|
+
iterator iter = std::find(start_pos, end, delim_);
|
883
|
+
if (iter != end)
|
884
|
+
{
|
885
|
+
// Found a match. We're done.
|
886
|
+
search_position_ = iter - begin + 1;
|
887
|
+
bytes_to_read = 0;
|
888
|
+
}
|
889
|
+
|
890
|
+
// No match yet. Check if buffer is full.
|
891
|
+
else if (buffers_.size() == buffers_.max_size())
|
892
|
+
{
|
893
|
+
search_position_ = not_found;
|
894
|
+
bytes_to_read = 0;
|
895
|
+
}
|
896
|
+
|
897
|
+
// Need to read some more data.
|
898
|
+
else
|
899
|
+
{
|
900
|
+
// Next search can start with the new data.
|
901
|
+
search_position_ = end - begin;
|
902
|
+
bytes_to_read = std::min<std::size_t>(
|
903
|
+
std::max<std::size_t>(512,
|
904
|
+
buffers_.capacity() - buffers_.size()),
|
905
|
+
std::min<std::size_t>(65536,
|
906
|
+
buffers_.max_size() - buffers_.size()));
|
907
|
+
}
|
908
|
+
}
|
909
|
+
|
910
|
+
// Check if we're done.
|
911
|
+
if (!start && bytes_to_read == 0)
|
912
|
+
break;
|
913
|
+
|
914
|
+
// Start a new asynchronous read operation to obtain more data.
|
915
|
+
{
|
916
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
917
|
+
__FILE__, __LINE__, "async_read_until"));
|
918
|
+
stream_.async_read_some(buffers_.prepare(bytes_to_read),
|
919
|
+
static_cast<read_until_delim_op_v1&&>(*this));
|
920
|
+
}
|
921
|
+
return; default:
|
922
|
+
buffers_.commit(bytes_transferred);
|
923
|
+
if (ec || bytes_transferred == 0)
|
924
|
+
break;
|
925
|
+
if (this->cancelled() != cancellation_type::none)
|
926
|
+
{
|
927
|
+
ec = error::operation_aborted;
|
928
|
+
break;
|
929
|
+
}
|
930
|
+
}
|
931
|
+
|
932
|
+
const boost::system::error_code result_ec =
|
933
|
+
(search_position_ == not_found)
|
934
|
+
? error::not_found : ec;
|
935
|
+
|
936
|
+
const std::size_t result_n =
|
937
|
+
(ec || search_position_ == not_found)
|
938
|
+
? 0 : search_position_;
|
939
|
+
|
940
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
941
|
+
}
|
942
|
+
}
|
943
|
+
|
944
|
+
//private:
|
945
|
+
AsyncReadStream& stream_;
|
946
|
+
DynamicBuffer_v1 buffers_;
|
947
|
+
char delim_;
|
948
|
+
int start_;
|
949
|
+
std::size_t search_position_;
|
950
|
+
ReadHandler handler_;
|
951
|
+
};
|
952
|
+
|
953
|
+
template <typename AsyncReadStream,
|
954
|
+
typename DynamicBuffer_v1, typename ReadHandler>
|
955
|
+
inline bool asio_handler_is_continuation(
|
956
|
+
read_until_delim_op_v1<AsyncReadStream,
|
957
|
+
DynamicBuffer_v1, ReadHandler>* this_handler)
|
958
|
+
{
|
959
|
+
return this_handler->start_ == 0 ? true
|
960
|
+
: boost_asio_handler_cont_helpers::is_continuation(
|
961
|
+
this_handler->handler_);
|
962
|
+
}
|
963
|
+
|
964
|
+
template <typename AsyncReadStream>
|
965
|
+
class initiate_async_read_until_delim_v1
|
966
|
+
{
|
967
|
+
public:
|
968
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
969
|
+
|
970
|
+
explicit initiate_async_read_until_delim_v1(AsyncReadStream& stream)
|
971
|
+
: stream_(stream)
|
972
|
+
{
|
973
|
+
}
|
974
|
+
|
975
|
+
executor_type get_executor() const noexcept
|
976
|
+
{
|
977
|
+
return stream_.get_executor();
|
978
|
+
}
|
979
|
+
|
980
|
+
template <typename ReadHandler, typename DynamicBuffer_v1>
|
981
|
+
void operator()(ReadHandler&& handler,
|
982
|
+
DynamicBuffer_v1&& buffers,
|
983
|
+
char delim) const
|
984
|
+
{
|
985
|
+
// If you get an error on the following line it means that your handler
|
986
|
+
// does not meet the documented type requirements for a ReadHandler.
|
987
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
988
|
+
|
989
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
990
|
+
read_until_delim_op_v1<AsyncReadStream,
|
991
|
+
decay_t<DynamicBuffer_v1>,
|
992
|
+
decay_t<ReadHandler>>(
|
993
|
+
stream_, static_cast<DynamicBuffer_v1&&>(buffers),
|
994
|
+
delim, handler2.value)(boost::system::error_code(), 0, 1);
|
995
|
+
}
|
996
|
+
|
997
|
+
private:
|
998
|
+
AsyncReadStream& stream_;
|
999
|
+
};
|
1000
|
+
} // namespace detail
|
1001
|
+
|
1002
|
+
#if !defined(GENERATING_DOCUMENTATION)
|
1003
|
+
|
1004
|
+
template <template <typename, typename> class Associator,
|
1005
|
+
typename AsyncReadStream, typename DynamicBuffer_v1,
|
1006
|
+
typename ReadHandler, typename DefaultCandidate>
|
1007
|
+
struct associator<Associator,
|
1008
|
+
detail::read_until_delim_op_v1<AsyncReadStream,
|
1009
|
+
DynamicBuffer_v1, ReadHandler>,
|
1010
|
+
DefaultCandidate>
|
1011
|
+
: Associator<ReadHandler, DefaultCandidate>
|
1012
|
+
{
|
1013
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
1014
|
+
const detail::read_until_delim_op_v1<AsyncReadStream,
|
1015
|
+
DynamicBuffer_v1, ReadHandler>& h) noexcept
|
1016
|
+
{
|
1017
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
static auto get(
|
1021
|
+
const detail::read_until_delim_op_v1<AsyncReadStream,
|
1022
|
+
DynamicBuffer_v1, ReadHandler>& h,
|
1023
|
+
const DefaultCandidate& c) noexcept
|
1024
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
1025
|
+
{
|
1026
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1027
|
+
}
|
1028
|
+
};
|
1029
|
+
|
1030
|
+
#endif // !defined(GENERATING_DOCUMENTATION)
|
1031
|
+
|
1032
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1033
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1034
|
+
std::size_t)) ReadToken>
|
1035
|
+
inline auto async_read_until(AsyncReadStream& s,
|
1036
|
+
DynamicBuffer_v1&& buffers, char delim, ReadToken&& token,
|
1037
|
+
constraint_t<
|
1038
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1039
|
+
>,
|
1040
|
+
constraint_t<
|
1041
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1042
|
+
>)
|
1043
|
+
-> decltype(
|
1044
|
+
async_initiate<ReadToken,
|
1045
|
+
void (boost::system::error_code, std::size_t)>(
|
1046
|
+
declval<detail::initiate_async_read_until_delim_v1<AsyncReadStream>>(),
|
1047
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers), delim))
|
1048
|
+
{
|
1049
|
+
return async_initiate<ReadToken,
|
1050
|
+
void (boost::system::error_code, std::size_t)>(
|
1051
|
+
detail::initiate_async_read_until_delim_v1<AsyncReadStream>(s),
|
1052
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers), delim);
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
namespace detail
|
1056
|
+
{
|
1057
|
+
template <typename AsyncReadStream,
|
1058
|
+
typename DynamicBuffer_v1, typename ReadHandler>
|
1059
|
+
class read_until_delim_string_op_v1
|
1060
|
+
: public base_from_cancellation_state<ReadHandler>
|
1061
|
+
{
|
1062
|
+
public:
|
1063
|
+
template <typename BufferSequence>
|
1064
|
+
read_until_delim_string_op_v1(AsyncReadStream& stream,
|
1065
|
+
BufferSequence&& buffers,
|
1066
|
+
const std::string& delim, ReadHandler& handler)
|
1067
|
+
: base_from_cancellation_state<ReadHandler>(
|
1068
|
+
handler, enable_partial_cancellation()),
|
1069
|
+
stream_(stream),
|
1070
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
1071
|
+
delim_(delim),
|
1072
|
+
start_(0),
|
1073
|
+
search_position_(0),
|
1074
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
1075
|
+
{
|
1076
|
+
}
|
1077
|
+
|
1078
|
+
read_until_delim_string_op_v1(const read_until_delim_string_op_v1& other)
|
1079
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
1080
|
+
stream_(other.stream_),
|
1081
|
+
buffers_(other.buffers_),
|
1082
|
+
delim_(other.delim_),
|
1083
|
+
start_(other.start_),
|
1084
|
+
search_position_(other.search_position_),
|
1085
|
+
handler_(other.handler_)
|
1086
|
+
{
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
read_until_delim_string_op_v1(read_until_delim_string_op_v1&& other)
|
1090
|
+
: base_from_cancellation_state<ReadHandler>(
|
1091
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
1092
|
+
stream_(other.stream_),
|
1093
|
+
buffers_(static_cast<DynamicBuffer_v1&&>(other.buffers_)),
|
1094
|
+
delim_(static_cast<std::string&&>(other.delim_)),
|
1095
|
+
start_(other.start_),
|
1096
|
+
search_position_(other.search_position_),
|
1097
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
1098
|
+
{
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
void operator()(boost::system::error_code ec,
|
1102
|
+
std::size_t bytes_transferred, int start = 0)
|
1103
|
+
{
|
1104
|
+
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
1105
|
+
std::size_t bytes_to_read;
|
1106
|
+
switch (start_ = start)
|
1107
|
+
{
|
1108
|
+
case 1:
|
1109
|
+
for (;;)
|
1110
|
+
{
|
1111
|
+
{
|
1112
|
+
// Determine the range of the data to be searched.
|
1113
|
+
typedef typename DynamicBuffer_v1::const_buffers_type
|
1114
|
+
buffers_type;
|
1115
|
+
typedef buffers_iterator<buffers_type> iterator;
|
1116
|
+
buffers_type data_buffers = buffers_.data();
|
1117
|
+
iterator begin = iterator::begin(data_buffers);
|
1118
|
+
iterator start_pos = begin + search_position_;
|
1119
|
+
iterator end = iterator::end(data_buffers);
|
1120
|
+
|
1121
|
+
// Look for a match.
|
1122
|
+
std::pair<iterator, bool> result = detail::partial_search(
|
1123
|
+
start_pos, end, delim_.begin(), delim_.end());
|
1124
|
+
if (result.first != end && result.second)
|
1125
|
+
{
|
1126
|
+
// Full match. We're done.
|
1127
|
+
search_position_ = result.first - begin + delim_.length();
|
1128
|
+
bytes_to_read = 0;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
// No match yet. Check if buffer is full.
|
1132
|
+
else if (buffers_.size() == buffers_.max_size())
|
1133
|
+
{
|
1134
|
+
search_position_ = not_found;
|
1135
|
+
bytes_to_read = 0;
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
// Need to read some more data.
|
1139
|
+
else
|
1140
|
+
{
|
1141
|
+
if (result.first != end)
|
1142
|
+
{
|
1143
|
+
// Partial match. Next search needs to start from beginning of
|
1144
|
+
// match.
|
1145
|
+
search_position_ = result.first - begin;
|
1146
|
+
}
|
1147
|
+
else
|
1148
|
+
{
|
1149
|
+
// Next search can start with the new data.
|
1150
|
+
search_position_ = end - begin;
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
bytes_to_read = std::min<std::size_t>(
|
1154
|
+
std::max<std::size_t>(512,
|
1155
|
+
buffers_.capacity() - buffers_.size()),
|
1156
|
+
std::min<std::size_t>(65536,
|
1157
|
+
buffers_.max_size() - buffers_.size()));
|
1158
|
+
}
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
// Check if we're done.
|
1162
|
+
if (!start && bytes_to_read == 0)
|
1163
|
+
break;
|
1164
|
+
|
1165
|
+
// Start a new asynchronous read operation to obtain more data.
|
1166
|
+
{
|
1167
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
1168
|
+
__FILE__, __LINE__, "async_read_until"));
|
1169
|
+
stream_.async_read_some(buffers_.prepare(bytes_to_read),
|
1170
|
+
static_cast<read_until_delim_string_op_v1&&>(*this));
|
1171
|
+
}
|
1172
|
+
return; default:
|
1173
|
+
buffers_.commit(bytes_transferred);
|
1174
|
+
if (ec || bytes_transferred == 0)
|
1175
|
+
break;
|
1176
|
+
if (this->cancelled() != cancellation_type::none)
|
1177
|
+
{
|
1178
|
+
ec = error::operation_aborted;
|
1179
|
+
break;
|
1180
|
+
}
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
const boost::system::error_code result_ec =
|
1184
|
+
(search_position_ == not_found)
|
1185
|
+
? error::not_found : ec;
|
1186
|
+
|
1187
|
+
const std::size_t result_n =
|
1188
|
+
(ec || search_position_ == not_found)
|
1189
|
+
? 0 : search_position_;
|
1190
|
+
|
1191
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
1192
|
+
}
|
1193
|
+
}
|
1194
|
+
|
1195
|
+
//private:
|
1196
|
+
AsyncReadStream& stream_;
|
1197
|
+
DynamicBuffer_v1 buffers_;
|
1198
|
+
std::string delim_;
|
1199
|
+
int start_;
|
1200
|
+
std::size_t search_position_;
|
1201
|
+
ReadHandler handler_;
|
1202
|
+
};
|
1203
|
+
|
1204
|
+
template <typename AsyncReadStream,
|
1205
|
+
typename DynamicBuffer_v1, typename ReadHandler>
|
1206
|
+
inline bool asio_handler_is_continuation(
|
1207
|
+
read_until_delim_string_op_v1<AsyncReadStream,
|
1208
|
+
DynamicBuffer_v1, ReadHandler>* this_handler)
|
1209
|
+
{
|
1210
|
+
return this_handler->start_ == 0 ? true
|
1211
|
+
: boost_asio_handler_cont_helpers::is_continuation(
|
1212
|
+
this_handler->handler_);
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
template <typename AsyncReadStream>
|
1216
|
+
class initiate_async_read_until_delim_string_v1
|
1217
|
+
{
|
1218
|
+
public:
|
1219
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
1220
|
+
|
1221
|
+
explicit initiate_async_read_until_delim_string_v1(AsyncReadStream& stream)
|
1222
|
+
: stream_(stream)
|
1223
|
+
{
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
executor_type get_executor() const noexcept
|
1227
|
+
{
|
1228
|
+
return stream_.get_executor();
|
1229
|
+
}
|
1230
|
+
|
1231
|
+
template <typename ReadHandler, typename DynamicBuffer_v1>
|
1232
|
+
void operator()(ReadHandler&& handler,
|
1233
|
+
DynamicBuffer_v1&& buffers,
|
1234
|
+
const std::string& delim) const
|
1235
|
+
{
|
1236
|
+
// If you get an error on the following line it means that your handler
|
1237
|
+
// does not meet the documented type requirements for a ReadHandler.
|
1238
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
1239
|
+
|
1240
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
1241
|
+
read_until_delim_string_op_v1<AsyncReadStream,
|
1242
|
+
decay_t<DynamicBuffer_v1>,
|
1243
|
+
decay_t<ReadHandler>>(
|
1244
|
+
stream_, static_cast<DynamicBuffer_v1&&>(buffers),
|
1245
|
+
delim, handler2.value)(boost::system::error_code(), 0, 1);
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
private:
|
1249
|
+
AsyncReadStream& stream_;
|
1250
|
+
};
|
1251
|
+
} // namespace detail
|
1252
|
+
|
1253
|
+
#if !defined(GENERATING_DOCUMENTATION)
|
1254
|
+
|
1255
|
+
template <template <typename, typename> class Associator,
|
1256
|
+
typename AsyncReadStream, typename DynamicBuffer_v1,
|
1257
|
+
typename ReadHandler, typename DefaultCandidate>
|
1258
|
+
struct associator<Associator,
|
1259
|
+
detail::read_until_delim_string_op_v1<AsyncReadStream,
|
1260
|
+
DynamicBuffer_v1, ReadHandler>,
|
1261
|
+
DefaultCandidate>
|
1262
|
+
: Associator<ReadHandler, DefaultCandidate>
|
1263
|
+
{
|
1264
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
1265
|
+
const detail::read_until_delim_string_op_v1<
|
1266
|
+
AsyncReadStream, DynamicBuffer_v1, ReadHandler>& h) noexcept
|
1267
|
+
{
|
1268
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
1269
|
+
}
|
1270
|
+
|
1271
|
+
static auto get(
|
1272
|
+
const detail::read_until_delim_string_op_v1<
|
1273
|
+
AsyncReadStream, DynamicBuffer_v1, ReadHandler>& h,
|
1274
|
+
const DefaultCandidate& c) noexcept
|
1275
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
1276
|
+
{
|
1277
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1278
|
+
}
|
1279
|
+
};
|
1280
|
+
|
1281
|
+
#endif // !defined(GENERATING_DOCUMENTATION)
|
1282
|
+
|
1283
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1284
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1285
|
+
std::size_t)) ReadToken>
|
1286
|
+
inline auto async_read_until(AsyncReadStream& s, DynamicBuffer_v1&& buffers,
|
1287
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, ReadToken&& token,
|
1288
|
+
constraint_t<
|
1289
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1290
|
+
>,
|
1291
|
+
constraint_t<
|
1292
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1293
|
+
>)
|
1294
|
+
-> decltype(
|
1295
|
+
async_initiate<ReadToken,
|
1296
|
+
void (boost::system::error_code, std::size_t)>(
|
1297
|
+
declval<detail::initiate_async_read_until_delim_string_v1<
|
1298
|
+
AsyncReadStream>>(),
|
1299
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers),
|
1300
|
+
static_cast<std::string>(delim)))
|
1301
|
+
{
|
1302
|
+
return async_initiate<ReadToken,
|
1303
|
+
void (boost::system::error_code, std::size_t)>(
|
1304
|
+
detail::initiate_async_read_until_delim_string_v1<AsyncReadStream>(s),
|
1305
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers),
|
1306
|
+
static_cast<std::string>(delim));
|
1307
|
+
}
|
1308
|
+
|
1309
|
+
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1310
|
+
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1311
|
+
|
1312
|
+
namespace detail
|
1313
|
+
{
|
1314
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1315
|
+
typename RegEx, typename ReadHandler>
|
1316
|
+
class read_until_expr_op_v1
|
1317
|
+
: public base_from_cancellation_state<ReadHandler>
|
1318
|
+
{
|
1319
|
+
public:
|
1320
|
+
template <typename BufferSequence, typename Traits>
|
1321
|
+
read_until_expr_op_v1(AsyncReadStream& stream, BufferSequence&& buffers,
|
1322
|
+
const boost::basic_regex<char, Traits>& expr, ReadHandler& handler)
|
1323
|
+
: base_from_cancellation_state<ReadHandler>(
|
1324
|
+
handler, enable_partial_cancellation()),
|
1325
|
+
stream_(stream),
|
1326
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
1327
|
+
expr_(expr),
|
1328
|
+
start_(0),
|
1329
|
+
search_position_(0),
|
1330
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
1331
|
+
{
|
1332
|
+
}
|
1333
|
+
|
1334
|
+
read_until_expr_op_v1(const read_until_expr_op_v1& other)
|
1335
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
1336
|
+
stream_(other.stream_),
|
1337
|
+
buffers_(other.buffers_),
|
1338
|
+
expr_(other.expr_),
|
1339
|
+
start_(other.start_),
|
1340
|
+
search_position_(other.search_position_),
|
1341
|
+
handler_(other.handler_)
|
1342
|
+
{
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
read_until_expr_op_v1(read_until_expr_op_v1&& other)
|
1346
|
+
: base_from_cancellation_state<ReadHandler>(
|
1347
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
1348
|
+
stream_(other.stream_),
|
1349
|
+
buffers_(static_cast<DynamicBuffer_v1&&>(other.buffers_)),
|
1350
|
+
expr_(other.expr_),
|
1351
|
+
start_(other.start_),
|
1352
|
+
search_position_(other.search_position_),
|
1353
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
1354
|
+
{
|
1355
|
+
}
|
1356
|
+
|
1357
|
+
void operator()(boost::system::error_code ec,
|
1358
|
+
std::size_t bytes_transferred, int start = 0)
|
1359
|
+
{
|
1360
|
+
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
1361
|
+
std::size_t bytes_to_read;
|
1362
|
+
switch (start_ = start)
|
1363
|
+
{
|
1364
|
+
case 1:
|
1365
|
+
for (;;)
|
1366
|
+
{
|
1367
|
+
{
|
1368
|
+
// Determine the range of the data to be searched.
|
1369
|
+
typedef typename DynamicBuffer_v1::const_buffers_type
|
1370
|
+
buffers_type;
|
1371
|
+
typedef buffers_iterator<buffers_type> iterator;
|
1372
|
+
buffers_type data_buffers = buffers_.data();
|
1373
|
+
iterator begin = iterator::begin(data_buffers);
|
1374
|
+
iterator start_pos = begin + search_position_;
|
1375
|
+
iterator end = iterator::end(data_buffers);
|
1376
|
+
|
1377
|
+
// Look for a match.
|
1378
|
+
boost::match_results<iterator,
|
1379
|
+
typename std::vector<boost::sub_match<iterator>>::allocator_type>
|
1380
|
+
match_results;
|
1381
|
+
bool match = regex_search(start_pos, end,
|
1382
|
+
match_results, expr_, regex_match_flags());
|
1383
|
+
if (match && match_results[0].matched)
|
1384
|
+
{
|
1385
|
+
// Full match. We're done.
|
1386
|
+
search_position_ = match_results[0].second - begin;
|
1387
|
+
bytes_to_read = 0;
|
1388
|
+
}
|
1389
|
+
|
1390
|
+
// No match yet. Check if buffer is full.
|
1391
|
+
else if (buffers_.size() == buffers_.max_size())
|
1392
|
+
{
|
1393
|
+
search_position_ = not_found;
|
1394
|
+
bytes_to_read = 0;
|
1395
|
+
}
|
1396
|
+
|
1397
|
+
// Need to read some more data.
|
1398
|
+
else
|
1399
|
+
{
|
1400
|
+
if (match)
|
1401
|
+
{
|
1402
|
+
// Partial match. Next search needs to start from beginning of
|
1403
|
+
// match.
|
1404
|
+
search_position_ = match_results[0].first - begin;
|
1405
|
+
}
|
1406
|
+
else
|
1407
|
+
{
|
1408
|
+
// Next search can start with the new data.
|
1409
|
+
search_position_ = end - begin;
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
bytes_to_read = std::min<std::size_t>(
|
1413
|
+
std::max<std::size_t>(512,
|
1414
|
+
buffers_.capacity() - buffers_.size()),
|
1415
|
+
std::min<std::size_t>(65536,
|
1416
|
+
buffers_.max_size() - buffers_.size()));
|
1417
|
+
}
|
1418
|
+
}
|
1419
|
+
|
1420
|
+
// Check if we're done.
|
1421
|
+
if (!start && bytes_to_read == 0)
|
1422
|
+
break;
|
1423
|
+
|
1424
|
+
// Start a new asynchronous read operation to obtain more data.
|
1425
|
+
{
|
1426
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
1427
|
+
__FILE__, __LINE__, "async_read_until"));
|
1428
|
+
stream_.async_read_some(buffers_.prepare(bytes_to_read),
|
1429
|
+
static_cast<read_until_expr_op_v1&&>(*this));
|
1430
|
+
}
|
1431
|
+
return; default:
|
1432
|
+
buffers_.commit(bytes_transferred);
|
1433
|
+
if (ec || bytes_transferred == 0)
|
1434
|
+
break;
|
1435
|
+
if (this->cancelled() != cancellation_type::none)
|
1436
|
+
{
|
1437
|
+
ec = error::operation_aborted;
|
1438
|
+
break;
|
1439
|
+
}
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
const boost::system::error_code result_ec =
|
1443
|
+
(search_position_ == not_found)
|
1444
|
+
? error::not_found : ec;
|
1445
|
+
|
1446
|
+
const std::size_t result_n =
|
1447
|
+
(ec || search_position_ == not_found)
|
1448
|
+
? 0 : search_position_;
|
1449
|
+
|
1450
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
1451
|
+
}
|
1452
|
+
}
|
1453
|
+
|
1454
|
+
//private:
|
1455
|
+
AsyncReadStream& stream_;
|
1456
|
+
DynamicBuffer_v1 buffers_;
|
1457
|
+
RegEx expr_;
|
1458
|
+
int start_;
|
1459
|
+
std::size_t search_position_;
|
1460
|
+
ReadHandler handler_;
|
1461
|
+
};
|
1462
|
+
|
1463
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1464
|
+
typename RegEx, typename ReadHandler>
|
1465
|
+
inline bool asio_handler_is_continuation(
|
1466
|
+
read_until_expr_op_v1<AsyncReadStream,
|
1467
|
+
DynamicBuffer_v1, RegEx, ReadHandler>* this_handler)
|
1468
|
+
{
|
1469
|
+
return this_handler->start_ == 0 ? true
|
1470
|
+
: boost_asio_handler_cont_helpers::is_continuation(
|
1471
|
+
this_handler->handler_);
|
1472
|
+
}
|
1473
|
+
|
1474
|
+
template <typename AsyncReadStream>
|
1475
|
+
class initiate_async_read_until_expr_v1
|
1476
|
+
{
|
1477
|
+
public:
|
1478
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
1479
|
+
|
1480
|
+
explicit initiate_async_read_until_expr_v1(AsyncReadStream& stream)
|
1481
|
+
: stream_(stream)
|
1482
|
+
{
|
1483
|
+
}
|
1484
|
+
|
1485
|
+
executor_type get_executor() const noexcept
|
1486
|
+
{
|
1487
|
+
return stream_.get_executor();
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
template <typename ReadHandler, typename DynamicBuffer_v1, typename RegEx>
|
1491
|
+
void operator()(ReadHandler&& handler,
|
1492
|
+
DynamicBuffer_v1&& buffers, const RegEx& expr) const
|
1493
|
+
{
|
1494
|
+
// If you get an error on the following line it means that your handler
|
1495
|
+
// does not meet the documented type requirements for a ReadHandler.
|
1496
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
1497
|
+
|
1498
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
1499
|
+
read_until_expr_op_v1<AsyncReadStream,
|
1500
|
+
decay_t<DynamicBuffer_v1>,
|
1501
|
+
RegEx, decay_t<ReadHandler>>(
|
1502
|
+
stream_, static_cast<DynamicBuffer_v1&&>(buffers),
|
1503
|
+
expr, handler2.value)(boost::system::error_code(), 0, 1);
|
1504
|
+
}
|
1505
|
+
|
1506
|
+
private:
|
1507
|
+
AsyncReadStream& stream_;
|
1508
|
+
};
|
1509
|
+
} // namespace detail
|
1510
|
+
|
1511
|
+
#if !defined(GENERATING_DOCUMENTATION)
|
1512
|
+
|
1513
|
+
template <template <typename, typename> class Associator,
|
1514
|
+
typename AsyncReadStream, typename DynamicBuffer_v1,
|
1515
|
+
typename RegEx, typename ReadHandler, typename DefaultCandidate>
|
1516
|
+
struct associator<Associator,
|
1517
|
+
detail::read_until_expr_op_v1<AsyncReadStream,
|
1518
|
+
DynamicBuffer_v1, RegEx, ReadHandler>,
|
1519
|
+
DefaultCandidate>
|
1520
|
+
: Associator<ReadHandler, DefaultCandidate>
|
1521
|
+
{
|
1522
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
1523
|
+
const detail::read_until_expr_op_v1<AsyncReadStream,
|
1524
|
+
DynamicBuffer_v1, RegEx, ReadHandler>& h) noexcept
|
1525
|
+
{
|
1526
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
static auto get(
|
1530
|
+
const detail::read_until_expr_op_v1<AsyncReadStream,
|
1531
|
+
DynamicBuffer_v1, RegEx, ReadHandler>& h,
|
1532
|
+
const DefaultCandidate& c) noexcept
|
1533
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
1534
|
+
{
|
1535
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1536
|
+
}
|
1537
|
+
};
|
1538
|
+
|
1539
|
+
#endif // !defined(GENERATING_DOCUMENTATION)
|
1540
|
+
|
1541
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1, typename Traits,
|
1542
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1543
|
+
std::size_t)) ReadToken>
|
1544
|
+
inline auto async_read_until(AsyncReadStream& s, DynamicBuffer_v1&& buffers,
|
1545
|
+
const boost::basic_regex<char, Traits>& expr, ReadToken&& token,
|
1546
|
+
constraint_t<
|
1547
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1548
|
+
>,
|
1549
|
+
constraint_t<
|
1550
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1551
|
+
>)
|
1552
|
+
-> decltype(
|
1553
|
+
async_initiate<ReadToken,
|
1554
|
+
void (boost::system::error_code, std::size_t)>(
|
1555
|
+
declval<detail::initiate_async_read_until_expr_v1<AsyncReadStream>>(),
|
1556
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers), expr))
|
1557
|
+
{
|
1558
|
+
return async_initiate<ReadToken,
|
1559
|
+
void (boost::system::error_code, std::size_t)>(
|
1560
|
+
detail::initiate_async_read_until_expr_v1<AsyncReadStream>(s),
|
1561
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers), expr);
|
1562
|
+
}
|
1563
|
+
|
1564
|
+
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1565
|
+
|
1566
|
+
namespace detail
|
1567
|
+
{
|
1568
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1569
|
+
typename MatchCondition, typename ReadHandler>
|
1570
|
+
class read_until_match_op_v1
|
1571
|
+
: public base_from_cancellation_state<ReadHandler>
|
1572
|
+
{
|
1573
|
+
public:
|
1574
|
+
template <typename BufferSequence>
|
1575
|
+
read_until_match_op_v1(AsyncReadStream& stream,
|
1576
|
+
BufferSequence&& buffers,
|
1577
|
+
MatchCondition match_condition, ReadHandler& handler)
|
1578
|
+
: base_from_cancellation_state<ReadHandler>(
|
1579
|
+
handler, enable_partial_cancellation()),
|
1580
|
+
stream_(stream),
|
1581
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
1582
|
+
match_condition_(match_condition),
|
1583
|
+
start_(0),
|
1584
|
+
search_position_(0),
|
1585
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
1586
|
+
{
|
1587
|
+
}
|
1588
|
+
|
1589
|
+
read_until_match_op_v1(const read_until_match_op_v1& other)
|
1590
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
1591
|
+
stream_(other.stream_),
|
1592
|
+
buffers_(other.buffers_),
|
1593
|
+
match_condition_(other.match_condition_),
|
1594
|
+
start_(other.start_),
|
1595
|
+
search_position_(other.search_position_),
|
1596
|
+
handler_(other.handler_)
|
1597
|
+
{
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
read_until_match_op_v1(read_until_match_op_v1&& other)
|
1601
|
+
: base_from_cancellation_state<ReadHandler>(
|
1602
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
1603
|
+
stream_(other.stream_),
|
1604
|
+
buffers_(static_cast<DynamicBuffer_v1&&>(other.buffers_)),
|
1605
|
+
match_condition_(other.match_condition_),
|
1606
|
+
start_(other.start_),
|
1607
|
+
search_position_(other.search_position_),
|
1608
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
1609
|
+
{
|
1610
|
+
}
|
1611
|
+
|
1612
|
+
void operator()(boost::system::error_code ec,
|
1613
|
+
std::size_t bytes_transferred, int start = 0)
|
1614
|
+
{
|
1615
|
+
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
1616
|
+
std::size_t bytes_to_read;
|
1617
|
+
switch (start_ = start)
|
1618
|
+
{
|
1619
|
+
case 1:
|
1620
|
+
for (;;)
|
1621
|
+
{
|
1622
|
+
{
|
1623
|
+
// Determine the range of the data to be searched.
|
1624
|
+
typedef typename DynamicBuffer_v1::const_buffers_type
|
1625
|
+
buffers_type;
|
1626
|
+
typedef buffers_iterator<buffers_type> iterator;
|
1627
|
+
buffers_type data_buffers = buffers_.data();
|
1628
|
+
iterator begin = iterator::begin(data_buffers);
|
1629
|
+
iterator start_pos = begin + search_position_;
|
1630
|
+
iterator end = iterator::end(data_buffers);
|
1631
|
+
|
1632
|
+
// Look for a match.
|
1633
|
+
std::pair<iterator, bool> result = match_condition_(start_pos, end);
|
1634
|
+
if (result.second)
|
1635
|
+
{
|
1636
|
+
// Full match. We're done.
|
1637
|
+
search_position_ = result.first - begin;
|
1638
|
+
bytes_to_read = 0;
|
1639
|
+
}
|
1640
|
+
|
1641
|
+
// No match yet. Check if buffer is full.
|
1642
|
+
else if (buffers_.size() == buffers_.max_size())
|
1643
|
+
{
|
1644
|
+
search_position_ = not_found;
|
1645
|
+
bytes_to_read = 0;
|
1646
|
+
}
|
1647
|
+
|
1648
|
+
// Need to read some more data.
|
1649
|
+
else
|
1650
|
+
{
|
1651
|
+
if (result.first != end)
|
1652
|
+
{
|
1653
|
+
// Partial match. Next search needs to start from beginning of
|
1654
|
+
// match.
|
1655
|
+
search_position_ = result.first - begin;
|
1656
|
+
}
|
1657
|
+
else
|
1658
|
+
{
|
1659
|
+
// Next search can start with the new data.
|
1660
|
+
search_position_ = end - begin;
|
1661
|
+
}
|
1662
|
+
|
1663
|
+
bytes_to_read = std::min<std::size_t>(
|
1664
|
+
std::max<std::size_t>(512,
|
1665
|
+
buffers_.capacity() - buffers_.size()),
|
1666
|
+
std::min<std::size_t>(65536,
|
1667
|
+
buffers_.max_size() - buffers_.size()));
|
1668
|
+
}
|
1669
|
+
}
|
1670
|
+
|
1671
|
+
// Check if we're done.
|
1672
|
+
if (!start && bytes_to_read == 0)
|
1673
|
+
break;
|
1674
|
+
|
1675
|
+
// Start a new asynchronous read operation to obtain more data.
|
1676
|
+
{
|
1677
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
1678
|
+
__FILE__, __LINE__, "async_read_until"));
|
1679
|
+
stream_.async_read_some(buffers_.prepare(bytes_to_read),
|
1680
|
+
static_cast<read_until_match_op_v1&&>(*this));
|
1681
|
+
}
|
1682
|
+
return; default:
|
1683
|
+
buffers_.commit(bytes_transferred);
|
1684
|
+
if (ec || bytes_transferred == 0)
|
1685
|
+
break;
|
1686
|
+
if (this->cancelled() != cancellation_type::none)
|
1687
|
+
{
|
1688
|
+
ec = error::operation_aborted;
|
1689
|
+
break;
|
1690
|
+
}
|
1691
|
+
}
|
1692
|
+
|
1693
|
+
const boost::system::error_code result_ec =
|
1694
|
+
(search_position_ == not_found)
|
1695
|
+
? error::not_found : ec;
|
1696
|
+
|
1697
|
+
const std::size_t result_n =
|
1698
|
+
(ec || search_position_ == not_found)
|
1699
|
+
? 0 : search_position_;
|
1700
|
+
|
1701
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
1702
|
+
}
|
1703
|
+
}
|
1704
|
+
|
1705
|
+
//private:
|
1706
|
+
AsyncReadStream& stream_;
|
1707
|
+
DynamicBuffer_v1 buffers_;
|
1708
|
+
MatchCondition match_condition_;
|
1709
|
+
int start_;
|
1710
|
+
std::size_t search_position_;
|
1711
|
+
ReadHandler handler_;
|
1712
|
+
};
|
1713
|
+
|
1714
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v1,
|
1715
|
+
typename MatchCondition, typename ReadHandler>
|
1716
|
+
inline bool asio_handler_is_continuation(
|
1717
|
+
read_until_match_op_v1<AsyncReadStream, DynamicBuffer_v1,
|
1718
|
+
MatchCondition, ReadHandler>* this_handler)
|
1719
|
+
{
|
1720
|
+
return this_handler->start_ == 0 ? true
|
1721
|
+
: boost_asio_handler_cont_helpers::is_continuation(
|
1722
|
+
this_handler->handler_);
|
1723
|
+
}
|
1724
|
+
|
1725
|
+
template <typename AsyncReadStream>
|
1726
|
+
class initiate_async_read_until_match_v1
|
1727
|
+
{
|
1728
|
+
public:
|
1729
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
1730
|
+
|
1731
|
+
explicit initiate_async_read_until_match_v1(AsyncReadStream& stream)
|
1732
|
+
: stream_(stream)
|
1733
|
+
{
|
1734
|
+
}
|
1735
|
+
|
1736
|
+
executor_type get_executor() const noexcept
|
1737
|
+
{
|
1738
|
+
return stream_.get_executor();
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
template <typename ReadHandler,
|
1742
|
+
typename DynamicBuffer_v1, typename MatchCondition>
|
1743
|
+
void operator()(ReadHandler&& handler,
|
1744
|
+
DynamicBuffer_v1&& buffers,
|
1745
|
+
MatchCondition match_condition) const
|
1746
|
+
{
|
1747
|
+
// If you get an error on the following line it means that your handler
|
1748
|
+
// does not meet the documented type requirements for a ReadHandler.
|
1749
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
1750
|
+
|
1751
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
1752
|
+
read_until_match_op_v1<AsyncReadStream,
|
1753
|
+
decay_t<DynamicBuffer_v1>,
|
1754
|
+
MatchCondition, decay_t<ReadHandler>>(
|
1755
|
+
stream_, static_cast<DynamicBuffer_v1&&>(buffers),
|
1756
|
+
match_condition, handler2.value)(boost::system::error_code(), 0, 1);
|
1757
|
+
}
|
1758
|
+
|
1759
|
+
private:
|
1760
|
+
AsyncReadStream& stream_;
|
1761
|
+
};
|
1762
|
+
} // namespace detail
|
1763
|
+
|
1764
|
+
#if !defined(GENERATING_DOCUMENTATION)
|
1765
|
+
|
1766
|
+
template <template <typename, typename> class Associator,
|
1767
|
+
typename AsyncReadStream, typename DynamicBuffer_v1,
|
1768
|
+
typename MatchCondition, typename ReadHandler, typename DefaultCandidate>
|
1769
|
+
struct associator<Associator,
|
1770
|
+
detail::read_until_match_op_v1<AsyncReadStream,
|
1771
|
+
DynamicBuffer_v1, MatchCondition, ReadHandler>,
|
1772
|
+
DefaultCandidate>
|
1773
|
+
: Associator<ReadHandler, DefaultCandidate>
|
1774
|
+
{
|
1775
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
1776
|
+
const detail::read_until_match_op_v1<AsyncReadStream,
|
1777
|
+
DynamicBuffer_v1, MatchCondition, ReadHandler>& h) noexcept
|
1778
|
+
{
|
1779
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
353
1780
|
}
|
354
|
-
}
|
355
1781
|
|
356
|
-
|
1782
|
+
static auto get(
|
1783
|
+
const detail::read_until_match_op_v1<AsyncReadStream,
|
1784
|
+
DynamicBuffer_v1, MatchCondition, ReadHandler>& h,
|
1785
|
+
const DefaultCandidate& c) noexcept
|
1786
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
1787
|
+
{
|
1788
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1789
|
+
}
|
1790
|
+
};
|
357
1791
|
|
358
|
-
|
359
|
-
inline std::size_t read_until(SyncReadStream& s,
|
360
|
-
boost::asio::basic_streambuf<Allocator>& b, char delim)
|
361
|
-
{
|
362
|
-
return read_until(s, basic_streambuf_ref<Allocator>(b), delim);
|
363
|
-
}
|
1792
|
+
#endif // !defined(GENERATING_DOCUMENTATION)
|
364
1793
|
|
365
|
-
template <typename
|
366
|
-
|
367
|
-
boost::
|
368
|
-
|
1794
|
+
template <typename AsyncReadStream,
|
1795
|
+
typename DynamicBuffer_v1, typename MatchCondition,
|
1796
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1797
|
+
std::size_t)) ReadToken>
|
1798
|
+
inline auto async_read_until(AsyncReadStream& s, DynamicBuffer_v1&& buffers,
|
1799
|
+
MatchCondition match_condition, ReadToken&& token,
|
1800
|
+
constraint_t<
|
1801
|
+
is_match_condition<MatchCondition>::value
|
1802
|
+
>,
|
1803
|
+
constraint_t<
|
1804
|
+
is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
|
1805
|
+
>,
|
1806
|
+
constraint_t<
|
1807
|
+
!is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
|
1808
|
+
>)
|
1809
|
+
-> decltype(
|
1810
|
+
async_initiate<ReadToken,
|
1811
|
+
void (boost::system::error_code, std::size_t)>(
|
1812
|
+
declval<detail::initiate_async_read_until_match_v1<AsyncReadStream>>(),
|
1813
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers),
|
1814
|
+
match_condition))
|
369
1815
|
{
|
370
|
-
return
|
1816
|
+
return async_initiate<ReadToken,
|
1817
|
+
void (boost::system::error_code, std::size_t)>(
|
1818
|
+
detail::initiate_async_read_until_match_v1<AsyncReadStream>(s),
|
1819
|
+
token, static_cast<DynamicBuffer_v1&&>(buffers),
|
1820
|
+
match_condition);
|
371
1821
|
}
|
372
1822
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
1823
|
+
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
1824
|
+
|
1825
|
+
template <typename AsyncReadStream, typename Allocator,
|
1826
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1827
|
+
std::size_t)) ReadToken>
|
1828
|
+
inline auto async_read_until(AsyncReadStream& s,
|
1829
|
+
boost::asio::basic_streambuf<Allocator>& b, char delim, ReadToken&& token)
|
1830
|
+
-> decltype(
|
1831
|
+
async_initiate<ReadToken,
|
1832
|
+
void (boost::system::error_code, std::size_t)>(
|
1833
|
+
declval<detail::initiate_async_read_until_delim_v1<AsyncReadStream>>(),
|
1834
|
+
token, basic_streambuf_ref<Allocator>(b), delim))
|
377
1835
|
{
|
378
|
-
return
|
1836
|
+
return async_initiate<ReadToken,
|
1837
|
+
void (boost::system::error_code, std::size_t)>(
|
1838
|
+
detail::initiate_async_read_until_delim_v1<AsyncReadStream>(s),
|
1839
|
+
token, basic_streambuf_ref<Allocator>(b), delim);
|
379
1840
|
}
|
380
1841
|
|
381
|
-
template <typename
|
382
|
-
|
1842
|
+
template <typename AsyncReadStream, typename Allocator,
|
1843
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1844
|
+
std::size_t)) ReadToken>
|
1845
|
+
inline auto async_read_until(AsyncReadStream& s,
|
383
1846
|
boost::asio::basic_streambuf<Allocator>& b,
|
384
|
-
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1847
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, ReadToken&& token)
|
1848
|
+
-> decltype(
|
1849
|
+
async_initiate<ReadToken,
|
1850
|
+
void (boost::system::error_code, std::size_t)>(
|
1851
|
+
declval<detail::initiate_async_read_until_delim_string_v1<
|
1852
|
+
AsyncReadStream>>(),
|
1853
|
+
token, basic_streambuf_ref<Allocator>(b),
|
1854
|
+
static_cast<std::string>(delim)))
|
385
1855
|
{
|
386
|
-
return
|
1856
|
+
return async_initiate<ReadToken,
|
1857
|
+
void (boost::system::error_code, std::size_t)>(
|
1858
|
+
detail::initiate_async_read_until_delim_string_v1<AsyncReadStream>(s),
|
1859
|
+
token, basic_streambuf_ref<Allocator>(b),
|
1860
|
+
static_cast<std::string>(delim));
|
387
1861
|
}
|
388
1862
|
|
389
1863
|
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
390
1864
|
|
391
|
-
template <typename
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
1865
|
+
template <typename AsyncReadStream, typename Allocator, typename Traits,
|
1866
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1867
|
+
std::size_t)) ReadToken>
|
1868
|
+
inline auto async_read_until(AsyncReadStream& s,
|
1869
|
+
boost::asio::basic_streambuf<Allocator>& b,
|
1870
|
+
const boost::basic_regex<char, Traits>& expr, ReadToken&& token)
|
1871
|
+
-> decltype(
|
1872
|
+
async_initiate<ReadToken,
|
1873
|
+
void (boost::system::error_code, std::size_t)>(
|
1874
|
+
declval<detail::initiate_async_read_until_expr_v1<AsyncReadStream>>(),
|
1875
|
+
token, basic_streambuf_ref<Allocator>(b), expr))
|
402
1876
|
{
|
403
|
-
return
|
1877
|
+
return async_initiate<ReadToken,
|
1878
|
+
void (boost::system::error_code, std::size_t)>(
|
1879
|
+
detail::initiate_async_read_until_expr_v1<AsyncReadStream>(s),
|
1880
|
+
token, basic_streambuf_ref<Allocator>(b), expr);
|
404
1881
|
}
|
405
1882
|
|
406
1883
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
407
1884
|
|
408
|
-
template <typename
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
{
|
413
|
-
return read_until(s, basic_streambuf_ref<Allocator>(b), match_condition);
|
414
|
-
}
|
415
|
-
|
416
|
-
template <typename SyncReadStream, typename Allocator, typename MatchCondition>
|
417
|
-
inline std::size_t read_until(SyncReadStream& s,
|
1885
|
+
template <typename AsyncReadStream, typename Allocator, typename MatchCondition,
|
1886
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
1887
|
+
std::size_t)) ReadToken>
|
1888
|
+
inline auto async_read_until(AsyncReadStream& s,
|
418
1889
|
boost::asio::basic_streambuf<Allocator>& b,
|
419
|
-
MatchCondition match_condition,
|
420
|
-
|
1890
|
+
MatchCondition match_condition, ReadToken&& token,
|
1891
|
+
constraint_t<is_match_condition<MatchCondition>::value>)
|
1892
|
+
-> decltype(
|
1893
|
+
async_initiate<ReadToken,
|
1894
|
+
void (boost::system::error_code, std::size_t)>(
|
1895
|
+
declval<detail::initiate_async_read_until_match_v1<AsyncReadStream>>(),
|
1896
|
+
token, basic_streambuf_ref<Allocator>(b), match_condition))
|
421
1897
|
{
|
422
|
-
return
|
1898
|
+
return async_initiate<ReadToken,
|
1899
|
+
void (boost::system::error_code, std::size_t)>(
|
1900
|
+
detail::initiate_async_read_until_match_v1<AsyncReadStream>(s),
|
1901
|
+
token, basic_streambuf_ref<Allocator>(b), match_condition);
|
423
1902
|
}
|
424
1903
|
|
425
1904
|
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
426
1905
|
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1906
|
+
#endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
|
427
1907
|
|
428
1908
|
namespace detail
|
429
1909
|
{
|
430
1910
|
template <typename AsyncReadStream,
|
431
|
-
typename
|
432
|
-
class
|
1911
|
+
typename DynamicBuffer_v2, typename ReadHandler>
|
1912
|
+
class read_until_delim_op_v2
|
1913
|
+
: public base_from_cancellation_state<ReadHandler>
|
433
1914
|
{
|
434
1915
|
public:
|
435
1916
|
template <typename BufferSequence>
|
436
|
-
|
437
|
-
|
1917
|
+
read_until_delim_op_v2(AsyncReadStream& stream,
|
1918
|
+
BufferSequence&& buffers,
|
438
1919
|
char delim, ReadHandler& handler)
|
439
|
-
:
|
440
|
-
|
1920
|
+
: base_from_cancellation_state<ReadHandler>(
|
1921
|
+
handler, enable_partial_cancellation()),
|
1922
|
+
stream_(stream),
|
1923
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
441
1924
|
delim_(delim),
|
442
1925
|
start_(0),
|
443
1926
|
search_position_(0),
|
444
|
-
|
1927
|
+
bytes_to_read_(0),
|
1928
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
445
1929
|
{
|
446
1930
|
}
|
447
1931
|
|
448
|
-
|
449
|
-
|
450
|
-
|
1932
|
+
read_until_delim_op_v2(const read_until_delim_op_v2& other)
|
1933
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
1934
|
+
stream_(other.stream_),
|
451
1935
|
buffers_(other.buffers_),
|
452
1936
|
delim_(other.delim_),
|
453
1937
|
start_(other.start_),
|
454
1938
|
search_position_(other.search_position_),
|
1939
|
+
bytes_to_read_(other.bytes_to_read_),
|
455
1940
|
handler_(other.handler_)
|
456
1941
|
{
|
457
1942
|
}
|
458
1943
|
|
459
|
-
|
460
|
-
:
|
461
|
-
|
1944
|
+
read_until_delim_op_v2(read_until_delim_op_v2&& other)
|
1945
|
+
: base_from_cancellation_state<ReadHandler>(
|
1946
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
1947
|
+
stream_(other.stream_),
|
1948
|
+
buffers_(static_cast<DynamicBuffer_v2&&>(other.buffers_)),
|
462
1949
|
delim_(other.delim_),
|
463
1950
|
start_(other.start_),
|
464
1951
|
search_position_(other.search_position_),
|
465
|
-
|
1952
|
+
bytes_to_read_(other.bytes_to_read_),
|
1953
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
466
1954
|
{
|
467
1955
|
}
|
468
|
-
#endif // defined(BOOST_ASIO_HAS_MOVE)
|
469
1956
|
|
470
|
-
void operator()(
|
1957
|
+
void operator()(boost::system::error_code ec,
|
471
1958
|
std::size_t bytes_transferred, int start = 0)
|
472
1959
|
{
|
473
1960
|
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
474
|
-
std::size_t
|
1961
|
+
std::size_t pos;
|
475
1962
|
switch (start_ = start)
|
476
1963
|
{
|
477
1964
|
case 1:
|
@@ -479,10 +1966,12 @@ namespace detail
|
|
479
1966
|
{
|
480
1967
|
{
|
481
1968
|
// Determine the range of the data to be searched.
|
482
|
-
typedef typename
|
1969
|
+
typedef typename DynamicBuffer_v2::const_buffers_type
|
483
1970
|
buffers_type;
|
484
1971
|
typedef buffers_iterator<buffers_type> iterator;
|
485
|
-
buffers_type data_buffers =
|
1972
|
+
buffers_type data_buffers =
|
1973
|
+
const_cast<const DynamicBuffer_v2&>(buffers_).data(
|
1974
|
+
0, buffers_.size());
|
486
1975
|
iterator begin = iterator::begin(data_buffers);
|
487
1976
|
iterator start_pos = begin + search_position_;
|
488
1977
|
iterator end = iterator::end(data_buffers);
|
@@ -493,14 +1982,14 @@ namespace detail
|
|
493
1982
|
{
|
494
1983
|
// Found a match. We're done.
|
495
1984
|
search_position_ = iter - begin + 1;
|
496
|
-
|
1985
|
+
bytes_to_read_ = 0;
|
497
1986
|
}
|
498
1987
|
|
499
1988
|
// No match yet. Check if buffer is full.
|
500
1989
|
else if (buffers_.size() == buffers_.max_size())
|
501
1990
|
{
|
502
1991
|
search_position_ = not_found;
|
503
|
-
|
1992
|
+
bytes_to_read_ = 0;
|
504
1993
|
}
|
505
1994
|
|
506
1995
|
// Need to read some more data.
|
@@ -508,7 +1997,7 @@ namespace detail
|
|
508
1997
|
{
|
509
1998
|
// Next search can start with the new data.
|
510
1999
|
search_position_ = end - begin;
|
511
|
-
|
2000
|
+
bytes_to_read_ = std::min<std::size_t>(
|
512
2001
|
std::max<std::size_t>(512,
|
513
2002
|
buffers_.capacity() - buffers_.size()),
|
514
2003
|
std::min<std::size_t>(65536,
|
@@ -517,16 +2006,27 @@ namespace detail
|
|
517
2006
|
}
|
518
2007
|
|
519
2008
|
// Check if we're done.
|
520
|
-
if (!start &&
|
2009
|
+
if (!start && bytes_to_read_ == 0)
|
521
2010
|
break;
|
522
2011
|
|
523
2012
|
// Start a new asynchronous read operation to obtain more data.
|
524
|
-
|
525
|
-
|
2013
|
+
pos = buffers_.size();
|
2014
|
+
buffers_.grow(bytes_to_read_);
|
2015
|
+
{
|
2016
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
2017
|
+
__FILE__, __LINE__, "async_read_until"));
|
2018
|
+
stream_.async_read_some(buffers_.data(pos, bytes_to_read_),
|
2019
|
+
static_cast<read_until_delim_op_v2&&>(*this));
|
2020
|
+
}
|
526
2021
|
return; default:
|
527
|
-
buffers_.
|
2022
|
+
buffers_.shrink(bytes_to_read_ - bytes_transferred);
|
528
2023
|
if (ec || bytes_transferred == 0)
|
529
2024
|
break;
|
2025
|
+
if (this->cancelled() != cancellation_type::none)
|
2026
|
+
{
|
2027
|
+
ec = error::operation_aborted;
|
2028
|
+
break;
|
2029
|
+
}
|
530
2030
|
}
|
531
2031
|
|
532
2032
|
const boost::system::error_code result_ec =
|
@@ -537,183 +2037,172 @@ namespace detail
|
|
537
2037
|
(ec || search_position_ == not_found)
|
538
2038
|
? 0 : search_position_;
|
539
2039
|
|
540
|
-
handler_(result_ec, result_n);
|
2040
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
541
2041
|
}
|
542
2042
|
}
|
543
2043
|
|
544
2044
|
//private:
|
545
2045
|
AsyncReadStream& stream_;
|
546
|
-
|
2046
|
+
DynamicBuffer_v2 buffers_;
|
547
2047
|
char delim_;
|
548
2048
|
int start_;
|
549
2049
|
std::size_t search_position_;
|
2050
|
+
std::size_t bytes_to_read_;
|
550
2051
|
ReadHandler handler_;
|
551
2052
|
};
|
552
2053
|
|
553
2054
|
template <typename AsyncReadStream,
|
554
|
-
typename
|
555
|
-
inline void* asio_handler_allocate(std::size_t size,
|
556
|
-
read_until_delim_op<AsyncReadStream,
|
557
|
-
DynamicBuffer, ReadHandler>* this_handler)
|
558
|
-
{
|
559
|
-
return boost_asio_handler_alloc_helpers::allocate(
|
560
|
-
size, this_handler->handler_);
|
561
|
-
}
|
562
|
-
|
563
|
-
template <typename AsyncReadStream,
|
564
|
-
typename DynamicBuffer, typename ReadHandler>
|
565
|
-
inline void asio_handler_deallocate(void* pointer, std::size_t size,
|
566
|
-
read_until_delim_op<AsyncReadStream,
|
567
|
-
DynamicBuffer, ReadHandler>* this_handler)
|
568
|
-
{
|
569
|
-
boost_asio_handler_alloc_helpers::deallocate(
|
570
|
-
pointer, size, this_handler->handler_);
|
571
|
-
}
|
572
|
-
|
573
|
-
template <typename AsyncReadStream,
|
574
|
-
typename DynamicBuffer, typename ReadHandler>
|
2055
|
+
typename DynamicBuffer_v2, typename ReadHandler>
|
575
2056
|
inline bool asio_handler_is_continuation(
|
576
|
-
|
577
|
-
|
2057
|
+
read_until_delim_op_v2<AsyncReadStream,
|
2058
|
+
DynamicBuffer_v2, ReadHandler>* this_handler)
|
578
2059
|
{
|
579
2060
|
return this_handler->start_ == 0 ? true
|
580
2061
|
: boost_asio_handler_cont_helpers::is_continuation(
|
581
2062
|
this_handler->handler_);
|
582
2063
|
}
|
583
2064
|
|
584
|
-
template <typename
|
585
|
-
|
586
|
-
inline void asio_handler_invoke(Function& function,
|
587
|
-
read_until_delim_op<AsyncReadStream,
|
588
|
-
DynamicBuffer, ReadHandler>* this_handler)
|
2065
|
+
template <typename AsyncReadStream>
|
2066
|
+
class initiate_async_read_until_delim_v2
|
589
2067
|
{
|
590
|
-
|
591
|
-
|
592
|
-
}
|
2068
|
+
public:
|
2069
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
593
2070
|
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
2071
|
+
explicit initiate_async_read_until_delim_v2(AsyncReadStream& stream)
|
2072
|
+
: stream_(stream)
|
2073
|
+
{
|
2074
|
+
}
|
2075
|
+
|
2076
|
+
executor_type get_executor() const noexcept
|
2077
|
+
{
|
2078
|
+
return stream_.get_executor();
|
2079
|
+
}
|
2080
|
+
|
2081
|
+
template <typename ReadHandler, typename DynamicBuffer_v2>
|
2082
|
+
void operator()(ReadHandler&& handler,
|
2083
|
+
DynamicBuffer_v2&& buffers, char delim) const
|
2084
|
+
{
|
2085
|
+
// If you get an error on the following line it means that your handler
|
2086
|
+
// does not meet the documented type requirements for a ReadHandler.
|
2087
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
2088
|
+
|
2089
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
2090
|
+
read_until_delim_op_v2<AsyncReadStream,
|
2091
|
+
decay_t<DynamicBuffer_v2>,
|
2092
|
+
decay_t<ReadHandler>>(
|
2093
|
+
stream_, static_cast<DynamicBuffer_v2&&>(buffers),
|
2094
|
+
delim, handler2.value)(boost::system::error_code(), 0, 1);
|
2095
|
+
}
|
2096
|
+
|
2097
|
+
private:
|
2098
|
+
AsyncReadStream& stream_;
|
2099
|
+
};
|
603
2100
|
} // namespace detail
|
604
2101
|
|
605
2102
|
#if !defined(GENERATING_DOCUMENTATION)
|
606
2103
|
|
607
|
-
template <typename
|
608
|
-
typename
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
2104
|
+
template <template <typename, typename> class Associator,
|
2105
|
+
typename AsyncReadStream, typename DynamicBuffer_v2,
|
2106
|
+
typename ReadHandler, typename DefaultCandidate>
|
2107
|
+
struct associator<Associator,
|
2108
|
+
detail::read_until_delim_op_v2<AsyncReadStream,
|
2109
|
+
DynamicBuffer_v2, ReadHandler>,
|
2110
|
+
DefaultCandidate>
|
2111
|
+
: Associator<ReadHandler, DefaultCandidate>
|
613
2112
|
{
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
const detail::read_until_delim_op<AsyncReadStream,
|
618
|
-
DynamicBuffer, ReadHandler>& h,
|
619
|
-
const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
|
2113
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
2114
|
+
const detail::read_until_delim_op_v2<AsyncReadStream,
|
2115
|
+
DynamicBuffer_v2, ReadHandler>& h) noexcept
|
620
2116
|
{
|
621
|
-
return
|
2117
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
622
2118
|
}
|
623
|
-
};
|
624
|
-
|
625
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
626
|
-
typename ReadHandler, typename Executor>
|
627
|
-
struct associated_executor<
|
628
|
-
detail::read_until_delim_op<AsyncReadStream,
|
629
|
-
DynamicBuffer, ReadHandler>,
|
630
|
-
Executor>
|
631
|
-
{
|
632
|
-
typedef typename associated_executor<ReadHandler, Executor>::type type;
|
633
2119
|
|
634
|
-
static
|
635
|
-
const detail::
|
636
|
-
|
637
|
-
const
|
2120
|
+
static auto get(
|
2121
|
+
const detail::read_until_delim_op_v2<AsyncReadStream,
|
2122
|
+
DynamicBuffer_v2, ReadHandler>& h,
|
2123
|
+
const DefaultCandidate& c) noexcept
|
2124
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
638
2125
|
{
|
639
|
-
return
|
2126
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
640
2127
|
}
|
641
2128
|
};
|
642
2129
|
|
643
2130
|
#endif // !defined(GENERATING_DOCUMENTATION)
|
644
2131
|
|
645
|
-
template <typename AsyncReadStream,
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
2132
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
2133
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2134
|
+
std::size_t)) ReadToken>
|
2135
|
+
inline auto async_read_until(AsyncReadStream& s,
|
2136
|
+
DynamicBuffer_v2 buffers, char delim, ReadToken&& token,
|
2137
|
+
constraint_t<
|
2138
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2139
|
+
>)
|
2140
|
+
-> decltype(
|
2141
|
+
async_initiate<ReadToken,
|
2142
|
+
void (boost::system::error_code, std::size_t)>(
|
2143
|
+
declval<detail::initiate_async_read_until_delim_v2<AsyncReadStream>>(),
|
2144
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), delim))
|
652
2145
|
{
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
async_completion<ReadHandler,
|
658
|
-
void (boost::system::error_code, std::size_t)> init(handler);
|
659
|
-
|
660
|
-
detail::read_until_delim_op<AsyncReadStream,
|
661
|
-
typename decay<DynamicBuffer>::type,
|
662
|
-
BOOST_ASIO_HANDLER_TYPE(ReadHandler,
|
663
|
-
void (boost::system::error_code, std::size_t))>(
|
664
|
-
s, BOOST_ASIO_MOVE_CAST(DynamicBuffer)(buffers),
|
665
|
-
delim, init.completion_handler)(boost::system::error_code(), 0, 1);
|
666
|
-
|
667
|
-
return init.result.get();
|
2146
|
+
return async_initiate<ReadToken,
|
2147
|
+
void (boost::system::error_code, std::size_t)>(
|
2148
|
+
detail::initiate_async_read_until_delim_v2<AsyncReadStream>(s),
|
2149
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), delim);
|
668
2150
|
}
|
669
2151
|
|
670
2152
|
namespace detail
|
671
2153
|
{
|
672
2154
|
template <typename AsyncReadStream,
|
673
|
-
typename
|
674
|
-
class
|
2155
|
+
typename DynamicBuffer_v2, typename ReadHandler>
|
2156
|
+
class read_until_delim_string_op_v2
|
2157
|
+
: public base_from_cancellation_state<ReadHandler>
|
675
2158
|
{
|
676
2159
|
public:
|
677
2160
|
template <typename BufferSequence>
|
678
|
-
|
679
|
-
|
2161
|
+
read_until_delim_string_op_v2(AsyncReadStream& stream,
|
2162
|
+
BufferSequence&& buffers,
|
680
2163
|
const std::string& delim, ReadHandler& handler)
|
681
|
-
:
|
682
|
-
|
2164
|
+
: base_from_cancellation_state<ReadHandler>(
|
2165
|
+
handler, enable_partial_cancellation()),
|
2166
|
+
stream_(stream),
|
2167
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
683
2168
|
delim_(delim),
|
684
2169
|
start_(0),
|
685
2170
|
search_position_(0),
|
686
|
-
|
2171
|
+
bytes_to_read_(0),
|
2172
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
687
2173
|
{
|
688
2174
|
}
|
689
2175
|
|
690
|
-
|
691
|
-
|
692
|
-
|
2176
|
+
read_until_delim_string_op_v2(const read_until_delim_string_op_v2& other)
|
2177
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
2178
|
+
stream_(other.stream_),
|
693
2179
|
buffers_(other.buffers_),
|
694
2180
|
delim_(other.delim_),
|
695
2181
|
start_(other.start_),
|
696
2182
|
search_position_(other.search_position_),
|
2183
|
+
bytes_to_read_(other.bytes_to_read_),
|
697
2184
|
handler_(other.handler_)
|
698
2185
|
{
|
699
2186
|
}
|
700
2187
|
|
701
|
-
|
702
|
-
:
|
703
|
-
|
704
|
-
|
2188
|
+
read_until_delim_string_op_v2(read_until_delim_string_op_v2&& other)
|
2189
|
+
: base_from_cancellation_state<ReadHandler>(
|
2190
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
2191
|
+
stream_(other.stream_),
|
2192
|
+
buffers_(static_cast<DynamicBuffer_v2&&>(other.buffers_)),
|
2193
|
+
delim_(static_cast<std::string&&>(other.delim_)),
|
705
2194
|
start_(other.start_),
|
706
2195
|
search_position_(other.search_position_),
|
707
|
-
|
2196
|
+
bytes_to_read_(other.bytes_to_read_),
|
2197
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
708
2198
|
{
|
709
2199
|
}
|
710
|
-
#endif // defined(BOOST_ASIO_HAS_MOVE)
|
711
2200
|
|
712
|
-
void operator()(
|
2201
|
+
void operator()(boost::system::error_code ec,
|
713
2202
|
std::size_t bytes_transferred, int start = 0)
|
714
2203
|
{
|
715
2204
|
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
716
|
-
std::size_t
|
2205
|
+
std::size_t pos;
|
717
2206
|
switch (start_ = start)
|
718
2207
|
{
|
719
2208
|
case 1:
|
@@ -721,10 +2210,12 @@ namespace detail
|
|
721
2210
|
{
|
722
2211
|
{
|
723
2212
|
// Determine the range of the data to be searched.
|
724
|
-
typedef typename
|
2213
|
+
typedef typename DynamicBuffer_v2::const_buffers_type
|
725
2214
|
buffers_type;
|
726
2215
|
typedef buffers_iterator<buffers_type> iterator;
|
727
|
-
buffers_type data_buffers =
|
2216
|
+
buffers_type data_buffers =
|
2217
|
+
const_cast<const DynamicBuffer_v2&>(buffers_).data(
|
2218
|
+
0, buffers_.size());
|
728
2219
|
iterator begin = iterator::begin(data_buffers);
|
729
2220
|
iterator start_pos = begin + search_position_;
|
730
2221
|
iterator end = iterator::end(data_buffers);
|
@@ -736,14 +2227,14 @@ namespace detail
|
|
736
2227
|
{
|
737
2228
|
// Full match. We're done.
|
738
2229
|
search_position_ = result.first - begin + delim_.length();
|
739
|
-
|
2230
|
+
bytes_to_read_ = 0;
|
740
2231
|
}
|
741
2232
|
|
742
2233
|
// No match yet. Check if buffer is full.
|
743
2234
|
else if (buffers_.size() == buffers_.max_size())
|
744
2235
|
{
|
745
2236
|
search_position_ = not_found;
|
746
|
-
|
2237
|
+
bytes_to_read_ = 0;
|
747
2238
|
}
|
748
2239
|
|
749
2240
|
// Need to read some more data.
|
@@ -761,7 +2252,7 @@ namespace detail
|
|
761
2252
|
search_position_ = end - begin;
|
762
2253
|
}
|
763
2254
|
|
764
|
-
|
2255
|
+
bytes_to_read_ = std::min<std::size_t>(
|
765
2256
|
std::max<std::size_t>(512,
|
766
2257
|
buffers_.capacity() - buffers_.size()),
|
767
2258
|
std::min<std::size_t>(65536,
|
@@ -770,16 +2261,27 @@ namespace detail
|
|
770
2261
|
}
|
771
2262
|
|
772
2263
|
// Check if we're done.
|
773
|
-
if (!start &&
|
2264
|
+
if (!start && bytes_to_read_ == 0)
|
774
2265
|
break;
|
775
2266
|
|
776
2267
|
// Start a new asynchronous read operation to obtain more data.
|
777
|
-
|
778
|
-
|
2268
|
+
pos = buffers_.size();
|
2269
|
+
buffers_.grow(bytes_to_read_);
|
2270
|
+
{
|
2271
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
2272
|
+
__FILE__, __LINE__, "async_read_until"));
|
2273
|
+
stream_.async_read_some(buffers_.data(pos, bytes_to_read_),
|
2274
|
+
static_cast<read_until_delim_string_op_v2&&>(*this));
|
2275
|
+
}
|
779
2276
|
return; default:
|
780
|
-
buffers_.
|
2277
|
+
buffers_.shrink(bytes_to_read_ - bytes_transferred);
|
781
2278
|
if (ec || bytes_transferred == 0)
|
782
2279
|
break;
|
2280
|
+
if (this->cancelled() != cancellation_type::none)
|
2281
|
+
{
|
2282
|
+
ec = error::operation_aborted;
|
2283
|
+
break;
|
2284
|
+
}
|
783
2285
|
}
|
784
2286
|
|
785
2287
|
const boost::system::error_code result_ec =
|
@@ -790,136 +2292,121 @@ namespace detail
|
|
790
2292
|
(ec || search_position_ == not_found)
|
791
2293
|
? 0 : search_position_;
|
792
2294
|
|
793
|
-
handler_(result_ec, result_n);
|
2295
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
794
2296
|
}
|
795
2297
|
}
|
796
2298
|
|
797
2299
|
//private:
|
798
2300
|
AsyncReadStream& stream_;
|
799
|
-
|
2301
|
+
DynamicBuffer_v2 buffers_;
|
800
2302
|
std::string delim_;
|
801
2303
|
int start_;
|
802
2304
|
std::size_t search_position_;
|
2305
|
+
std::size_t bytes_to_read_;
|
803
2306
|
ReadHandler handler_;
|
804
2307
|
};
|
805
2308
|
|
806
2309
|
template <typename AsyncReadStream,
|
807
|
-
typename
|
808
|
-
inline void* asio_handler_allocate(std::size_t size,
|
809
|
-
read_until_delim_string_op<AsyncReadStream,
|
810
|
-
DynamicBuffer, ReadHandler>* this_handler)
|
811
|
-
{
|
812
|
-
return boost_asio_handler_alloc_helpers::allocate(
|
813
|
-
size, this_handler->handler_);
|
814
|
-
}
|
815
|
-
|
816
|
-
template <typename AsyncReadStream,
|
817
|
-
typename DynamicBuffer, typename ReadHandler>
|
818
|
-
inline void asio_handler_deallocate(void* pointer, std::size_t size,
|
819
|
-
read_until_delim_string_op<AsyncReadStream,
|
820
|
-
DynamicBuffer, ReadHandler>* this_handler)
|
821
|
-
{
|
822
|
-
boost_asio_handler_alloc_helpers::deallocate(
|
823
|
-
pointer, size, this_handler->handler_);
|
824
|
-
}
|
825
|
-
|
826
|
-
template <typename AsyncReadStream,
|
827
|
-
typename DynamicBuffer, typename ReadHandler>
|
2310
|
+
typename DynamicBuffer_v2, typename ReadHandler>
|
828
2311
|
inline bool asio_handler_is_continuation(
|
829
|
-
|
830
|
-
|
2312
|
+
read_until_delim_string_op_v2<AsyncReadStream,
|
2313
|
+
DynamicBuffer_v2, ReadHandler>* this_handler)
|
831
2314
|
{
|
832
2315
|
return this_handler->start_ == 0 ? true
|
833
2316
|
: boost_asio_handler_cont_helpers::is_continuation(
|
834
2317
|
this_handler->handler_);
|
835
2318
|
}
|
836
2319
|
|
837
|
-
template <typename
|
838
|
-
|
839
|
-
inline void asio_handler_invoke(Function& function,
|
840
|
-
read_until_delim_string_op<AsyncReadStream,
|
841
|
-
DynamicBuffer, ReadHandler>* this_handler)
|
2320
|
+
template <typename AsyncReadStream>
|
2321
|
+
class initiate_async_read_until_delim_string_v2
|
842
2322
|
{
|
843
|
-
|
844
|
-
|
845
|
-
}
|
2323
|
+
public:
|
2324
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
846
2325
|
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
2326
|
+
explicit initiate_async_read_until_delim_string_v2(AsyncReadStream& stream)
|
2327
|
+
: stream_(stream)
|
2328
|
+
{
|
2329
|
+
}
|
2330
|
+
|
2331
|
+
executor_type get_executor() const noexcept
|
2332
|
+
{
|
2333
|
+
return stream_.get_executor();
|
2334
|
+
}
|
2335
|
+
|
2336
|
+
template <typename ReadHandler, typename DynamicBuffer_v2>
|
2337
|
+
void operator()(ReadHandler&& handler,
|
2338
|
+
DynamicBuffer_v2&& buffers,
|
2339
|
+
const std::string& delim) const
|
2340
|
+
{
|
2341
|
+
// If you get an error on the following line it means that your handler
|
2342
|
+
// does not meet the documented type requirements for a ReadHandler.
|
2343
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
2344
|
+
|
2345
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
2346
|
+
read_until_delim_string_op_v2<AsyncReadStream,
|
2347
|
+
decay_t<DynamicBuffer_v2>,
|
2348
|
+
decay_t<ReadHandler>>(
|
2349
|
+
stream_, static_cast<DynamicBuffer_v2&&>(buffers),
|
2350
|
+
delim, handler2.value)(boost::system::error_code(), 0, 1);
|
2351
|
+
}
|
2352
|
+
|
2353
|
+
private:
|
2354
|
+
AsyncReadStream& stream_;
|
2355
|
+
};
|
856
2356
|
} // namespace detail
|
857
2357
|
|
858
2358
|
#if !defined(GENERATING_DOCUMENTATION)
|
859
2359
|
|
860
|
-
template <typename
|
861
|
-
typename
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
2360
|
+
template <template <typename, typename> class Associator,
|
2361
|
+
typename AsyncReadStream, typename DynamicBuffer_v2,
|
2362
|
+
typename ReadHandler, typename DefaultCandidate>
|
2363
|
+
struct associator<Associator,
|
2364
|
+
detail::read_until_delim_string_op_v2<AsyncReadStream,
|
2365
|
+
DynamicBuffer_v2, ReadHandler>,
|
2366
|
+
DefaultCandidate>
|
2367
|
+
: Associator<ReadHandler, DefaultCandidate>
|
866
2368
|
{
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
const detail::read_until_delim_string_op<AsyncReadStream,
|
871
|
-
DynamicBuffer, ReadHandler>& h,
|
872
|
-
const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
|
2369
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
2370
|
+
const detail::read_until_delim_string_op_v2<
|
2371
|
+
AsyncReadStream, DynamicBuffer_v2, ReadHandler>& h) noexcept
|
873
2372
|
{
|
874
|
-
return
|
2373
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
875
2374
|
}
|
876
|
-
};
|
877
|
-
|
878
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
879
|
-
typename ReadHandler, typename Executor>
|
880
|
-
struct associated_executor<
|
881
|
-
detail::read_until_delim_string_op<AsyncReadStream,
|
882
|
-
DynamicBuffer, ReadHandler>,
|
883
|
-
Executor>
|
884
|
-
{
|
885
|
-
typedef typename associated_executor<ReadHandler, Executor>::type type;
|
886
2375
|
|
887
|
-
static
|
888
|
-
const detail::
|
889
|
-
|
890
|
-
const
|
2376
|
+
static auto get(
|
2377
|
+
const detail::read_until_delim_string_op_v2<
|
2378
|
+
AsyncReadStream, DynamicBuffer_v2, ReadHandler>& h,
|
2379
|
+
const DefaultCandidate& c) noexcept
|
2380
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
891
2381
|
{
|
892
|
-
return
|
2382
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
893
2383
|
}
|
894
2384
|
};
|
895
2385
|
|
896
2386
|
#endif // !defined(GENERATING_DOCUMENTATION)
|
897
2387
|
|
898
2388
|
template <typename AsyncReadStream,
|
899
|
-
typename
|
900
|
-
|
901
|
-
|
902
|
-
async_read_until(AsyncReadStream& s,
|
903
|
-
|
904
|
-
|
905
|
-
|
2389
|
+
typename DynamicBuffer_v2,
|
2390
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2391
|
+
std::size_t)) ReadToken>
|
2392
|
+
inline auto async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
2393
|
+
BOOST_ASIO_STRING_VIEW_PARAM delim, ReadToken&& token,
|
2394
|
+
constraint_t<
|
2395
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2396
|
+
>)
|
2397
|
+
-> decltype(
|
2398
|
+
async_initiate<ReadToken,
|
2399
|
+
void (boost::system::error_code, std::size_t)>(
|
2400
|
+
declval<detail::initiate_async_read_until_delim_string_v2<
|
2401
|
+
AsyncReadStream>>(),
|
2402
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers),
|
2403
|
+
static_cast<std::string>(delim)))
|
906
2404
|
{
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
void (boost::system::error_code, std::size_t)> init(handler);
|
913
|
-
|
914
|
-
detail::read_until_delim_string_op<AsyncReadStream,
|
915
|
-
typename decay<DynamicBuffer>::type,
|
916
|
-
BOOST_ASIO_HANDLER_TYPE(ReadHandler,
|
917
|
-
void (boost::system::error_code, std::size_t))>(
|
918
|
-
s, BOOST_ASIO_MOVE_CAST(DynamicBuffer)(buffers),
|
919
|
-
static_cast<std::string>(delim),
|
920
|
-
init.completion_handler)(boost::system::error_code(), 0, 1);
|
921
|
-
|
922
|
-
return init.result.get();
|
2405
|
+
return async_initiate<ReadToken,
|
2406
|
+
void (boost::system::error_code, std::size_t)>(
|
2407
|
+
detail::initiate_async_read_until_delim_string_v2<AsyncReadStream>(s),
|
2408
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers),
|
2409
|
+
static_cast<std::string>(delim));
|
923
2410
|
}
|
924
2411
|
|
925
2412
|
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
@@ -927,51 +2414,57 @@ async_read_until(AsyncReadStream& s,
|
|
927
2414
|
|
928
2415
|
namespace detail
|
929
2416
|
{
|
930
|
-
template <typename AsyncReadStream, typename
|
2417
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
931
2418
|
typename RegEx, typename ReadHandler>
|
932
|
-
class
|
2419
|
+
class read_until_expr_op_v2
|
2420
|
+
: public base_from_cancellation_state<ReadHandler>
|
933
2421
|
{
|
934
2422
|
public:
|
935
|
-
template <typename BufferSequence>
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
2423
|
+
template <typename BufferSequence, typename Traits>
|
2424
|
+
read_until_expr_op_v2(AsyncReadStream& stream, BufferSequence&& buffers,
|
2425
|
+
const boost::basic_regex<char, Traits>& expr, ReadHandler& handler)
|
2426
|
+
: base_from_cancellation_state<ReadHandler>(
|
2427
|
+
handler, enable_partial_cancellation()),
|
2428
|
+
stream_(stream),
|
2429
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
941
2430
|
expr_(expr),
|
942
2431
|
start_(0),
|
943
2432
|
search_position_(0),
|
944
|
-
|
2433
|
+
bytes_to_read_(0),
|
2434
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
945
2435
|
{
|
946
2436
|
}
|
947
2437
|
|
948
|
-
|
949
|
-
|
950
|
-
|
2438
|
+
read_until_expr_op_v2(const read_until_expr_op_v2& other)
|
2439
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
2440
|
+
stream_(other.stream_),
|
951
2441
|
buffers_(other.buffers_),
|
952
2442
|
expr_(other.expr_),
|
953
2443
|
start_(other.start_),
|
954
2444
|
search_position_(other.search_position_),
|
2445
|
+
bytes_to_read_(other.bytes_to_read_),
|
955
2446
|
handler_(other.handler_)
|
956
2447
|
{
|
957
2448
|
}
|
958
2449
|
|
959
|
-
|
960
|
-
:
|
961
|
-
|
2450
|
+
read_until_expr_op_v2(read_until_expr_op_v2&& other)
|
2451
|
+
: base_from_cancellation_state<ReadHandler>(
|
2452
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
2453
|
+
stream_(other.stream_),
|
2454
|
+
buffers_(static_cast<DynamicBuffer_v2&&>(other.buffers_)),
|
962
2455
|
expr_(other.expr_),
|
963
2456
|
start_(other.start_),
|
964
2457
|
search_position_(other.search_position_),
|
965
|
-
|
2458
|
+
bytes_to_read_(other.bytes_to_read_),
|
2459
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
966
2460
|
{
|
967
2461
|
}
|
968
|
-
#endif // defined(BOOST_ASIO_HAS_MOVE)
|
969
2462
|
|
970
|
-
void operator()(
|
2463
|
+
void operator()(boost::system::error_code ec,
|
971
2464
|
std::size_t bytes_transferred, int start = 0)
|
972
2465
|
{
|
973
2466
|
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
974
|
-
std::size_t
|
2467
|
+
std::size_t pos;
|
975
2468
|
switch (start_ = start)
|
976
2469
|
{
|
977
2470
|
case 1:
|
@@ -979,32 +2472,34 @@ namespace detail
|
|
979
2472
|
{
|
980
2473
|
{
|
981
2474
|
// Determine the range of the data to be searched.
|
982
|
-
typedef typename
|
2475
|
+
typedef typename DynamicBuffer_v2::const_buffers_type
|
983
2476
|
buffers_type;
|
984
2477
|
typedef buffers_iterator<buffers_type> iterator;
|
985
|
-
buffers_type data_buffers =
|
2478
|
+
buffers_type data_buffers =
|
2479
|
+
const_cast<const DynamicBuffer_v2&>(buffers_).data(
|
2480
|
+
0, buffers_.size());
|
986
2481
|
iterator begin = iterator::begin(data_buffers);
|
987
2482
|
iterator start_pos = begin + search_position_;
|
988
2483
|
iterator end = iterator::end(data_buffers);
|
989
2484
|
|
990
2485
|
// Look for a match.
|
991
2486
|
boost::match_results<iterator,
|
992
|
-
typename std::vector<boost::sub_match<iterator
|
2487
|
+
typename std::vector<boost::sub_match<iterator>>::allocator_type>
|
993
2488
|
match_results;
|
994
|
-
bool match = regex_search(start_pos, end,
|
995
|
-
|
2489
|
+
bool match = regex_search(start_pos, end,
|
2490
|
+
match_results, expr_, regex_match_flags());
|
996
2491
|
if (match && match_results[0].matched)
|
997
2492
|
{
|
998
2493
|
// Full match. We're done.
|
999
2494
|
search_position_ = match_results[0].second - begin;
|
1000
|
-
|
2495
|
+
bytes_to_read_ = 0;
|
1001
2496
|
}
|
1002
2497
|
|
1003
2498
|
// No match yet. Check if buffer is full.
|
1004
2499
|
else if (buffers_.size() == buffers_.max_size())
|
1005
2500
|
{
|
1006
2501
|
search_position_ = not_found;
|
1007
|
-
|
2502
|
+
bytes_to_read_ = 0;
|
1008
2503
|
}
|
1009
2504
|
|
1010
2505
|
// Need to read some more data.
|
@@ -1022,7 +2517,7 @@ namespace detail
|
|
1022
2517
|
search_position_ = end - begin;
|
1023
2518
|
}
|
1024
2519
|
|
1025
|
-
|
2520
|
+
bytes_to_read_ = std::min<std::size_t>(
|
1026
2521
|
std::max<std::size_t>(512,
|
1027
2522
|
buffers_.capacity() - buffers_.size()),
|
1028
2523
|
std::min<std::size_t>(65536,
|
@@ -1031,16 +2526,27 @@ namespace detail
|
|
1031
2526
|
}
|
1032
2527
|
|
1033
2528
|
// Check if we're done.
|
1034
|
-
if (!start &&
|
2529
|
+
if (!start && bytes_to_read_ == 0)
|
1035
2530
|
break;
|
1036
2531
|
|
1037
2532
|
// Start a new asynchronous read operation to obtain more data.
|
1038
|
-
|
1039
|
-
|
2533
|
+
pos = buffers_.size();
|
2534
|
+
buffers_.grow(bytes_to_read_);
|
2535
|
+
{
|
2536
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
2537
|
+
__FILE__, __LINE__, "async_read_until"));
|
2538
|
+
stream_.async_read_some(buffers_.data(pos, bytes_to_read_),
|
2539
|
+
static_cast<read_until_expr_op_v2&&>(*this));
|
2540
|
+
}
|
1040
2541
|
return; default:
|
1041
|
-
buffers_.
|
2542
|
+
buffers_.shrink(bytes_to_read_ - bytes_transferred);
|
1042
2543
|
if (ec || bytes_transferred == 0)
|
1043
2544
|
break;
|
2545
|
+
if (this->cancelled() != cancellation_type::none)
|
2546
|
+
{
|
2547
|
+
ec = error::operation_aborted;
|
2548
|
+
break;
|
2549
|
+
}
|
1044
2550
|
}
|
1045
2551
|
|
1046
2552
|
const boost::system::error_code result_ec =
|
@@ -1051,186 +2557,175 @@ namespace detail
|
|
1051
2557
|
(ec || search_position_ == not_found)
|
1052
2558
|
? 0 : search_position_;
|
1053
2559
|
|
1054
|
-
handler_(result_ec, result_n);
|
2560
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
1055
2561
|
}
|
1056
2562
|
}
|
1057
2563
|
|
1058
2564
|
//private:
|
1059
2565
|
AsyncReadStream& stream_;
|
1060
|
-
|
2566
|
+
DynamicBuffer_v2 buffers_;
|
1061
2567
|
RegEx expr_;
|
1062
2568
|
int start_;
|
1063
2569
|
std::size_t search_position_;
|
2570
|
+
std::size_t bytes_to_read_;
|
1064
2571
|
ReadHandler handler_;
|
1065
2572
|
};
|
1066
2573
|
|
1067
|
-
template <typename AsyncReadStream, typename
|
1068
|
-
typename RegEx, typename ReadHandler>
|
1069
|
-
inline void* asio_handler_allocate(std::size_t size,
|
1070
|
-
read_until_expr_op<AsyncReadStream,
|
1071
|
-
DynamicBuffer, RegEx, ReadHandler>* this_handler)
|
1072
|
-
{
|
1073
|
-
return boost_asio_handler_alloc_helpers::allocate(
|
1074
|
-
size, this_handler->handler_);
|
1075
|
-
}
|
1076
|
-
|
1077
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
1078
|
-
typename RegEx, typename ReadHandler>
|
1079
|
-
inline void asio_handler_deallocate(void* pointer, std::size_t size,
|
1080
|
-
read_until_expr_op<AsyncReadStream,
|
1081
|
-
DynamicBuffer, RegEx, ReadHandler>* this_handler)
|
1082
|
-
{
|
1083
|
-
boost_asio_handler_alloc_helpers::deallocate(
|
1084
|
-
pointer, size, this_handler->handler_);
|
1085
|
-
}
|
1086
|
-
|
1087
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
2574
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
1088
2575
|
typename RegEx, typename ReadHandler>
|
1089
2576
|
inline bool asio_handler_is_continuation(
|
1090
|
-
|
1091
|
-
|
2577
|
+
read_until_expr_op_v2<AsyncReadStream,
|
2578
|
+
DynamicBuffer_v2, RegEx, ReadHandler>* this_handler)
|
1092
2579
|
{
|
1093
2580
|
return this_handler->start_ == 0 ? true
|
1094
2581
|
: boost_asio_handler_cont_helpers::is_continuation(
|
1095
2582
|
this_handler->handler_);
|
1096
2583
|
}
|
1097
2584
|
|
1098
|
-
template <typename
|
1099
|
-
|
1100
|
-
inline void asio_handler_invoke(Function& function,
|
1101
|
-
read_until_expr_op<AsyncReadStream,
|
1102
|
-
DynamicBuffer, RegEx, ReadHandler>* this_handler)
|
2585
|
+
template <typename AsyncReadStream>
|
2586
|
+
class initiate_async_read_until_expr_v2
|
1103
2587
|
{
|
1104
|
-
|
1105
|
-
|
1106
|
-
}
|
2588
|
+
public:
|
2589
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
1107
2590
|
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
2591
|
+
explicit initiate_async_read_until_expr_v2(AsyncReadStream& stream)
|
2592
|
+
: stream_(stream)
|
2593
|
+
{
|
2594
|
+
}
|
2595
|
+
|
2596
|
+
executor_type get_executor() const noexcept
|
2597
|
+
{
|
2598
|
+
return stream_.get_executor();
|
2599
|
+
}
|
2600
|
+
|
2601
|
+
template <typename ReadHandler, typename DynamicBuffer_v2, typename RegEx>
|
2602
|
+
void operator()(ReadHandler&& handler,
|
2603
|
+
DynamicBuffer_v2&& buffers,
|
2604
|
+
const RegEx& expr) const
|
2605
|
+
{
|
2606
|
+
// If you get an error on the following line it means that your handler
|
2607
|
+
// does not meet the documented type requirements for a ReadHandler.
|
2608
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
2609
|
+
|
2610
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
2611
|
+
read_until_expr_op_v2<AsyncReadStream,
|
2612
|
+
decay_t<DynamicBuffer_v2>,
|
2613
|
+
RegEx, decay_t<ReadHandler>>(
|
2614
|
+
stream_, static_cast<DynamicBuffer_v2&&>(buffers),
|
2615
|
+
expr, handler2.value)(boost::system::error_code(), 0, 1);
|
2616
|
+
}
|
2617
|
+
|
2618
|
+
private:
|
2619
|
+
AsyncReadStream& stream_;
|
2620
|
+
};
|
1117
2621
|
} // namespace detail
|
1118
2622
|
|
1119
2623
|
#if !defined(GENERATING_DOCUMENTATION)
|
1120
2624
|
|
1121
|
-
template <typename
|
1122
|
-
typename
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
2625
|
+
template <template <typename, typename> class Associator,
|
2626
|
+
typename AsyncReadStream, typename DynamicBuffer_v2,
|
2627
|
+
typename RegEx, typename ReadHandler, typename DefaultCandidate>
|
2628
|
+
struct associator<Associator,
|
2629
|
+
detail::read_until_expr_op_v2<AsyncReadStream,
|
2630
|
+
DynamicBuffer_v2, RegEx, ReadHandler>,
|
2631
|
+
DefaultCandidate>
|
2632
|
+
: Associator<ReadHandler, DefaultCandidate>
|
1127
2633
|
{
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
const detail::read_until_expr_op<AsyncReadStream,
|
1132
|
-
DynamicBuffer, RegEx, ReadHandler>& h,
|
1133
|
-
const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
|
2634
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
2635
|
+
const detail::read_until_expr_op_v2<AsyncReadStream,
|
2636
|
+
DynamicBuffer_v2, RegEx, ReadHandler>& h) noexcept
|
1134
2637
|
{
|
1135
|
-
return
|
2638
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
1136
2639
|
}
|
1137
|
-
};
|
1138
|
-
|
1139
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
1140
|
-
typename RegEx, typename ReadHandler, typename Executor>
|
1141
|
-
struct associated_executor<
|
1142
|
-
detail::read_until_expr_op<AsyncReadStream,
|
1143
|
-
DynamicBuffer, RegEx, ReadHandler>,
|
1144
|
-
Executor>
|
1145
|
-
{
|
1146
|
-
typedef typename associated_executor<ReadHandler, Executor>::type type;
|
1147
2640
|
|
1148
|
-
static
|
1149
|
-
const detail::
|
1150
|
-
|
1151
|
-
const
|
2641
|
+
static auto get(
|
2642
|
+
const detail::read_until_expr_op_v2<AsyncReadStream,
|
2643
|
+
DynamicBuffer_v2, RegEx, ReadHandler>& h,
|
2644
|
+
const DefaultCandidate& c) noexcept
|
2645
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
1152
2646
|
{
|
1153
|
-
return
|
2647
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1154
2648
|
}
|
1155
2649
|
};
|
1156
2650
|
|
1157
2651
|
#endif // !defined(GENERATING_DOCUMENTATION)
|
1158
2652
|
|
1159
|
-
template <typename AsyncReadStream,
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
2653
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2, typename Traits,
|
2654
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2655
|
+
std::size_t)) ReadToken>
|
2656
|
+
inline auto async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
2657
|
+
const boost::basic_regex<char, Traits>& expr, ReadToken&& token,
|
2658
|
+
constraint_t<
|
2659
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2660
|
+
>)
|
2661
|
+
-> decltype(
|
2662
|
+
async_initiate<ReadToken,
|
2663
|
+
void (boost::system::error_code, std::size_t)>(
|
2664
|
+
declval<detail::initiate_async_read_until_expr_v2<AsyncReadStream>>(),
|
2665
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), expr))
|
1167
2666
|
{
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
async_completion<ReadHandler,
|
1173
|
-
void (boost::system::error_code, std::size_t)> init(handler);
|
1174
|
-
|
1175
|
-
detail::read_until_expr_op<AsyncReadStream,
|
1176
|
-
typename decay<DynamicBuffer>::type,
|
1177
|
-
boost::regex, BOOST_ASIO_HANDLER_TYPE(ReadHandler,
|
1178
|
-
void (boost::system::error_code, std::size_t))>(
|
1179
|
-
s, BOOST_ASIO_MOVE_CAST(DynamicBuffer)(buffers),
|
1180
|
-
expr, init.completion_handler)(boost::system::error_code(), 0, 1);
|
1181
|
-
|
1182
|
-
return init.result.get();
|
2667
|
+
return async_initiate<ReadToken,
|
2668
|
+
void (boost::system::error_code, std::size_t)>(
|
2669
|
+
detail::initiate_async_read_until_expr_v2<AsyncReadStream>(s),
|
2670
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers), expr);
|
1183
2671
|
}
|
1184
2672
|
|
1185
2673
|
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1186
2674
|
|
1187
2675
|
namespace detail
|
1188
2676
|
{
|
1189
|
-
template <typename AsyncReadStream, typename
|
2677
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
1190
2678
|
typename MatchCondition, typename ReadHandler>
|
1191
|
-
class
|
2679
|
+
class read_until_match_op_v2
|
2680
|
+
: public base_from_cancellation_state<ReadHandler>
|
1192
2681
|
{
|
1193
2682
|
public:
|
1194
2683
|
template <typename BufferSequence>
|
1195
|
-
|
1196
|
-
|
2684
|
+
read_until_match_op_v2(AsyncReadStream& stream,
|
2685
|
+
BufferSequence&& buffers,
|
1197
2686
|
MatchCondition match_condition, ReadHandler& handler)
|
1198
|
-
:
|
1199
|
-
|
2687
|
+
: base_from_cancellation_state<ReadHandler>(
|
2688
|
+
handler, enable_partial_cancellation()),
|
2689
|
+
stream_(stream),
|
2690
|
+
buffers_(static_cast<BufferSequence&&>(buffers)),
|
1200
2691
|
match_condition_(match_condition),
|
1201
2692
|
start_(0),
|
1202
2693
|
search_position_(0),
|
1203
|
-
|
2694
|
+
bytes_to_read_(0),
|
2695
|
+
handler_(static_cast<ReadHandler&&>(handler))
|
1204
2696
|
{
|
1205
2697
|
}
|
1206
2698
|
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
2699
|
+
read_until_match_op_v2(const read_until_match_op_v2& other)
|
2700
|
+
: base_from_cancellation_state<ReadHandler>(other),
|
2701
|
+
stream_(other.stream_),
|
1210
2702
|
buffers_(other.buffers_),
|
1211
2703
|
match_condition_(other.match_condition_),
|
1212
2704
|
start_(other.start_),
|
1213
2705
|
search_position_(other.search_position_),
|
2706
|
+
bytes_to_read_(other.bytes_to_read_),
|
1214
2707
|
handler_(other.handler_)
|
1215
2708
|
{
|
1216
2709
|
}
|
1217
2710
|
|
1218
|
-
|
1219
|
-
:
|
1220
|
-
|
2711
|
+
read_until_match_op_v2(read_until_match_op_v2&& other)
|
2712
|
+
: base_from_cancellation_state<ReadHandler>(
|
2713
|
+
static_cast<base_from_cancellation_state<ReadHandler>&&>(other)),
|
2714
|
+
stream_(other.stream_),
|
2715
|
+
buffers_(static_cast<DynamicBuffer_v2&&>(other.buffers_)),
|
1221
2716
|
match_condition_(other.match_condition_),
|
1222
2717
|
start_(other.start_),
|
1223
2718
|
search_position_(other.search_position_),
|
1224
|
-
|
2719
|
+
bytes_to_read_(other.bytes_to_read_),
|
2720
|
+
handler_(static_cast<ReadHandler&&>(other.handler_))
|
1225
2721
|
{
|
1226
2722
|
}
|
1227
|
-
#endif // defined(BOOST_ASIO_HAS_MOVE)
|
1228
2723
|
|
1229
|
-
void operator()(
|
2724
|
+
void operator()(boost::system::error_code ec,
|
1230
2725
|
std::size_t bytes_transferred, int start = 0)
|
1231
2726
|
{
|
1232
2727
|
const std::size_t not_found = (std::numeric_limits<std::size_t>::max)();
|
1233
|
-
std::size_t
|
2728
|
+
std::size_t pos;
|
1234
2729
|
switch (start_ = start)
|
1235
2730
|
{
|
1236
2731
|
case 1:
|
@@ -1238,10 +2733,12 @@ namespace detail
|
|
1238
2733
|
{
|
1239
2734
|
{
|
1240
2735
|
// Determine the range of the data to be searched.
|
1241
|
-
typedef typename
|
2736
|
+
typedef typename DynamicBuffer_v2::const_buffers_type
|
1242
2737
|
buffers_type;
|
1243
2738
|
typedef buffers_iterator<buffers_type> iterator;
|
1244
|
-
buffers_type data_buffers =
|
2739
|
+
buffers_type data_buffers =
|
2740
|
+
const_cast<const DynamicBuffer_v2&>(buffers_).data(
|
2741
|
+
0, buffers_.size());
|
1245
2742
|
iterator begin = iterator::begin(data_buffers);
|
1246
2743
|
iterator start_pos = begin + search_position_;
|
1247
2744
|
iterator end = iterator::end(data_buffers);
|
@@ -1252,14 +2749,14 @@ namespace detail
|
|
1252
2749
|
{
|
1253
2750
|
// Full match. We're done.
|
1254
2751
|
search_position_ = result.first - begin;
|
1255
|
-
|
2752
|
+
bytes_to_read_ = 0;
|
1256
2753
|
}
|
1257
2754
|
|
1258
2755
|
// No match yet. Check if buffer is full.
|
1259
2756
|
else if (buffers_.size() == buffers_.max_size())
|
1260
2757
|
{
|
1261
2758
|
search_position_ = not_found;
|
1262
|
-
|
2759
|
+
bytes_to_read_ = 0;
|
1263
2760
|
}
|
1264
2761
|
|
1265
2762
|
// Need to read some more data.
|
@@ -1277,7 +2774,7 @@ namespace detail
|
|
1277
2774
|
search_position_ = end - begin;
|
1278
2775
|
}
|
1279
2776
|
|
1280
|
-
|
2777
|
+
bytes_to_read_ = std::min<std::size_t>(
|
1281
2778
|
std::max<std::size_t>(512,
|
1282
2779
|
buffers_.capacity() - buffers_.size()),
|
1283
2780
|
std::min<std::size_t>(65536,
|
@@ -1286,16 +2783,27 @@ namespace detail
|
|
1286
2783
|
}
|
1287
2784
|
|
1288
2785
|
// Check if we're done.
|
1289
|
-
if (!start &&
|
2786
|
+
if (!start && bytes_to_read_ == 0)
|
1290
2787
|
break;
|
1291
2788
|
|
1292
2789
|
// Start a new asynchronous read operation to obtain more data.
|
1293
|
-
|
1294
|
-
|
2790
|
+
pos = buffers_.size();
|
2791
|
+
buffers_.grow(bytes_to_read_);
|
2792
|
+
{
|
2793
|
+
BOOST_ASIO_HANDLER_LOCATION((
|
2794
|
+
__FILE__, __LINE__, "async_read_until"));
|
2795
|
+
stream_.async_read_some(buffers_.data(pos, bytes_to_read_),
|
2796
|
+
static_cast<read_until_match_op_v2&&>(*this));
|
2797
|
+
}
|
1295
2798
|
return; default:
|
1296
|
-
buffers_.
|
2799
|
+
buffers_.shrink(bytes_to_read_ - bytes_transferred);
|
1297
2800
|
if (ec || bytes_transferred == 0)
|
1298
2801
|
break;
|
2802
|
+
if (this->cancelled() != cancellation_type::none)
|
2803
|
+
{
|
2804
|
+
ec = error::operation_aborted;
|
2805
|
+
break;
|
2806
|
+
}
|
1299
2807
|
}
|
1300
2808
|
|
1301
2809
|
const boost::system::error_code result_ec =
|
@@ -1306,43 +2814,24 @@ namespace detail
|
|
1306
2814
|
(ec || search_position_ == not_found)
|
1307
2815
|
? 0 : search_position_;
|
1308
2816
|
|
1309
|
-
handler_(result_ec, result_n);
|
2817
|
+
static_cast<ReadHandler&&>(handler_)(result_ec, result_n);
|
1310
2818
|
}
|
1311
2819
|
}
|
1312
2820
|
|
1313
2821
|
//private:
|
1314
2822
|
AsyncReadStream& stream_;
|
1315
|
-
|
2823
|
+
DynamicBuffer_v2 buffers_;
|
1316
2824
|
MatchCondition match_condition_;
|
1317
2825
|
int start_;
|
1318
2826
|
std::size_t search_position_;
|
2827
|
+
std::size_t bytes_to_read_;
|
1319
2828
|
ReadHandler handler_;
|
1320
2829
|
};
|
1321
2830
|
|
1322
|
-
template <typename AsyncReadStream, typename
|
1323
|
-
typename MatchCondition, typename ReadHandler>
|
1324
|
-
inline void* asio_handler_allocate(std::size_t size,
|
1325
|
-
read_until_match_op<AsyncReadStream, DynamicBuffer,
|
1326
|
-
MatchCondition, ReadHandler>* this_handler)
|
1327
|
-
{
|
1328
|
-
return boost_asio_handler_alloc_helpers::allocate(
|
1329
|
-
size, this_handler->handler_);
|
1330
|
-
}
|
1331
|
-
|
1332
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
1333
|
-
typename MatchCondition, typename ReadHandler>
|
1334
|
-
inline void asio_handler_deallocate(void* pointer, std::size_t size,
|
1335
|
-
read_until_match_op<AsyncReadStream, DynamicBuffer,
|
1336
|
-
MatchCondition, ReadHandler>* this_handler)
|
1337
|
-
{
|
1338
|
-
boost_asio_handler_alloc_helpers::deallocate(
|
1339
|
-
pointer, size, this_handler->handler_);
|
1340
|
-
}
|
1341
|
-
|
1342
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
2831
|
+
template <typename AsyncReadStream, typename DynamicBuffer_v2,
|
1343
2832
|
typename MatchCondition, typename ReadHandler>
|
1344
2833
|
inline bool asio_handler_is_continuation(
|
1345
|
-
|
2834
|
+
read_until_match_op_v2<AsyncReadStream, DynamicBuffer_v2,
|
1346
2835
|
MatchCondition, ReadHandler>* this_handler)
|
1347
2836
|
{
|
1348
2837
|
return this_handler->start_ == 0 ? true
|
@@ -1350,150 +2839,100 @@ namespace detail
|
|
1350
2839
|
this_handler->handler_);
|
1351
2840
|
}
|
1352
2841
|
|
1353
|
-
template <typename
|
1354
|
-
|
1355
|
-
typename ReadHandler>
|
1356
|
-
inline void asio_handler_invoke(Function& function,
|
1357
|
-
read_until_match_op<AsyncReadStream, DynamicBuffer,
|
1358
|
-
MatchCondition, ReadHandler>* this_handler)
|
2842
|
+
template <typename AsyncReadStream>
|
2843
|
+
class initiate_async_read_until_match_v2
|
1359
2844
|
{
|
1360
|
-
|
1361
|
-
|
1362
|
-
}
|
2845
|
+
public:
|
2846
|
+
typedef typename AsyncReadStream::executor_type executor_type;
|
1363
2847
|
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
2848
|
+
explicit initiate_async_read_until_match_v2(AsyncReadStream& stream)
|
2849
|
+
: stream_(stream)
|
2850
|
+
{
|
2851
|
+
}
|
2852
|
+
|
2853
|
+
executor_type get_executor() const noexcept
|
2854
|
+
{
|
2855
|
+
return stream_.get_executor();
|
2856
|
+
}
|
2857
|
+
|
2858
|
+
template <typename ReadHandler,
|
2859
|
+
typename DynamicBuffer_v2, typename MatchCondition>
|
2860
|
+
void operator()(ReadHandler&& handler,
|
2861
|
+
DynamicBuffer_v2&& buffers,
|
2862
|
+
MatchCondition match_condition) const
|
2863
|
+
{
|
2864
|
+
// If you get an error on the following line it means that your handler
|
2865
|
+
// does not meet the documented type requirements for a ReadHandler.
|
2866
|
+
BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
|
2867
|
+
|
2868
|
+
non_const_lvalue<ReadHandler> handler2(handler);
|
2869
|
+
read_until_match_op_v2<AsyncReadStream, decay_t<DynamicBuffer_v2>,
|
2870
|
+
MatchCondition, decay_t<ReadHandler>>(
|
2871
|
+
stream_, static_cast<DynamicBuffer_v2&&>(buffers),
|
2872
|
+
match_condition, handler2.value)(boost::system::error_code(), 0, 1);
|
2873
|
+
}
|
2874
|
+
|
2875
|
+
private:
|
2876
|
+
AsyncReadStream& stream_;
|
2877
|
+
};
|
1374
2878
|
} // namespace detail
|
1375
2879
|
|
1376
2880
|
#if !defined(GENERATING_DOCUMENTATION)
|
1377
2881
|
|
1378
|
-
template <typename
|
1379
|
-
typename
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
2882
|
+
template <template <typename, typename> class Associator,
|
2883
|
+
typename AsyncReadStream, typename DynamicBuffer_v2,
|
2884
|
+
typename MatchCondition, typename ReadHandler, typename DefaultCandidate>
|
2885
|
+
struct associator<Associator,
|
2886
|
+
detail::read_until_match_op_v2<AsyncReadStream,
|
2887
|
+
DynamicBuffer_v2, MatchCondition, ReadHandler>,
|
2888
|
+
DefaultCandidate>
|
2889
|
+
: Associator<ReadHandler, DefaultCandidate>
|
1384
2890
|
{
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
const detail::read_until_match_op<AsyncReadStream,
|
1389
|
-
DynamicBuffer, MatchCondition, ReadHandler>& h,
|
1390
|
-
const Allocator& a = Allocator()) BOOST_ASIO_NOEXCEPT
|
2891
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type get(
|
2892
|
+
const detail::read_until_match_op_v2<AsyncReadStream,
|
2893
|
+
DynamicBuffer_v2, MatchCondition, ReadHandler>& h) noexcept
|
1391
2894
|
{
|
1392
|
-
return
|
2895
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
1393
2896
|
}
|
1394
|
-
};
|
1395
|
-
|
1396
|
-
template <typename AsyncReadStream, typename DynamicBuffer,
|
1397
|
-
typename MatchCondition, typename ReadHandler, typename Executor>
|
1398
|
-
struct associated_executor<
|
1399
|
-
detail::read_until_match_op<AsyncReadStream,
|
1400
|
-
DynamicBuffer, MatchCondition, ReadHandler>,
|
1401
|
-
Executor>
|
1402
|
-
{
|
1403
|
-
typedef typename associated_executor<ReadHandler, Executor>::type type;
|
1404
2897
|
|
1405
|
-
static
|
1406
|
-
const detail::
|
1407
|
-
|
1408
|
-
const
|
2898
|
+
static auto get(
|
2899
|
+
const detail::read_until_match_op_v2<AsyncReadStream,
|
2900
|
+
DynamicBuffer_v2, MatchCondition, ReadHandler>& h,
|
2901
|
+
const DefaultCandidate& c) noexcept
|
2902
|
+
-> decltype(Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c))
|
1409
2903
|
{
|
1410
|
-
return
|
2904
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1411
2905
|
}
|
1412
2906
|
};
|
1413
2907
|
|
1414
2908
|
#endif // !defined(GENERATING_DOCUMENTATION)
|
1415
2909
|
|
1416
|
-
template <typename AsyncReadStream,
|
1417
|
-
typename
|
1418
|
-
|
1419
|
-
|
1420
|
-
async_read_until(AsyncReadStream& s,
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
MatchCondition, BOOST_ASIO_HANDLER_TYPE(ReadHandler,
|
1435
|
-
void (boost::system::error_code, std::size_t))>(
|
1436
|
-
s, BOOST_ASIO_MOVE_CAST(DynamicBuffer)(buffers),
|
1437
|
-
match_condition, init.completion_handler)(
|
1438
|
-
boost::system::error_code(), 0, 1);
|
1439
|
-
|
1440
|
-
return init.result.get();
|
1441
|
-
}
|
1442
|
-
|
1443
|
-
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
1444
|
-
|
1445
|
-
template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
|
1446
|
-
inline BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
1447
|
-
void (boost::system::error_code, std::size_t))
|
1448
|
-
async_read_until(AsyncReadStream& s,
|
1449
|
-
boost::asio::basic_streambuf<Allocator>& b,
|
1450
|
-
char delim, BOOST_ASIO_MOVE_ARG(ReadHandler) handler)
|
1451
|
-
{
|
1452
|
-
return async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
1453
|
-
delim, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
|
1454
|
-
}
|
1455
|
-
|
1456
|
-
template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
|
1457
|
-
inline BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
1458
|
-
void (boost::system::error_code, std::size_t))
|
1459
|
-
async_read_until(AsyncReadStream& s,
|
1460
|
-
boost::asio::basic_streambuf<Allocator>& b,
|
1461
|
-
BOOST_ASIO_STRING_VIEW_PARAM delim,
|
1462
|
-
BOOST_ASIO_MOVE_ARG(ReadHandler) handler)
|
1463
|
-
{
|
1464
|
-
return async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
1465
|
-
delim, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
|
1466
|
-
}
|
1467
|
-
|
1468
|
-
#if defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1469
|
-
|
1470
|
-
template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
|
1471
|
-
inline BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
1472
|
-
void (boost::system::error_code, std::size_t))
|
1473
|
-
async_read_until(AsyncReadStream& s,
|
1474
|
-
boost::asio::basic_streambuf<Allocator>& b, const boost::regex& expr,
|
1475
|
-
BOOST_ASIO_MOVE_ARG(ReadHandler) handler)
|
1476
|
-
{
|
1477
|
-
return async_read_until(s, basic_streambuf_ref<Allocator>(b),
|
1478
|
-
expr, BOOST_ASIO_MOVE_CAST(ReadHandler)(handler));
|
1479
|
-
}
|
1480
|
-
|
1481
|
-
#endif // defined(BOOST_ASIO_HAS_BOOST_REGEX)
|
1482
|
-
|
1483
|
-
template <typename AsyncReadStream, typename Allocator,
|
1484
|
-
typename MatchCondition, typename ReadHandler>
|
1485
|
-
inline BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
1486
|
-
void (boost::system::error_code, std::size_t))
|
1487
|
-
async_read_until(AsyncReadStream& s,
|
1488
|
-
boost::asio::basic_streambuf<Allocator>& b,
|
1489
|
-
MatchCondition match_condition, BOOST_ASIO_MOVE_ARG(ReadHandler) handler,
|
1490
|
-
typename enable_if<is_match_condition<MatchCondition>::value>::type*)
|
2910
|
+
template <typename AsyncReadStream,
|
2911
|
+
typename DynamicBuffer_v2, typename MatchCondition,
|
2912
|
+
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
2913
|
+
std::size_t)) ReadToken>
|
2914
|
+
inline auto async_read_until(AsyncReadStream& s, DynamicBuffer_v2 buffers,
|
2915
|
+
MatchCondition match_condition, ReadToken&& token,
|
2916
|
+
constraint_t<
|
2917
|
+
is_match_condition<MatchCondition>::value
|
2918
|
+
>,
|
2919
|
+
constraint_t<
|
2920
|
+
is_dynamic_buffer_v2<DynamicBuffer_v2>::value
|
2921
|
+
>)
|
2922
|
+
-> decltype(
|
2923
|
+
async_initiate<ReadToken,
|
2924
|
+
void (boost::system::error_code, std::size_t)>(
|
2925
|
+
declval<detail::initiate_async_read_until_match_v2<AsyncReadStream>>(),
|
2926
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers),
|
2927
|
+
match_condition))
|
1491
2928
|
{
|
1492
|
-
return
|
1493
|
-
|
2929
|
+
return async_initiate<ReadToken,
|
2930
|
+
void (boost::system::error_code, std::size_t)>(
|
2931
|
+
detail::initiate_async_read_until_match_v2<AsyncReadStream>(s),
|
2932
|
+
token, static_cast<DynamicBuffer_v2&&>(buffers),
|
2933
|
+
match_condition);
|
1494
2934
|
}
|
1495
2935
|
|
1496
|
-
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
1497
2936
|
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
1498
2937
|
|
1499
2938
|
} // namespace asio
|