passenger 6.0.26 → 6.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +28 -1
- data/CONTRIBUTING.md +2 -2
- data/build/agent.rb +0 -2
- data/build/basics.rb +2 -0
- data/build/common_library.rb +0 -6
- data/build/misc.rb +0 -2
- data/build/schema_printer.rb +0 -2
- data/build/support/cxx_dependency_map.rb +57 -254
- data/dev/copy_boost_headers +3 -14
- data/dev/index_cxx_dependencies.rb +1 -1
- data/doc/AiInstructions.md +112 -0
- data/doc/CxxMockingStrategy.md +42 -0
- data/doc/CxxTestingGuide.md +110 -0
- data/doc/DesignAspects/LimitedGemDependencies.md +22 -14
- data/doc/TempFileHandling.md +15 -0
- data/passenger.gemspec +1 -1
- data/resources/templates/standalone/server.erb +1 -0
- data/src/agent/Core/ApiServer.h +0 -1
- data/src/agent/Core/ApplicationPool/AbstractSession.h +10 -1
- data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +33 -18
- data/src/agent/Core/ApplicationPool/Group.h +0 -1
- data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -3
- data/src/agent/Core/ApplicationPool/Session.h +14 -19
- data/src/agent/Core/ApplicationPool/Socket.h +15 -5
- data/src/agent/Core/ApplicationPool/TestSession.h +74 -15
- data/src/agent/Core/Config.h +2 -34
- data/src/agent/Core/ConfigChange.cpp +1 -41
- data/src/agent/Core/Controller/CheckoutSession.cpp +100 -14
- data/src/agent/Core/Controller/Client.h +0 -1
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Core/Controller/Hooks.cpp +13 -0
- data/src/agent/Core/Controller/InitRequest.cpp +2 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +12 -0
- data/src/agent/Core/Controller/Request.h +3 -2
- data/src/agent/Core/Controller.h +12 -13
- data/src/agent/Core/CoreMain.cpp +1 -56
- data/src/agent/Core/OptionParser.h +1 -7
- data/src/agent/Core/SecurityUpdateChecker.h +0 -1
- data/src/agent/Watchdog/Config.h +2 -21
- data/src/agent/Watchdog/WatchdogMain.cpp +0 -2
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +0 -20
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +0 -60
- data/src/apache2_module/Hooks.cpp +0 -4
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +0 -44
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +0 -52
- data/src/cxx_supportlib/Algorithms/Hasher.cpp +1 -1
- data/src/cxx_supportlib/Algorithms/Hasher.h +4 -7
- data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -160
- data/src/cxx_supportlib/Constants.h +2 -1
- data/src/cxx_supportlib/DataStructures/StringMap.h +2 -3
- data/src/cxx_supportlib/FileTools/FileManip.h +2 -0
- data/src/cxx_supportlib/Hooks.h +0 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +49 -60
- data/src/cxx_supportlib/IOTools/IOUtils.h +65 -73
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +2 -0
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +8 -6
- data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +2 -2
- data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +0 -2
- data/src/cxx_supportlib/Utils/FastStringStream.h +7 -7
- data/src/cxx_supportlib/Utils/IniFile.h +24 -25
- data/src/cxx_supportlib/Utils.h +0 -30
- data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +4 -0
- data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -0
- data/src/cxx_supportlib/oxt/implementation.cpp +41 -2
- data/src/cxx_supportlib/oxt/system_calls.cpp +1 -0
- data/src/cxx_supportlib/oxt/system_calls.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_or_allocator_rebind.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +23 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +72 -49
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/function_detector.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +15 -11
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +36 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +21 -17
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +21 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +5 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +73 -14
- data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +18 -29
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +6 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/function_detector.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/parent_from_member.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/adl_move_swap.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +1 -20
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/placement_new.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/experimental_traits.hpp +4 -49
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +13 -4
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +47 -46
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_swap.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +12 -252
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_utility.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +101 -592
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/pointer_cast.hpp +12 -24
- data/src/cxx_supportlib/vendor-modified/boost/random/beta_distribution.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +37 -44
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +1 -23
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/deprecated_macros.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +14 -18
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +7 -15
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +39 -90
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +0 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +16 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +16 -55
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_noexcept.hpp +5 -14
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_type_traits.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +7 -10
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +32 -110
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ref_counter.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +2 -6
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +28 -565
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_unique.hpp +11 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +17 -21
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +20 -22
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +34 -68
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +78 -356
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +31 -89
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +195 -12
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +206 -17
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map.hpp +1202 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map_fwd.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set.hpp +1065 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set_fwd.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/concurrent_static_asserts.hpp +30 -8
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +248 -47
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +120 -5
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_handle.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_handle.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +13 -4
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/types_constructibility.hpp +172 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +32 -44
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +31 -35
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_printers.hpp +414 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -32
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -48
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +0 -24
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +0 -48
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +0 -16
- data/src/nginx_module/ngx_http_passenger_module.c +0 -4
- data/src/ruby_native_extension/passenger_native_support.c +19 -3
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +8 -24
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +0 -3
- data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -28
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +9 -8
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +2 -27
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +0 -30
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +8 -20
- data/src/ruby_supportlib/phusion_passenger.rb +7 -7
- data/src/schema_printer/SchemaPrinterMain.cpp +0 -4
- metadata +19 -670
- data/dev/websocketpp.patch +0 -39
- data/src/agent/Core/AdminPanelConnector.h +0 -680
- data/src/cxx_supportlib/DataStructures/HashMap.h +0 -60
- data/src/cxx_supportlib/FileTools/LargeFiles.cpp +0 -41
- data/src/cxx_supportlib/FileTools/LargeFiles.h +0 -43
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +0 -975
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +0 -338
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +0 -824
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +0 -353
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +0 -154
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +0 -223
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +0 -237
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +0 -283
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +0 -950
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +0 -144
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +0 -1364
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +0 -712
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +0 -826
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +0 -288
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +0 -691
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +0 -1358
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +0 -628
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +0 -825
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +0 -989
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +0 -650
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +0 -1938
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +0 -2710
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +0 -333
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +0 -644
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +0 -746
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +0 -1165
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +0 -452
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +0 -826
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +0 -624
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +0 -598
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +0 -615
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +0 -666
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +0 -618
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +0 -2755
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +0 -320
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +0 -275
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +0 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +0 -294
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +0 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +0 -267
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +0 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +0 -523
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancel_after.hpp +0 -303
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancel_at.hpp +0 -296
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +0 -247
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +0 -237
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +0 -159
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_composed.hpp +0 -1323
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +0 -525
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +0 -269
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +0 -130
- data/src/cxx_supportlib/vendor-modified/boost/asio/composed.hpp +0 -415
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +0 -1348
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +0 -85
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +0 -77
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +0 -330
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/default_completion_token.hpp +0 -91
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +0 -220
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +0 -721
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +0 -107
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +0 -166
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +0 -713
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +0 -109
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +0 -839
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +0 -128
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +0 -127
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +0 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +0 -192
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +0 -90
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_message.hpp +0 -129
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_payload.hpp +0 -222
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_payload_handler.hpp +0 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +0 -254
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +0 -94
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +0 -122
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +0 -151
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +0 -1413
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +0 -445
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +0 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +0 -341
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +0 -181
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +0 -190
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +0 -189
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +0 -249
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +0 -297
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +0 -85
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +0 -154
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +0 -86
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +0 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +0 -123
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +0 -268
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +0 -555
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +0 -513
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +0 -333
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +0 -120
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +0 -996
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +0 -113
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +0 -471
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +0 -111
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +0 -828
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +0 -173
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +0 -400
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +0 -207
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +0 -142
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +0 -114
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +0 -916
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +0 -251
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +0 -115
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +0 -610
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +0 -76
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +0 -131
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +0 -65
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_serial_port_service.ipp +0 -170
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +0 -86
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +0 -234
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +0 -314
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +0 -677
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +0 -126
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +0 -402
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +0 -95
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +0 -199
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +0 -828
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +0 -4046
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +0 -187
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +0 -348
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +0 -204
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +0 -99
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_defer.hpp +0 -209
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_dispatch.hpp +0 -195
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_post.hpp +0 -209
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiation_base.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +0 -86
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +0 -179
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +0 -197
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +0 -192
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +0 -689
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +0 -191
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +0 -187
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +0 -263
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +0 -116
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +0 -86
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +0 -321
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +0 -282
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +0 -142
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +0 -207
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +0 -208
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +0 -194
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +0 -193
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +0 -196
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +0 -631
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +0 -665
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +0 -114
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +0 -298
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +0 -128
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +0 -273
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/limits.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +0 -128
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +0 -108
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +0 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +0 -85
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +0 -521
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +0 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +0 -173
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +0 -164
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +0 -91
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +0 -177
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +0 -120
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +0 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +0 -78
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_serial_port_service.hpp +0 -251
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +0 -87
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +0 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +0 -111
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +0 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +0 -228
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +0 -572
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +0 -133
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +0 -325
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +0 -164
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +0 -199
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +0 -205
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +0 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +0 -202
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +0 -196
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +0 -635
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +0 -757
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +0 -133
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +0 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +0 -73
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +0 -214
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +0 -116
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +0 -142
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +0 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +0 -152
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +0 -149
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +0 -243
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +0 -89
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +0 -293
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +0 -165
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +0 -46
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +0 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +0 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +0 -294
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +0 -100
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +0 -377
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +0 -318
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +0 -429
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +0 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +0 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +0 -59
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +0 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +0 -78
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +0 -175
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +0 -146
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +0 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +0 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +0 -101
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +0 -262
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +0 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timed_cancel_op.hpp +0 -363
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +0 -391
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +0 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +0 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +0 -180
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +0 -85
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +0 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +0 -130
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +0 -145
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +0 -197
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +0 -199
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +0 -390
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +0 -280
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +0 -1935
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +0 -1362
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +0 -1082
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +0 -193
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +0 -192
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +0 -118
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +0 -1004
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +0 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +0 -755
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +0 -330
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +0 -753
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +0 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +0 -390
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +0 -365
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +0 -364
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +0 -134
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +0 -538
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +0 -516
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +0 -516
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +0 -154
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +0 -303
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +0 -189
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +0 -295
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +0 -230
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +0 -363
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +0 -128
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +0 -202
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +0 -149
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +0 -681
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +0 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +0 -142
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +0 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +0 -625
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +0 -199
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +0 -183
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +0 -63
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +0 -1224
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +0 -790
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +0 -257
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +0 -457
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +0 -226
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +0 -191
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +0 -113
- data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +0 -168
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +0 -191
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +0 -125
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +0 -135
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +0 -112
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +0 -123
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +0 -124
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +0 -129
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +0 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +0 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/immediate.hpp +0 -144
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +0 -128
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +0 -136
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +0 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +0 -278
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +0 -1198
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +0 -406
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +0 -386
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancel_after.hpp +0 -270
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancel_at.hpp +0 -270
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +0 -98
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +0 -459
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +0 -705
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +0 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +0 -151
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +0 -146
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +0 -149
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +0 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +0 -130
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +0 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +0 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +0 -319
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +0 -435
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +0 -178
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +0 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +0 -172
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +0 -904
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +0 -564
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +0 -2670
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +0 -289
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +0 -556
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +0 -1402
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +0 -94
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +0 -181
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +0 -279
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +0 -144
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +0 -303
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +0 -709
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +0 -782
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +0 -482
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +0 -1507
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +0 -398
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +0 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +0 -283
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +0 -423
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +0 -158
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +0 -130
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +0 -409
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +0 -180
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +0 -126
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +0 -65
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +0 -284
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +0 -1114
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +0 -115
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +0 -190
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +0 -262
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +0 -309
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +0 -143
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +0 -197
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +0 -568
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +0 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +0 -237
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +0 -208
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +0 -344
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +0 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +0 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +0 -220
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +0 -189
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +0 -193
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +0 -259
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +0 -233
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +0 -131
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +0 -113
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +0 -63
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +0 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +0 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +0 -245
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +0 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +0 -141
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +0 -133
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/seq_packet_protocol.hpp +0 -86
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +0 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +0 -83
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +0 -775
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +0 -561
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +0 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +0 -215
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +0 -581
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +0 -315
- data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +0 -1549
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +0 -830
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +0 -3204
- data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +0 -140
- data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +0 -346
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +0 -437
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +0 -347
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +0 -169
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +0 -173
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +0 -561
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +0 -873
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +0 -764
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +0 -211
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +0 -121
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +0 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +0 -379
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +0 -171
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +0 -378
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +0 -34
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +0 -74
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +0 -219
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +0 -78
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +0 -129
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +0 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +0 -1324
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +0 -126
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +0 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +0 -166
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +0 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +0 -100
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +0 -1044
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +0 -65
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +0 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +0 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +0 -559
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +0 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +0 -673
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +0 -269
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +0 -965
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +0 -102
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +0 -103
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +0 -104
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +0 -118
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +0 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +0 -238
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +0 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +0 -163
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +0 -161
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +0 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +0 -58
- data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +0 -1528
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +0 -843
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +0 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +0 -195
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +0 -1059
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/operator_bool.hpp +0 -64
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/requires_cxx11.hpp +0 -23
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_forward.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_nullptr_t.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/websocketpp/COPYING +0 -145
- data/src/cxx_supportlib/vendor-modified/websocketpp/changelog.md +0 -444
- data/src/cxx_supportlib/vendor-modified/websocketpp/readme.md +0 -49
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/base64/base64.hpp +0 -178
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/client.hpp +0 -33
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/close.hpp +0 -353
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio.hpp +0 -141
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio_ssl.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/chrono.hpp +0 -68
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/connection_hdl.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/cpp11.hpp +0 -162
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/functional.hpp +0 -100
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +0 -448
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/memory.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/network.hpp +0 -106
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/platforms.hpp +0 -46
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/random.hpp +0 -82
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/regex.hpp +0 -59
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/stdint.hpp +0 -73
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/system_error.hpp +0 -84
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/thread.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/time.hpp +0 -56
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/type_traits.hpp +0 -65
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/concurrency/basic.hpp +0 -46
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/concurrency/none.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio.hpp +0 -77
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_client.hpp +0 -77
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -73
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -73
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/boost_config.hpp +0 -72
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core.hpp +0 -297
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core_client.hpp +0 -294
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug.hpp +0 -286
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug_asio.hpp +0 -77
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -73
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/minimal_client.hpp +0 -72
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/minimal_server.hpp +0 -312
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection.hpp +0 -1642
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection_base.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint.hpp +0 -700
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint_base.hpp +0 -38
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/error.hpp +0 -277
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/extension.hpp +0 -102
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -129
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -817
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/frame.hpp +0 -853
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/constants.hpp +0 -308
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/parser.hpp +0 -200
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/request.hpp +0 -191
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/response.hpp +0 -266
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/parser.hpp +0 -629
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/request.hpp +0 -124
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/response.hpp +0 -188
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/connection_impl.hpp +0 -2375
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -269
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -87
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/basic.hpp +0 -199
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/levels.hpp +0 -203
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/stub.hpp +0 -119
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/syslog.hpp +0 -146
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/message.hpp +0 -340
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/pool.hpp +0 -229
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/base.hpp +0 -299
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi00.hpp +0 -462
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi07.hpp +0 -78
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi08.hpp +0 -83
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi13.hpp +0 -1072
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/processor.hpp +0 -407
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/random/none.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/random/random_device.hpp +0 -80
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -173
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -195
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/server.hpp +0 -33
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/sha1/sha1.hpp +0 -189
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/base.hpp +0 -232
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/connection.hpp +0 -1197
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -1182
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -159
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -372
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -474
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/connection.hpp +0 -238
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -77
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/base.hpp +0 -104
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/connection.hpp +0 -412
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -140
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/base.hpp +0 -133
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -714
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -222
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/base.hpp +0 -95
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/connection.hpp +0 -286
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -140
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/uri.hpp +0 -356
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utf8_validator.hpp +0 -154
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utilities.hpp +0 -180
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/version.hpp +0 -61
@@ -1,950 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// async_result.hpp
|
3
|
-
// ~~~~~~~~~~~~~~~~
|
4
|
-
//
|
5
|
-
// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
6
|
-
//
|
7
|
-
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
8
|
-
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
9
|
-
//
|
10
|
-
|
11
|
-
#ifndef BOOST_ASIO_ASYNC_RESULT_HPP
|
12
|
-
#define BOOST_ASIO_ASYNC_RESULT_HPP
|
13
|
-
|
14
|
-
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
-
# pragma once
|
16
|
-
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
-
|
18
|
-
#include <boost/asio/detail/config.hpp>
|
19
|
-
#include <boost/asio/detail/type_traits.hpp>
|
20
|
-
|
21
|
-
#include <boost/asio/detail/push_options.hpp>
|
22
|
-
|
23
|
-
namespace boost {
|
24
|
-
namespace asio {
|
25
|
-
namespace detail {
|
26
|
-
|
27
|
-
template <typename T>
|
28
|
-
struct is_completion_signature : false_type
|
29
|
-
{
|
30
|
-
};
|
31
|
-
|
32
|
-
template <typename R, typename... Args>
|
33
|
-
struct is_completion_signature<R(Args...)> : true_type
|
34
|
-
{
|
35
|
-
};
|
36
|
-
|
37
|
-
template <typename R, typename... Args>
|
38
|
-
struct is_completion_signature<R(Args...) &> : true_type
|
39
|
-
{
|
40
|
-
};
|
41
|
-
|
42
|
-
template <typename R, typename... Args>
|
43
|
-
struct is_completion_signature<R(Args...) &&> : true_type
|
44
|
-
{
|
45
|
-
};
|
46
|
-
|
47
|
-
# if defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
48
|
-
|
49
|
-
template <typename R, typename... Args>
|
50
|
-
struct is_completion_signature<R(Args...) noexcept> : true_type
|
51
|
-
{
|
52
|
-
};
|
53
|
-
|
54
|
-
template <typename R, typename... Args>
|
55
|
-
struct is_completion_signature<R(Args...) & noexcept> : true_type
|
56
|
-
{
|
57
|
-
};
|
58
|
-
|
59
|
-
template <typename R, typename... Args>
|
60
|
-
struct is_completion_signature<R(Args...) && noexcept> : true_type
|
61
|
-
{
|
62
|
-
};
|
63
|
-
|
64
|
-
# endif // defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
65
|
-
|
66
|
-
template <typename... T>
|
67
|
-
struct are_completion_signatures : false_type
|
68
|
-
{
|
69
|
-
};
|
70
|
-
|
71
|
-
template <>
|
72
|
-
struct are_completion_signatures<>
|
73
|
-
: true_type
|
74
|
-
{
|
75
|
-
};
|
76
|
-
|
77
|
-
template <typename T0>
|
78
|
-
struct are_completion_signatures<T0>
|
79
|
-
: is_completion_signature<T0>
|
80
|
-
{
|
81
|
-
};
|
82
|
-
|
83
|
-
template <typename T0, typename... TN>
|
84
|
-
struct are_completion_signatures<T0, TN...>
|
85
|
-
: integral_constant<bool, (
|
86
|
-
is_completion_signature<T0>::value
|
87
|
-
&& are_completion_signatures<TN...>::value)>
|
88
|
-
{
|
89
|
-
};
|
90
|
-
|
91
|
-
} // namespace detail
|
92
|
-
|
93
|
-
#if defined(BOOST_ASIO_HAS_CONCEPTS)
|
94
|
-
|
95
|
-
namespace detail {
|
96
|
-
|
97
|
-
template <typename T, typename... Args>
|
98
|
-
BOOST_ASIO_CONCEPT callable_with = requires(T&& t, Args&&... args)
|
99
|
-
{
|
100
|
-
static_cast<T&&>(t)(static_cast<Args&&>(args)...);
|
101
|
-
};
|
102
|
-
|
103
|
-
template <typename T, typename... Signatures>
|
104
|
-
struct is_completion_handler_for : false_type
|
105
|
-
{
|
106
|
-
};
|
107
|
-
|
108
|
-
template <typename T, typename R, typename... Args>
|
109
|
-
struct is_completion_handler_for<T, R(Args...)>
|
110
|
-
: integral_constant<bool, (callable_with<decay_t<T>, Args...>)>
|
111
|
-
{
|
112
|
-
};
|
113
|
-
|
114
|
-
template <typename T, typename R, typename... Args>
|
115
|
-
struct is_completion_handler_for<T, R(Args...) &>
|
116
|
-
: integral_constant<bool, (callable_with<decay_t<T>&, Args...>)>
|
117
|
-
{
|
118
|
-
};
|
119
|
-
|
120
|
-
template <typename T, typename R, typename... Args>
|
121
|
-
struct is_completion_handler_for<T, R(Args...) &&>
|
122
|
-
: integral_constant<bool, (callable_with<decay_t<T>&&, Args...>)>
|
123
|
-
{
|
124
|
-
};
|
125
|
-
|
126
|
-
# if defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
127
|
-
|
128
|
-
template <typename T, typename R, typename... Args>
|
129
|
-
struct is_completion_handler_for<T, R(Args...) noexcept>
|
130
|
-
: integral_constant<bool, (callable_with<decay_t<T>, Args...>)>
|
131
|
-
{
|
132
|
-
};
|
133
|
-
|
134
|
-
template <typename T, typename R, typename... Args>
|
135
|
-
struct is_completion_handler_for<T, R(Args...) & noexcept>
|
136
|
-
: integral_constant<bool, (callable_with<decay_t<T>&, Args...>)>
|
137
|
-
{
|
138
|
-
};
|
139
|
-
|
140
|
-
template <typename T, typename R, typename... Args>
|
141
|
-
struct is_completion_handler_for<T, R(Args...) && noexcept>
|
142
|
-
: integral_constant<bool, (callable_with<decay_t<T>&&, Args...>)>
|
143
|
-
{
|
144
|
-
};
|
145
|
-
|
146
|
-
# endif // defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
147
|
-
|
148
|
-
template <typename T, typename Signature0, typename... SignatureN>
|
149
|
-
struct is_completion_handler_for<T, Signature0, SignatureN...>
|
150
|
-
: integral_constant<bool, (
|
151
|
-
is_completion_handler_for<T, Signature0>::value
|
152
|
-
&& is_completion_handler_for<T, SignatureN...>::value)>
|
153
|
-
{
|
154
|
-
};
|
155
|
-
|
156
|
-
} // namespace detail
|
157
|
-
|
158
|
-
template <typename T>
|
159
|
-
BOOST_ASIO_CONCEPT completion_signature =
|
160
|
-
detail::is_completion_signature<T>::value;
|
161
|
-
|
162
|
-
#define BOOST_ASIO_COMPLETION_SIGNATURE \
|
163
|
-
::boost::asio::completion_signature
|
164
|
-
|
165
|
-
template <typename T, typename... Signatures>
|
166
|
-
BOOST_ASIO_CONCEPT completion_handler_for =
|
167
|
-
detail::are_completion_signatures<Signatures...>::value
|
168
|
-
&& detail::is_completion_handler_for<T, Signatures...>::value;
|
169
|
-
|
170
|
-
#define BOOST_ASIO_COMPLETION_HANDLER_FOR(sig) \
|
171
|
-
::boost::asio::completion_handler_for<sig>
|
172
|
-
#define BOOST_ASIO_COMPLETION_HANDLER_FOR2(sig0, sig1) \
|
173
|
-
::boost::asio::completion_handler_for<sig0, sig1>
|
174
|
-
#define BOOST_ASIO_COMPLETION_HANDLER_FOR3(sig0, sig1, sig2) \
|
175
|
-
::boost::asio::completion_handler_for<sig0, sig1, sig2>
|
176
|
-
|
177
|
-
#else // defined(BOOST_ASIO_HAS_CONCEPTS)
|
178
|
-
|
179
|
-
#define BOOST_ASIO_COMPLETION_SIGNATURE typename
|
180
|
-
#define BOOST_ASIO_COMPLETION_HANDLER_FOR(sig) typename
|
181
|
-
#define BOOST_ASIO_COMPLETION_HANDLER_FOR2(sig0, sig1) typename
|
182
|
-
#define BOOST_ASIO_COMPLETION_HANDLER_FOR3(sig0, sig1, sig2) typename
|
183
|
-
|
184
|
-
#endif // defined(BOOST_ASIO_HAS_CONCEPTS)
|
185
|
-
|
186
|
-
namespace detail {
|
187
|
-
|
188
|
-
template <typename T>
|
189
|
-
struct is_lvalue_completion_signature : false_type
|
190
|
-
{
|
191
|
-
};
|
192
|
-
|
193
|
-
template <typename R, typename... Args>
|
194
|
-
struct is_lvalue_completion_signature<R(Args...) &> : true_type
|
195
|
-
{
|
196
|
-
};
|
197
|
-
|
198
|
-
# if defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
199
|
-
|
200
|
-
template <typename R, typename... Args>
|
201
|
-
struct is_lvalue_completion_signature<R(Args...) & noexcept> : true_type
|
202
|
-
{
|
203
|
-
};
|
204
|
-
|
205
|
-
# endif // defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
206
|
-
|
207
|
-
template <typename... Signatures>
|
208
|
-
struct are_any_lvalue_completion_signatures : false_type
|
209
|
-
{
|
210
|
-
};
|
211
|
-
|
212
|
-
template <typename Sig0>
|
213
|
-
struct are_any_lvalue_completion_signatures<Sig0>
|
214
|
-
: is_lvalue_completion_signature<Sig0>
|
215
|
-
{
|
216
|
-
};
|
217
|
-
|
218
|
-
template <typename Sig0, typename... SigN>
|
219
|
-
struct are_any_lvalue_completion_signatures<Sig0, SigN...>
|
220
|
-
: integral_constant<bool, (
|
221
|
-
is_lvalue_completion_signature<Sig0>::value
|
222
|
-
|| are_any_lvalue_completion_signatures<SigN...>::value)>
|
223
|
-
{
|
224
|
-
};
|
225
|
-
|
226
|
-
template <typename T>
|
227
|
-
struct is_rvalue_completion_signature : false_type
|
228
|
-
{
|
229
|
-
};
|
230
|
-
|
231
|
-
template <typename R, typename... Args>
|
232
|
-
struct is_rvalue_completion_signature<R(Args...) &&> : true_type
|
233
|
-
{
|
234
|
-
};
|
235
|
-
|
236
|
-
# if defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
237
|
-
|
238
|
-
template <typename R, typename... Args>
|
239
|
-
struct is_rvalue_completion_signature<R(Args...) && noexcept> : true_type
|
240
|
-
{
|
241
|
-
};
|
242
|
-
|
243
|
-
# endif // defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
244
|
-
|
245
|
-
template <typename... Signatures>
|
246
|
-
struct are_any_rvalue_completion_signatures : false_type
|
247
|
-
{
|
248
|
-
};
|
249
|
-
|
250
|
-
template <typename Sig0>
|
251
|
-
struct are_any_rvalue_completion_signatures<Sig0>
|
252
|
-
: is_rvalue_completion_signature<Sig0>
|
253
|
-
{
|
254
|
-
};
|
255
|
-
|
256
|
-
template <typename Sig0, typename... SigN>
|
257
|
-
struct are_any_rvalue_completion_signatures<Sig0, SigN...>
|
258
|
-
: integral_constant<bool, (
|
259
|
-
is_rvalue_completion_signature<Sig0>::value
|
260
|
-
|| are_any_rvalue_completion_signatures<SigN...>::value)>
|
261
|
-
{
|
262
|
-
};
|
263
|
-
|
264
|
-
template <typename T>
|
265
|
-
struct simple_completion_signature;
|
266
|
-
|
267
|
-
template <typename R, typename... Args>
|
268
|
-
struct simple_completion_signature<R(Args...)>
|
269
|
-
{
|
270
|
-
typedef R type(Args...);
|
271
|
-
};
|
272
|
-
|
273
|
-
template <typename R, typename... Args>
|
274
|
-
struct simple_completion_signature<R(Args...) &>
|
275
|
-
{
|
276
|
-
typedef R type(Args...);
|
277
|
-
};
|
278
|
-
|
279
|
-
template <typename R, typename... Args>
|
280
|
-
struct simple_completion_signature<R(Args...) &&>
|
281
|
-
{
|
282
|
-
typedef R type(Args...);
|
283
|
-
};
|
284
|
-
|
285
|
-
# if defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
286
|
-
|
287
|
-
template <typename R, typename... Args>
|
288
|
-
struct simple_completion_signature<R(Args...) noexcept>
|
289
|
-
{
|
290
|
-
typedef R type(Args...);
|
291
|
-
};
|
292
|
-
|
293
|
-
template <typename R, typename... Args>
|
294
|
-
struct simple_completion_signature<R(Args...) & noexcept>
|
295
|
-
{
|
296
|
-
typedef R type(Args...);
|
297
|
-
};
|
298
|
-
|
299
|
-
template <typename R, typename... Args>
|
300
|
-
struct simple_completion_signature<R(Args...) && noexcept>
|
301
|
-
{
|
302
|
-
typedef R type(Args...);
|
303
|
-
};
|
304
|
-
|
305
|
-
# endif // defined(BOOST_ASIO_HAS_NOEXCEPT_FUNCTION_TYPE)
|
306
|
-
|
307
|
-
template <typename CompletionToken,
|
308
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
|
309
|
-
class completion_handler_async_result
|
310
|
-
{
|
311
|
-
public:
|
312
|
-
typedef CompletionToken completion_handler_type;
|
313
|
-
typedef void return_type;
|
314
|
-
|
315
|
-
explicit completion_handler_async_result(completion_handler_type&)
|
316
|
-
{
|
317
|
-
}
|
318
|
-
|
319
|
-
return_type get()
|
320
|
-
{
|
321
|
-
}
|
322
|
-
|
323
|
-
template <typename Initiation,
|
324
|
-
BOOST_ASIO_COMPLETION_HANDLER_FOR(Signatures...) RawCompletionToken,
|
325
|
-
typename... Args>
|
326
|
-
static return_type initiate(Initiation&& initiation,
|
327
|
-
RawCompletionToken&& token, Args&&... args)
|
328
|
-
{
|
329
|
-
static_cast<Initiation&&>(initiation)(
|
330
|
-
static_cast<RawCompletionToken&&>(token),
|
331
|
-
static_cast<Args&&>(args)...);
|
332
|
-
}
|
333
|
-
|
334
|
-
private:
|
335
|
-
completion_handler_async_result(
|
336
|
-
const completion_handler_async_result&) = delete;
|
337
|
-
completion_handler_async_result& operator=(
|
338
|
-
const completion_handler_async_result&) = delete;
|
339
|
-
};
|
340
|
-
|
341
|
-
} // namespace detail
|
342
|
-
|
343
|
-
#if defined(GENERATING_DOCUMENTATION)
|
344
|
-
|
345
|
-
/// An interface for customising the behaviour of an initiating function.
|
346
|
-
/**
|
347
|
-
* The async_result traits class is used for determining:
|
348
|
-
*
|
349
|
-
* @li the concrete completion handler type to be called at the end of the
|
350
|
-
* asynchronous operation;
|
351
|
-
*
|
352
|
-
* @li the initiating function return type; and
|
353
|
-
*
|
354
|
-
* @li how the return value of the initiating function is obtained.
|
355
|
-
*
|
356
|
-
* The trait allows the handler and return types to be determined at the point
|
357
|
-
* where the specific completion handler signature is known.
|
358
|
-
*
|
359
|
-
* This template may be specialised for user-defined completion token types.
|
360
|
-
* The primary template assumes that the CompletionToken is the completion
|
361
|
-
* handler.
|
362
|
-
*/
|
363
|
-
template <typename CompletionToken,
|
364
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
|
365
|
-
class async_result
|
366
|
-
{
|
367
|
-
public:
|
368
|
-
/// The concrete completion handler type for the specific signature.
|
369
|
-
typedef CompletionToken completion_handler_type;
|
370
|
-
|
371
|
-
/// The return type of the initiating function.
|
372
|
-
typedef void return_type;
|
373
|
-
|
374
|
-
/// Construct an async result from a given handler.
|
375
|
-
/**
|
376
|
-
* When using a specalised async_result, the constructor has an opportunity
|
377
|
-
* to initialise some state associated with the completion handler, which is
|
378
|
-
* then returned from the initiating function.
|
379
|
-
*/
|
380
|
-
explicit async_result(completion_handler_type& h);
|
381
|
-
|
382
|
-
/// Obtain the value to be returned from the initiating function.
|
383
|
-
return_type get();
|
384
|
-
|
385
|
-
/// Initiate the asynchronous operation that will produce the result, and
|
386
|
-
/// obtain the value to be returned from the initiating function.
|
387
|
-
template <typename Initiation, typename RawCompletionToken, typename... Args>
|
388
|
-
static return_type initiate(
|
389
|
-
Initiation&& initiation,
|
390
|
-
RawCompletionToken&& token,
|
391
|
-
Args&&... args);
|
392
|
-
|
393
|
-
private:
|
394
|
-
async_result(const async_result&) = delete;
|
395
|
-
async_result& operator=(const async_result&) = delete;
|
396
|
-
};
|
397
|
-
|
398
|
-
#else // defined(GENERATING_DOCUMENTATION)
|
399
|
-
|
400
|
-
template <typename CompletionToken,
|
401
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
|
402
|
-
class async_result :
|
403
|
-
public conditional_t<
|
404
|
-
detail::are_any_lvalue_completion_signatures<Signatures...>::value
|
405
|
-
|| !detail::are_any_rvalue_completion_signatures<Signatures...>::value,
|
406
|
-
detail::completion_handler_async_result<CompletionToken, Signatures...>,
|
407
|
-
async_result<CompletionToken,
|
408
|
-
typename detail::simple_completion_signature<Signatures>::type...>
|
409
|
-
>
|
410
|
-
{
|
411
|
-
public:
|
412
|
-
typedef conditional_t<
|
413
|
-
detail::are_any_lvalue_completion_signatures<Signatures...>::value
|
414
|
-
|| !detail::are_any_rvalue_completion_signatures<Signatures...>::value,
|
415
|
-
detail::completion_handler_async_result<CompletionToken, Signatures...>,
|
416
|
-
async_result<CompletionToken,
|
417
|
-
typename detail::simple_completion_signature<Signatures>::type...>
|
418
|
-
> base_type;
|
419
|
-
|
420
|
-
using base_type::base_type;
|
421
|
-
|
422
|
-
private:
|
423
|
-
async_result(const async_result&) = delete;
|
424
|
-
async_result& operator=(const async_result&) = delete;
|
425
|
-
};
|
426
|
-
|
427
|
-
template <BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
|
428
|
-
class async_result<void, Signatures...>
|
429
|
-
{
|
430
|
-
// Empty.
|
431
|
-
};
|
432
|
-
|
433
|
-
#endif // defined(GENERATING_DOCUMENTATION)
|
434
|
-
|
435
|
-
/// Helper template to deduce the handler type from a CompletionToken, capture
|
436
|
-
/// a local copy of the handler, and then create an async_result for the
|
437
|
-
/// handler.
|
438
|
-
template <typename CompletionToken,
|
439
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
|
440
|
-
struct async_completion
|
441
|
-
{
|
442
|
-
/// The real handler type to be used for the asynchronous operation.
|
443
|
-
typedef typename boost::asio::async_result<
|
444
|
-
decay_t<CompletionToken>, Signatures...>::completion_handler_type
|
445
|
-
completion_handler_type;
|
446
|
-
|
447
|
-
/// Constructor.
|
448
|
-
/**
|
449
|
-
* The constructor creates the concrete completion handler and makes the link
|
450
|
-
* between the handler and the asynchronous result.
|
451
|
-
*/
|
452
|
-
explicit async_completion(CompletionToken& token)
|
453
|
-
: completion_handler(static_cast<conditional_t<
|
454
|
-
is_same<CompletionToken, completion_handler_type>::value,
|
455
|
-
completion_handler_type&, CompletionToken&&>>(token)),
|
456
|
-
result(completion_handler)
|
457
|
-
{
|
458
|
-
}
|
459
|
-
|
460
|
-
/// A copy of, or reference to, a real handler object.
|
461
|
-
conditional_t<
|
462
|
-
is_same<CompletionToken, completion_handler_type>::value,
|
463
|
-
completion_handler_type&, completion_handler_type> completion_handler;
|
464
|
-
|
465
|
-
/// The result of the asynchronous operation's initiating function.
|
466
|
-
async_result<decay_t<CompletionToken>, Signatures...> result;
|
467
|
-
};
|
468
|
-
|
469
|
-
namespace detail {
|
470
|
-
|
471
|
-
struct async_result_memfns_base
|
472
|
-
{
|
473
|
-
void initiate();
|
474
|
-
};
|
475
|
-
|
476
|
-
template <typename T>
|
477
|
-
struct async_result_memfns_derived
|
478
|
-
: T, async_result_memfns_base
|
479
|
-
{
|
480
|
-
};
|
481
|
-
|
482
|
-
template <typename T, T>
|
483
|
-
struct async_result_memfns_check
|
484
|
-
{
|
485
|
-
};
|
486
|
-
|
487
|
-
template <typename>
|
488
|
-
char (&async_result_initiate_memfn_helper(...))[2];
|
489
|
-
|
490
|
-
template <typename T>
|
491
|
-
char async_result_initiate_memfn_helper(
|
492
|
-
async_result_memfns_check<
|
493
|
-
void (async_result_memfns_base::*)(),
|
494
|
-
&async_result_memfns_derived<T>::initiate>*);
|
495
|
-
|
496
|
-
template <typename CompletionToken,
|
497
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures>
|
498
|
-
struct async_result_has_initiate_memfn
|
499
|
-
: integral_constant<bool, sizeof(async_result_initiate_memfn_helper<
|
500
|
-
async_result<decay_t<CompletionToken>, Signatures...>
|
501
|
-
>(0)) != 1>
|
502
|
-
{
|
503
|
-
};
|
504
|
-
|
505
|
-
} // namespace detail
|
506
|
-
|
507
|
-
#if defined(GENERATING_DOCUMENTATION)
|
508
|
-
# define BOOST_ASIO_INITFN_RESULT_TYPE(ct, sig) \
|
509
|
-
void_or_deduced
|
510
|
-
# define BOOST_ASIO_INITFN_RESULT_TYPE2(ct, sig0, sig1) \
|
511
|
-
void_or_deduced
|
512
|
-
# define BOOST_ASIO_INITFN_RESULT_TYPE3(ct, sig0, sig1, sig2) \
|
513
|
-
void_or_deduced
|
514
|
-
#else
|
515
|
-
# define BOOST_ASIO_INITFN_RESULT_TYPE(ct, sig) \
|
516
|
-
typename ::boost::asio::async_result< \
|
517
|
-
typename ::boost::asio::decay<ct>::type, sig>::return_type
|
518
|
-
# define BOOST_ASIO_INITFN_RESULT_TYPE2(ct, sig0, sig1) \
|
519
|
-
typename ::boost::asio::async_result< \
|
520
|
-
typename ::boost::asio::decay<ct>::type, sig0, sig1>::return_type
|
521
|
-
# define BOOST_ASIO_INITFN_RESULT_TYPE3(ct, sig0, sig1, sig2) \
|
522
|
-
typename ::boost::asio::async_result< \
|
523
|
-
typename ::boost::asio::decay<ct>::type, sig0, sig1, sig2>::return_type
|
524
|
-
#define BOOST_ASIO_HANDLER_TYPE(ct, sig) \
|
525
|
-
typename ::boost::asio::async_result< \
|
526
|
-
typename ::boost::asio::decay<ct>::type, sig>::completion_handler_type
|
527
|
-
#define BOOST_ASIO_HANDLER_TYPE2(ct, sig0, sig1) \
|
528
|
-
typename ::boost::asio::async_result< \
|
529
|
-
typename ::boost::asio::decay<ct>::type, \
|
530
|
-
sig0, sig1>::completion_handler_type
|
531
|
-
#define BOOST_ASIO_HANDLER_TYPE3(ct, sig0, sig1, sig2) \
|
532
|
-
typename ::boost::asio::async_result< \
|
533
|
-
typename ::boost::asio::decay<ct>::type, \
|
534
|
-
sig0, sig1, sig2>::completion_handler_type
|
535
|
-
#endif
|
536
|
-
|
537
|
-
#if defined(GENERATING_DOCUMENTATION)
|
538
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ct, sig) \
|
539
|
-
auto
|
540
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE2(ct, sig0, sig1) \
|
541
|
-
auto
|
542
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE3(ct, sig0, sig1, sig2) \
|
543
|
-
auto
|
544
|
-
#elif defined(BOOST_ASIO_HAS_RETURN_TYPE_DEDUCTION)
|
545
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ct, sig) \
|
546
|
-
auto
|
547
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE2(ct, sig0, sig1) \
|
548
|
-
auto
|
549
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE3(ct, sig0, sig1, sig2) \
|
550
|
-
auto
|
551
|
-
#else
|
552
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ct, sig) \
|
553
|
-
BOOST_ASIO_INITFN_RESULT_TYPE(ct, sig)
|
554
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE2(ct, sig0, sig1) \
|
555
|
-
BOOST_ASIO_INITFN_RESULT_TYPE2(ct, sig0, sig1)
|
556
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE3(ct, sig0, sig1, sig2) \
|
557
|
-
BOOST_ASIO_INITFN_RESULT_TYPE3(ct, sig0, sig1, sig2)
|
558
|
-
#endif
|
559
|
-
|
560
|
-
#if defined(GENERATING_DOCUMENTATION)
|
561
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ct, sig) \
|
562
|
-
auto
|
563
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX2(ct, sig0, sig1) \
|
564
|
-
auto
|
565
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX3(ct, sig0, sig1, sig2) \
|
566
|
-
auto
|
567
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX(expr)
|
568
|
-
#elif defined(BOOST_ASIO_HAS_RETURN_TYPE_DEDUCTION)
|
569
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ct, sig) \
|
570
|
-
auto
|
571
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX2(ct, sig0, sig1) \
|
572
|
-
auto
|
573
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX3(ct, sig0, sig1, sig2) \
|
574
|
-
auto
|
575
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX(expr)
|
576
|
-
#else
|
577
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(ct, sig) \
|
578
|
-
auto
|
579
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX2(ct, sig0, sig1) \
|
580
|
-
auto
|
581
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX3(ct, sig0, sig1, sig2) \
|
582
|
-
auto
|
583
|
-
# define BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX(expr) -> decltype expr
|
584
|
-
#endif
|
585
|
-
|
586
|
-
#if defined(GENERATING_DOCUMENTATION)
|
587
|
-
# define BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE(ct, sig, expr) \
|
588
|
-
void_or_deduced
|
589
|
-
# define BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE2(ct, sig0, sig1, expr) \
|
590
|
-
void_or_deduced
|
591
|
-
# define BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE3(ct, sig0, sig1, sig2, expr) \
|
592
|
-
void_or_deduced
|
593
|
-
#else
|
594
|
-
# define BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE(ct, sig, expr) \
|
595
|
-
decltype expr
|
596
|
-
# define BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE2(ct, sig0, sig1, expr) \
|
597
|
-
decltype expr
|
598
|
-
# define BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE3(ct, sig0, sig1, sig2, expr) \
|
599
|
-
decltype expr
|
600
|
-
#endif
|
601
|
-
|
602
|
-
#if defined(GENERATING_DOCUMENTATION)
|
603
|
-
|
604
|
-
template <typename CompletionToken,
|
605
|
-
completion_signature... Signatures,
|
606
|
-
typename Initiation, typename... Args>
|
607
|
-
void_or_deduced async_initiate(
|
608
|
-
Initiation&& initiation,
|
609
|
-
type_identity_t<CompletionToken>& token,
|
610
|
-
Args&&... args);
|
611
|
-
|
612
|
-
#else // defined(GENERATING_DOCUMENTATION)
|
613
|
-
|
614
|
-
template <typename CompletionToken,
|
615
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures,
|
616
|
-
typename Initiation, typename... Args>
|
617
|
-
inline auto async_initiate(Initiation&& initiation,
|
618
|
-
type_identity_t<CompletionToken>& token, Args&&... args)
|
619
|
-
-> decltype(enable_if_t<
|
620
|
-
enable_if_t<
|
621
|
-
detail::are_completion_signatures<Signatures...>::value,
|
622
|
-
detail::async_result_has_initiate_memfn<
|
623
|
-
CompletionToken, Signatures...>>::value,
|
624
|
-
async_result<decay_t<CompletionToken>, Signatures...>>::initiate(
|
625
|
-
static_cast<Initiation&&>(initiation),
|
626
|
-
static_cast<CompletionToken&&>(token),
|
627
|
-
static_cast<Args&&>(args)...))
|
628
|
-
{
|
629
|
-
return async_result<decay_t<CompletionToken>, Signatures...>::initiate(
|
630
|
-
static_cast<Initiation&&>(initiation),
|
631
|
-
static_cast<CompletionToken&&>(token),
|
632
|
-
static_cast<Args&&>(args)...);
|
633
|
-
}
|
634
|
-
|
635
|
-
template <
|
636
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures,
|
637
|
-
typename CompletionToken, typename Initiation, typename... Args>
|
638
|
-
inline auto async_initiate(Initiation&& initiation,
|
639
|
-
CompletionToken&& token, Args&&... args)
|
640
|
-
-> decltype(enable_if_t<
|
641
|
-
enable_if_t<
|
642
|
-
detail::are_completion_signatures<Signatures...>::value,
|
643
|
-
detail::async_result_has_initiate_memfn<
|
644
|
-
CompletionToken, Signatures...>>::value,
|
645
|
-
async_result<decay_t<CompletionToken>, Signatures...>>::initiate(
|
646
|
-
static_cast<Initiation&&>(initiation),
|
647
|
-
static_cast<CompletionToken&&>(token),
|
648
|
-
static_cast<Args&&>(args)...))
|
649
|
-
{
|
650
|
-
return async_result<decay_t<CompletionToken>, Signatures...>::initiate(
|
651
|
-
static_cast<Initiation&&>(initiation),
|
652
|
-
static_cast<CompletionToken&&>(token),
|
653
|
-
static_cast<Args&&>(args)...);
|
654
|
-
}
|
655
|
-
|
656
|
-
template <typename CompletionToken,
|
657
|
-
BOOST_ASIO_COMPLETION_SIGNATURE... Signatures,
|
658
|
-
typename Initiation, typename... Args>
|
659
|
-
inline typename enable_if_t<
|
660
|
-
!enable_if_t<
|
661
|
-
detail::are_completion_signatures<Signatures...>::value,
|
662
|
-
detail::async_result_has_initiate_memfn<
|
663
|
-
CompletionToken, Signatures...>>::value,
|
664
|
-
async_result<decay_t<CompletionToken>, Signatures...>
|
665
|
-
>::return_type
|
666
|
-
async_initiate(Initiation&& initiation,
|
667
|
-
type_identity_t<CompletionToken>& token, Args&&... args)
|
668
|
-
{
|
669
|
-
async_completion<CompletionToken, Signatures...> completion(token);
|
670
|
-
|
671
|
-
static_cast<Initiation&&>(initiation)(
|
672
|
-
static_cast<
|
673
|
-
typename async_result<decay_t<CompletionToken>,
|
674
|
-
Signatures...>::completion_handler_type&&>(
|
675
|
-
completion.completion_handler),
|
676
|
-
static_cast<Args&&>(args)...);
|
677
|
-
|
678
|
-
return completion.result.get();
|
679
|
-
}
|
680
|
-
|
681
|
-
template <BOOST_ASIO_COMPLETION_SIGNATURE... Signatures,
|
682
|
-
typename CompletionToken, typename Initiation, typename... Args>
|
683
|
-
inline typename enable_if_t<
|
684
|
-
!enable_if_t<
|
685
|
-
detail::are_completion_signatures<Signatures...>::value,
|
686
|
-
detail::async_result_has_initiate_memfn<
|
687
|
-
CompletionToken, Signatures...>>::value,
|
688
|
-
async_result<decay_t<CompletionToken>, Signatures...>
|
689
|
-
>::return_type
|
690
|
-
async_initiate(Initiation&& initiation, CompletionToken&& token, Args&&... args)
|
691
|
-
{
|
692
|
-
async_completion<CompletionToken, Signatures...> completion(token);
|
693
|
-
|
694
|
-
static_cast<Initiation&&>(initiation)(
|
695
|
-
static_cast<
|
696
|
-
typename async_result<decay_t<CompletionToken>,
|
697
|
-
Signatures...>::completion_handler_type&&>(
|
698
|
-
completion.completion_handler),
|
699
|
-
static_cast<Args&&>(args)...);
|
700
|
-
|
701
|
-
return completion.result.get();
|
702
|
-
}
|
703
|
-
|
704
|
-
#endif // defined(GENERATING_DOCUMENTATION)
|
705
|
-
|
706
|
-
#if defined(BOOST_ASIO_HAS_CONCEPTS)
|
707
|
-
|
708
|
-
namespace detail {
|
709
|
-
|
710
|
-
template <typename... Signatures>
|
711
|
-
struct initiation_archetype
|
712
|
-
{
|
713
|
-
template <completion_handler_for<Signatures...> CompletionHandler>
|
714
|
-
void operator()(CompletionHandler&&) const
|
715
|
-
{
|
716
|
-
}
|
717
|
-
};
|
718
|
-
|
719
|
-
} // namespace detail
|
720
|
-
|
721
|
-
template <typename T, typename... Signatures>
|
722
|
-
BOOST_ASIO_CONCEPT completion_token_for =
|
723
|
-
detail::are_completion_signatures<Signatures...>::value
|
724
|
-
&&
|
725
|
-
requires(T&& t)
|
726
|
-
{
|
727
|
-
async_initiate<T, Signatures...>(
|
728
|
-
detail::initiation_archetype<Signatures...>{}, t);
|
729
|
-
};
|
730
|
-
|
731
|
-
#define BOOST_ASIO_COMPLETION_TOKEN_FOR(sig) \
|
732
|
-
::boost::asio::completion_token_for<sig>
|
733
|
-
#define BOOST_ASIO_COMPLETION_TOKEN_FOR2(sig0, sig1) \
|
734
|
-
::boost::asio::completion_token_for<sig0, sig1>
|
735
|
-
#define BOOST_ASIO_COMPLETION_TOKEN_FOR3(sig0, sig1, sig2) \
|
736
|
-
::boost::asio::completion_token_for<sig0, sig1, sig2>
|
737
|
-
|
738
|
-
#else // defined(BOOST_ASIO_HAS_CONCEPTS)
|
739
|
-
|
740
|
-
#define BOOST_ASIO_COMPLETION_TOKEN_FOR(sig) typename
|
741
|
-
#define BOOST_ASIO_COMPLETION_TOKEN_FOR2(sig0, sig1) typename
|
742
|
-
#define BOOST_ASIO_COMPLETION_TOKEN_FOR3(sig0, sig1, sig2) typename
|
743
|
-
|
744
|
-
#endif // defined(BOOST_ASIO_HAS_CONCEPTS)
|
745
|
-
|
746
|
-
namespace detail {
|
747
|
-
|
748
|
-
struct async_operation_probe {};
|
749
|
-
struct async_operation_probe_result {};
|
750
|
-
|
751
|
-
template <typename Call, typename = void>
|
752
|
-
struct is_async_operation_call : false_type
|
753
|
-
{
|
754
|
-
};
|
755
|
-
|
756
|
-
template <typename Call>
|
757
|
-
struct is_async_operation_call<Call,
|
758
|
-
void_t<
|
759
|
-
enable_if_t<
|
760
|
-
is_same<
|
761
|
-
result_of_t<Call>,
|
762
|
-
async_operation_probe_result
|
763
|
-
>::value
|
764
|
-
>
|
765
|
-
>
|
766
|
-
> : true_type
|
767
|
-
{
|
768
|
-
};
|
769
|
-
|
770
|
-
} // namespace detail
|
771
|
-
|
772
|
-
#if !defined(GENERATING_DOCUMENTATION)
|
773
|
-
|
774
|
-
template <typename... Signatures>
|
775
|
-
class async_result<detail::async_operation_probe, Signatures...>
|
776
|
-
{
|
777
|
-
public:
|
778
|
-
typedef detail::async_operation_probe_result return_type;
|
779
|
-
|
780
|
-
template <typename Initiation, typename... InitArgs>
|
781
|
-
static return_type initiate(Initiation&&,
|
782
|
-
detail::async_operation_probe, InitArgs&&...)
|
783
|
-
{
|
784
|
-
return return_type();
|
785
|
-
}
|
786
|
-
};
|
787
|
-
|
788
|
-
#endif // !defined(GENERATING_DOCUMENTATION)
|
789
|
-
|
790
|
-
#if defined(GENERATING_DOCUMENTATION)
|
791
|
-
|
792
|
-
/// The is_async_operation trait detects whether a type @c T and arguments
|
793
|
-
/// @c Args... may be used to initiate an asynchronous operation.
|
794
|
-
/**
|
795
|
-
* Class template @c is_async_operation is a trait is derived from @c true_type
|
796
|
-
* if the expression <tt>T(Args..., token)</tt> initiates an asynchronous
|
797
|
-
* operation, where @c token is an unspecified completion token type. Otherwise,
|
798
|
-
* @c is_async_operation is derived from @c false_type.
|
799
|
-
*/
|
800
|
-
template <typename T, typename... Args>
|
801
|
-
struct is_async_operation : integral_constant<bool, automatically_determined>
|
802
|
-
{
|
803
|
-
};
|
804
|
-
|
805
|
-
#else // defined(GENERATING_DOCUMENTATION)
|
806
|
-
|
807
|
-
template <typename T, typename... Args>
|
808
|
-
struct is_async_operation :
|
809
|
-
detail::is_async_operation_call<
|
810
|
-
T(Args..., detail::async_operation_probe)>
|
811
|
-
{
|
812
|
-
};
|
813
|
-
|
814
|
-
#endif // defined(GENERATING_DOCUMENTATION)
|
815
|
-
|
816
|
-
#if defined(BOOST_ASIO_HAS_CONCEPTS)
|
817
|
-
|
818
|
-
template <typename T, typename... Args>
|
819
|
-
BOOST_ASIO_CONCEPT async_operation = is_async_operation<T, Args...>::value;
|
820
|
-
|
821
|
-
#define BOOST_ASIO_ASYNC_OPERATION(t) \
|
822
|
-
::boost::asio::async_operation<t>
|
823
|
-
#define BOOST_ASIO_ASYNC_OPERATION1(t, a0) \
|
824
|
-
::boost::asio::async_operation<t, a0>
|
825
|
-
#define BOOST_ASIO_ASYNC_OPERATION2(t, a0, a1) \
|
826
|
-
::boost::asio::async_operation<t, a0, a1>
|
827
|
-
#define BOOST_ASIO_ASYNC_OPERATION3(t, a0, a1, a2) \
|
828
|
-
::boost::asio::async_operation<t, a0, a1, a2>
|
829
|
-
|
830
|
-
#else // defined(BOOST_ASIO_HAS_CONCEPTS)
|
831
|
-
|
832
|
-
#define BOOST_ASIO_ASYNC_OPERATION(t) typename
|
833
|
-
#define BOOST_ASIO_ASYNC_OPERATION1(t, a0) typename
|
834
|
-
#define BOOST_ASIO_ASYNC_OPERATION2(t, a0, a1) typename
|
835
|
-
#define BOOST_ASIO_ASYNC_OPERATION3(t, a0, a1, a2) typename
|
836
|
-
|
837
|
-
#endif // defined(BOOST_ASIO_HAS_CONCEPTS)
|
838
|
-
|
839
|
-
namespace detail {
|
840
|
-
|
841
|
-
struct completion_signature_probe {};
|
842
|
-
|
843
|
-
template <typename... T>
|
844
|
-
struct completion_signature_probe_result
|
845
|
-
{
|
846
|
-
template <template <typename...> class Op>
|
847
|
-
struct apply
|
848
|
-
{
|
849
|
-
typedef Op<T...> type;
|
850
|
-
};
|
851
|
-
};
|
852
|
-
|
853
|
-
template <typename T>
|
854
|
-
struct completion_signature_probe_result<T>
|
855
|
-
{
|
856
|
-
typedef T type;
|
857
|
-
|
858
|
-
template <template <typename...> class Op>
|
859
|
-
struct apply
|
860
|
-
{
|
861
|
-
typedef Op<T> type;
|
862
|
-
};
|
863
|
-
};
|
864
|
-
|
865
|
-
template <>
|
866
|
-
struct completion_signature_probe_result<void>
|
867
|
-
{
|
868
|
-
template <template <typename...> class Op>
|
869
|
-
struct apply
|
870
|
-
{
|
871
|
-
typedef Op<> type;
|
872
|
-
};
|
873
|
-
};
|
874
|
-
|
875
|
-
} // namespace detail
|
876
|
-
|
877
|
-
#if !defined(GENERATING_DOCUMENTATION)
|
878
|
-
|
879
|
-
template <typename... Signatures>
|
880
|
-
class async_result<detail::completion_signature_probe, Signatures...>
|
881
|
-
{
|
882
|
-
public:
|
883
|
-
typedef detail::completion_signature_probe_result<Signatures...> return_type;
|
884
|
-
|
885
|
-
template <typename Initiation, typename... InitArgs>
|
886
|
-
static return_type initiate(Initiation&&,
|
887
|
-
detail::completion_signature_probe, InitArgs&&...)
|
888
|
-
{
|
889
|
-
return return_type();
|
890
|
-
}
|
891
|
-
};
|
892
|
-
|
893
|
-
template <typename Signature>
|
894
|
-
class async_result<detail::completion_signature_probe, Signature>
|
895
|
-
{
|
896
|
-
public:
|
897
|
-
typedef detail::completion_signature_probe_result<Signature> return_type;
|
898
|
-
|
899
|
-
template <typename Initiation, typename... InitArgs>
|
900
|
-
static return_type initiate(Initiation&&,
|
901
|
-
detail::completion_signature_probe, InitArgs&&...)
|
902
|
-
{
|
903
|
-
return return_type();
|
904
|
-
}
|
905
|
-
};
|
906
|
-
|
907
|
-
#endif // !defined(GENERATING_DOCUMENTATION)
|
908
|
-
|
909
|
-
#if defined(GENERATING_DOCUMENTATION)
|
910
|
-
|
911
|
-
/// The completion_signature_of trait determines the completion signature
|
912
|
-
/// of an asynchronous operation.
|
913
|
-
/**
|
914
|
-
* Class template @c completion_signature_of is a trait with a member type
|
915
|
-
* alias @c type that denotes the completion signature of the asynchronous
|
916
|
-
* operation initiated by the expression <tt>T(Args..., token)</tt> operation,
|
917
|
-
* where @c token is an unspecified completion token type. If the asynchronous
|
918
|
-
* operation does not have exactly one completion signature, the instantion of
|
919
|
-
* the trait is well-formed but the member type alias @c type is omitted. If
|
920
|
-
* the expression <tt>T(Args..., token)</tt> is not an asynchronous operation
|
921
|
-
* then use of the trait is ill-formed.
|
922
|
-
*/
|
923
|
-
template <typename T, typename... Args>
|
924
|
-
struct completion_signature_of
|
925
|
-
{
|
926
|
-
typedef automatically_determined type;
|
927
|
-
};
|
928
|
-
|
929
|
-
#else // defined(GENERATING_DOCUMENTATION)
|
930
|
-
|
931
|
-
template <typename T, typename... Args>
|
932
|
-
struct completion_signature_of :
|
933
|
-
result_of_t<T(Args..., detail::completion_signature_probe)>
|
934
|
-
{
|
935
|
-
};
|
936
|
-
|
937
|
-
#endif // defined(GENERATING_DOCUMENTATION)
|
938
|
-
|
939
|
-
template <typename T, typename... Args>
|
940
|
-
using completion_signature_of_t =
|
941
|
-
typename completion_signature_of<T, Args...>::type;
|
942
|
-
|
943
|
-
} // namespace asio
|
944
|
-
} // namespace boost
|
945
|
-
|
946
|
-
#include <boost/asio/detail/pop_options.hpp>
|
947
|
-
|
948
|
-
#include <boost/asio/default_completion_token.hpp>
|
949
|
-
|
950
|
-
#endif // BOOST_ASIO_ASYNC_RESULT_HPP
|