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