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
|
// detail/impl/socket_ops.ipp
|
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)
|
@@ -74,32 +74,39 @@ inline void clear_last_error()
|
|
74
74
|
|
75
75
|
#if !defined(BOOST_ASIO_WINDOWS_RUNTIME)
|
76
76
|
|
77
|
-
|
78
|
-
|
79
|
-
boost::system::error_code& ec)
|
77
|
+
inline void get_last_error(
|
78
|
+
boost::system::error_code& ec, bool is_error_condition)
|
80
79
|
{
|
80
|
+
if (!is_error_condition)
|
81
|
+
{
|
82
|
+
boost::asio::error::clear(ec);
|
83
|
+
}
|
84
|
+
else
|
85
|
+
{
|
81
86
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
82
|
-
|
83
|
-
|
87
|
+
ec = boost::system::error_code(WSAGetLastError(),
|
88
|
+
boost::asio::error::get_system_category());
|
84
89
|
#else
|
85
|
-
|
86
|
-
|
90
|
+
ec = boost::system::error_code(errno,
|
91
|
+
boost::asio::error::get_system_category());
|
87
92
|
#endif
|
88
|
-
|
93
|
+
}
|
89
94
|
}
|
90
95
|
|
91
96
|
template <typename SockLenType>
|
92
97
|
inline socket_type call_accept(SockLenType msghdr::*,
|
93
|
-
socket_type s,
|
98
|
+
socket_type s, void* addr, std::size_t* addrlen)
|
94
99
|
{
|
95
100
|
SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0;
|
96
|
-
socket_type result = ::accept(s,
|
101
|
+
socket_type result = ::accept(s,
|
102
|
+
static_cast<socket_addr_type*>(addr),
|
103
|
+
addrlen ? &tmp_addrlen : 0);
|
97
104
|
if (addrlen)
|
98
105
|
*addrlen = (std::size_t)tmp_addrlen;
|
99
106
|
return result;
|
100
107
|
}
|
101
108
|
|
102
|
-
socket_type accept(socket_type s,
|
109
|
+
socket_type accept(socket_type s, void* addr,
|
103
110
|
std::size_t* addrlen, boost::system::error_code& ec)
|
104
111
|
{
|
105
112
|
if (s == invalid_socket)
|
@@ -108,17 +115,16 @@ socket_type accept(socket_type s, socket_addr_type* addr,
|
|
108
115
|
return invalid_socket;
|
109
116
|
}
|
110
117
|
|
111
|
-
|
112
|
-
|
113
|
-
socket_type new_s = error_wrapper(call_accept(
|
114
|
-
&msghdr::msg_namelen, s, addr, addrlen), ec);
|
118
|
+
socket_type new_s = call_accept(&msghdr::msg_namelen, s, addr, addrlen);
|
119
|
+
get_last_error(ec, new_s == invalid_socket);
|
115
120
|
if (new_s == invalid_socket)
|
116
121
|
return new_s;
|
117
122
|
|
118
123
|
#if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
|
119
124
|
int optval = 1;
|
120
|
-
int result =
|
121
|
-
|
125
|
+
int result = ::setsockopt(new_s, SOL_SOCKET,
|
126
|
+
SO_NOSIGPIPE, &optval, sizeof(optval));
|
127
|
+
get_last_error(ec, result != 0);
|
122
128
|
if (result != 0)
|
123
129
|
{
|
124
130
|
::close(new_s);
|
@@ -126,12 +132,12 @@ socket_type accept(socket_type s, socket_addr_type* addr,
|
|
126
132
|
}
|
127
133
|
#endif
|
128
134
|
|
129
|
-
|
135
|
+
boost::asio::error::clear(ec);
|
130
136
|
return new_s;
|
131
137
|
}
|
132
138
|
|
133
139
|
socket_type sync_accept(socket_type s, state_type state,
|
134
|
-
|
140
|
+
void* addr, std::size_t* addrlen, boost::system::error_code& ec)
|
135
141
|
{
|
136
142
|
// Accept a socket.
|
137
143
|
for (;;)
|
@@ -176,9 +182,8 @@ socket_type sync_accept(socket_type s, state_type state,
|
|
176
182
|
|
177
183
|
#if defined(BOOST_ASIO_HAS_IOCP)
|
178
184
|
|
179
|
-
void complete_iocp_accept(socket_type s,
|
180
|
-
void*
|
181
|
-
socket_addr_type* addr, std::size_t* addrlen,
|
185
|
+
void complete_iocp_accept(socket_type s, void* output_buffer,
|
186
|
+
DWORD address_length, void* addr, std::size_t* addrlen,
|
182
187
|
socket_type new_socket, boost::system::error_code& ec)
|
183
188
|
{
|
184
189
|
// Map non-portable errors to their portable counterparts.
|
@@ -222,7 +227,7 @@ void complete_iocp_accept(socket_type s,
|
|
222
227
|
#else // defined(BOOST_ASIO_HAS_IOCP)
|
223
228
|
|
224
229
|
bool non_blocking_accept(socket_type s,
|
225
|
-
state_type state,
|
230
|
+
state_type state, void* addr, std::size_t* addrlen,
|
226
231
|
boost::system::error_code& ec, socket_type& new_socket)
|
227
232
|
{
|
228
233
|
for (;;)
|
@@ -269,12 +274,13 @@ bool non_blocking_accept(socket_type s,
|
|
269
274
|
|
270
275
|
template <typename SockLenType>
|
271
276
|
inline int call_bind(SockLenType msghdr::*,
|
272
|
-
socket_type s, const
|
277
|
+
socket_type s, const void* addr, std::size_t addrlen)
|
273
278
|
{
|
274
|
-
return ::bind(s,
|
279
|
+
return ::bind(s, static_cast<const socket_addr_type*>(addr),
|
280
|
+
(SockLenType)addrlen);
|
275
281
|
}
|
276
282
|
|
277
|
-
int bind(socket_type s, const
|
283
|
+
int bind(socket_type s, const void* addr,
|
278
284
|
std::size_t addrlen, boost::system::error_code& ec)
|
279
285
|
{
|
280
286
|
if (s == invalid_socket)
|
@@ -283,11 +289,8 @@ int bind(socket_type s, const socket_addr_type* addr,
|
|
283
289
|
return socket_error_retval;
|
284
290
|
}
|
285
291
|
|
286
|
-
|
287
|
-
|
288
|
-
&msghdr::msg_namelen, s, addr, addrlen), ec);
|
289
|
-
if (result == 0)
|
290
|
-
ec = boost::system::error_code();
|
292
|
+
int result = call_bind(&msghdr::msg_namelen, s, addr, addrlen);
|
293
|
+
get_last_error(ec, result != 0);
|
291
294
|
return result;
|
292
295
|
}
|
293
296
|
|
@@ -310,12 +313,12 @@ int close(socket_type s, state_type& state,
|
|
310
313
|
SO_LINGER, &opt, sizeof(opt), ignored_ec);
|
311
314
|
}
|
312
315
|
|
313
|
-
clear_last_error();
|
314
316
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
315
|
-
result =
|
317
|
+
result = ::closesocket(s);
|
316
318
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
317
|
-
result =
|
319
|
+
result = ::close(s);
|
318
320
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
321
|
+
get_last_error(ec, result != 0);
|
319
322
|
|
320
323
|
if (result != 0
|
321
324
|
&& (ec == boost::asio::error::would_block
|
@@ -331,28 +334,26 @@ int close(socket_type s, state_type& state,
|
|
331
334
|
ioctl_arg_type arg = 0;
|
332
335
|
::ioctlsocket(s, FIONBIO, &arg);
|
333
336
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
334
|
-
# if defined(__SYMBIAN32__)
|
337
|
+
# if defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
335
338
|
int flags = ::fcntl(s, F_GETFL, 0);
|
336
339
|
if (flags >= 0)
|
337
340
|
::fcntl(s, F_SETFL, flags & ~O_NONBLOCK);
|
338
|
-
# else // defined(__SYMBIAN32__)
|
341
|
+
# else // defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
339
342
|
ioctl_arg_type arg = 0;
|
340
343
|
::ioctl(s, FIONBIO, &arg);
|
341
|
-
# endif // defined(__SYMBIAN32__)
|
344
|
+
# endif // defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
342
345
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
343
346
|
state &= ~non_blocking;
|
344
347
|
|
345
|
-
clear_last_error();
|
346
348
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
347
|
-
result =
|
349
|
+
result = ::closesocket(s);
|
348
350
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
349
|
-
result =
|
351
|
+
result = ::close(s);
|
350
352
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
353
|
+
get_last_error(ec, result != 0);
|
351
354
|
}
|
352
355
|
}
|
353
356
|
|
354
|
-
if (result == 0)
|
355
|
-
ec = boost::system::error_code();
|
356
357
|
return result;
|
357
358
|
}
|
358
359
|
|
@@ -365,26 +366,27 @@ bool set_user_non_blocking(socket_type s,
|
|
365
366
|
return false;
|
366
367
|
}
|
367
368
|
|
368
|
-
clear_last_error();
|
369
369
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
370
370
|
ioctl_arg_type arg = (value ? 1 : 0);
|
371
|
-
int result =
|
372
|
-
|
373
|
-
|
371
|
+
int result = ::ioctlsocket(s, FIONBIO, &arg);
|
372
|
+
get_last_error(ec, result < 0);
|
373
|
+
#elif defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
374
|
+
int result = ::fcntl(s, F_GETFL, 0);
|
375
|
+
get_last_error(ec, result < 0);
|
374
376
|
if (result >= 0)
|
375
377
|
{
|
376
|
-
clear_last_error();
|
377
378
|
int flag = (value ? (result | O_NONBLOCK) : (result & ~O_NONBLOCK));
|
378
|
-
result =
|
379
|
+
result = ::fcntl(s, F_SETFL, flag);
|
380
|
+
get_last_error(ec, result < 0);
|
379
381
|
}
|
380
382
|
#else
|
381
383
|
ioctl_arg_type arg = (value ? 1 : 0);
|
382
|
-
int result =
|
384
|
+
int result = ::ioctl(s, FIONBIO, &arg);
|
385
|
+
get_last_error(ec, result < 0);
|
383
386
|
#endif
|
384
387
|
|
385
388
|
if (result >= 0)
|
386
389
|
{
|
387
|
-
ec = boost::system::error_code();
|
388
390
|
if (value)
|
389
391
|
state |= user_set_non_blocking;
|
390
392
|
else
|
@@ -418,26 +420,27 @@ bool set_internal_non_blocking(socket_type s,
|
|
418
420
|
return false;
|
419
421
|
}
|
420
422
|
|
421
|
-
clear_last_error();
|
422
423
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
423
424
|
ioctl_arg_type arg = (value ? 1 : 0);
|
424
|
-
int result =
|
425
|
-
|
426
|
-
|
425
|
+
int result = ::ioctlsocket(s, FIONBIO, &arg);
|
426
|
+
get_last_error(ec, result < 0);
|
427
|
+
#elif defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
428
|
+
int result = ::fcntl(s, F_GETFL, 0);
|
429
|
+
get_last_error(ec, result < 0);
|
427
430
|
if (result >= 0)
|
428
431
|
{
|
429
|
-
clear_last_error();
|
430
432
|
int flag = (value ? (result | O_NONBLOCK) : (result & ~O_NONBLOCK));
|
431
|
-
result =
|
433
|
+
result = ::fcntl(s, F_SETFL, flag);
|
434
|
+
get_last_error(ec, result < 0);
|
432
435
|
}
|
433
436
|
#else
|
434
437
|
ioctl_arg_type arg = (value ? 1 : 0);
|
435
|
-
int result =
|
438
|
+
int result = ::ioctl(s, FIONBIO, &arg);
|
439
|
+
get_last_error(ec, result < 0);
|
436
440
|
#endif
|
437
441
|
|
438
442
|
if (result >= 0)
|
439
443
|
{
|
440
|
-
ec = boost::system::error_code();
|
441
444
|
if (value)
|
442
445
|
state |= internal_non_blocking;
|
443
446
|
else
|
@@ -456,21 +459,20 @@ int shutdown(socket_type s, int what, boost::system::error_code& ec)
|
|
456
459
|
return socket_error_retval;
|
457
460
|
}
|
458
461
|
|
459
|
-
|
460
|
-
|
461
|
-
if (result == 0)
|
462
|
-
ec = boost::system::error_code();
|
462
|
+
int result = ::shutdown(s, what);
|
463
|
+
get_last_error(ec, result != 0);
|
463
464
|
return result;
|
464
465
|
}
|
465
466
|
|
466
467
|
template <typename SockLenType>
|
467
468
|
inline int call_connect(SockLenType msghdr::*,
|
468
|
-
socket_type s, const
|
469
|
+
socket_type s, const void* addr, std::size_t addrlen)
|
469
470
|
{
|
470
|
-
return ::connect(s,
|
471
|
+
return ::connect(s, static_cast<const socket_addr_type*>(addr),
|
472
|
+
(SockLenType)addrlen);
|
471
473
|
}
|
472
474
|
|
473
|
-
int connect(socket_type s, const
|
475
|
+
int connect(socket_type s, const void* addr,
|
474
476
|
std::size_t addrlen, boost::system::error_code& ec)
|
475
477
|
{
|
476
478
|
if (s == invalid_socket)
|
@@ -479,19 +481,21 @@ int connect(socket_type s, const socket_addr_type* addr,
|
|
479
481
|
return socket_error_retval;
|
480
482
|
}
|
481
483
|
|
482
|
-
|
483
|
-
|
484
|
-
&msghdr::msg_namelen, s, addr, addrlen), ec);
|
485
|
-
if (result == 0)
|
486
|
-
ec = boost::system::error_code();
|
484
|
+
int result = call_connect(&msghdr::msg_namelen, s, addr, addrlen);
|
485
|
+
get_last_error(ec, result != 0);
|
487
486
|
#if defined(__linux__)
|
488
|
-
|
489
|
-
|
487
|
+
if (result != 0 && ec == boost::asio::error::try_again)
|
488
|
+
{
|
489
|
+
if (static_cast<const socket_addr_type*>(addr)->sa_family == AF_UNIX)
|
490
|
+
ec = boost::asio::error::in_progress;
|
491
|
+
else
|
492
|
+
ec = boost::asio::error::no_buffer_space;
|
493
|
+
}
|
490
494
|
#endif // defined(__linux__)
|
491
495
|
return result;
|
492
496
|
}
|
493
497
|
|
494
|
-
void sync_connect(socket_type s, const
|
498
|
+
void sync_connect(socket_type s, const void* addr,
|
495
499
|
std::size_t addrlen, boost::system::error_code& ec)
|
496
500
|
{
|
497
501
|
// Perform the connect operation.
|
@@ -601,7 +605,7 @@ bool non_blocking_connect(socket_type s, boost::system::error_code& ec)
|
|
601
605
|
boost::asio::error::get_system_category());
|
602
606
|
}
|
603
607
|
else
|
604
|
-
|
608
|
+
boost::asio::error::clear(ec);
|
605
609
|
}
|
606
610
|
|
607
611
|
return true;
|
@@ -618,10 +622,8 @@ int socketpair(int af, int type, int protocol,
|
|
618
622
|
ec = boost::asio::error::operation_not_supported;
|
619
623
|
return socket_error_retval;
|
620
624
|
#else
|
621
|
-
|
622
|
-
|
623
|
-
if (result == 0)
|
624
|
-
ec = boost::system::error_code();
|
625
|
+
int result = ::socketpair(af, type, protocol, sv);
|
626
|
+
get_last_error(ec, result != 0);
|
625
627
|
return result;
|
626
628
|
#endif
|
627
629
|
}
|
@@ -637,20 +639,18 @@ bool sockatmark(socket_type s, boost::system::error_code& ec)
|
|
637
639
|
#if defined(SIOCATMARK)
|
638
640
|
ioctl_arg_type value = 0;
|
639
641
|
# if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
640
|
-
int result =
|
642
|
+
int result = ::ioctlsocket(s, SIOCATMARK, &value);
|
641
643
|
# else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
642
|
-
int result =
|
644
|
+
int result = ::ioctl(s, SIOCATMARK, &value);
|
643
645
|
# endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
644
|
-
|
645
|
-
ec = boost::system::error_code();
|
646
|
+
get_last_error(ec, result < 0);
|
646
647
|
# if defined(ENOTTY)
|
647
648
|
if (ec.value() == ENOTTY)
|
648
649
|
ec = boost::asio::error::not_socket;
|
649
650
|
# endif // defined(ENOTTY)
|
650
651
|
#else // defined(SIOCATMARK)
|
651
|
-
int value =
|
652
|
-
|
653
|
-
ec = boost::system::error_code();
|
652
|
+
int value = ::sockatmark(s);
|
653
|
+
get_last_error(ec, value < 0);
|
654
654
|
#endif // defined(SIOCATMARK)
|
655
655
|
|
656
656
|
return ec ? false : value != 0;
|
@@ -666,12 +666,11 @@ size_t available(socket_type s, boost::system::error_code& ec)
|
|
666
666
|
|
667
667
|
ioctl_arg_type value = 0;
|
668
668
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
669
|
-
int result =
|
669
|
+
int result = ::ioctlsocket(s, FIONREAD, &value);
|
670
670
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
671
|
-
int result =
|
671
|
+
int result = ::ioctl(s, FIONREAD, &value);
|
672
672
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
673
|
-
|
674
|
-
ec = boost::system::error_code();
|
673
|
+
get_last_error(ec, result < 0);
|
675
674
|
#if defined(ENOTTY)
|
676
675
|
if (ec.value() == ENOTTY)
|
677
676
|
ec = boost::asio::error::not_socket;
|
@@ -688,10 +687,8 @@ int listen(socket_type s, int backlog, boost::system::error_code& ec)
|
|
688
687
|
return socket_error_retval;
|
689
688
|
}
|
690
689
|
|
691
|
-
|
692
|
-
|
693
|
-
if (result == 0)
|
694
|
-
ec = boost::system::error_code();
|
690
|
+
int result = ::listen(s, backlog);
|
691
|
+
get_last_error(ec, result != 0);
|
695
692
|
return result;
|
696
693
|
}
|
697
694
|
|
@@ -734,9 +731,9 @@ void init_buf(buf& b, const void* data, size_t size)
|
|
734
731
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
735
732
|
}
|
736
733
|
|
737
|
-
inline void init_msghdr_msg_name(void*& name,
|
734
|
+
inline void init_msghdr_msg_name(void*& name, void* addr)
|
738
735
|
{
|
739
|
-
name = addr;
|
736
|
+
name = static_cast<socket_addr_type*>(addr);
|
740
737
|
}
|
741
738
|
|
742
739
|
inline void init_msghdr_msg_name(void*& name, const socket_addr_type* addr)
|
@@ -745,45 +742,74 @@ inline void init_msghdr_msg_name(void*& name, const socket_addr_type* addr)
|
|
745
742
|
}
|
746
743
|
|
747
744
|
template <typename T>
|
748
|
-
inline void init_msghdr_msg_name(T& name,
|
745
|
+
inline void init_msghdr_msg_name(T& name, void* addr)
|
749
746
|
{
|
750
|
-
name =
|
747
|
+
name = static_cast<T>(addr);
|
751
748
|
}
|
752
749
|
|
753
750
|
template <typename T>
|
754
|
-
inline void init_msghdr_msg_name(T& name, const
|
751
|
+
inline void init_msghdr_msg_name(T& name, const void* addr)
|
755
752
|
{
|
756
|
-
name =
|
753
|
+
name = static_cast<T>(const_cast<void*>(addr));
|
757
754
|
}
|
758
755
|
|
759
756
|
signed_size_type recv(socket_type s, buf* bufs, size_t count,
|
760
757
|
int flags, boost::system::error_code& ec)
|
761
758
|
{
|
762
|
-
clear_last_error();
|
763
759
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
764
760
|
// Receive some data.
|
765
761
|
DWORD recv_buf_count = static_cast<DWORD>(count);
|
766
762
|
DWORD bytes_transferred = 0;
|
767
763
|
DWORD recv_flags = flags;
|
768
|
-
int result =
|
769
|
-
|
764
|
+
int result = ::WSARecv(s, bufs, recv_buf_count,
|
765
|
+
&bytes_transferred, &recv_flags, 0, 0);
|
766
|
+
get_last_error(ec, true);
|
770
767
|
if (ec.value() == ERROR_NETNAME_DELETED)
|
771
768
|
ec = boost::asio::error::connection_reset;
|
772
769
|
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
773
770
|
ec = boost::asio::error::connection_refused;
|
774
771
|
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
775
|
-
|
772
|
+
result = 0;
|
776
773
|
if (result != 0)
|
777
774
|
return socket_error_retval;
|
778
|
-
|
775
|
+
boost::asio::error::clear(ec);
|
779
776
|
return bytes_transferred;
|
780
777
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
781
778
|
msghdr msg = msghdr();
|
782
779
|
msg.msg_iov = bufs;
|
783
780
|
msg.msg_iovlen = static_cast<int>(count);
|
784
|
-
signed_size_type result =
|
785
|
-
|
786
|
-
|
781
|
+
signed_size_type result = ::recvmsg(s, &msg, flags);
|
782
|
+
get_last_error(ec, result < 0);
|
783
|
+
return result;
|
784
|
+
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
785
|
+
}
|
786
|
+
|
787
|
+
signed_size_type recv1(socket_type s, void* data, size_t size,
|
788
|
+
int flags, boost::system::error_code& ec)
|
789
|
+
{
|
790
|
+
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
791
|
+
// Receive some data.
|
792
|
+
WSABUF buf;
|
793
|
+
buf.buf = const_cast<char*>(static_cast<const char*>(data));
|
794
|
+
buf.len = static_cast<ULONG>(size);
|
795
|
+
DWORD bytes_transferred = 0;
|
796
|
+
DWORD recv_flags = flags;
|
797
|
+
int result = ::WSARecv(s, &buf, 1,
|
798
|
+
&bytes_transferred, &recv_flags, 0, 0);
|
799
|
+
get_last_error(ec, true);
|
800
|
+
if (ec.value() == ERROR_NETNAME_DELETED)
|
801
|
+
ec = boost::asio::error::connection_reset;
|
802
|
+
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
803
|
+
ec = boost::asio::error::connection_refused;
|
804
|
+
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
805
|
+
result = 0;
|
806
|
+
if (result != 0)
|
807
|
+
return socket_error_retval;
|
808
|
+
boost::asio::error::clear(ec);
|
809
|
+
return bytes_transferred;
|
810
|
+
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
811
|
+
signed_size_type result = ::recv(s, static_cast<char*>(data), size, flags);
|
812
|
+
get_last_error(ec, result < 0);
|
787
813
|
return result;
|
788
814
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
789
815
|
}
|
@@ -800,7 +826,7 @@ size_t sync_recv(socket_type s, state_type state, buf* bufs,
|
|
800
826
|
// A request to read 0 bytes on a stream is a no-op.
|
801
827
|
if (all_empty && (state & stream_oriented))
|
802
828
|
{
|
803
|
-
|
829
|
+
boost::asio::error::clear(ec);
|
804
830
|
return 0;
|
805
831
|
}
|
806
832
|
|
@@ -810,10 +836,51 @@ size_t sync_recv(socket_type s, state_type state, buf* bufs,
|
|
810
836
|
// Try to complete the operation without blocking.
|
811
837
|
signed_size_type bytes = socket_ops::recv(s, bufs, count, flags, ec);
|
812
838
|
|
839
|
+
// Check for EOF.
|
840
|
+
if ((state & stream_oriented) && bytes == 0)
|
841
|
+
{
|
842
|
+
ec = boost::asio::error::eof;
|
843
|
+
return 0;
|
844
|
+
}
|
845
|
+
|
813
846
|
// Check if operation succeeded.
|
814
|
-
if (bytes
|
847
|
+
if (bytes >= 0)
|
815
848
|
return bytes;
|
816
849
|
|
850
|
+
// Operation failed.
|
851
|
+
if ((state & user_set_non_blocking)
|
852
|
+
|| (ec != boost::asio::error::would_block
|
853
|
+
&& ec != boost::asio::error::try_again))
|
854
|
+
return 0;
|
855
|
+
|
856
|
+
// Wait for socket to become ready.
|
857
|
+
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
858
|
+
return 0;
|
859
|
+
}
|
860
|
+
}
|
861
|
+
|
862
|
+
size_t sync_recv1(socket_type s, state_type state, void* data,
|
863
|
+
size_t size, int flags, boost::system::error_code& ec)
|
864
|
+
{
|
865
|
+
if (s == invalid_socket)
|
866
|
+
{
|
867
|
+
ec = boost::asio::error::bad_descriptor;
|
868
|
+
return 0;
|
869
|
+
}
|
870
|
+
|
871
|
+
// A request to read 0 bytes on a stream is a no-op.
|
872
|
+
if (size == 0 && (state & stream_oriented))
|
873
|
+
{
|
874
|
+
boost::asio::error::clear(ec);
|
875
|
+
return 0;
|
876
|
+
}
|
877
|
+
|
878
|
+
// Read some data.
|
879
|
+
for (;;)
|
880
|
+
{
|
881
|
+
// Try to complete the operation without blocking.
|
882
|
+
signed_size_type bytes = socket_ops::recv1(s, data, size, flags, ec);
|
883
|
+
|
817
884
|
// Check for EOF.
|
818
885
|
if ((state & stream_oriented) && bytes == 0)
|
819
886
|
{
|
@@ -821,6 +888,10 @@ size_t sync_recv(socket_type s, state_type state, buf* bufs,
|
|
821
888
|
return 0;
|
822
889
|
}
|
823
890
|
|
891
|
+
// Check if operation succeeded.
|
892
|
+
if (bytes >= 0)
|
893
|
+
return bytes;
|
894
|
+
|
824
895
|
// Operation failed.
|
825
896
|
if ((state & user_set_non_blocking)
|
826
897
|
|| (ec != boost::asio::error::would_block
|
@@ -853,7 +924,7 @@ void complete_iocp_recv(state_type state,
|
|
853
924
|
}
|
854
925
|
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
855
926
|
{
|
856
|
-
|
927
|
+
boost::asio::error::clear(ec);
|
857
928
|
}
|
858
929
|
|
859
930
|
// Check for connection closed.
|
@@ -883,6 +954,13 @@ bool non_blocking_recv(socket_type s,
|
|
883
954
|
return true;
|
884
955
|
}
|
885
956
|
|
957
|
+
// Check if operation succeeded.
|
958
|
+
if (bytes >= 0)
|
959
|
+
{
|
960
|
+
bytes_transferred = bytes;
|
961
|
+
return true;
|
962
|
+
}
|
963
|
+
|
886
964
|
// Retry operation if interrupted by signal.
|
887
965
|
if (ec == boost::asio::error::interrupted)
|
888
966
|
continue;
|
@@ -892,15 +970,46 @@ bool non_blocking_recv(socket_type s,
|
|
892
970
|
|| ec == boost::asio::error::try_again)
|
893
971
|
return false;
|
894
972
|
|
895
|
-
// Operation
|
973
|
+
// Operation failed.
|
974
|
+
bytes_transferred = 0;
|
975
|
+
return true;
|
976
|
+
}
|
977
|
+
}
|
978
|
+
|
979
|
+
bool non_blocking_recv1(socket_type s,
|
980
|
+
void* data, size_t size, int flags, bool is_stream,
|
981
|
+
boost::system::error_code& ec, size_t& bytes_transferred)
|
982
|
+
{
|
983
|
+
for (;;)
|
984
|
+
{
|
985
|
+
// Read some data.
|
986
|
+
signed_size_type bytes = socket_ops::recv1(s, data, size, flags, ec);
|
987
|
+
|
988
|
+
// Check for end of stream.
|
989
|
+
if (is_stream && bytes == 0)
|
990
|
+
{
|
991
|
+
ec = boost::asio::error::eof;
|
992
|
+
return true;
|
993
|
+
}
|
994
|
+
|
995
|
+
// Check if operation succeeded.
|
896
996
|
if (bytes >= 0)
|
897
997
|
{
|
898
|
-
ec = boost::system::error_code();
|
899
998
|
bytes_transferred = bytes;
|
999
|
+
return true;
|
900
1000
|
}
|
901
|
-
else
|
902
|
-
bytes_transferred = 0;
|
903
1001
|
|
1002
|
+
// Retry operation if interrupted by signal.
|
1003
|
+
if (ec == boost::asio::error::interrupted)
|
1004
|
+
continue;
|
1005
|
+
|
1006
|
+
// Check if we need to run the operation again.
|
1007
|
+
if (ec == boost::asio::error::would_block
|
1008
|
+
|| ec == boost::asio::error::try_again)
|
1009
|
+
return false;
|
1010
|
+
|
1011
|
+
// Operation failed.
|
1012
|
+
bytes_transferred = 0;
|
904
1013
|
return true;
|
905
1014
|
}
|
906
1015
|
}
|
@@ -908,28 +1017,27 @@ bool non_blocking_recv(socket_type s,
|
|
908
1017
|
#endif // defined(BOOST_ASIO_HAS_IOCP)
|
909
1018
|
|
910
1019
|
signed_size_type recvfrom(socket_type s, buf* bufs, size_t count,
|
911
|
-
int flags,
|
912
|
-
boost::system::error_code& ec)
|
1020
|
+
int flags, void* addr, std::size_t* addrlen, boost::system::error_code& ec)
|
913
1021
|
{
|
914
|
-
clear_last_error();
|
915
1022
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
916
1023
|
// Receive some data.
|
917
1024
|
DWORD recv_buf_count = static_cast<DWORD>(count);
|
918
1025
|
DWORD bytes_transferred = 0;
|
919
1026
|
DWORD recv_flags = flags;
|
920
1027
|
int tmp_addrlen = (int)*addrlen;
|
921
|
-
int result =
|
922
|
-
|
1028
|
+
int result = ::WSARecvFrom(s, bufs, recv_buf_count, &bytes_transferred,
|
1029
|
+
&recv_flags, static_cast<socket_addr_type*>(addr), &tmp_addrlen, 0, 0);
|
1030
|
+
get_last_error(ec, true);
|
923
1031
|
*addrlen = (std::size_t)tmp_addrlen;
|
924
1032
|
if (ec.value() == ERROR_NETNAME_DELETED)
|
925
1033
|
ec = boost::asio::error::connection_reset;
|
926
1034
|
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
927
1035
|
ec = boost::asio::error::connection_refused;
|
928
1036
|
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
929
|
-
|
1037
|
+
result = 0;
|
930
1038
|
if (result != 0)
|
931
1039
|
return socket_error_retval;
|
932
|
-
|
1040
|
+
boost::asio::error::clear(ec);
|
933
1041
|
return bytes_transferred;
|
934
1042
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
935
1043
|
msghdr msg = msghdr();
|
@@ -937,17 +1045,60 @@ signed_size_type recvfrom(socket_type s, buf* bufs, size_t count,
|
|
937
1045
|
msg.msg_namelen = static_cast<int>(*addrlen);
|
938
1046
|
msg.msg_iov = bufs;
|
939
1047
|
msg.msg_iovlen = static_cast<int>(count);
|
940
|
-
signed_size_type result =
|
1048
|
+
signed_size_type result = ::recvmsg(s, &msg, flags);
|
1049
|
+
get_last_error(ec, result < 0);
|
941
1050
|
*addrlen = msg.msg_namelen;
|
942
|
-
if (result >= 0)
|
943
|
-
ec = boost::system::error_code();
|
944
1051
|
return result;
|
945
1052
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
946
1053
|
}
|
947
1054
|
|
948
|
-
|
949
|
-
|
950
|
-
|
1055
|
+
template <typename SockLenType>
|
1056
|
+
inline signed_size_type call_recvfrom(SockLenType msghdr::*, socket_type s,
|
1057
|
+
void* data, size_t size, int flags, void* addr, std::size_t* addrlen)
|
1058
|
+
{
|
1059
|
+
SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0;
|
1060
|
+
signed_size_type result = ::recvfrom(s, static_cast<char*>(data), size,
|
1061
|
+
flags, static_cast<socket_addr_type*>(addr), addrlen ? &tmp_addrlen : 0);
|
1062
|
+
if (addrlen)
|
1063
|
+
*addrlen = (std::size_t)tmp_addrlen;
|
1064
|
+
return result;
|
1065
|
+
}
|
1066
|
+
|
1067
|
+
signed_size_type recvfrom1(socket_type s, void* data, size_t size,
|
1068
|
+
int flags, void* addr, std::size_t* addrlen, boost::system::error_code& ec)
|
1069
|
+
{
|
1070
|
+
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1071
|
+
// Receive some data.
|
1072
|
+
WSABUF buf;
|
1073
|
+
buf.buf = static_cast<char*>(data);
|
1074
|
+
buf.len = static_cast<ULONG>(size);
|
1075
|
+
DWORD bytes_transferred = 0;
|
1076
|
+
DWORD recv_flags = flags;
|
1077
|
+
int tmp_addrlen = (int)*addrlen;
|
1078
|
+
int result = ::WSARecvFrom(s, &buf, 1, &bytes_transferred, &recv_flags,
|
1079
|
+
static_cast<socket_addr_type*>(addr), &tmp_addrlen, 0, 0);
|
1080
|
+
get_last_error(ec, true);
|
1081
|
+
*addrlen = (std::size_t)tmp_addrlen;
|
1082
|
+
if (ec.value() == ERROR_NETNAME_DELETED)
|
1083
|
+
ec = boost::asio::error::connection_reset;
|
1084
|
+
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1085
|
+
ec = boost::asio::error::connection_refused;
|
1086
|
+
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1087
|
+
result = 0;
|
1088
|
+
if (result != 0)
|
1089
|
+
return socket_error_retval;
|
1090
|
+
boost::asio::error::clear(ec);
|
1091
|
+
return bytes_transferred;
|
1092
|
+
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1093
|
+
signed_size_type result = call_recvfrom(&msghdr::msg_namelen,
|
1094
|
+
s, data, size, flags, addr, addrlen);
|
1095
|
+
get_last_error(ec, result < 0);
|
1096
|
+
return result;
|
1097
|
+
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
size_t sync_recvfrom(socket_type s, state_type state, buf* bufs, size_t count,
|
1101
|
+
int flags, void* addr, std::size_t* addrlen, boost::system::error_code& ec)
|
951
1102
|
{
|
952
1103
|
if (s == invalid_socket)
|
953
1104
|
{
|
@@ -978,6 +1129,38 @@ size_t sync_recvfrom(socket_type s, state_type state, buf* bufs,
|
|
978
1129
|
}
|
979
1130
|
}
|
980
1131
|
|
1132
|
+
size_t sync_recvfrom1(socket_type s, state_type state, void* data, size_t size,
|
1133
|
+
int flags, void* addr, std::size_t* addrlen, boost::system::error_code& ec)
|
1134
|
+
{
|
1135
|
+
if (s == invalid_socket)
|
1136
|
+
{
|
1137
|
+
ec = boost::asio::error::bad_descriptor;
|
1138
|
+
return 0;
|
1139
|
+
}
|
1140
|
+
|
1141
|
+
// Read some data.
|
1142
|
+
for (;;)
|
1143
|
+
{
|
1144
|
+
// Try to complete the operation without blocking.
|
1145
|
+
signed_size_type bytes = socket_ops::recvfrom1(
|
1146
|
+
s, data, size, flags, addr, addrlen, ec);
|
1147
|
+
|
1148
|
+
// Check if operation succeeded.
|
1149
|
+
if (bytes >= 0)
|
1150
|
+
return bytes;
|
1151
|
+
|
1152
|
+
// Operation failed.
|
1153
|
+
if ((state & user_set_non_blocking)
|
1154
|
+
|| (ec != boost::asio::error::would_block
|
1155
|
+
&& ec != boost::asio::error::try_again))
|
1156
|
+
return 0;
|
1157
|
+
|
1158
|
+
// Wait for socket to become ready.
|
1159
|
+
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
1160
|
+
return 0;
|
1161
|
+
}
|
1162
|
+
}
|
1163
|
+
|
981
1164
|
#if defined(BOOST_ASIO_HAS_IOCP)
|
982
1165
|
|
983
1166
|
void complete_iocp_recvfrom(
|
@@ -998,15 +1181,14 @@ void complete_iocp_recvfrom(
|
|
998
1181
|
}
|
999
1182
|
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1000
1183
|
{
|
1001
|
-
|
1184
|
+
boost::asio::error::clear(ec);
|
1002
1185
|
}
|
1003
1186
|
}
|
1004
1187
|
|
1005
1188
|
#else // defined(BOOST_ASIO_HAS_IOCP)
|
1006
1189
|
|
1007
|
-
bool non_blocking_recvfrom(socket_type s,
|
1008
|
-
|
1009
|
-
socket_addr_type* addr, std::size_t* addrlen,
|
1190
|
+
bool non_blocking_recvfrom(socket_type s, buf* bufs,
|
1191
|
+
size_t count, int flags, void* addr, std::size_t* addrlen,
|
1010
1192
|
boost::system::error_code& ec, size_t& bytes_transferred)
|
1011
1193
|
{
|
1012
1194
|
for (;;)
|
@@ -1015,6 +1197,13 @@ bool non_blocking_recvfrom(socket_type s,
|
|
1015
1197
|
signed_size_type bytes = socket_ops::recvfrom(
|
1016
1198
|
s, bufs, count, flags, addr, addrlen, ec);
|
1017
1199
|
|
1200
|
+
// Check if operation succeeded.
|
1201
|
+
if (bytes >= 0)
|
1202
|
+
{
|
1203
|
+
bytes_transferred = bytes;
|
1204
|
+
return true;
|
1205
|
+
}
|
1206
|
+
|
1018
1207
|
// Retry operation if interrupted by signal.
|
1019
1208
|
if (ec == boost::asio::error::interrupted)
|
1020
1209
|
continue;
|
@@ -1024,15 +1213,40 @@ bool non_blocking_recvfrom(socket_type s,
|
|
1024
1213
|
|| ec == boost::asio::error::try_again)
|
1025
1214
|
return false;
|
1026
1215
|
|
1027
|
-
// Operation
|
1216
|
+
// Operation failed.
|
1217
|
+
bytes_transferred = 0;
|
1218
|
+
return true;
|
1219
|
+
}
|
1220
|
+
}
|
1221
|
+
|
1222
|
+
bool non_blocking_recvfrom1(socket_type s, void* data,
|
1223
|
+
size_t size, int flags, void* addr, std::size_t* addrlen,
|
1224
|
+
boost::system::error_code& ec, size_t& bytes_transferred)
|
1225
|
+
{
|
1226
|
+
for (;;)
|
1227
|
+
{
|
1228
|
+
// Read some data.
|
1229
|
+
signed_size_type bytes = socket_ops::recvfrom1(
|
1230
|
+
s, data, size, flags, addr, addrlen, ec);
|
1231
|
+
|
1232
|
+
// Check if operation succeeded.
|
1028
1233
|
if (bytes >= 0)
|
1029
1234
|
{
|
1030
|
-
ec = boost::system::error_code();
|
1031
1235
|
bytes_transferred = bytes;
|
1236
|
+
return true;
|
1032
1237
|
}
|
1033
|
-
else
|
1034
|
-
bytes_transferred = 0;
|
1035
1238
|
|
1239
|
+
// Retry operation if interrupted by signal.
|
1240
|
+
if (ec == boost::asio::error::interrupted)
|
1241
|
+
continue;
|
1242
|
+
|
1243
|
+
// Check if we need to run the operation again.
|
1244
|
+
if (ec == boost::asio::error::would_block
|
1245
|
+
|| ec == boost::asio::error::try_again)
|
1246
|
+
return false;
|
1247
|
+
|
1248
|
+
// Operation failed.
|
1249
|
+
bytes_transferred = 0;
|
1036
1250
|
return true;
|
1037
1251
|
}
|
1038
1252
|
}
|
@@ -1042,7 +1256,6 @@ bool non_blocking_recvfrom(socket_type s,
|
|
1042
1256
|
signed_size_type recvmsg(socket_type s, buf* bufs, size_t count,
|
1043
1257
|
int in_flags, int& out_flags, boost::system::error_code& ec)
|
1044
1258
|
{
|
1045
|
-
clear_last_error();
|
1046
1259
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1047
1260
|
out_flags = 0;
|
1048
1261
|
return socket_ops::recv(s, bufs, count, in_flags, ec);
|
@@ -1050,12 +1263,10 @@ signed_size_type recvmsg(socket_type s, buf* bufs, size_t count,
|
|
1050
1263
|
msghdr msg = msghdr();
|
1051
1264
|
msg.msg_iov = bufs;
|
1052
1265
|
msg.msg_iovlen = static_cast<int>(count);
|
1053
|
-
signed_size_type result =
|
1266
|
+
signed_size_type result = ::recvmsg(s, &msg, in_flags);
|
1267
|
+
get_last_error(ec, result < 0);
|
1054
1268
|
if (result >= 0)
|
1055
|
-
{
|
1056
|
-
ec = boost::system::error_code();
|
1057
1269
|
out_flags = msg.msg_flags;
|
1058
|
-
}
|
1059
1270
|
else
|
1060
1271
|
out_flags = 0;
|
1061
1272
|
return result;
|
@@ -1115,7 +1326,7 @@ void complete_iocp_recvmsg(
|
|
1115
1326
|
}
|
1116
1327
|
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1117
1328
|
{
|
1118
|
-
|
1329
|
+
boost::asio::error::clear(ec);
|
1119
1330
|
}
|
1120
1331
|
}
|
1121
1332
|
|
@@ -1131,6 +1342,13 @@ bool non_blocking_recvmsg(socket_type s,
|
|
1131
1342
|
signed_size_type bytes = socket_ops::recvmsg(
|
1132
1343
|
s, bufs, count, in_flags, out_flags, ec);
|
1133
1344
|
|
1345
|
+
// Check if operation succeeded.
|
1346
|
+
if (bytes >= 0)
|
1347
|
+
{
|
1348
|
+
bytes_transferred = bytes;
|
1349
|
+
return true;
|
1350
|
+
}
|
1351
|
+
|
1134
1352
|
// Retry operation if interrupted by signal.
|
1135
1353
|
if (ec == boost::asio::error::interrupted)
|
1136
1354
|
continue;
|
@@ -1140,15 +1358,8 @@ bool non_blocking_recvmsg(socket_type s,
|
|
1140
1358
|
|| ec == boost::asio::error::try_again)
|
1141
1359
|
return false;
|
1142
1360
|
|
1143
|
-
// Operation
|
1144
|
-
|
1145
|
-
{
|
1146
|
-
ec = boost::system::error_code();
|
1147
|
-
bytes_transferred = bytes;
|
1148
|
-
}
|
1149
|
-
else
|
1150
|
-
bytes_transferred = 0;
|
1151
|
-
|
1361
|
+
// Operation failed.
|
1362
|
+
bytes_transferred = 0;
|
1152
1363
|
return true;
|
1153
1364
|
}
|
1154
1365
|
}
|
@@ -1158,32 +1369,63 @@ bool non_blocking_recvmsg(socket_type s,
|
|
1158
1369
|
signed_size_type send(socket_type s, const buf* bufs, size_t count,
|
1159
1370
|
int flags, boost::system::error_code& ec)
|
1160
1371
|
{
|
1161
|
-
clear_last_error();
|
1162
1372
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1163
1373
|
// Send the data.
|
1164
1374
|
DWORD send_buf_count = static_cast<DWORD>(count);
|
1165
1375
|
DWORD bytes_transferred = 0;
|
1166
1376
|
DWORD send_flags = flags;
|
1167
|
-
int result =
|
1168
|
-
send_buf_count, &bytes_transferred, send_flags, 0, 0)
|
1377
|
+
int result = ::WSASend(s, const_cast<buf*>(bufs),
|
1378
|
+
send_buf_count, &bytes_transferred, send_flags, 0, 0);
|
1379
|
+
get_last_error(ec, true);
|
1169
1380
|
if (ec.value() == ERROR_NETNAME_DELETED)
|
1170
1381
|
ec = boost::asio::error::connection_reset;
|
1171
1382
|
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1172
1383
|
ec = boost::asio::error::connection_refused;
|
1173
1384
|
if (result != 0)
|
1174
1385
|
return socket_error_retval;
|
1175
|
-
|
1386
|
+
boost::asio::error::clear(ec);
|
1176
1387
|
return bytes_transferred;
|
1177
1388
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1178
1389
|
msghdr msg = msghdr();
|
1179
1390
|
msg.msg_iov = const_cast<buf*>(bufs);
|
1180
1391
|
msg.msg_iovlen = static_cast<int>(count);
|
1181
|
-
#if defined(
|
1392
|
+
#if defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1182
1393
|
flags |= MSG_NOSIGNAL;
|
1183
|
-
#endif // defined(
|
1184
|
-
signed_size_type result =
|
1185
|
-
|
1186
|
-
|
1394
|
+
#endif // defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1395
|
+
signed_size_type result = ::sendmsg(s, &msg, flags);
|
1396
|
+
get_last_error(ec, result < 0);
|
1397
|
+
return result;
|
1398
|
+
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1399
|
+
}
|
1400
|
+
|
1401
|
+
signed_size_type send1(socket_type s, const void* data, size_t size,
|
1402
|
+
int flags, boost::system::error_code& ec)
|
1403
|
+
{
|
1404
|
+
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1405
|
+
// Send the data.
|
1406
|
+
WSABUF buf;
|
1407
|
+
buf.buf = const_cast<char*>(static_cast<const char*>(data));
|
1408
|
+
buf.len = static_cast<ULONG>(size);
|
1409
|
+
DWORD bytes_transferred = 0;
|
1410
|
+
DWORD send_flags = flags;
|
1411
|
+
int result = ::WSASend(s, &buf, 1,
|
1412
|
+
&bytes_transferred, send_flags, 0, 0);
|
1413
|
+
get_last_error(ec, true);
|
1414
|
+
if (ec.value() == ERROR_NETNAME_DELETED)
|
1415
|
+
ec = boost::asio::error::connection_reset;
|
1416
|
+
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1417
|
+
ec = boost::asio::error::connection_refused;
|
1418
|
+
if (result != 0)
|
1419
|
+
return socket_error_retval;
|
1420
|
+
boost::asio::error::clear(ec);
|
1421
|
+
return bytes_transferred;
|
1422
|
+
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1423
|
+
#if defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1424
|
+
flags |= MSG_NOSIGNAL;
|
1425
|
+
#endif // defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1426
|
+
signed_size_type result = ::send(s,
|
1427
|
+
static_cast<const char*>(data), size, flags);
|
1428
|
+
get_last_error(ec, result < 0);
|
1187
1429
|
return result;
|
1188
1430
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1189
1431
|
}
|
@@ -1200,7 +1442,7 @@ size_t sync_send(socket_type s, state_type state, const buf* bufs,
|
|
1200
1442
|
// A request to write 0 bytes to a stream is a no-op.
|
1201
1443
|
if (all_empty && (state & stream_oriented))
|
1202
1444
|
{
|
1203
|
-
|
1445
|
+
boost::asio::error::clear(ec);
|
1204
1446
|
return 0;
|
1205
1447
|
}
|
1206
1448
|
|
@@ -1226,6 +1468,44 @@ size_t sync_send(socket_type s, state_type state, const buf* bufs,
|
|
1226
1468
|
}
|
1227
1469
|
}
|
1228
1470
|
|
1471
|
+
size_t sync_send1(socket_type s, state_type state, const void* data,
|
1472
|
+
size_t size, int flags, boost::system::error_code& ec)
|
1473
|
+
{
|
1474
|
+
if (s == invalid_socket)
|
1475
|
+
{
|
1476
|
+
ec = boost::asio::error::bad_descriptor;
|
1477
|
+
return 0;
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
// A request to write 0 bytes to a stream is a no-op.
|
1481
|
+
if (size == 0 && (state & stream_oriented))
|
1482
|
+
{
|
1483
|
+
boost::asio::error::clear(ec);
|
1484
|
+
return 0;
|
1485
|
+
}
|
1486
|
+
|
1487
|
+
// Read some data.
|
1488
|
+
for (;;)
|
1489
|
+
{
|
1490
|
+
// Try to complete the operation without blocking.
|
1491
|
+
signed_size_type bytes = socket_ops::send1(s, data, size, flags, ec);
|
1492
|
+
|
1493
|
+
// Check if operation succeeded.
|
1494
|
+
if (bytes >= 0)
|
1495
|
+
return bytes;
|
1496
|
+
|
1497
|
+
// Operation failed.
|
1498
|
+
if ((state & user_set_non_blocking)
|
1499
|
+
|| (ec != boost::asio::error::would_block
|
1500
|
+
&& ec != boost::asio::error::try_again))
|
1501
|
+
return 0;
|
1502
|
+
|
1503
|
+
// Wait for socket to become ready.
|
1504
|
+
if (socket_ops::poll_write(s, 0, -1, ec) < 0)
|
1505
|
+
return 0;
|
1506
|
+
}
|
1507
|
+
}
|
1508
|
+
|
1229
1509
|
#if defined(BOOST_ASIO_HAS_IOCP)
|
1230
1510
|
|
1231
1511
|
void complete_iocp_send(
|
@@ -1257,6 +1537,13 @@ bool non_blocking_send(socket_type s,
|
|
1257
1537
|
// Write some data.
|
1258
1538
|
signed_size_type bytes = socket_ops::send(s, bufs, count, flags, ec);
|
1259
1539
|
|
1540
|
+
// Check if operation succeeded.
|
1541
|
+
if (bytes >= 0)
|
1542
|
+
{
|
1543
|
+
bytes_transferred = bytes;
|
1544
|
+
return true;
|
1545
|
+
}
|
1546
|
+
|
1260
1547
|
// Retry operation if interrupted by signal.
|
1261
1548
|
if (ec == boost::asio::error::interrupted)
|
1262
1549
|
continue;
|
@@ -1266,40 +1553,65 @@ bool non_blocking_send(socket_type s,
|
|
1266
1553
|
|| ec == boost::asio::error::try_again)
|
1267
1554
|
return false;
|
1268
1555
|
|
1269
|
-
// Operation
|
1556
|
+
// Operation failed.
|
1557
|
+
bytes_transferred = 0;
|
1558
|
+
return true;
|
1559
|
+
}
|
1560
|
+
}
|
1561
|
+
|
1562
|
+
bool non_blocking_send1(socket_type s,
|
1563
|
+
const void* data, size_t size, int flags,
|
1564
|
+
boost::system::error_code& ec, size_t& bytes_transferred)
|
1565
|
+
{
|
1566
|
+
for (;;)
|
1567
|
+
{
|
1568
|
+
// Write some data.
|
1569
|
+
signed_size_type bytes = socket_ops::send1(s, data, size, flags, ec);
|
1570
|
+
|
1571
|
+
// Check if operation succeeded.
|
1270
1572
|
if (bytes >= 0)
|
1271
1573
|
{
|
1272
|
-
ec = boost::system::error_code();
|
1273
1574
|
bytes_transferred = bytes;
|
1575
|
+
return true;
|
1274
1576
|
}
|
1275
|
-
else
|
1276
|
-
bytes_transferred = 0;
|
1277
1577
|
|
1578
|
+
// Retry operation if interrupted by signal.
|
1579
|
+
if (ec == boost::asio::error::interrupted)
|
1580
|
+
continue;
|
1581
|
+
|
1582
|
+
// Check if we need to run the operation again.
|
1583
|
+
if (ec == boost::asio::error::would_block
|
1584
|
+
|| ec == boost::asio::error::try_again)
|
1585
|
+
return false;
|
1586
|
+
|
1587
|
+
// Operation failed.
|
1588
|
+
bytes_transferred = 0;
|
1278
1589
|
return true;
|
1279
1590
|
}
|
1280
1591
|
}
|
1281
1592
|
|
1282
1593
|
#endif // defined(BOOST_ASIO_HAS_IOCP)
|
1283
1594
|
|
1284
|
-
signed_size_type sendto(socket_type s, const buf* bufs,
|
1285
|
-
int flags, const
|
1286
|
-
boost::system::error_code& ec)
|
1595
|
+
signed_size_type sendto(socket_type s, const buf* bufs,
|
1596
|
+
size_t count, int flags, const void* addr,
|
1597
|
+
std::size_t addrlen, boost::system::error_code& ec)
|
1287
1598
|
{
|
1288
|
-
clear_last_error();
|
1289
1599
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1290
1600
|
// Send the data.
|
1291
1601
|
DWORD send_buf_count = static_cast<DWORD>(count);
|
1292
1602
|
DWORD bytes_transferred = 0;
|
1293
|
-
int result =
|
1294
|
-
send_buf_count, &bytes_transferred, flags,
|
1295
|
-
static_cast<
|
1603
|
+
int result = ::WSASendTo(s, const_cast<buf*>(bufs),
|
1604
|
+
send_buf_count, &bytes_transferred, flags,
|
1605
|
+
static_cast<const socket_addr_type*>(addr),
|
1606
|
+
static_cast<int>(addrlen), 0, 0);
|
1607
|
+
get_last_error(ec, true);
|
1296
1608
|
if (ec.value() == ERROR_NETNAME_DELETED)
|
1297
1609
|
ec = boost::asio::error::connection_reset;
|
1298
1610
|
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1299
1611
|
ec = boost::asio::error::connection_refused;
|
1300
1612
|
if (result != 0)
|
1301
1613
|
return socket_error_retval;
|
1302
|
-
|
1614
|
+
boost::asio::error::clear(ec);
|
1303
1615
|
return bytes_transferred;
|
1304
1616
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1305
1617
|
msghdr msg = msghdr();
|
@@ -1307,18 +1619,59 @@ signed_size_type sendto(socket_type s, const buf* bufs, size_t count,
|
|
1307
1619
|
msg.msg_namelen = static_cast<int>(addrlen);
|
1308
1620
|
msg.msg_iov = const_cast<buf*>(bufs);
|
1309
1621
|
msg.msg_iovlen = static_cast<int>(count);
|
1310
|
-
#if defined(
|
1622
|
+
#if defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1311
1623
|
flags |= MSG_NOSIGNAL;
|
1312
|
-
#endif // defined(
|
1313
|
-
signed_size_type result =
|
1314
|
-
|
1315
|
-
ec = boost::system::error_code();
|
1624
|
+
#endif // defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1625
|
+
signed_size_type result = ::sendmsg(s, &msg, flags);
|
1626
|
+
get_last_error(ec, result < 0);
|
1316
1627
|
return result;
|
1317
1628
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1318
1629
|
}
|
1319
1630
|
|
1320
|
-
|
1321
|
-
|
1631
|
+
template <typename SockLenType>
|
1632
|
+
inline signed_size_type call_sendto(SockLenType msghdr::*,
|
1633
|
+
socket_type s, const void* data, size_t size, int flags,
|
1634
|
+
const void* addr, std::size_t addrlen)
|
1635
|
+
{
|
1636
|
+
return ::sendto(s, static_cast<char*>(const_cast<void*>(data)), size, flags,
|
1637
|
+
static_cast<const socket_addr_type*>(addr), (SockLenType)addrlen);
|
1638
|
+
}
|
1639
|
+
|
1640
|
+
signed_size_type sendto1(socket_type s, const void* data,
|
1641
|
+
size_t size, int flags, const void* addr,
|
1642
|
+
std::size_t addrlen, boost::system::error_code& ec)
|
1643
|
+
{
|
1644
|
+
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1645
|
+
// Send the data.
|
1646
|
+
WSABUF buf;
|
1647
|
+
buf.buf = const_cast<char*>(static_cast<const char*>(data));
|
1648
|
+
buf.len = static_cast<ULONG>(size);
|
1649
|
+
DWORD bytes_transferred = 0;
|
1650
|
+
int result = ::WSASendTo(s, &buf, 1, &bytes_transferred, flags,
|
1651
|
+
static_cast<const socket_addr_type*>(addr),
|
1652
|
+
static_cast<int>(addrlen), 0, 0);
|
1653
|
+
get_last_error(ec, true);
|
1654
|
+
if (ec.value() == ERROR_NETNAME_DELETED)
|
1655
|
+
ec = boost::asio::error::connection_reset;
|
1656
|
+
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1657
|
+
ec = boost::asio::error::connection_refused;
|
1658
|
+
if (result != 0)
|
1659
|
+
return socket_error_retval;
|
1660
|
+
boost::asio::error::clear(ec);
|
1661
|
+
return bytes_transferred;
|
1662
|
+
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1663
|
+
#if defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1664
|
+
flags |= MSG_NOSIGNAL;
|
1665
|
+
#endif // defined(BOOST_ASIO_HAS_MSG_NOSIGNAL)
|
1666
|
+
signed_size_type result = call_sendto(&msghdr::msg_namelen,
|
1667
|
+
s, data, size, flags, addr, addrlen);
|
1668
|
+
get_last_error(ec, result < 0);
|
1669
|
+
return result;
|
1670
|
+
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1671
|
+
}
|
1672
|
+
|
1673
|
+
size_t sync_sendto(socket_type s, state_type state,
|
1674
|
+
const buf* bufs, size_t count, int flags, const void* addr,
|
1322
1675
|
std::size_t addrlen, boost::system::error_code& ec)
|
1323
1676
|
{
|
1324
1677
|
if (s == invalid_socket)
|
@@ -1350,11 +1703,44 @@ size_t sync_sendto(socket_type s, state_type state, const buf* bufs,
|
|
1350
1703
|
}
|
1351
1704
|
}
|
1352
1705
|
|
1706
|
+
size_t sync_sendto1(socket_type s, state_type state,
|
1707
|
+
const void* data, size_t size, int flags, const void* addr,
|
1708
|
+
std::size_t addrlen, boost::system::error_code& ec)
|
1709
|
+
{
|
1710
|
+
if (s == invalid_socket)
|
1711
|
+
{
|
1712
|
+
ec = boost::asio::error::bad_descriptor;
|
1713
|
+
return 0;
|
1714
|
+
}
|
1715
|
+
|
1716
|
+
// Write some data.
|
1717
|
+
for (;;)
|
1718
|
+
{
|
1719
|
+
// Try to complete the operation without blocking.
|
1720
|
+
signed_size_type bytes = socket_ops::sendto1(
|
1721
|
+
s, data, size, flags, addr, addrlen, ec);
|
1722
|
+
|
1723
|
+
// Check if operation succeeded.
|
1724
|
+
if (bytes >= 0)
|
1725
|
+
return bytes;
|
1726
|
+
|
1727
|
+
// Operation failed.
|
1728
|
+
if ((state & user_set_non_blocking)
|
1729
|
+
|| (ec != boost::asio::error::would_block
|
1730
|
+
&& ec != boost::asio::error::try_again))
|
1731
|
+
return 0;
|
1732
|
+
|
1733
|
+
// Wait for socket to become ready.
|
1734
|
+
if (socket_ops::poll_write(s, 0, -1, ec) < 0)
|
1735
|
+
return 0;
|
1736
|
+
}
|
1737
|
+
}
|
1738
|
+
|
1353
1739
|
#if !defined(BOOST_ASIO_HAS_IOCP)
|
1354
1740
|
|
1355
1741
|
bool non_blocking_sendto(socket_type s,
|
1356
1742
|
const buf* bufs, size_t count, int flags,
|
1357
|
-
const
|
1743
|
+
const void* addr, std::size_t addrlen,
|
1358
1744
|
boost::system::error_code& ec, size_t& bytes_transferred)
|
1359
1745
|
{
|
1360
1746
|
for (;;)
|
@@ -1363,6 +1749,13 @@ bool non_blocking_sendto(socket_type s,
|
|
1363
1749
|
signed_size_type bytes = socket_ops::sendto(
|
1364
1750
|
s, bufs, count, flags, addr, addrlen, ec);
|
1365
1751
|
|
1752
|
+
// Check if operation succeeded.
|
1753
|
+
if (bytes >= 0)
|
1754
|
+
{
|
1755
|
+
bytes_transferred = bytes;
|
1756
|
+
return true;
|
1757
|
+
}
|
1758
|
+
|
1366
1759
|
// Retry operation if interrupted by signal.
|
1367
1760
|
if (ec == boost::asio::error::interrupted)
|
1368
1761
|
continue;
|
@@ -1372,15 +1765,41 @@ bool non_blocking_sendto(socket_type s,
|
|
1372
1765
|
|| ec == boost::asio::error::try_again)
|
1373
1766
|
return false;
|
1374
1767
|
|
1375
|
-
// Operation
|
1768
|
+
// Operation failed.
|
1769
|
+
bytes_transferred = 0;
|
1770
|
+
return true;
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
bool non_blocking_sendto1(socket_type s,
|
1775
|
+
const void* data, size_t size, int flags,
|
1776
|
+
const void* addr, std::size_t addrlen,
|
1777
|
+
boost::system::error_code& ec, size_t& bytes_transferred)
|
1778
|
+
{
|
1779
|
+
for (;;)
|
1780
|
+
{
|
1781
|
+
// Write some data.
|
1782
|
+
signed_size_type bytes = socket_ops::sendto1(
|
1783
|
+
s, data, size, flags, addr, addrlen, ec);
|
1784
|
+
|
1785
|
+
// Check if operation succeeded.
|
1376
1786
|
if (bytes >= 0)
|
1377
1787
|
{
|
1378
|
-
ec = boost::system::error_code();
|
1379
1788
|
bytes_transferred = bytes;
|
1789
|
+
return true;
|
1380
1790
|
}
|
1381
|
-
else
|
1382
|
-
bytes_transferred = 0;
|
1383
1791
|
|
1792
|
+
// Retry operation if interrupted by signal.
|
1793
|
+
if (ec == boost::asio::error::interrupted)
|
1794
|
+
continue;
|
1795
|
+
|
1796
|
+
// Check if we need to run the operation again.
|
1797
|
+
if (ec == boost::asio::error::would_block
|
1798
|
+
|| ec == boost::asio::error::try_again)
|
1799
|
+
return false;
|
1800
|
+
|
1801
|
+
// Operation failed.
|
1802
|
+
bytes_transferred = 0;
|
1384
1803
|
return true;
|
1385
1804
|
}
|
1386
1805
|
}
|
@@ -1390,10 +1809,9 @@ bool non_blocking_sendto(socket_type s,
|
|
1390
1809
|
socket_type socket(int af, int type, int protocol,
|
1391
1810
|
boost::system::error_code& ec)
|
1392
1811
|
{
|
1393
|
-
clear_last_error();
|
1394
1812
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1395
|
-
socket_type s =
|
1396
|
-
|
1813
|
+
socket_type s = ::WSASocketW(af, type, protocol, 0, 0, WSA_FLAG_OVERLAPPED);
|
1814
|
+
get_last_error(ec, s == invalid_socket);
|
1397
1815
|
if (s == invalid_socket)
|
1398
1816
|
return s;
|
1399
1817
|
|
@@ -1407,17 +1825,17 @@ socket_type socket(int af, int type, int protocol,
|
|
1407
1825
|
reinterpret_cast<const char*>(&optval), sizeof(optval));
|
1408
1826
|
}
|
1409
1827
|
|
1410
|
-
ec = boost::system::error_code();
|
1411
|
-
|
1412
1828
|
return s;
|
1413
1829
|
#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
|
1414
|
-
socket_type s =
|
1830
|
+
socket_type s = ::socket(af, type, protocol);
|
1831
|
+
get_last_error(ec, s == invalid_socket);
|
1415
1832
|
if (s == invalid_socket)
|
1416
1833
|
return s;
|
1417
1834
|
|
1418
1835
|
int optval = 1;
|
1419
|
-
int result =
|
1420
|
-
|
1836
|
+
int result = ::setsockopt(s, SOL_SOCKET,
|
1837
|
+
SO_NOSIGPIPE, &optval, sizeof(optval));
|
1838
|
+
get_last_error(ec, result != 0);
|
1421
1839
|
if (result != 0)
|
1422
1840
|
{
|
1423
1841
|
::close(s);
|
@@ -1426,9 +1844,8 @@ socket_type socket(int af, int type, int protocol,
|
|
1426
1844
|
|
1427
1845
|
return s;
|
1428
1846
|
#else
|
1429
|
-
int s =
|
1430
|
-
|
1431
|
-
ec = boost::system::error_code();
|
1847
|
+
int s = ::socket(af, type, protocol);
|
1848
|
+
get_last_error(ec, s < 0);
|
1432
1849
|
return s;
|
1433
1850
|
#endif
|
1434
1851
|
}
|
@@ -1470,7 +1887,7 @@ int setsockopt(socket_type s, state_type& state, int level, int optname,
|
|
1470
1887
|
state |= enable_connection_aborted;
|
1471
1888
|
else
|
1472
1889
|
state &= ~enable_connection_aborted;
|
1473
|
-
|
1890
|
+
boost::asio::error::clear(ec);
|
1474
1891
|
return 0;
|
1475
1892
|
}
|
1476
1893
|
|
@@ -1486,24 +1903,24 @@ int setsockopt(socket_type s, state_type& state, int level, int optname,
|
|
1486
1903
|
typedef int (WSAAPI *sso_t)(SOCKET, int, int, const char*, int);
|
1487
1904
|
if (sso_t sso = (sso_t)::GetProcAddress(winsock_module, "setsockopt"))
|
1488
1905
|
{
|
1489
|
-
|
1490
|
-
return error_wrapper(sso(s, level, optname,
|
1906
|
+
int result = sso(s, level, optname,
|
1491
1907
|
reinterpret_cast<const char*>(optval),
|
1492
|
-
static_cast<int>(optlen))
|
1908
|
+
static_cast<int>(optlen));
|
1909
|
+
get_last_error(ec, result != 0);
|
1910
|
+
return result;
|
1493
1911
|
}
|
1494
1912
|
}
|
1495
1913
|
ec = boost::asio::error::fault;
|
1496
1914
|
return socket_error_retval;
|
1497
1915
|
#else // defined(__BORLANDC__)
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1916
|
+
int result = call_setsockopt(&msghdr::msg_namelen,
|
1917
|
+
s, level, optname, optval, optlen);
|
1918
|
+
get_last_error(ec, result != 0);
|
1501
1919
|
if (result == 0)
|
1502
1920
|
{
|
1503
|
-
ec = boost::system::error_code();
|
1504
|
-
|
1505
1921
|
#if defined(__MACH__) && defined(__APPLE__) \
|
1506
|
-
|| defined(__NetBSD__) || defined(__FreeBSD__)
|
1922
|
+
|| defined(__NetBSD__) || defined(__FreeBSD__) \
|
1923
|
+
|| defined(__OpenBSD__) || defined(__QNX__)
|
1507
1924
|
// To implement portable behaviour for SO_REUSEADDR with UDP sockets we
|
1508
1925
|
// need to also set SO_REUSEPORT on BSD-based platforms.
|
1509
1926
|
if ((state & datagram_oriented)
|
@@ -1555,7 +1972,7 @@ int getsockopt(socket_type s, state_type state, int level, int optname,
|
|
1555
1972
|
}
|
1556
1973
|
|
1557
1974
|
*static_cast<int*>(optval) = (state & enable_connection_aborted) ? 1 : 0;
|
1558
|
-
|
1975
|
+
boost::asio::error::clear(ec);
|
1559
1976
|
return 0;
|
1560
1977
|
}
|
1561
1978
|
|
@@ -1568,10 +1985,10 @@ int getsockopt(socket_type s, state_type state, int level, int optname,
|
|
1568
1985
|
typedef int (WSAAPI *gso_t)(SOCKET, int, int, char*, int*);
|
1569
1986
|
if (gso_t gso = (gso_t)::GetProcAddress(winsock_module, "getsockopt"))
|
1570
1987
|
{
|
1571
|
-
clear_last_error();
|
1572
1988
|
int tmp_optlen = static_cast<int>(*optlen);
|
1573
|
-
int result =
|
1574
|
-
reinterpret_cast<char*>(optval), &tmp_optlen)
|
1989
|
+
int result = gso(s, level, optname,
|
1990
|
+
reinterpret_cast<char*>(optval), &tmp_optlen);
|
1991
|
+
get_last_error(ec, result != 0);
|
1575
1992
|
*optlen = static_cast<size_t>(tmp_optlen);
|
1576
1993
|
if (result != 0 && level == IPPROTO_IPV6 && optname == IPV6_V6ONLY
|
1577
1994
|
&& ec.value() == WSAENOPROTOOPT && *optlen == sizeof(DWORD))
|
@@ -1582,7 +1999,7 @@ int getsockopt(socket_type s, state_type state, int level, int optname,
|
|
1582
1999
|
// value is non-zero (i.e. true). This corresponds to the behavior of
|
1583
2000
|
// IPv6 sockets on Windows platforms pre-Vista.
|
1584
2001
|
*static_cast<DWORD*>(optval) = 1;
|
1585
|
-
|
2002
|
+
boost::asio::error::clear(ec);
|
1586
2003
|
}
|
1587
2004
|
return result;
|
1588
2005
|
}
|
@@ -1590,9 +2007,9 @@ int getsockopt(socket_type s, state_type state, int level, int optname,
|
|
1590
2007
|
ec = boost::asio::error::fault;
|
1591
2008
|
return socket_error_retval;
|
1592
2009
|
#elif defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
2010
|
+
int result = call_getsockopt(&msghdr::msg_namelen,
|
2011
|
+
s, level, optname, optval, optlen);
|
2012
|
+
get_last_error(ec, result != 0);
|
1596
2013
|
if (result != 0 && level == IPPROTO_IPV6 && optname == IPV6_V6ONLY
|
1597
2014
|
&& ec.value() == WSAENOPROTOOPT && *optlen == sizeof(DWORD))
|
1598
2015
|
{
|
@@ -1602,15 +2019,13 @@ int getsockopt(socket_type s, state_type state, int level, int optname,
|
|
1602
2019
|
// non-zero (i.e. true). This corresponds to the behavior of IPv6 sockets
|
1603
2020
|
// on Windows platforms pre-Vista.
|
1604
2021
|
*static_cast<DWORD*>(optval) = 1;
|
1605
|
-
|
2022
|
+
boost::asio::error::clear(ec);
|
1606
2023
|
}
|
1607
|
-
if (result == 0)
|
1608
|
-
ec = boost::system::error_code();
|
1609
2024
|
return result;
|
1610
2025
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
2026
|
+
int result = call_getsockopt(&msghdr::msg_namelen,
|
2027
|
+
s, level, optname, optval, optlen);
|
2028
|
+
get_last_error(ec, result != 0);
|
1614
2029
|
#if defined(__linux__)
|
1615
2030
|
if (result == 0 && level == SOL_SOCKET && *optlen == sizeof(int)
|
1616
2031
|
&& (optname == SO_SNDBUF || optname == SO_RCVBUF))
|
@@ -1623,24 +2038,23 @@ int getsockopt(socket_type s, state_type state, int level, int optname,
|
|
1623
2038
|
*static_cast<int*>(optval) /= 2;
|
1624
2039
|
}
|
1625
2040
|
#endif // defined(__linux__)
|
1626
|
-
if (result == 0)
|
1627
|
-
ec = boost::system::error_code();
|
1628
2041
|
return result;
|
1629
2042
|
#endif // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1630
2043
|
}
|
1631
2044
|
|
1632
2045
|
template <typename SockLenType>
|
1633
2046
|
inline int call_getpeername(SockLenType msghdr::*,
|
1634
|
-
socket_type s,
|
2047
|
+
socket_type s, void* addr, std::size_t* addrlen)
|
1635
2048
|
{
|
1636
2049
|
SockLenType tmp_addrlen = (SockLenType)*addrlen;
|
1637
|
-
int result = ::getpeername(s,
|
2050
|
+
int result = ::getpeername(s,
|
2051
|
+
static_cast<socket_addr_type*>(addr), &tmp_addrlen);
|
1638
2052
|
*addrlen = (std::size_t)tmp_addrlen;
|
1639
2053
|
return result;
|
1640
2054
|
}
|
1641
2055
|
|
1642
|
-
int getpeername(socket_type s,
|
1643
|
-
|
2056
|
+
int getpeername(socket_type s, void* addr, std::size_t* addrlen,
|
2057
|
+
bool cached, boost::system::error_code& ec)
|
1644
2058
|
{
|
1645
2059
|
if (s == invalid_socket)
|
1646
2060
|
{
|
@@ -1667,7 +2081,7 @@ int getpeername(socket_type s, socket_addr_type* addr,
|
|
1667
2081
|
}
|
1668
2082
|
|
1669
2083
|
// The cached value is still valid.
|
1670
|
-
|
2084
|
+
boost::asio::error::clear(ec);
|
1671
2085
|
return 0;
|
1672
2086
|
}
|
1673
2087
|
#else // defined(BOOST_ASIO_WINDOWS) && !defined(BOOST_ASIO_WINDOWS_APP)
|
@@ -1676,25 +2090,23 @@ int getpeername(socket_type s, socket_addr_type* addr,
|
|
1676
2090
|
#endif // defined(BOOST_ASIO_WINDOWS) && !defined(BOOST_ASIO_WINDOWS_APP)
|
1677
2091
|
// || defined(__CYGWIN__)
|
1678
2092
|
|
1679
|
-
|
1680
|
-
|
1681
|
-
&msghdr::msg_namelen, s, addr, addrlen), ec);
|
1682
|
-
if (result == 0)
|
1683
|
-
ec = boost::system::error_code();
|
2093
|
+
int result = call_getpeername(&msghdr::msg_namelen, s, addr, addrlen);
|
2094
|
+
get_last_error(ec, result != 0);
|
1684
2095
|
return result;
|
1685
2096
|
}
|
1686
2097
|
|
1687
2098
|
template <typename SockLenType>
|
1688
2099
|
inline int call_getsockname(SockLenType msghdr::*,
|
1689
|
-
socket_type s,
|
2100
|
+
socket_type s, void* addr, std::size_t* addrlen)
|
1690
2101
|
{
|
1691
2102
|
SockLenType tmp_addrlen = (SockLenType)*addrlen;
|
1692
|
-
int result = ::getsockname(s,
|
2103
|
+
int result = ::getsockname(s,
|
2104
|
+
static_cast<socket_addr_type*>(addr), &tmp_addrlen);
|
1693
2105
|
*addrlen = (std::size_t)tmp_addrlen;
|
1694
2106
|
return result;
|
1695
2107
|
}
|
1696
2108
|
|
1697
|
-
int getsockname(socket_type s,
|
2109
|
+
int getsockname(socket_type s, void* addr,
|
1698
2110
|
std::size_t* addrlen, boost::system::error_code& ec)
|
1699
2111
|
{
|
1700
2112
|
if (s == invalid_socket)
|
@@ -1703,11 +2115,8 @@ int getsockname(socket_type s, socket_addr_type* addr,
|
|
1703
2115
|
return socket_error_retval;
|
1704
2116
|
}
|
1705
2117
|
|
1706
|
-
|
1707
|
-
|
1708
|
-
&msghdr::msg_namelen, s, addr, addrlen), ec);
|
1709
|
-
if (result == 0)
|
1710
|
-
ec = boost::system::error_code();
|
2118
|
+
int result = call_getsockname(&msghdr::msg_namelen, s, addr, addrlen);
|
2119
|
+
get_last_error(ec, result != 0);
|
1711
2120
|
return result;
|
1712
2121
|
}
|
1713
2122
|
|
@@ -1720,20 +2129,17 @@ int ioctl(socket_type s, state_type& state, int cmd,
|
|
1720
2129
|
return socket_error_retval;
|
1721
2130
|
}
|
1722
2131
|
|
1723
|
-
clear_last_error();
|
1724
2132
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1725
|
-
int result =
|
2133
|
+
int result = ::ioctlsocket(s, cmd, arg);
|
1726
2134
|
#elif defined(__MACH__) && defined(__APPLE__) \
|
1727
2135
|
|| defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
1728
|
-
int result =
|
1729
|
-
static_cast<unsigned int>(cmd), arg), ec);
|
2136
|
+
int result = ::ioctl(s, static_cast<unsigned int>(cmd), arg);
|
1730
2137
|
#else
|
1731
|
-
int result =
|
2138
|
+
int result = ::ioctl(s, cmd, arg);
|
1732
2139
|
#endif
|
2140
|
+
get_last_error(ec, result < 0);
|
1733
2141
|
if (result >= 0)
|
1734
2142
|
{
|
1735
|
-
ec = boost::system::error_code();
|
1736
|
-
|
1737
2143
|
// When updating the non-blocking mode we always perform the ioctl syscall,
|
1738
2144
|
// even if the flags would otherwise indicate that the socket is already in
|
1739
2145
|
// the correct state. This ensures that the underlying socket is put into
|
@@ -1761,7 +2167,9 @@ int ioctl(socket_type s, state_type& state, int cmd,
|
|
1761
2167
|
int select(int nfds, fd_set* readfds, fd_set* writefds,
|
1762
2168
|
fd_set* exceptfds, timeval* timeout, boost::system::error_code& ec)
|
1763
2169
|
{
|
1764
|
-
|
2170
|
+
#if defined(__EMSCRIPTEN__)
|
2171
|
+
exceptfds = 0;
|
2172
|
+
#endif // defined(__EMSCRIPTEN__)
|
1765
2173
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
1766
2174
|
if (!readfds && !writefds && !exceptfds && timeout)
|
1767
2175
|
{
|
@@ -1769,7 +2177,7 @@ int select(int nfds, fd_set* readfds, fd_set* writefds,
|
|
1769
2177
|
if (milliseconds == 0)
|
1770
2178
|
milliseconds = 1; // Force context switch.
|
1771
2179
|
::Sleep(milliseconds);
|
1772
|
-
|
2180
|
+
boost::asio::error::clear(ec);
|
1773
2181
|
return 0;
|
1774
2182
|
}
|
1775
2183
|
|
@@ -1788,15 +2196,13 @@ int select(int nfds, fd_set* readfds, fd_set* writefds,
|
|
1788
2196
|
timespec ts;
|
1789
2197
|
ts.tv_sec = timeout ? timeout->tv_sec : 0;
|
1790
2198
|
ts.tv_nsec = timeout ? timeout->tv_usec * 1000 : 0;
|
1791
|
-
|
1792
|
-
writefds, exceptfds, timeout ? &ts : 0, 0)
|
2199
|
+
int result = ::pselect(nfds, readfds,
|
2200
|
+
writefds, exceptfds, timeout ? &ts : 0, 0);
|
1793
2201
|
#else
|
1794
|
-
int result =
|
1795
|
-
writefds, exceptfds, timeout), ec);
|
1796
|
-
if (result >= 0)
|
1797
|
-
ec = boost::system::error_code();
|
1798
|
-
return result;
|
2202
|
+
int result = ::select(nfds, readfds, writefds, exceptfds, timeout);
|
1799
2203
|
#endif
|
2204
|
+
get_last_error(ec, result < 0);
|
2205
|
+
return result;
|
1800
2206
|
}
|
1801
2207
|
|
1802
2208
|
int poll_read(socket_type s, state_type state,
|
@@ -1830,8 +2236,8 @@ int poll_read(socket_type s, state_type state,
|
|
1830
2236
|
}
|
1831
2237
|
else
|
1832
2238
|
timeout = 0;
|
1833
|
-
|
1834
|
-
|
2239
|
+
int result = ::select(s + 1, &fds, 0, 0, timeout);
|
2240
|
+
get_last_error(ec, result < 0);
|
1835
2241
|
#else // defined(BOOST_ASIO_WINDOWS)
|
1836
2242
|
// || defined(__CYGWIN__)
|
1837
2243
|
// || defined(__SYMBIAN32__)
|
@@ -1840,16 +2246,14 @@ int poll_read(socket_type s, state_type state,
|
|
1840
2246
|
fds.events = POLLIN;
|
1841
2247
|
fds.revents = 0;
|
1842
2248
|
int timeout = (state & user_set_non_blocking) ? 0 : msec;
|
1843
|
-
|
1844
|
-
|
2249
|
+
int result = ::poll(&fds, 1, timeout);
|
2250
|
+
get_last_error(ec, result < 0);
|
1845
2251
|
#endif // defined(BOOST_ASIO_WINDOWS)
|
1846
2252
|
// || defined(__CYGWIN__)
|
1847
2253
|
// || defined(__SYMBIAN32__)
|
1848
2254
|
if (result == 0)
|
1849
|
-
|
1850
|
-
|
1851
|
-
else if (result > 0)
|
1852
|
-
ec = boost::system::error_code();
|
2255
|
+
if (state & user_set_non_blocking)
|
2256
|
+
ec = boost::asio::error::would_block;
|
1853
2257
|
return result;
|
1854
2258
|
}
|
1855
2259
|
|
@@ -1884,8 +2288,8 @@ int poll_write(socket_type s, state_type state,
|
|
1884
2288
|
}
|
1885
2289
|
else
|
1886
2290
|
timeout = 0;
|
1887
|
-
|
1888
|
-
|
2291
|
+
int result = ::select(s + 1, 0, &fds, 0, timeout);
|
2292
|
+
get_last_error(ec, result < 0);
|
1889
2293
|
#else // defined(BOOST_ASIO_WINDOWS)
|
1890
2294
|
// || defined(__CYGWIN__)
|
1891
2295
|
// || defined(__SYMBIAN32__)
|
@@ -1894,16 +2298,14 @@ int poll_write(socket_type s, state_type state,
|
|
1894
2298
|
fds.events = POLLOUT;
|
1895
2299
|
fds.revents = 0;
|
1896
2300
|
int timeout = (state & user_set_non_blocking) ? 0 : msec;
|
1897
|
-
|
1898
|
-
|
2301
|
+
int result = ::poll(&fds, 1, timeout);
|
2302
|
+
get_last_error(ec, result < 0);
|
1899
2303
|
#endif // defined(BOOST_ASIO_WINDOWS)
|
1900
2304
|
// || defined(__CYGWIN__)
|
1901
2305
|
// || defined(__SYMBIAN32__)
|
1902
2306
|
if (result == 0)
|
1903
|
-
|
1904
|
-
|
1905
|
-
else if (result > 0)
|
1906
|
-
ec = boost::system::error_code();
|
2307
|
+
if (state & user_set_non_blocking)
|
2308
|
+
ec = boost::asio::error::would_block;
|
1907
2309
|
return result;
|
1908
2310
|
}
|
1909
2311
|
|
@@ -1938,8 +2340,8 @@ int poll_error(socket_type s, state_type state,
|
|
1938
2340
|
}
|
1939
2341
|
else
|
1940
2342
|
timeout = 0;
|
1941
|
-
|
1942
|
-
|
2343
|
+
int result = ::select(s + 1, 0, 0, &fds, timeout);
|
2344
|
+
get_last_error(ec, result < 0);
|
1943
2345
|
#else // defined(BOOST_ASIO_WINDOWS)
|
1944
2346
|
// || defined(__CYGWIN__)
|
1945
2347
|
// || defined(__SYMBIAN32__)
|
@@ -1948,16 +2350,14 @@ int poll_error(socket_type s, state_type state,
|
|
1948
2350
|
fds.events = POLLPRI | POLLERR | POLLHUP;
|
1949
2351
|
fds.revents = 0;
|
1950
2352
|
int timeout = (state & user_set_non_blocking) ? 0 : msec;
|
1951
|
-
|
1952
|
-
|
2353
|
+
int result = ::poll(&fds, 1, timeout);
|
2354
|
+
get_last_error(ec, result < 0);
|
1953
2355
|
#endif // defined(BOOST_ASIO_WINDOWS)
|
1954
2356
|
// || defined(__CYGWIN__)
|
1955
2357
|
// || defined(__SYMBIAN32__)
|
1956
2358
|
if (result == 0)
|
1957
|
-
|
1958
|
-
|
1959
|
-
else if (result > 0)
|
1960
|
-
ec = boost::system::error_code();
|
2359
|
+
if (state & user_set_non_blocking)
|
2360
|
+
ec = boost::asio::error::would_block;
|
1961
2361
|
return result;
|
1962
2362
|
}
|
1963
2363
|
|
@@ -1988,11 +2388,8 @@ int poll_connect(socket_type s, int msec, boost::system::error_code& ec)
|
|
1988
2388
|
}
|
1989
2389
|
else
|
1990
2390
|
timeout = 0;
|
1991
|
-
|
1992
|
-
|
1993
|
-
s + 1, 0, &write_fds, &except_fds, timeout), ec);
|
1994
|
-
if (result >= 0)
|
1995
|
-
ec = boost::system::error_code();
|
2391
|
+
int result = ::select(s + 1, 0, &write_fds, &except_fds, timeout);
|
2392
|
+
get_last_error(ec, result < 0);
|
1996
2393
|
return result;
|
1997
2394
|
#else // defined(BOOST_ASIO_WINDOWS)
|
1998
2395
|
// || defined(__CYGWIN__)
|
@@ -2001,10 +2398,8 @@ int poll_connect(socket_type s, int msec, boost::system::error_code& ec)
|
|
2001
2398
|
fds.fd = s;
|
2002
2399
|
fds.events = POLLOUT;
|
2003
2400
|
fds.revents = 0;
|
2004
|
-
|
2005
|
-
|
2006
|
-
if (result >= 0)
|
2007
|
-
ec = boost::system::error_code();
|
2401
|
+
int result = ::poll(&fds, 1, msec);
|
2402
|
+
get_last_error(ec, result < 0);
|
2008
2403
|
return result;
|
2009
2404
|
#endif // defined(BOOST_ASIO_WINDOWS)
|
2010
2405
|
// || defined(__CYGWIN__)
|
@@ -2089,18 +2484,20 @@ const char* inet_ntop(int af, const void* src, char* dest, size_t length,
|
|
2089
2484
|
DWORD string_length = static_cast<DWORD>(length);
|
2090
2485
|
#if defined(BOOST_NO_ANSI_APIS) || (defined(_MSC_VER) && (_MSC_VER >= 1800))
|
2091
2486
|
LPWSTR string_buffer = (LPWSTR)_alloca(length * sizeof(WCHAR));
|
2092
|
-
int result =
|
2093
|
-
address_length, 0, string_buffer, &string_length)
|
2487
|
+
int result = ::WSAAddressToStringW(&address.base,
|
2488
|
+
address_length, 0, string_buffer, &string_length);
|
2489
|
+
get_last_error(ec, true);
|
2094
2490
|
::WideCharToMultiByte(CP_ACP, 0, string_buffer, -1,
|
2095
2491
|
dest, static_cast<int>(length), 0, 0);
|
2096
2492
|
#else
|
2097
|
-
int result =
|
2098
|
-
|
2493
|
+
int result = ::WSAAddressToStringA(&address.base,
|
2494
|
+
address_length, 0, dest, &string_length);
|
2495
|
+
get_last_error(ec, true);
|
2099
2496
|
#endif
|
2100
2497
|
|
2101
2498
|
// Windows may set error code on success.
|
2102
2499
|
if (result != socket_error_retval)
|
2103
|
-
|
2500
|
+
boost::asio::error::clear(ec);
|
2104
2501
|
|
2105
2502
|
// Windows may not set an error code on failure.
|
2106
2503
|
else if (result == socket_error_retval && !ec)
|
@@ -2108,14 +2505,14 @@ const char* inet_ntop(int af, const void* src, char* dest, size_t length,
|
|
2108
2505
|
|
2109
2506
|
return result == socket_error_retval ? 0 : dest;
|
2110
2507
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
2111
|
-
const char* result =
|
2112
|
-
|
2508
|
+
const char* result = ::inet_ntop(af, src, dest, static_cast<int>(length));
|
2509
|
+
get_last_error(ec, true);
|
2113
2510
|
if (result == 0 && !ec)
|
2114
2511
|
ec = boost::asio::error::invalid_argument;
|
2115
2512
|
if (result != 0 && af == BOOST_ASIO_OS_DEF(AF_INET6) && scope_id != 0)
|
2116
2513
|
{
|
2117
2514
|
using namespace std; // For strcat and sprintf.
|
2118
|
-
char if_name[IF_NAMESIZE + 1] = "%";
|
2515
|
+
char if_name[(IF_NAMESIZE > 21 ? IF_NAMESIZE : 21) + 1] = "%";
|
2119
2516
|
const in6_addr_type* ipv6_address = static_cast<const in6_addr_type*>(src);
|
2120
2517
|
bool is_link_local = ((ipv6_address->s6_addr[0] == 0xfe)
|
2121
2518
|
&& ((ipv6_address->s6_addr[1] & 0xc0) == 0x80));
|
@@ -2154,7 +2551,7 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2154
2551
|
bytes[1] = static_cast<unsigned char>(b1);
|
2155
2552
|
bytes[2] = static_cast<unsigned char>(b2);
|
2156
2553
|
bytes[3] = static_cast<unsigned char>(b3);
|
2157
|
-
|
2554
|
+
boost::asio::error::clear(ec);
|
2158
2555
|
return 1;
|
2159
2556
|
}
|
2160
2557
|
else if (af == BOOST_ASIO_OS_DEF(AF_INET6))
|
@@ -2270,7 +2667,7 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2270
2667
|
for (int i = 0; i < num_back_bytes; ++i)
|
2271
2668
|
bytes[16 - num_back_bytes + i] = back_bytes[i];
|
2272
2669
|
|
2273
|
-
|
2670
|
+
boost::asio::error::clear(ec);
|
2274
2671
|
return 1;
|
2275
2672
|
}
|
2276
2673
|
else
|
@@ -2299,11 +2696,13 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2299
2696
|
int num_wide_chars = static_cast<int>(strlen(src)) + 1;
|
2300
2697
|
LPWSTR wide_buffer = (LPWSTR)_alloca(num_wide_chars * sizeof(WCHAR));
|
2301
2698
|
::MultiByteToWideChar(CP_ACP, 0, src, -1, wide_buffer, num_wide_chars);
|
2302
|
-
int result =
|
2303
|
-
|
2699
|
+
int result = ::WSAStringToAddressW(wide_buffer,
|
2700
|
+
af, 0, &address.base, &address_length);
|
2701
|
+
get_last_error(ec, true);
|
2304
2702
|
#else
|
2305
|
-
int result =
|
2306
|
-
|
2703
|
+
int result = ::WSAStringToAddressA(const_cast<char*>(src),
|
2704
|
+
af, 0, &address.base, &address_length);
|
2705
|
+
get_last_error(ec, true);
|
2307
2706
|
#endif
|
2308
2707
|
|
2309
2708
|
if (af == BOOST_ASIO_OS_DEF(AF_INET))
|
@@ -2311,12 +2710,12 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2311
2710
|
if (result != socket_error_retval)
|
2312
2711
|
{
|
2313
2712
|
memcpy(dest, &address.v4.sin_addr, sizeof(in4_addr_type));
|
2314
|
-
|
2713
|
+
boost::asio::error::clear(ec);
|
2315
2714
|
}
|
2316
2715
|
else if (strcmp(src, "255.255.255.255") == 0)
|
2317
2716
|
{
|
2318
2717
|
static_cast<in4_addr_type*>(dest)->s_addr = INADDR_NONE;
|
2319
|
-
|
2718
|
+
boost::asio::error::clear(ec);
|
2320
2719
|
}
|
2321
2720
|
}
|
2322
2721
|
else // AF_INET6
|
@@ -2326,7 +2725,7 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2326
2725
|
memcpy(dest, &address.v6.sin6_addr, sizeof(in6_addr_type));
|
2327
2726
|
if (scope_id)
|
2328
2727
|
*scope_id = address.v6.sin6_scope_id;
|
2329
|
-
|
2728
|
+
boost::asio::error::clear(ec);
|
2330
2729
|
}
|
2331
2730
|
}
|
2332
2731
|
|
@@ -2335,7 +2734,7 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2335
2734
|
ec = boost::asio::error::invalid_argument;
|
2336
2735
|
|
2337
2736
|
if (result != socket_error_retval)
|
2338
|
-
|
2737
|
+
boost::asio::error::clear(ec);
|
2339
2738
|
|
2340
2739
|
return result == socket_error_retval ? -1 : 1;
|
2341
2740
|
#else // defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
@@ -2359,7 +2758,8 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2359
2758
|
src_ptr = src_buf;
|
2360
2759
|
}
|
2361
2760
|
|
2362
|
-
int result =
|
2761
|
+
int result = ::inet_pton(af, src_ptr, dest);
|
2762
|
+
get_last_error(ec, true);
|
2363
2763
|
if (result <= 0 && !ec)
|
2364
2764
|
ec = boost::asio::error::invalid_argument;
|
2365
2765
|
if (result > 0 && is_v6 && scope_id)
|
@@ -2385,7 +2785,6 @@ int inet_pton(int af, const char* src, void* dest,
|
|
2385
2785
|
|
2386
2786
|
int gethostname(char* name, int namelen, boost::system::error_code& ec)
|
2387
2787
|
{
|
2388
|
-
clear_last_error();
|
2389
2788
|
#if defined(BOOST_ASIO_WINDOWS_RUNTIME)
|
2390
2789
|
try
|
2391
2790
|
{
|
@@ -2416,11 +2815,8 @@ int gethostname(char* name, int namelen, boost::system::error_code& ec)
|
|
2416
2815
|
return -1;
|
2417
2816
|
}
|
2418
2817
|
#else // defined(BOOST_ASIO_WINDOWS_RUNTIME)
|
2419
|
-
int result =
|
2420
|
-
|
2421
|
-
if (result == 0)
|
2422
|
-
ec = boost::system::error_code();
|
2423
|
-
# endif // defined(BOOST_ASIO_WINDOWS)
|
2818
|
+
int result = ::gethostname(name, namelen);
|
2819
|
+
get_last_error(ec, result != 0);
|
2424
2820
|
return result;
|
2425
2821
|
#endif // defined(BOOST_ASIO_WINDOWS_RUNTIME)
|
2426
2822
|
}
|
@@ -2455,20 +2851,20 @@ inline boost::system::error_code translate_netdb_error(int error)
|
|
2455
2851
|
inline hostent* gethostbyaddr(const char* addr, int length, int af,
|
2456
2852
|
hostent* result, char* buffer, int buflength, boost::system::error_code& ec)
|
2457
2853
|
{
|
2458
|
-
clear_last_error();
|
2459
2854
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
2460
2855
|
(void)(buffer);
|
2461
2856
|
(void)(buflength);
|
2462
|
-
hostent* retval =
|
2857
|
+
hostent* retval = ::gethostbyaddr(addr, length, af);
|
2858
|
+
get_last_error(ec, !retval);
|
2463
2859
|
if (!retval)
|
2464
2860
|
return 0;
|
2465
|
-
ec = boost::system::error_code();
|
2466
2861
|
*result = *retval;
|
2467
2862
|
return retval;
|
2468
2863
|
#elif defined(__sun) || defined(__QNX__)
|
2469
2864
|
int error = 0;
|
2470
|
-
hostent* retval =
|
2471
|
-
|
2865
|
+
hostent* retval = ::gethostbyaddr_r(addr, length,
|
2866
|
+
af, result, buffer, buflength, &error);
|
2867
|
+
get_last_error(ec, !retval);
|
2472
2868
|
if (error)
|
2473
2869
|
ec = translate_netdb_error(error);
|
2474
2870
|
return retval;
|
@@ -2476,8 +2872,8 @@ inline hostent* gethostbyaddr(const char* addr, int length, int af,
|
|
2476
2872
|
(void)(buffer);
|
2477
2873
|
(void)(buflength);
|
2478
2874
|
int error = 0;
|
2479
|
-
hostent* retval =
|
2480
|
-
|
2875
|
+
hostent* retval = ::getipnodebyaddr(addr, length, af, &error);
|
2876
|
+
get_last_error(ec, !retval);
|
2481
2877
|
if (error)
|
2482
2878
|
ec = translate_netdb_error(error);
|
2483
2879
|
if (!retval)
|
@@ -2487,8 +2883,10 @@ inline hostent* gethostbyaddr(const char* addr, int length, int af,
|
|
2487
2883
|
#else
|
2488
2884
|
hostent* retval = 0;
|
2489
2885
|
int error = 0;
|
2490
|
-
|
2491
|
-
|
2886
|
+
clear_last_error();
|
2887
|
+
::gethostbyaddr_r(addr, length, af, result,
|
2888
|
+
buffer, buflength, &retval, &error);
|
2889
|
+
get_last_error(ec, true);
|
2492
2890
|
if (error)
|
2493
2891
|
ec = translate_netdb_error(error);
|
2494
2892
|
return retval;
|
@@ -2498,7 +2896,6 @@ inline hostent* gethostbyaddr(const char* addr, int length, int af,
|
|
2498
2896
|
inline hostent* gethostbyname(const char* name, int af, struct hostent* result,
|
2499
2897
|
char* buffer, int buflength, int ai_flags, boost::system::error_code& ec)
|
2500
2898
|
{
|
2501
|
-
clear_last_error();
|
2502
2899
|
#if defined(BOOST_ASIO_WINDOWS) || defined(__CYGWIN__)
|
2503
2900
|
(void)(buffer);
|
2504
2901
|
(void)(buflength);
|
@@ -2508,10 +2905,10 @@ inline hostent* gethostbyname(const char* name, int af, struct hostent* result,
|
|
2508
2905
|
ec = boost::asio::error::address_family_not_supported;
|
2509
2906
|
return 0;
|
2510
2907
|
}
|
2511
|
-
hostent* retval =
|
2908
|
+
hostent* retval = ::gethostbyname(name);
|
2909
|
+
get_last_error(ec, !retval);
|
2512
2910
|
if (!retval)
|
2513
2911
|
return 0;
|
2514
|
-
ec = boost::system::error_code();
|
2515
2912
|
*result = *retval;
|
2516
2913
|
return result;
|
2517
2914
|
#elif defined(__sun) || defined(__QNX__)
|
@@ -2522,8 +2919,8 @@ inline hostent* gethostbyname(const char* name, int af, struct hostent* result,
|
|
2522
2919
|
return 0;
|
2523
2920
|
}
|
2524
2921
|
int error = 0;
|
2525
|
-
hostent* retval =
|
2526
|
-
|
2922
|
+
hostent* retval = ::gethostbyname_r(name, result, buffer, buflength, &error);
|
2923
|
+
get_last_error(ec, !retval);
|
2527
2924
|
if (error)
|
2528
2925
|
ec = translate_netdb_error(error);
|
2529
2926
|
return retval;
|
@@ -2531,8 +2928,8 @@ inline hostent* gethostbyname(const char* name, int af, struct hostent* result,
|
|
2531
2928
|
(void)(buffer);
|
2532
2929
|
(void)(buflength);
|
2533
2930
|
int error = 0;
|
2534
|
-
hostent* retval =
|
2535
|
-
|
2931
|
+
hostent* retval = ::getipnodebyname(name, af, ai_flags, &error);
|
2932
|
+
get_last_error(ec, !retval);
|
2536
2933
|
if (error)
|
2537
2934
|
ec = translate_netdb_error(error);
|
2538
2935
|
if (!retval)
|
@@ -2548,8 +2945,9 @@ inline hostent* gethostbyname(const char* name, int af, struct hostent* result,
|
|
2548
2945
|
}
|
2549
2946
|
hostent* retval = 0;
|
2550
2947
|
int error = 0;
|
2551
|
-
|
2552
|
-
|
2948
|
+
clear_last_error();
|
2949
|
+
::gethostbyname_r(name, result, buffer, buflength, &retval, &error);
|
2950
|
+
get_last_error(ec, true);
|
2553
2951
|
if (error)
|
2554
2952
|
ec = translate_netdb_error(error);
|
2555
2953
|
return retval;
|
@@ -3265,7 +3663,7 @@ inline boost::system::error_code getnameinfo_emulation(
|
|
3265
3663
|
}
|
3266
3664
|
}
|
3267
3665
|
|
3268
|
-
|
3666
|
+
boost::asio::error::clear(ec);
|
3269
3667
|
return ec;
|
3270
3668
|
}
|
3271
3669
|
|
@@ -3415,7 +3813,7 @@ void freeaddrinfo(addrinfo_type* ai)
|
|
3415
3813
|
#endif
|
3416
3814
|
}
|
3417
3815
|
|
3418
|
-
boost::system::error_code getnameinfo(const
|
3816
|
+
boost::system::error_code getnameinfo(const void* addr,
|
3419
3817
|
std::size_t addrlen, char* host, std::size_t hostlen,
|
3420
3818
|
char* serv, std::size_t servlen, int flags, boost::system::error_code& ec)
|
3421
3819
|
{
|
@@ -3423,8 +3821,8 @@ boost::system::error_code getnameinfo(const socket_addr_type* addr,
|
|
3423
3821
|
# if defined(BOOST_ASIO_HAS_GETADDRINFO)
|
3424
3822
|
// Building for Windows XP, Windows Server 2003, or later.
|
3425
3823
|
clear_last_error();
|
3426
|
-
int error = ::getnameinfo(
|
3427
|
-
host, static_cast<DWORD>(hostlen),
|
3824
|
+
int error = ::getnameinfo(static_cast<const socket_addr_type*>(addr),
|
3825
|
+
static_cast<socklen_t>(addrlen), host, static_cast<DWORD>(hostlen),
|
3428
3826
|
serv, static_cast<DWORD>(servlen), flags);
|
3429
3827
|
return ec = translate_addrinfo_error(error);
|
3430
3828
|
# else
|
@@ -3436,34 +3834,34 @@ boost::system::error_code getnameinfo(const socket_addr_type* addr,
|
|
3436
3834
|
if (gni_t gni = (gni_t)::GetProcAddress(winsock_module, "getnameinfo"))
|
3437
3835
|
{
|
3438
3836
|
clear_last_error();
|
3439
|
-
int error = gni(
|
3440
|
-
host, static_cast<DWORD>(hostlen),
|
3837
|
+
int error = gni(static_cast<const socket_addr_type*>(addr),
|
3838
|
+
static_cast<int>(addrlen), host, static_cast<DWORD>(hostlen),
|
3441
3839
|
serv, static_cast<DWORD>(servlen), flags);
|
3442
3840
|
return ec = translate_addrinfo_error(error);
|
3443
3841
|
}
|
3444
3842
|
}
|
3445
3843
|
clear_last_error();
|
3446
|
-
return getnameinfo_emulation(addr,
|
3447
|
-
host, hostlen, serv, servlen, flags, ec);
|
3844
|
+
return getnameinfo_emulation(static_cast<const socket_addr_type*>(addr),
|
3845
|
+
addrlen, host, hostlen, serv, servlen, flags, ec);
|
3448
3846
|
# endif
|
3449
3847
|
#elif !defined(BOOST_ASIO_HAS_GETADDRINFO)
|
3450
3848
|
using namespace std; // For memcpy.
|
3451
3849
|
sockaddr_storage_type tmp_addr;
|
3452
3850
|
memcpy(&tmp_addr, addr, addrlen);
|
3453
|
-
addr =
|
3851
|
+
addr = &tmp_addr;
|
3454
3852
|
clear_last_error();
|
3455
|
-
return getnameinfo_emulation(addr,
|
3456
|
-
host, hostlen, serv, servlen, flags, ec);
|
3853
|
+
return getnameinfo_emulation(static_cast<const socket_addr_type*>(addr),
|
3854
|
+
addrlen, host, hostlen, serv, servlen, flags, ec);
|
3457
3855
|
#else
|
3458
3856
|
clear_last_error();
|
3459
|
-
int error = ::getnameinfo(addr,
|
3857
|
+
int error = ::getnameinfo(static_cast<const socket_addr_type*>(addr),
|
3858
|
+
addrlen, host, hostlen, serv, servlen, flags);
|
3460
3859
|
return ec = translate_addrinfo_error(error);
|
3461
3860
|
#endif
|
3462
3861
|
}
|
3463
3862
|
|
3464
|
-
boost::system::error_code sync_getnameinfo(
|
3465
|
-
|
3466
|
-
char* host, std::size_t hostlen, char* serv,
|
3863
|
+
boost::system::error_code sync_getnameinfo(const void* addr,
|
3864
|
+
std::size_t addrlen, char* host, std::size_t hostlen, char* serv,
|
3467
3865
|
std::size_t servlen, int sock_type, boost::system::error_code& ec)
|
3468
3866
|
{
|
3469
3867
|
// First try resolving with the service name. If that fails try resolving
|
@@ -3482,7 +3880,7 @@ boost::system::error_code sync_getnameinfo(
|
|
3482
3880
|
|
3483
3881
|
boost::system::error_code background_getnameinfo(
|
3484
3882
|
const weak_cancel_token_type& cancel_token,
|
3485
|
-
const
|
3883
|
+
const void* addr, std::size_t addrlen,
|
3486
3884
|
char* host, std::size_t hostlen, char* serv,
|
3487
3885
|
std::size_t servlen, int sock_type, boost::system::error_code& ec)
|
3488
3886
|
{
|