passenger 6.0.8 → 6.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +288 -0
- data/CONTRIBUTORS +15 -0
- data/bin/passenger-install-nginx-module +2 -1
- data/bin/passenger-status +29 -4
- data/build/common_library.rb +2 -1
- data/build/integration_tests.rb +8 -7
- data/build/ruby_tests.rb +1 -1
- data/build/test_basics.rb +8 -5
- data/dev/copy_boost_headers +119 -71
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/webpacketpp.patch +39 -0
- data/doc/templates/markdown.html.erb +2 -6
- data/package.json +20 -18
- data/resources/mime.types +1 -0
- data/resources/templates/error_renderer/with_details/dist/bundle.js +2 -33
- data/resources/templates/error_renderer/with_details/dist/styles.css +2 -2
- data/resources/templates/error_renderer/with_details/src/index.html.template +0 -2
- data/resources/templates/error_renderer/with_details/webpack.config.js +13 -16
- data/resources/templates/error_renderer/without_details/dist/bundle.js +0 -1
- data/resources/templates/error_renderer/without_details/dist/styles.css +1 -1
- data/resources/templates/error_renderer/without_details/webpack.config.js +13 -16
- data/resources/templates/standalone/server.erb +1 -0
- data/src/agent/Core/ApiServer.h +35 -0
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +1 -0
- data/src/agent/Core/ApplicationPool/Options.h +5 -0
- data/src/agent/Core/ApplicationPool/Pool.h +9 -1
- data/src/agent/Core/Config.h +2 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +6 -2
- data/src/agent/Core/Controller/InitRequest.cpp +2 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller.h +4 -1
- data/src/agent/Core/OptionParser.h +4 -0
- data/src/agent/Core/SecurityUpdateChecker.h +4 -4
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +7 -0
- data/src/agent/Core/SpawningKit/Config.h +13 -0
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +4 -0
- data/src/agent/Core/SpawningKit/PipeWatcher.h +18 -3
- data/src/agent/Core/SpawningKit/Spawner.h +1 -0
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +27 -1
- data/src/agent/Watchdog/Config.h +2 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +4 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +32 -27
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +5 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +19 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +3 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +3 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +11 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +19 -2
- data/src/apache2_module/Hooks.cpp +1 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +4 -0
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/FileDescriptor.h +8 -0
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
- data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +2 -0
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +3 -0
- data/src/cxx_supportlib/ServerKit/http_parser.cpp +740 -430
- data/src/cxx_supportlib/ServerKit/http_parser.h +156 -34
- data/src/cxx_supportlib/StaticString.h +2 -0
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_iterator.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +825 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +299 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +129 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +240 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +103 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +1209 -120
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +306 -125
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +50 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +831 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +703 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +308 -127
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +637 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +130 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +143 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +120 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +102 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +461 -207
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +756 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +229 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +55 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +751 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +754 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +230 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +753 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +479 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +43 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +39 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +43 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +307 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +73 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +415 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +206 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +139 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +804 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +8 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +276 -65
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +192 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +578 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +42 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +40 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +36 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +36 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +16 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +155 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +367 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +27 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +47 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +916 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +251 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +44 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/{reactive_serial_port_service.ipp → posix_serial_port_service.ipp} +38 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +16 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +29 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +25 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +67 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +164 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +147 -132
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +24 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +3 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/defer.hpp → detail/initiate_defer.hpp} +52 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/dispatch.hpp → detail/initiate_dispatch.hpp} +43 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/{impl/post.hpp → detail/initiate_post.hpp} +52 -48
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +192 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +689 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +208 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +665 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +37 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +97 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +19 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/{reactive_serial_port_service.hpp → posix_serial_port_service.hpp} +30 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +45 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +176 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +87 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +40 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +40 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +127 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +239 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +9 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +16 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +17 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +59 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +67 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +37 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +12 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +102 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +31 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +125 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +126 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +708 -249
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +332 -83
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +263 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +62 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +324 -90
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +52 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +73 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +40 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +80 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +50 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +325 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +73 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +249 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +248 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +26 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +19 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +19 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +25 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +19 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +34 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +130 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +303 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +295 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +230 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +82 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_message.hpp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +286 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +146 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +150 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +679 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +614 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +241 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp +1177 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +1224 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +794 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +256 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +216 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +463 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +226 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +168 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +322 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +785 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +193 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +170 -127
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +57 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +275 -201
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +141 -111
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +498 -378
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +302 -58
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +1375 -285
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +43 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +28 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +235 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +117 -96
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +126 -122
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +98 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +81 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +32 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +180 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +3 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/seq_packet_protocol.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +111 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +136 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +139 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +243 -165
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +85 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +381 -189
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +154 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +529 -226
- data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +358 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +147 -100
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +105 -63
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +184 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +655 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +44 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +53 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +154 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +25 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +227 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +77 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +236 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +48 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +3 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +13 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +81 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +110 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +125 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +122 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +378 -186
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +156 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +120 -21
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +8 -15
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_impl.hpp +183 -64
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +169 -67
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +83 -12
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +40 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_arm.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +19 -10
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +29 -60
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +105 -100
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +107 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +32 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +32 -32
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +73 -72
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_ppc_asm_common.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/remove_cv.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_darwin_ulock.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_windows.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_windows.hpp +55 -26
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +9 -28
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/is_same.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +53 -8
- data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
- data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/requires_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_get.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/timezone.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io_v1/chrono_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +16 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +32 -11
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +14 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +27 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +203 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +184 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +66 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +36 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +132 -7
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +22 -8
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +20 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +237 -175
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/addressof.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +182 -135
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +14 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/construct_in_place.hpp +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +961 -151
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +181 -57
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +59 -59
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +218 -143
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_pair.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +88 -69
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +48 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +252 -119
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +19 -91
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_resource.hpp +3 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/transform_iterator.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +249 -342
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +4 -14
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +67 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2961 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +265 -180
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +36 -35
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +72 -100
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +95 -89
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +14 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +159 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +32 -43
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +83 -115
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +134 -162
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +159 -101
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +81 -50
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +413 -293
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +140 -26
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +512 -725
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +410 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple_like.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/mulx.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +486 -571
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +25 -24
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_tuple_like.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/alignof.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +7 -81
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +472 -285
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +936 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +20 -3
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +298 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/data.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +19 -9
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/is_same.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/lwt_unattended.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_pause.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/{smart_ptr → core}/detail/sp_thread_sleep.hpp +39 -21
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_yield.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_win32_sleep.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +1272 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/identity.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp +10 -15
- data/src/cxx_supportlib/vendor-modified/boost/core/launder.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +67 -22
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +8 -54
- data/src/cxx_supportlib/vendor-modified/boost/core/make_span.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/max_align.hpp +82 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/memory_resource.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +111 -60
- data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +58 -15
- data/src/cxx_supportlib/vendor-modified/boost/core/serialization.hpp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/size.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/snprintf.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +399 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +27 -8
- data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1181 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/core/verbose_terminate_handler.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/yield_primitives.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/conversion.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +161 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/workaround.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +108 -62
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +84 -2
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +1 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/epilogue.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/prologue.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +37 -32
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/function.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +86 -81
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +63 -63
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +101 -109
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +134 -128
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +35 -27
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +88 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +30 -30
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +38 -40
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +84 -15
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/default_header_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +182 -102
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +115 -69
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +7 -55
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_to_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/reverse_iterator.hpp +3 -140
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +29 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1668 -969
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +97 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +97 -94
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +17 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +12 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +30 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +58 -66
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +40 -40
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +152 -159
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +59 -57
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +37 -39
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +90 -83
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +17 -17
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +10 -11
- data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +106 -25
- data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +40 -51
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +13 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +20 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +13 -25
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +10 -121
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +17 -22
- data/src/cxx_supportlib/vendor-modified/boost/limits.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +48 -36
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +91 -74
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +225 -163
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/basic_op.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +21 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/insertion_sort.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +125 -209
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +24 -15
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +16 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/search.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/move.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +32 -6
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/addressof.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/force_ptr.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +109 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +8 -32
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +268 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/reverse_iterator.hpp +40 -33
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +263 -51
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +82 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/move/utility.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +38 -33
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +1327 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_defer.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_fold.hpp +164 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_front.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_list.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_value_list.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list_v.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_min_element.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_plus.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_rename.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_value.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_void.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_with_index.hpp +385 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/function.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +472 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/utility.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/yes_no.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/next_prior.hpp +3 -44
- data/src/cxx_supportlib/vendor-modified/boost/nondet_random.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/int_float_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +37 -26
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +87 -26
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +22 -9
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/pool/simple_segregated_storage.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/loongarch.h +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +55 -4
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +8 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +5 -72
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +17 -39
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/config.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/requires_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/ratio/mpl/plus.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +97 -113
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -75
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -147
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
- data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +8 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +20 -19
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +23 -13
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +107 -24
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +13 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +40 -41
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +638 -22
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +521 -37
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3130 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +921 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1874 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +862 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1311 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/requires_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +23 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +63 -7
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +51 -12
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +732 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +349 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/mutex.hpp +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/requires_cxx11.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category_impl.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_message.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -958
- data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_error.hpp +30 -59
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/thread_guard.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +141 -45
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +22 -21
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +247 -168
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +242 -217
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_swappable_cxx_11.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +22 -8
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_function_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_swappable.hpp +4 -24
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_swappable.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/detail/requires_cxx11.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/functional.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/memory.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +818 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map_fwd.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +849 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +1324 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2119 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/element_type.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/ignore_wshadow.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/restore_wshadow.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/rw_spinlock.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +556 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +88 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1645 -2992
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +8 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/mulx.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/narrow_cast.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/requires_cxx11.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +592 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +666 -227
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +884 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +688 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set_fwd.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +387 -112
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/base_from_member.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/binary.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/in_place_factory.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +33 -11
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +27 -4
- data/src/cxx_supportlib/vendor-modified/boost/utility/typed_in_place_factory.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +1 -1
- data/src/helper-scripts/wsgi-loader.py +34 -17
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +16 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +12 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +24 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +10 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +39 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +26 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +6 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +8 -0
- data/src/nginx_module/ngx_http_passenger_module.c +1 -0
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/common.js +50 -29
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/cli-config.js +20 -20
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/npm-config.js +11 -11
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/syslog-config.js +3 -3
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config.js +8 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/container.js +2 -1
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/logger.js +174 -146
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/console.js +4 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/file.js +15 -5
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/http.js +14 -4
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports.js +26 -24
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston.js +5 -5
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/package.json +4 -13
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/colors/package.json +19 -33
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/cycle/package.json +11 -29
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/eyes/package.json +12 -40
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/isstream/package.json +3 -12
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/lib/stack-trace.js +49 -24
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/package.json +4 -16
- data/src/nodejs_supportlib/vendor-copy/winston/package.json +11 -55
- data/src/ruby_native_extension/extconf.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +16 -12
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +7 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +11 -2
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +4 -2
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +12 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +3 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +6 -3
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +47 -28
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +12 -1
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +18 -18
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger/ruby_core_enhancements.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +7 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +28 -17
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger.rb +7 -7
- metadata +577 -150
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +0 -637
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -363
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -667
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1038
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1712
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -489
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/pointer_to_other.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -557
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_pause.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_interoperability.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp.orig +0 -841
- data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp.orig +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +0 -278
- data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +0 -297
- data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +0 -265
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/daily-rotate-file.js +0 -601
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/webhook.js +0 -146
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/LICENSE +0 -19
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/lib/pkginfo.js +0 -136
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/package.json +0 -56
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +0 -0
@@ -26,13 +26,15 @@
|
|
26
26
|
#include <boost/container/detail/mpl.hpp>
|
27
27
|
#include <boost/container/detail/type_traits.hpp>
|
28
28
|
#include <boost/container/detail/construct_in_place.hpp>
|
29
|
+
#include <boost/container/detail/destroyers.hpp>
|
29
30
|
|
30
31
|
// move
|
31
32
|
#include <boost/move/adl_move_swap.hpp>
|
32
33
|
#include <boost/move/iterator.hpp>
|
33
34
|
#include <boost/move/utility_core.hpp>
|
35
|
+
#include <boost/move/traits.hpp>
|
34
36
|
// other
|
35
|
-
#include <boost/
|
37
|
+
#include <boost/assert.hpp>
|
36
38
|
// std
|
37
39
|
#include <cstring> //for memmove/memcpy
|
38
40
|
|
@@ -111,6 +113,7 @@ struct are_elements_contiguous<boost::container::vec_iterator<Pointer, IsConst>
|
|
111
113
|
static const bool value = true;
|
112
114
|
};
|
113
115
|
|
116
|
+
|
114
117
|
/////////////////////////
|
115
118
|
// offset_ptr
|
116
119
|
/////////////////////////
|
@@ -126,7 +129,7 @@ struct are_contiguous_and_same
|
|
126
129
|
: boost::move_detail::and_
|
127
130
|
< are_elements_contiguous<I>
|
128
131
|
, are_elements_contiguous<O>
|
129
|
-
, is_same< typename remove_const< typename ::boost::container::
|
132
|
+
, is_same< typename remove_const< typename ::boost::container::iter_value<I>::type >::type
|
130
133
|
, typename ::boost::container::iterator_traits<O>::value_type
|
131
134
|
>
|
132
135
|
>
|
@@ -136,7 +139,7 @@ template <typename I, typename O>
|
|
136
139
|
struct is_memtransfer_copy_assignable
|
137
140
|
: boost::move_detail::and_
|
138
141
|
< are_contiguous_and_same<I, O>
|
139
|
-
, dtl::is_trivially_copy_assignable< typename ::boost::container::
|
142
|
+
, dtl::is_trivially_copy_assignable< typename ::boost::container::iter_value<I>::type >
|
140
143
|
>
|
141
144
|
{};
|
142
145
|
|
@@ -144,7 +147,7 @@ template <typename I, typename O>
|
|
144
147
|
struct is_memtransfer_copy_constructible
|
145
148
|
: boost::move_detail::and_
|
146
149
|
< are_contiguous_and_same<I, O>
|
147
|
-
, dtl::is_trivially_copy_constructible< typename ::boost::container::
|
150
|
+
, dtl::is_trivially_copy_constructible< typename ::boost::container::iter_value<I>::type >
|
148
151
|
>
|
149
152
|
{};
|
150
153
|
|
@@ -168,33 +171,77 @@ struct disable_if_memtransfer_copy_assignable
|
|
168
171
|
: disable_if<dtl::is_memtransfer_copy_assignable<I, O>, R>
|
169
172
|
{};
|
170
173
|
|
174
|
+
template <class T>
|
175
|
+
struct has_single_value
|
176
|
+
{
|
177
|
+
private:
|
178
|
+
struct two { char array_[2]; };
|
179
|
+
template<bool Arg> struct wrapper;
|
180
|
+
template <class U> static two test(int, ...);
|
181
|
+
template <class U> static char test(int, const wrapper<U::single_value>*);
|
182
|
+
public:
|
183
|
+
static const bool value = sizeof(test<T>(0, 0)) == 1;
|
184
|
+
void dummy() {}
|
185
|
+
};
|
186
|
+
|
187
|
+
template<class InsertionProxy, bool = has_single_value<InsertionProxy>::value>
|
188
|
+
struct is_single_value_proxy_impl
|
189
|
+
{
|
190
|
+
static const bool value = InsertionProxy::single_value;
|
191
|
+
};
|
192
|
+
|
193
|
+
template<class InsertionProxy>
|
194
|
+
struct is_single_value_proxy_impl<InsertionProxy, false>
|
195
|
+
{
|
196
|
+
static const bool value = false;
|
197
|
+
};
|
198
|
+
|
199
|
+
template<class InsertionProxy>
|
200
|
+
struct is_single_value_proxy
|
201
|
+
: is_single_value_proxy_impl<InsertionProxy>
|
202
|
+
{};
|
203
|
+
|
204
|
+
template <typename P, typename R = void>
|
205
|
+
struct enable_if_single_value_proxy
|
206
|
+
: enable_if<is_single_value_proxy<P>, R>
|
207
|
+
{};
|
208
|
+
|
209
|
+
template <typename P, typename R = void>
|
210
|
+
struct disable_if_single_value_proxy
|
211
|
+
: disable_if<is_single_value_proxy<P>, R>
|
212
|
+
{};
|
213
|
+
|
171
214
|
template
|
172
215
|
<typename I, // I models InputIterator
|
173
216
|
typename F> // F models ForwardIterator
|
174
|
-
|
217
|
+
BOOST_CONTAINER_FORCEINLINE F memmove(I f, I l, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
175
218
|
{
|
176
|
-
typedef typename boost::container::
|
219
|
+
typedef typename boost::container::iter_value<I>::type value_type;
|
220
|
+
typedef typename boost::container::iterator_traits<F>::difference_type r_difference_type;
|
177
221
|
value_type *const dest_raw = boost::movelib::iterator_to_raw_pointer(r);
|
178
222
|
const value_type *const beg_raw = boost::movelib::iterator_to_raw_pointer(f);
|
179
223
|
const value_type *const end_raw = boost::movelib::iterator_to_raw_pointer(l);
|
180
224
|
if(BOOST_LIKELY(beg_raw != end_raw && dest_raw && beg_raw)){
|
181
|
-
const
|
225
|
+
const std::size_t n = std::size_t(end_raw - beg_raw) ;
|
182
226
|
std::memmove(dest_raw, beg_raw, sizeof(value_type)*n);
|
183
|
-
|
227
|
+
r += static_cast<r_difference_type>(n);
|
184
228
|
}
|
185
229
|
return r;
|
186
230
|
}
|
187
231
|
|
188
232
|
template
|
189
233
|
<typename I, // I models InputIterator
|
190
|
-
typename U, // U models unsigned integral constant
|
191
234
|
typename F> // F models ForwardIterator
|
192
|
-
F memmove_n(I f,
|
235
|
+
BOOST_CONTAINER_FORCEINLINE F memmove_n(I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
193
236
|
{
|
194
|
-
typedef typename boost::container::
|
195
|
-
|
196
|
-
|
197
|
-
boost::
|
237
|
+
typedef typename boost::container::iter_value<I>::type value_type;
|
238
|
+
typedef typename boost::container::iterator_traits<F>::difference_type r_difference_type;
|
239
|
+
if(BOOST_LIKELY(n != 0)){
|
240
|
+
void *dst = boost::movelib::iterator_to_raw_pointer(r);
|
241
|
+
const void *src = boost::movelib::iterator_to_raw_pointer(f);
|
242
|
+
if (dst && src)
|
243
|
+
std::memmove(dst, src, sizeof(value_type)*n);
|
244
|
+
r += static_cast<r_difference_type>(n);
|
198
245
|
}
|
199
246
|
|
200
247
|
return r;
|
@@ -202,29 +249,37 @@ F memmove_n(I f, U n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
202
249
|
|
203
250
|
template
|
204
251
|
<typename I, // I models InputIterator
|
205
|
-
typename U, // U models unsigned integral constant
|
206
252
|
typename F> // F models ForwardIterator
|
207
|
-
I memmove_n_source(I f,
|
253
|
+
BOOST_CONTAINER_FORCEINLINE I memmove_n_source(I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
208
254
|
{
|
209
|
-
if(BOOST_LIKELY(n)){
|
210
|
-
typedef typename boost::container::
|
211
|
-
|
212
|
-
boost::
|
255
|
+
if(BOOST_LIKELY(n != 0)){
|
256
|
+
typedef typename boost::container::iter_value<I>::type value_type;
|
257
|
+
typedef typename boost::container::iterator_traits<I>::difference_type i_difference_type;
|
258
|
+
void *dst = boost::movelib::iterator_to_raw_pointer(r);
|
259
|
+
const void *src = boost::movelib::iterator_to_raw_pointer(f);
|
260
|
+
if (dst && src)
|
261
|
+
std::memmove(dst, src, sizeof(value_type)*n);
|
262
|
+
f += static_cast<i_difference_type>(n);
|
213
263
|
}
|
214
264
|
return f;
|
215
265
|
}
|
216
266
|
|
217
267
|
template
|
218
268
|
<typename I, // I models InputIterator
|
219
|
-
typename U, // U models unsigned integral constant
|
220
269
|
typename F> // F models ForwardIterator
|
221
|
-
I memmove_n_source_dest(I f,
|
270
|
+
BOOST_CONTAINER_FORCEINLINE I memmove_n_source_dest(I f, std::size_t n, F &r) BOOST_NOEXCEPT_OR_NOTHROW
|
222
271
|
{
|
223
|
-
typedef typename boost::container::
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
272
|
+
typedef typename boost::container::iter_value<I>::type value_type;
|
273
|
+
typedef typename boost::container::iterator_traits<F>::difference_type i_difference_type;
|
274
|
+
typedef typename boost::container::iterator_traits<F>::difference_type f_difference_type;
|
275
|
+
|
276
|
+
if(BOOST_LIKELY(n != 0)){
|
277
|
+
void *dst = boost::movelib::iterator_to_raw_pointer(r);
|
278
|
+
const void *src = boost::movelib::iterator_to_raw_pointer(f);
|
279
|
+
if (dst && src)
|
280
|
+
std::memmove(dst, src, sizeof(value_type)*n);
|
281
|
+
f += i_difference_type(n);
|
282
|
+
r += f_difference_type(n);
|
228
283
|
}
|
229
284
|
return f;
|
230
285
|
}
|
@@ -241,9 +296,6 @@ struct is_memzero_initializable
|
|
241
296
|
#if defined(BOOST_CONTAINER_MEMZEROED_FLOATING_POINT_IS_ZERO)
|
242
297
|
|| dtl::is_floating_point<value_type>::value
|
243
298
|
#endif
|
244
|
-
#if defined(BOOST_CONTAINER_MEMZEROED_FLOATING_POINT_IS_ZERO) && defined(BOOST_CONTAINER_MEMZEROED_POINTER_IS_NULL)
|
245
|
-
|| dtl::is_pod<value_type>::value
|
246
|
-
#endif
|
247
299
|
);
|
248
300
|
};
|
249
301
|
|
@@ -260,14 +312,14 @@ struct disable_if_memzero_initializable
|
|
260
312
|
template <typename I, typename R>
|
261
313
|
struct enable_if_trivially_destructible
|
262
314
|
: enable_if_c < dtl::is_trivially_destructible
|
263
|
-
<typename boost::container::
|
315
|
+
<typename boost::container::iter_value<I>::type>::value
|
264
316
|
, R>
|
265
317
|
{};
|
266
318
|
|
267
319
|
template <typename I, typename R>
|
268
320
|
struct disable_if_trivially_destructible
|
269
321
|
: enable_if_c <!dtl::is_trivially_destructible
|
270
|
-
<typename boost::container::
|
322
|
+
<typename boost::container::iter_value<I>::type>::value
|
271
323
|
, R>
|
272
324
|
{};
|
273
325
|
|
@@ -295,19 +347,19 @@ inline typename dtl::disable_if_memtransfer_copy_constructible<I, F, F>::type
|
|
295
347
|
uninitialized_move_alloc(Allocator &a, I f, I l, F r)
|
296
348
|
{
|
297
349
|
F back = r;
|
298
|
-
|
350
|
+
BOOST_CONTAINER_TRY{
|
299
351
|
while (f != l) {
|
300
352
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), boost::move(*f));
|
301
353
|
++f; ++r;
|
302
354
|
}
|
303
355
|
}
|
304
|
-
|
356
|
+
BOOST_CONTAINER_CATCH(...){
|
305
357
|
for (; back != r; ++back){
|
306
358
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
307
359
|
}
|
308
|
-
|
360
|
+
BOOST_CONTAINER_RETHROW;
|
309
361
|
}
|
310
|
-
|
362
|
+
BOOST_CONTAINER_CATCH_END
|
311
363
|
return r;
|
312
364
|
}
|
313
365
|
|
@@ -315,7 +367,7 @@ template
|
|
315
367
|
<typename Allocator,
|
316
368
|
typename I, // I models InputIterator
|
317
369
|
typename F> // F models ForwardIterator
|
318
|
-
|
370
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type
|
319
371
|
uninitialized_move_alloc(Allocator &, I f, I l, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
320
372
|
{ return dtl::memmove(f, l, r); }
|
321
373
|
|
@@ -337,22 +389,23 @@ template
|
|
337
389
|
typename I, // I models InputIterator
|
338
390
|
typename F> // F models ForwardIterator
|
339
391
|
inline typename dtl::disable_if_memtransfer_copy_constructible<I, F, F>::type
|
340
|
-
uninitialized_move_alloc_n(Allocator &a, I f,
|
392
|
+
uninitialized_move_alloc_n(Allocator &a, I f, std::size_t n, F r)
|
341
393
|
{
|
342
394
|
F back = r;
|
343
|
-
|
344
|
-
while (n
|
395
|
+
BOOST_CONTAINER_TRY{
|
396
|
+
while (n) {
|
397
|
+
--n;
|
345
398
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), boost::move(*f));
|
346
399
|
++f; ++r;
|
347
400
|
}
|
348
401
|
}
|
349
|
-
|
402
|
+
BOOST_CONTAINER_CATCH(...){
|
350
403
|
for (; back != r; ++back){
|
351
404
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
352
405
|
}
|
353
|
-
|
406
|
+
BOOST_CONTAINER_RETHROW;
|
354
407
|
}
|
355
|
-
|
408
|
+
BOOST_CONTAINER_CATCH_END
|
356
409
|
return r;
|
357
410
|
}
|
358
411
|
|
@@ -360,8 +413,8 @@ template
|
|
360
413
|
<typename Allocator,
|
361
414
|
typename I, // I models InputIterator
|
362
415
|
typename F> // F models ForwardIterator
|
363
|
-
|
364
|
-
uninitialized_move_alloc_n(Allocator &, I f,
|
416
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type
|
417
|
+
uninitialized_move_alloc_n(Allocator &, I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
365
418
|
{ return dtl::memmove_n(f, n, r); }
|
366
419
|
|
367
420
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -382,22 +435,23 @@ template
|
|
382
435
|
typename I, // I models InputIterator
|
383
436
|
typename F> // F models ForwardIterator
|
384
437
|
inline typename dtl::disable_if_memtransfer_copy_constructible<I, F, I>::type
|
385
|
-
uninitialized_move_alloc_n_source(Allocator &a, I f,
|
438
|
+
uninitialized_move_alloc_n_source(Allocator &a, I f, std::size_t n, F r)
|
386
439
|
{
|
387
440
|
F back = r;
|
388
|
-
|
389
|
-
while (n
|
441
|
+
BOOST_CONTAINER_TRY{
|
442
|
+
while (n) {
|
443
|
+
--n;
|
390
444
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), boost::move(*f));
|
391
445
|
++f; ++r;
|
392
446
|
}
|
393
447
|
}
|
394
|
-
|
448
|
+
BOOST_CONTAINER_CATCH(...){
|
395
449
|
for (; back != r; ++back){
|
396
450
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
397
451
|
}
|
398
|
-
|
452
|
+
BOOST_CONTAINER_RETHROW;
|
399
453
|
}
|
400
|
-
|
454
|
+
BOOST_CONTAINER_CATCH_END
|
401
455
|
return f;
|
402
456
|
}
|
403
457
|
|
@@ -405,8 +459,8 @@ template
|
|
405
459
|
<typename Allocator,
|
406
460
|
typename I, // I models InputIterator
|
407
461
|
typename F> // F models ForwardIterator
|
408
|
-
|
409
|
-
uninitialized_move_alloc_n_source(Allocator &, I f,
|
462
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_constructible<I, F, I>::type
|
463
|
+
uninitialized_move_alloc_n_source(Allocator &, I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
410
464
|
{ return dtl::memmove_n_source(f, n, r); }
|
411
465
|
|
412
466
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -430,19 +484,19 @@ inline typename dtl::disable_if_memtransfer_copy_constructible<I, F, F>::type
|
|
430
484
|
uninitialized_copy_alloc(Allocator &a, I f, I l, F r)
|
431
485
|
{
|
432
486
|
F back = r;
|
433
|
-
|
487
|
+
BOOST_CONTAINER_TRY{
|
434
488
|
while (f != l) {
|
435
489
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), *f);
|
436
490
|
++f; ++r;
|
437
491
|
}
|
438
492
|
}
|
439
|
-
|
493
|
+
BOOST_CONTAINER_CATCH(...){
|
440
494
|
for (; back != r; ++back){
|
441
495
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
442
496
|
}
|
443
|
-
|
497
|
+
BOOST_CONTAINER_RETHROW;
|
444
498
|
}
|
445
|
-
|
499
|
+
BOOST_CONTAINER_CATCH_END
|
446
500
|
return r;
|
447
501
|
}
|
448
502
|
|
@@ -450,7 +504,7 @@ template
|
|
450
504
|
<typename Allocator,
|
451
505
|
typename I, // I models InputIterator
|
452
506
|
typename F> // F models ForwardIterator
|
453
|
-
|
507
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type
|
454
508
|
uninitialized_copy_alloc(Allocator &, I f, I l, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
455
509
|
{ return dtl::memmove(f, l, r); }
|
456
510
|
|
@@ -472,22 +526,23 @@ template
|
|
472
526
|
typename I, // I models InputIterator
|
473
527
|
typename F> // F models ForwardIterator
|
474
528
|
inline typename dtl::disable_if_memtransfer_copy_constructible<I, F, F>::type
|
475
|
-
uninitialized_copy_alloc_n(Allocator &a, I f,
|
529
|
+
uninitialized_copy_alloc_n(Allocator &a, I f, std::size_t n, F r)
|
476
530
|
{
|
477
531
|
F back = r;
|
478
|
-
|
479
|
-
while (n
|
532
|
+
BOOST_CONTAINER_TRY{
|
533
|
+
while (n) {
|
534
|
+
--n;
|
480
535
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), *f);
|
481
536
|
++f; ++r;
|
482
537
|
}
|
483
538
|
}
|
484
|
-
|
539
|
+
BOOST_CONTAINER_CATCH(...){
|
485
540
|
for (; back != r; ++back){
|
486
541
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
487
542
|
}
|
488
|
-
|
543
|
+
BOOST_CONTAINER_RETHROW;
|
489
544
|
}
|
490
|
-
|
545
|
+
BOOST_CONTAINER_CATCH_END
|
491
546
|
return r;
|
492
547
|
}
|
493
548
|
|
@@ -495,8 +550,8 @@ template
|
|
495
550
|
<typename Allocator,
|
496
551
|
typename I, // I models InputIterator
|
497
552
|
typename F> // F models ForwardIterator
|
498
|
-
|
499
|
-
uninitialized_copy_alloc_n(Allocator &, I f,
|
553
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_constructible<I, F, F>::type
|
554
|
+
uninitialized_copy_alloc_n(Allocator &, I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
500
555
|
{ return dtl::memmove_n(f, n, r); }
|
501
556
|
|
502
557
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -517,22 +572,22 @@ template
|
|
517
572
|
typename I, // I models InputIterator
|
518
573
|
typename F> // F models ForwardIterator
|
519
574
|
inline typename dtl::disable_if_memtransfer_copy_constructible<I, F, I>::type
|
520
|
-
uninitialized_copy_alloc_n_source(Allocator &a, I f,
|
575
|
+
uninitialized_copy_alloc_n_source(Allocator &a, I f, std::size_t n, F r)
|
521
576
|
{
|
522
577
|
F back = r;
|
523
|
-
|
578
|
+
BOOST_CONTAINER_TRY{
|
524
579
|
while (n) {
|
525
580
|
boost::container::construct_in_place(a, boost::movelib::iterator_to_raw_pointer(r), f);
|
526
581
|
++f; ++r; --n;
|
527
582
|
}
|
528
583
|
}
|
529
|
-
|
584
|
+
BOOST_CONTAINER_CATCH(...){
|
530
585
|
for (; back != r; ++back){
|
531
586
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
532
587
|
}
|
533
|
-
|
588
|
+
BOOST_CONTAINER_RETHROW;
|
534
589
|
}
|
535
|
-
|
590
|
+
BOOST_CONTAINER_CATCH_END
|
536
591
|
return f;
|
537
592
|
}
|
538
593
|
|
@@ -540,8 +595,8 @@ template
|
|
540
595
|
<typename Allocator,
|
541
596
|
typename I, // I models InputIterator
|
542
597
|
typename F> // F models ForwardIterator
|
543
|
-
|
544
|
-
uninitialized_copy_alloc_n_source(Allocator &, I f,
|
598
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_constructible<I, F, I>::type
|
599
|
+
uninitialized_copy_alloc_n_source(Allocator &, I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
545
600
|
{ return dtl::memmove_n_source(f, n, r); }
|
546
601
|
|
547
602
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -561,35 +616,38 @@ template
|
|
561
616
|
<typename Allocator,
|
562
617
|
typename F> // F models ForwardIterator
|
563
618
|
inline typename dtl::disable_if_memzero_initializable<F, F>::type
|
564
|
-
uninitialized_value_init_alloc_n(Allocator &a,
|
619
|
+
uninitialized_value_init_alloc_n(Allocator &a, std::size_t n, F r)
|
565
620
|
{
|
566
621
|
F back = r;
|
567
|
-
|
568
|
-
while (n
|
622
|
+
BOOST_CONTAINER_TRY{
|
623
|
+
while (n) {
|
624
|
+
--n;
|
569
625
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r));
|
570
626
|
++r;
|
571
627
|
}
|
572
628
|
}
|
573
|
-
|
629
|
+
BOOST_CONTAINER_CATCH(...){
|
574
630
|
for (; back != r; ++back){
|
575
631
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
576
632
|
}
|
577
|
-
|
633
|
+
BOOST_CONTAINER_RETHROW;
|
578
634
|
}
|
579
|
-
|
635
|
+
BOOST_CONTAINER_CATCH_END
|
580
636
|
return r;
|
581
637
|
}
|
582
638
|
|
583
639
|
template
|
584
640
|
<typename Allocator,
|
585
641
|
typename F> // F models ForwardIterator
|
586
|
-
|
587
|
-
uninitialized_value_init_alloc_n(Allocator &,
|
642
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memzero_initializable<F, F>::type
|
643
|
+
uninitialized_value_init_alloc_n(Allocator &, std::size_t n, F r)
|
588
644
|
{
|
589
645
|
typedef typename boost::container::iterator_traits<F>::value_type value_type;
|
590
|
-
|
646
|
+
typedef typename boost::container::iterator_traits<F>::difference_type r_difference_type;
|
647
|
+
|
648
|
+
if (BOOST_LIKELY(n != 0)){
|
591
649
|
std::memset((void*)boost::movelib::iterator_to_raw_pointer(r), 0, sizeof(value_type)*n);
|
592
|
-
|
650
|
+
r += static_cast<r_difference_type>(n);
|
593
651
|
}
|
594
652
|
return r;
|
595
653
|
}
|
@@ -610,22 +668,23 @@ inline typename dtl::enable_if_memzero_initializable<F, F>::type
|
|
610
668
|
template
|
611
669
|
<typename Allocator,
|
612
670
|
typename F> // F models ForwardIterator
|
613
|
-
inline F uninitialized_default_init_alloc_n(Allocator &a,
|
671
|
+
inline F uninitialized_default_init_alloc_n(Allocator &a, std::size_t n, F r)
|
614
672
|
{
|
615
673
|
F back = r;
|
616
|
-
|
617
|
-
while (n
|
674
|
+
BOOST_CONTAINER_TRY{
|
675
|
+
while (n) {
|
676
|
+
--n;
|
618
677
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), default_init);
|
619
678
|
++r;
|
620
679
|
}
|
621
680
|
}
|
622
|
-
|
681
|
+
BOOST_CONTAINER_CATCH(...){
|
623
682
|
for (; back != r; ++back){
|
624
683
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
625
684
|
}
|
626
|
-
|
685
|
+
BOOST_CONTAINER_RETHROW;
|
627
686
|
}
|
628
|
-
|
687
|
+
BOOST_CONTAINER_CATCH_END
|
629
688
|
return r;
|
630
689
|
}
|
631
690
|
|
@@ -649,19 +708,19 @@ template
|
|
649
708
|
inline void uninitialized_fill_alloc(Allocator &a, F f, F l, const T &t)
|
650
709
|
{
|
651
710
|
F back = f;
|
652
|
-
|
711
|
+
BOOST_CONTAINER_TRY{
|
653
712
|
while (f != l) {
|
654
713
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(f), t);
|
655
714
|
++f;
|
656
715
|
}
|
657
716
|
}
|
658
|
-
|
717
|
+
BOOST_CONTAINER_CATCH(...){
|
659
718
|
for (; back != l; ++back){
|
660
719
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
661
720
|
}
|
662
|
-
|
721
|
+
BOOST_CONTAINER_RETHROW;
|
663
722
|
}
|
664
|
-
|
723
|
+
BOOST_CONTAINER_CATCH_END
|
665
724
|
}
|
666
725
|
|
667
726
|
|
@@ -682,22 +741,23 @@ template
|
|
682
741
|
<typename Allocator,
|
683
742
|
typename T,
|
684
743
|
typename F> // F models ForwardIterator
|
685
|
-
inline F uninitialized_fill_alloc_n(Allocator &a, const T &v,
|
744
|
+
inline F uninitialized_fill_alloc_n(Allocator &a, const T &v, std::size_t n, F r)
|
686
745
|
{
|
687
746
|
F back = r;
|
688
|
-
|
689
|
-
while (n
|
747
|
+
BOOST_CONTAINER_TRY{
|
748
|
+
while (n) {
|
749
|
+
--n;
|
690
750
|
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(r), v);
|
691
751
|
++r;
|
692
752
|
}
|
693
753
|
}
|
694
|
-
|
754
|
+
BOOST_CONTAINER_CATCH(...){
|
695
755
|
for (; back != r; ++back){
|
696
756
|
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(back));
|
697
757
|
}
|
698
|
-
|
758
|
+
BOOST_CONTAINER_RETHROW;
|
699
759
|
}
|
700
|
-
|
760
|
+
BOOST_CONTAINER_CATCH_END
|
701
761
|
return r;
|
702
762
|
}
|
703
763
|
|
@@ -752,7 +812,7 @@ template
|
|
752
812
|
<typename I, // I models InputIterator
|
753
813
|
typename U, // U models unsigned integral constant
|
754
814
|
typename F> // F models ForwardIterator
|
755
|
-
|
815
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, F>::type
|
756
816
|
copy_n(I f, U n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
757
817
|
{ return dtl::memmove_n(f, n, r); }
|
758
818
|
|
@@ -769,7 +829,8 @@ typename F> // F models ForwardIterator
|
|
769
829
|
inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
770
830
|
copy_n_source(I f, U n, F r)
|
771
831
|
{
|
772
|
-
while (n
|
832
|
+
while (n) {
|
833
|
+
--n;
|
773
834
|
boost::container::assign_in_place(r, f);
|
774
835
|
++f; ++r;
|
775
836
|
}
|
@@ -778,10 +839,9 @@ inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
|
778
839
|
|
779
840
|
template
|
780
841
|
<typename I, // I models InputIterator
|
781
|
-
typename U, // U models unsigned integral constant
|
782
842
|
typename F> // F models ForwardIterator
|
783
|
-
|
784
|
-
copy_n_source(I f,
|
843
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, I>::type
|
844
|
+
copy_n_source(I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
785
845
|
{ return dtl::memmove_n_source(f, n, r); }
|
786
846
|
|
787
847
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -792,12 +852,12 @@ inline typename dtl::enable_if_memtransfer_copy_assignable<I, F, I>::type
|
|
792
852
|
|
793
853
|
template
|
794
854
|
<typename I, // I models InputIterator
|
795
|
-
typename U, // U models unsigned integral constant
|
796
855
|
typename F> // F models ForwardIterator
|
797
856
|
inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
798
|
-
copy_n_source_dest(I f,
|
857
|
+
copy_n_source_dest(I f, std::size_t n, F &r)
|
799
858
|
{
|
800
|
-
while (n
|
859
|
+
while (n) {
|
860
|
+
--n;
|
801
861
|
*r = *f;
|
802
862
|
++f; ++r;
|
803
863
|
}
|
@@ -806,10 +866,9 @@ inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
|
806
866
|
|
807
867
|
template
|
808
868
|
<typename I, // I models InputIterator
|
809
|
-
typename U, // U models unsigned integral constant
|
810
869
|
typename F> // F models ForwardIterator
|
811
|
-
|
812
|
-
copy_n_source_dest(I f,
|
870
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, I>::type
|
871
|
+
copy_n_source_dest(I f, std::size_t n, F &r) BOOST_NOEXCEPT_OR_NOTHROW
|
813
872
|
{ return dtl::memmove_n_source_dest(f, n, r); }
|
814
873
|
|
815
874
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -851,7 +910,8 @@ typename F> // F models ForwardIterator
|
|
851
910
|
inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, F>::type
|
852
911
|
move_n(I f, U n, F r)
|
853
912
|
{
|
854
|
-
while (n
|
913
|
+
while (n) {
|
914
|
+
--n;
|
855
915
|
*r = ::boost::move(*f);
|
856
916
|
++f; ++r;
|
857
917
|
}
|
@@ -862,7 +922,7 @@ template
|
|
862
922
|
<typename I, // I models InputIterator
|
863
923
|
typename U, // U models unsigned integral constant
|
864
924
|
typename F> // F models ForwardIterator
|
865
|
-
|
925
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, F>::type
|
866
926
|
move_n(I f, U n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
867
927
|
{ return dtl::memmove_n(f, n, r); }
|
868
928
|
|
@@ -889,12 +949,12 @@ inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, F>::type
|
|
889
949
|
template
|
890
950
|
<typename I, // I models InputIterator
|
891
951
|
typename F> // F models ForwardIterator
|
892
|
-
|
952
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, F>::type
|
893
953
|
move_backward(I f, I l, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
894
954
|
{
|
895
|
-
typedef typename boost::container::
|
896
|
-
const
|
897
|
-
if (BOOST_LIKELY(n)){
|
955
|
+
typedef typename boost::container::iter_value<I>::type value_type;
|
956
|
+
const std::size_t n = boost::container::iterator_udistance(f, l);
|
957
|
+
if (BOOST_LIKELY(n != 0)){
|
898
958
|
r -= n;
|
899
959
|
std::memmove((boost::movelib::iterator_to_raw_pointer)(r), (boost::movelib::iterator_to_raw_pointer)(f), sizeof(value_type)*n);
|
900
960
|
}
|
@@ -914,7 +974,8 @@ template
|
|
914
974
|
inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
915
975
|
move_n_source_dest(I f, U n, F &r)
|
916
976
|
{
|
917
|
-
while (n
|
977
|
+
while (n) {
|
978
|
+
--n;
|
918
979
|
*r = ::boost::move(*f);
|
919
980
|
++f; ++r;
|
920
981
|
}
|
@@ -923,10 +984,9 @@ inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
|
923
984
|
|
924
985
|
template
|
925
986
|
<typename I // I models InputIterator
|
926
|
-
,typename U // U models unsigned integral constant
|
927
987
|
,typename F> // F models ForwardIterator
|
928
|
-
|
929
|
-
move_n_source_dest(I f,
|
988
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, I>::type
|
989
|
+
move_n_source_dest(I f, std::size_t n, F &r) BOOST_NOEXCEPT_OR_NOTHROW
|
930
990
|
{ return dtl::memmove_n_source_dest(f, n, r); }
|
931
991
|
|
932
992
|
//////////////////////////////////////////////////////////////////////////////
|
@@ -942,7 +1002,8 @@ template
|
|
942
1002
|
inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
943
1003
|
move_n_source(I f, U n, F r)
|
944
1004
|
{
|
945
|
-
while (n
|
1005
|
+
while (n) {
|
1006
|
+
--n;
|
946
1007
|
*r = ::boost::move(*f);
|
947
1008
|
++f; ++r;
|
948
1009
|
}
|
@@ -951,12 +1012,24 @@ inline typename dtl::disable_if_memtransfer_copy_assignable<I, F, I>::type
|
|
951
1012
|
|
952
1013
|
template
|
953
1014
|
<typename I // I models InputIterator
|
954
|
-
,typename U // U models unsigned integral constant
|
955
1015
|
,typename F> // F models ForwardIterator
|
956
|
-
|
957
|
-
move_n_source(I f,
|
1016
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_memtransfer_copy_assignable<I, F, I>::type
|
1017
|
+
move_n_source(I f, std::size_t n, F r) BOOST_NOEXCEPT_OR_NOTHROW
|
958
1018
|
{ return dtl::memmove_n_source(f, n, r); }
|
959
1019
|
|
1020
|
+
template<typename F> // F models ForwardIterator
|
1021
|
+
BOOST_CONTAINER_FORCEINLINE F move_forward_overlapping(F f, F l, F r)
|
1022
|
+
{
|
1023
|
+
return (f != r) ? (move)(f, l, r) : l;
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
template<typename B> // B models BidirIterator
|
1027
|
+
BOOST_CONTAINER_FORCEINLINE B move_backward_overlapping(B f, B l, B rl)
|
1028
|
+
{
|
1029
|
+
return (l != rl) ? (move_backward)(f, l, rl) : f;
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
|
960
1033
|
//////////////////////////////////////////////////////////////////////////////
|
961
1034
|
//
|
962
1035
|
// destroy_alloc_n
|
@@ -981,10 +1054,35 @@ template
|
|
981
1054
|
<typename Allocator
|
982
1055
|
,typename I // I models InputIterator
|
983
1056
|
,typename U> // U models unsigned integral constant
|
984
|
-
|
1057
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_trivially_destructible<I, void>::type
|
985
1058
|
destroy_alloc_n(Allocator &, I, U)
|
986
1059
|
{}
|
987
1060
|
|
1061
|
+
//////////////////////////////////////////////////////////////////////////////
|
1062
|
+
//
|
1063
|
+
// destroy_alloc
|
1064
|
+
//
|
1065
|
+
//////////////////////////////////////////////////////////////////////////////
|
1066
|
+
|
1067
|
+
template
|
1068
|
+
<typename Allocator
|
1069
|
+
,typename I> // I models InputIterator
|
1070
|
+
inline typename dtl::disable_if_trivially_destructible<I, void>::type
|
1071
|
+
destroy_alloc(Allocator &a, I f, I l)
|
1072
|
+
{
|
1073
|
+
while(f != l){
|
1074
|
+
allocator_traits<Allocator>::destroy(a, boost::movelib::iterator_to_raw_pointer(f));
|
1075
|
+
++f;
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
template
|
1080
|
+
<typename Allocator
|
1081
|
+
,typename I > // I models InputIterator
|
1082
|
+
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_trivially_destructible<I, void>::type
|
1083
|
+
destroy_alloc(Allocator &, I, I)
|
1084
|
+
{}
|
1085
|
+
|
988
1086
|
//////////////////////////////////////////////////////////////////////////////
|
989
1087
|
//
|
990
1088
|
// deep_swap_alloc_n
|
@@ -998,15 +1096,14 @@ template
|
|
998
1096
|
,typename G // G models ForwardIterator
|
999
1097
|
>
|
1000
1098
|
inline typename dtl::disable_if_memtransfer_copy_assignable<F, G, void>::type
|
1001
|
-
deep_swap_alloc_n( Allocator &a, F short_range_f,
|
1002
|
-
, G large_range_f, typename allocator_traits<Allocator>::size_type n_j)
|
1099
|
+
deep_swap_alloc_n( Allocator &a, F short_range_f, std::size_t n_i, G large_range_f, std::size_t n_j)
|
1003
1100
|
{
|
1004
|
-
|
1101
|
+
std::size_t n = 0;
|
1005
1102
|
for (; n != n_i ; ++short_range_f, ++large_range_f, ++n){
|
1006
1103
|
boost::adl_move_swap(*short_range_f, *large_range_f);
|
1007
1104
|
}
|
1008
|
-
boost::container::uninitialized_move_alloc_n(a, large_range_f, n_j - n_i, short_range_f); // may throw
|
1009
|
-
boost::container::destroy_alloc_n(a, large_range_f, n_j - n_i);
|
1105
|
+
boost::container::uninitialized_move_alloc_n(a, large_range_f, std::size_t(n_j - n_i), short_range_f); // may throw
|
1106
|
+
boost::container::destroy_alloc_n(a, large_range_f, std::size_t(n_j - n_i));
|
1010
1107
|
}
|
1011
1108
|
|
1012
1109
|
static const std::size_t DeepSwapAllocNMaxStorage = std::size_t(1) << std::size_t(11); //2K bytes
|
@@ -1020,8 +1117,7 @@ template
|
|
1020
1117
|
inline typename dtl::enable_if_c
|
1021
1118
|
< dtl::is_memtransfer_copy_assignable<F, G>::value && (MaxTmpBytes <= DeepSwapAllocNMaxStorage) && false
|
1022
1119
|
, void>::type
|
1023
|
-
deep_swap_alloc_n( Allocator &a, F short_range_f,
|
1024
|
-
, G large_range_f, typename allocator_traits<Allocator>::size_type n_j)
|
1120
|
+
deep_swap_alloc_n( Allocator &a, F short_range_f, std::size_t n_i, G large_range_f, std::size_t n_j)
|
1025
1121
|
{
|
1026
1122
|
typedef typename allocator_traits<Allocator>::value_type value_type;
|
1027
1123
|
typedef typename dtl::aligned_storage
|
@@ -1035,10 +1131,10 @@ inline typename dtl::enable_if_c
|
|
1035
1131
|
std::memcpy(stora_ptr, large_ptr, n_i_bytes);
|
1036
1132
|
std::memcpy(large_ptr, short_ptr, n_i_bytes);
|
1037
1133
|
std::memcpy(short_ptr, stora_ptr, n_i_bytes);
|
1038
|
-
boost::container::
|
1039
|
-
boost::container::
|
1040
|
-
boost::container::uninitialized_move_alloc_n(a, large_range_f, n_j - n_i, short_range_f); // may throw
|
1041
|
-
boost::container::destroy_alloc_n(a, large_range_f, n_j - n_i);
|
1134
|
+
boost::container::iterator_uadvance(large_range_f, n_i);
|
1135
|
+
boost::container::iterator_uadvance(short_range_f, n_i);
|
1136
|
+
boost::container::uninitialized_move_alloc_n(a, large_range_f, std::size_t(n_j - n_i), short_range_f); // may throw
|
1137
|
+
boost::container::destroy_alloc_n(a, large_range_f, std::size_t(n_j - n_i));
|
1042
1138
|
}
|
1043
1139
|
|
1044
1140
|
template
|
@@ -1050,8 +1146,7 @@ template
|
|
1050
1146
|
inline typename dtl::enable_if_c
|
1051
1147
|
< dtl::is_memtransfer_copy_assignable<F, G>::value && true//(MaxTmpBytes > DeepSwapAllocNMaxStorage)
|
1052
1148
|
, void>::type
|
1053
|
-
deep_swap_alloc_n( Allocator &a, F short_range_f,
|
1054
|
-
, G large_range_f, typename allocator_traits<Allocator>::size_type n_j)
|
1149
|
+
deep_swap_alloc_n( Allocator &a, F short_range_f, std::size_t n_i, G large_range_f, std::size_t n_j)
|
1055
1150
|
{
|
1056
1151
|
typedef typename allocator_traits<Allocator>::value_type value_type;
|
1057
1152
|
typedef typename dtl::aligned_storage
|
@@ -1070,7 +1165,7 @@ inline typename dtl::enable_if_c
|
|
1070
1165
|
//Loop unrolling using Duff's device, as it seems it helps on some architectures
|
1071
1166
|
const std::size_t Unroll = 4;
|
1072
1167
|
std::size_t n = (szt_times + (Unroll-1))/Unroll;
|
1073
|
-
const std::size_t branch_number = (
|
1168
|
+
const std::size_t branch_number = (szt_times == 0)*Unroll + (szt_times % Unroll);
|
1074
1169
|
switch(branch_number){
|
1075
1170
|
case 4:
|
1076
1171
|
break;
|
@@ -1106,10 +1201,10 @@ inline typename dtl::enable_if_c
|
|
1106
1201
|
std::memcpy(stora_ptr, large_ptr, szt_rem);
|
1107
1202
|
std::memcpy(large_ptr, short_ptr, szt_rem);
|
1108
1203
|
std::memcpy(short_ptr, stora_ptr, szt_rem);
|
1109
|
-
boost::container::
|
1110
|
-
boost::container::
|
1111
|
-
boost::container::uninitialized_move_alloc_n(a, large_range_f, n_j - n_i, short_range_f); // may throw
|
1112
|
-
boost::container::destroy_alloc_n(a, large_range_f, n_j - n_i);
|
1204
|
+
boost::container::iterator_uadvance(large_range_f, n_i);
|
1205
|
+
boost::container::iterator_uadvance(short_range_f, n_i);
|
1206
|
+
boost::container::uninitialized_move_alloc_n(a, large_range_f, std::size_t(n_j - n_i), short_range_f); // may throw
|
1207
|
+
boost::container::destroy_alloc_n(a, large_range_f, std::size_t(n_j - n_i));
|
1113
1208
|
}
|
1114
1209
|
|
1115
1210
|
|
@@ -1124,16 +1219,15 @@ template
|
|
1124
1219
|
,typename I // F models InputIterator
|
1125
1220
|
,typename O // G models OutputIterator
|
1126
1221
|
>
|
1127
|
-
void copy_assign_range_alloc_n( Allocator &a, I inp_start,
|
1128
|
-
, O out_start, typename allocator_traits<Allocator>::size_type n_o )
|
1222
|
+
void copy_assign_range_alloc_n( Allocator &a, I inp_start, std::size_t n_i, O out_start, std::size_t n_o )
|
1129
1223
|
{
|
1130
1224
|
if (n_o < n_i){
|
1131
1225
|
inp_start = boost::container::copy_n_source_dest(inp_start, n_o, out_start); // may throw
|
1132
|
-
boost::container::uninitialized_copy_alloc_n(a, inp_start, n_i - n_o, out_start);// may throw
|
1226
|
+
boost::container::uninitialized_copy_alloc_n(a, inp_start, std::size_t(n_i - n_o), out_start);// may throw
|
1133
1227
|
}
|
1134
1228
|
else{
|
1135
1229
|
out_start = boost::container::copy_n(inp_start, n_i, out_start); // may throw
|
1136
|
-
boost::container::destroy_alloc_n(a, out_start, n_o - n_i);
|
1230
|
+
boost::container::destroy_alloc_n(a, out_start, std::size_t(n_o - n_i));
|
1137
1231
|
}
|
1138
1232
|
}
|
1139
1233
|
|
@@ -1148,16 +1242,732 @@ template
|
|
1148
1242
|
,typename I // F models InputIterator
|
1149
1243
|
,typename O // G models OutputIterator
|
1150
1244
|
>
|
1151
|
-
void move_assign_range_alloc_n( Allocator &a, I inp_start,
|
1152
|
-
, O out_start, typename allocator_traits<Allocator>::size_type n_o )
|
1245
|
+
void move_assign_range_alloc_n( Allocator &a, I inp_start, std::size_t n_i, O out_start, std::size_t n_o )
|
1153
1246
|
{
|
1154
1247
|
if (n_o < n_i){
|
1155
1248
|
inp_start = boost::container::move_n_source_dest(inp_start, n_o, out_start); // may throw
|
1156
|
-
boost::container::uninitialized_move_alloc_n(a, inp_start, n_i - n_o, out_start); // may throw
|
1249
|
+
boost::container::uninitialized_move_alloc_n(a, inp_start, std::size_t(n_i - n_o), out_start); // may throw
|
1157
1250
|
}
|
1158
1251
|
else{
|
1159
1252
|
out_start = boost::container::move_n(inp_start, n_i, out_start); // may throw
|
1160
|
-
boost::container::destroy_alloc_n(a, out_start, n_o - n_i);
|
1253
|
+
boost::container::destroy_alloc_n(a, out_start, std::size_t(n_o - n_i));
|
1254
|
+
}
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
template<class Allocator>
|
1258
|
+
struct array_destructor
|
1259
|
+
{
|
1260
|
+
typedef typename ::boost::container::allocator_traits<Allocator>::value_type value_type;
|
1261
|
+
typedef typename dtl::if_c
|
1262
|
+
<dtl::is_trivially_destructible<value_type>::value
|
1263
|
+
,dtl::null_scoped_destructor_range<Allocator>
|
1264
|
+
,dtl::scoped_destructor_range<Allocator>
|
1265
|
+
>::type type;
|
1266
|
+
};
|
1267
|
+
|
1268
|
+
template<class Allocator>
|
1269
|
+
struct value_destructor
|
1270
|
+
{
|
1271
|
+
typedef typename ::boost::container::allocator_traits<Allocator>::value_type value_type;
|
1272
|
+
typedef typename dtl::if_c
|
1273
|
+
<dtl::is_trivially_destructible<value_type>::value
|
1274
|
+
, dtl::null_scoped_destructor<Allocator>
|
1275
|
+
, dtl::scoped_destructor<Allocator>
|
1276
|
+
>::type type;
|
1277
|
+
};
|
1278
|
+
|
1279
|
+
template
|
1280
|
+
<typename Allocator
|
1281
|
+
,typename F // F models ForwardIterator
|
1282
|
+
,typename O // G models OutputIterator
|
1283
|
+
,typename InsertionProxy
|
1284
|
+
>
|
1285
|
+
void uninitialized_move_and_insert_alloc
|
1286
|
+
( Allocator &a
|
1287
|
+
, F first
|
1288
|
+
, F pos
|
1289
|
+
, F last
|
1290
|
+
, O d_first
|
1291
|
+
, std::size_t n
|
1292
|
+
, InsertionProxy insertion_proxy)
|
1293
|
+
{
|
1294
|
+
typedef typename array_destructor<Allocator>::type array_destructor_t;
|
1295
|
+
|
1296
|
+
//Anti-exception rollbacks
|
1297
|
+
array_destructor_t new_values_destroyer(d_first, d_first, a);
|
1298
|
+
|
1299
|
+
//Initialize with [begin(), pos) old buffer
|
1300
|
+
//the start of the new buffer
|
1301
|
+
O d_last = ::boost::container::uninitialized_move_alloc(a, first, pos, d_first);
|
1302
|
+
new_values_destroyer.set_end(d_last);
|
1303
|
+
//Initialize new objects, starting from previous point
|
1304
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, d_last, n);
|
1305
|
+
d_last += n;
|
1306
|
+
new_values_destroyer.set_end(d_last);
|
1307
|
+
//Initialize from the rest of the old buffer,
|
1308
|
+
//starting from previous point
|
1309
|
+
(void) ::boost::container::uninitialized_move_alloc(a, pos, last, d_last);
|
1310
|
+
//All construction successful, disable rollbacks
|
1311
|
+
new_values_destroyer.release();
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
|
1315
|
+
|
1316
|
+
|
1317
|
+
template
|
1318
|
+
<typename Allocator
|
1319
|
+
,typename F // F models ForwardIterator
|
1320
|
+
,typename InsertionProxy
|
1321
|
+
>
|
1322
|
+
typename dtl::enable_if_c<dtl::is_single_value_proxy<InsertionProxy>::value, void>::type
|
1323
|
+
expand_backward_and_insert_nonempty_middle_alloc
|
1324
|
+
( Allocator &a
|
1325
|
+
, F const first
|
1326
|
+
, F const pos
|
1327
|
+
, std::size_t const
|
1328
|
+
, InsertionProxy insertion_proxy)
|
1329
|
+
{
|
1330
|
+
BOOST_ASSERT(first != pos);
|
1331
|
+
|
1332
|
+
typedef typename value_destructor<Allocator>::type value_destructor_t;
|
1333
|
+
F aux = first; --aux;
|
1334
|
+
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(aux), boost::move(*first));
|
1335
|
+
value_destructor_t on_exception(a, boost::movelib::iterator_to_raw_pointer(aux));
|
1336
|
+
//Copy previous to last objects to the initialized end
|
1337
|
+
aux = first; ++aux;
|
1338
|
+
aux = boost::container::move(aux, pos, first);
|
1339
|
+
//Insert new objects in the pos
|
1340
|
+
insertion_proxy.copy_n_and_update(a, aux, 1u);
|
1341
|
+
on_exception.release();
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
template
|
1345
|
+
<typename Allocator
|
1346
|
+
,typename F // F models ForwardIterator
|
1347
|
+
,typename InsertionProxy
|
1348
|
+
>
|
1349
|
+
typename dtl::disable_if_c<dtl::is_single_value_proxy<InsertionProxy>::value, void>::type
|
1350
|
+
expand_backward_and_insert_nonempty_middle_alloc
|
1351
|
+
( Allocator &a
|
1352
|
+
, F first
|
1353
|
+
, F pos
|
1354
|
+
, std::size_t const n
|
1355
|
+
, InsertionProxy insertion_proxy)
|
1356
|
+
{
|
1357
|
+
BOOST_ASSERT(first != pos);
|
1358
|
+
BOOST_ASSERT(n != 0);
|
1359
|
+
|
1360
|
+
typedef typename array_destructor<Allocator>::type array_destructor_t;
|
1361
|
+
const std::size_t elems_before = iterator_udistance(first, pos);
|
1362
|
+
if(elems_before >= n){
|
1363
|
+
//New elements can be just copied.
|
1364
|
+
//Move to uninitialized memory last objects
|
1365
|
+
F const first_less_n = first - n;
|
1366
|
+
F nxt = ::boost::container::uninitialized_move_alloc_n_source(a, first, n, first_less_n);
|
1367
|
+
array_destructor_t on_exception(first_less_n, first, a);
|
1368
|
+
//Copy previous to last objects to the initialized end
|
1369
|
+
nxt = boost::container::move(nxt, pos, first);
|
1370
|
+
//Insert new objects in the pos
|
1371
|
+
insertion_proxy.copy_n_and_update(a, nxt, n);
|
1372
|
+
on_exception.release();
|
1373
|
+
}
|
1374
|
+
else {
|
1375
|
+
//The new elements don't fit in the [pos, end()) range.
|
1376
|
+
//Copy old [pos, end()) elements to the uninitialized memory (a gap is created)
|
1377
|
+
F aux = ::boost::container::uninitialized_move_alloc(a, first, pos, first - n);
|
1378
|
+
array_destructor_t on_exception(first -n, aux, a);
|
1379
|
+
//Copy to the beginning of the unallocated zone the last new elements (the gap is closed).
|
1380
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, aux, std::size_t(n - elems_before));
|
1381
|
+
insertion_proxy.copy_n_and_update(a, first, elems_before);
|
1382
|
+
on_exception.release();
|
1383
|
+
}
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
|
1387
|
+
template
|
1388
|
+
<typename Allocator
|
1389
|
+
,typename F // F models ForwardIterator
|
1390
|
+
,typename InsertionProxy
|
1391
|
+
>
|
1392
|
+
typename dtl::enable_if_c<dtl::is_single_value_proxy<InsertionProxy>::value, void>::type
|
1393
|
+
expand_forward_and_insert_nonempty_middle_alloc
|
1394
|
+
( Allocator &a
|
1395
|
+
, F pos
|
1396
|
+
, F last
|
1397
|
+
, std::size_t const
|
1398
|
+
, InsertionProxy insertion_proxy)
|
1399
|
+
{
|
1400
|
+
BOOST_ASSERT(last != pos);
|
1401
|
+
|
1402
|
+
typedef typename value_destructor<Allocator>::type value_destructor_t;
|
1403
|
+
F last_m_n = last; --last_m_n;
|
1404
|
+
allocator_traits<Allocator>::construct(a, boost::movelib::iterator_to_raw_pointer(last), boost::move(*last_m_n));
|
1405
|
+
value_destructor_t on_exception(a, boost::movelib::iterator_to_raw_pointer(last));
|
1406
|
+
//Copy previous to last objects to the initialized end
|
1407
|
+
boost::container::move_backward(pos, last_m_n, last);
|
1408
|
+
//Insert new objects in the pos
|
1409
|
+
insertion_proxy.copy_n_and_update(a, pos, 1);
|
1410
|
+
on_exception.release();
|
1411
|
+
}
|
1412
|
+
|
1413
|
+
template
|
1414
|
+
<typename Allocator
|
1415
|
+
,typename F // F models ForwardIterator
|
1416
|
+
,typename InsertionProxy
|
1417
|
+
>
|
1418
|
+
typename dtl::disable_if_c<dtl::is_single_value_proxy<InsertionProxy>::value, void>::type
|
1419
|
+
expand_forward_and_insert_nonempty_middle_alloc
|
1420
|
+
( Allocator &a
|
1421
|
+
, F pos
|
1422
|
+
, F last
|
1423
|
+
, std::size_t const n
|
1424
|
+
, InsertionProxy insertion_proxy)
|
1425
|
+
{
|
1426
|
+
BOOST_ASSERT(last != pos);
|
1427
|
+
BOOST_ASSERT(n != 0);
|
1428
|
+
|
1429
|
+
typedef typename array_destructor<Allocator>::type array_destructor_t;
|
1430
|
+
const std::size_t elems_after = iterator_udistance(pos, last);
|
1431
|
+
if(elems_after >= n){
|
1432
|
+
//New elements can be just copied.
|
1433
|
+
//Move to uninitialized memory last objects
|
1434
|
+
F const last_m_n = last - n;
|
1435
|
+
F const nxt = ::boost::container::uninitialized_move_alloc_n(a, last_m_n, n, last);
|
1436
|
+
array_destructor_t on_exception(last, nxt, a);
|
1437
|
+
//Copy previous to last objects to the initialized end
|
1438
|
+
boost::container::move_backward(pos, last_m_n, last);
|
1439
|
+
//Insert new objects in the pos
|
1440
|
+
insertion_proxy.copy_n_and_update(a, pos, n);
|
1441
|
+
on_exception.release();
|
1442
|
+
}
|
1443
|
+
else {
|
1444
|
+
//The new elements don't fit in the [pos, end()) range.
|
1445
|
+
//Copy old [pos, end()) elements to the uninitialized memory (a gap is created)
|
1446
|
+
F new_last = ::boost::container::uninitialized_move_alloc(a, pos, last, pos + n);
|
1447
|
+
array_destructor_t on_exception(pos + n, new_last, a);
|
1448
|
+
//Copy first new elements in pos (gap is still there)
|
1449
|
+
insertion_proxy.copy_n_and_update(a, pos, elems_after);
|
1450
|
+
//Copy to the beginning of the unallocated zone the last new elements (the gap is closed).
|
1451
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, last, std::size_t(n - elems_after));
|
1452
|
+
on_exception.release();
|
1453
|
+
}
|
1454
|
+
}
|
1455
|
+
|
1456
|
+
template
|
1457
|
+
<typename Allocator
|
1458
|
+
, typename F // F models ForwardIterator
|
1459
|
+
, typename InsertionProxy
|
1460
|
+
>
|
1461
|
+
BOOST_CONTAINER_FORCEINLINE void expand_forward_and_insert_alloc
|
1462
|
+
( Allocator& a
|
1463
|
+
, F pos
|
1464
|
+
, F last
|
1465
|
+
, std::size_t const n
|
1466
|
+
, InsertionProxy insertion_proxy)
|
1467
|
+
{
|
1468
|
+
if (last == pos) {
|
1469
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, last, n);
|
1470
|
+
}
|
1471
|
+
else{
|
1472
|
+
const bool single_value = dtl::is_single_value_proxy<InsertionProxy>::value;
|
1473
|
+
BOOST_IF_CONSTEXPR(!single_value){
|
1474
|
+
if (BOOST_UNLIKELY(!n)) {
|
1475
|
+
return;
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
expand_forward_and_insert_nonempty_middle_alloc(a, pos, last, n, insertion_proxy);
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
|
1482
|
+
template <class B, class InsertionProxy, class Allocator>
|
1483
|
+
void expand_backward_forward_and_insert_alloc_move_backward
|
1484
|
+
( B const old_start
|
1485
|
+
, std::size_t const old_size
|
1486
|
+
, B const new_start
|
1487
|
+
, B const pos
|
1488
|
+
, std::size_t const n
|
1489
|
+
, InsertionProxy insertion_proxy
|
1490
|
+
, Allocator& a)
|
1491
|
+
{
|
1492
|
+
typedef std::size_t size_type;
|
1493
|
+
typedef typename allocator_traits<Allocator>::value_type value_type;
|
1494
|
+
static const bool trivial_dctr_after_move = has_trivial_destructor_after_move<value_type>::value;
|
1495
|
+
static const bool trivial_dctr = dtl::is_trivially_destructible<value_type>::value;
|
1496
|
+
|
1497
|
+
typedef typename dtl::if_c
|
1498
|
+
<trivial_dctr
|
1499
|
+
, dtl::null_scoped_destructor_n<Allocator, B>
|
1500
|
+
, dtl::scoped_destructor_n<Allocator, B>
|
1501
|
+
>::type array_destructor_t;
|
1502
|
+
|
1503
|
+
//n can be zero to just expand capacity
|
1504
|
+
B old_finish = make_iterator_uadvance(old_start, old_size);
|
1505
|
+
|
1506
|
+
//We can have 8 possibilities:
|
1507
|
+
const size_type elemsbefore = static_cast<size_type>(iterator_udistance(old_start, pos));
|
1508
|
+
const size_type raw_before = static_cast<size_type>(iterator_udistance(new_start, old_start));
|
1509
|
+
const size_type before_plus_new = size_type(elemsbefore + n);
|
1510
|
+
|
1511
|
+
//Check if raw_before is big enough to hold the beginning of old data + new data
|
1512
|
+
if (raw_before >= before_plus_new) {
|
1513
|
+
//If anything goes wrong, this object will destroy
|
1514
|
+
//all the old objects to fulfill previous vector state
|
1515
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
1516
|
+
// _________________________________________________________
|
1517
|
+
//| raw_mem | old_begin | old_end | //Old situation
|
1518
|
+
//| __________________________________|___________|_________|
|
1519
|
+
// _________________________________________________________
|
1520
|
+
//| old_begin | new | raw_mem | old_begin | old_end | //First step
|
1521
|
+
//|___________|__________|____________|___________|_________|
|
1522
|
+
|
1523
|
+
//Copy first old values before pos, after that the new objects
|
1524
|
+
B const new_elem_pos = ::boost::container::uninitialized_move_alloc(a, old_start, pos, new_start);
|
1525
|
+
array_destructor_t new_values_destroyer(new_start, a, elemsbefore);
|
1526
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, new_elem_pos, n);
|
1527
|
+
new_values_destroyer.set_size(before_plus_new);
|
1528
|
+
const size_type new_size = size_type(old_size + n);
|
1529
|
+
//Check if raw_before is so big that even copying the old data + new data
|
1530
|
+
//there is a gap between the new data and the old data
|
1531
|
+
if (raw_before >= new_size) {
|
1532
|
+
// _______________________________________________________
|
1533
|
+
//| raw_mem | old_begin | old_end | //Old situation
|
1534
|
+
//|_________________________________|___________|_________|
|
1535
|
+
// _______________________________________________________
|
1536
|
+
//| old_begin | new | raw_mem | old_begin | old_end | //First step
|
1537
|
+
//|___________|________|____________|___________|_________|
|
1538
|
+
// _______________________________________________________
|
1539
|
+
//| old_begin | new | old_end | raw_mem | //New situation
|
1540
|
+
//|___________|________|_________|________________________|
|
1541
|
+
//
|
1542
|
+
//Now initialize the rest of memory with the last old values
|
1543
|
+
if (before_plus_new != new_size) { //Special case to avoid operations in back insertion
|
1544
|
+
B new_start_end(make_iterator_uadvance(new_start, before_plus_new));
|
1545
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, new_start_end);
|
1546
|
+
}
|
1547
|
+
//All new elements correctly constructed, avoid new element destruction
|
1548
|
+
new_values_destroyer.release();
|
1549
|
+
//Old values destroyed automatically with "old_values_destroyer"
|
1550
|
+
//when "old_values_destroyer" goes out of scope unless the have trivial
|
1551
|
+
//destructor after move.
|
1552
|
+
if(trivial_dctr_after_move)
|
1553
|
+
old_values_destroyer.release();
|
1554
|
+
}
|
1555
|
+
//raw_before is so big that divides old_end
|
1556
|
+
else {
|
1557
|
+
// _________________________________________________
|
1558
|
+
//| raw | old_beg | old_end | //Old situation
|
1559
|
+
//|_____________________________|_________|_________|
|
1560
|
+
// _________________________________________________
|
1561
|
+
//| old_begin | new | raw | old_beg | old_end | //First step
|
1562
|
+
//|___________|__________|______|_________|_________|
|
1563
|
+
// _________________________________________________
|
1564
|
+
//| old_begin | new | old_end | raw_mem | //New situation
|
1565
|
+
//|___________|__________|_________|________________|
|
1566
|
+
|
1567
|
+
//Now initialize the rest of memory with the last old values
|
1568
|
+
//All new elements correctly constructed, avoid new element destruction
|
1569
|
+
BOOST_IF_CONSTEXPR(!trivial_dctr) {
|
1570
|
+
//Now initialize the rest of raw_before memory with the
|
1571
|
+
//first of elements after new values
|
1572
|
+
const size_type raw_gap = raw_before - before_plus_new;
|
1573
|
+
B new_start_plus(make_iterator_uadvance(new_start, before_plus_new));
|
1574
|
+
::boost::container::uninitialized_move_alloc_n(a, pos, raw_gap, new_start_plus);
|
1575
|
+
new_values_destroyer.release();
|
1576
|
+
old_values_destroyer.increment_size_backwards(raw_before);
|
1577
|
+
//Now move remaining last objects in the old buffer begin
|
1578
|
+
B remaining_pos(make_iterator_uadvance(pos, raw_gap));
|
1579
|
+
remaining_pos = ::boost::container::move_forward_overlapping(remaining_pos, old_finish, old_start);
|
1580
|
+
(void)remaining_pos;
|
1581
|
+
//Once moved, avoid calling the destructors if trivial after move
|
1582
|
+
if(!trivial_dctr_after_move) {
|
1583
|
+
boost::container::destroy_alloc(a, remaining_pos, old_finish);
|
1584
|
+
}
|
1585
|
+
}
|
1586
|
+
else { //If trivial destructor, we can uninitialized copy + copy in a single uninitialized copy
|
1587
|
+
::boost::container::uninitialized_move_alloc_n
|
1588
|
+
(a, pos, static_cast<size_type>(old_finish - pos), make_iterator_uadvance(new_start, before_plus_new));
|
1589
|
+
}
|
1590
|
+
old_values_destroyer.release();
|
1591
|
+
}
|
1592
|
+
}
|
1593
|
+
else {
|
1594
|
+
//If anything goes wrong, this object will destroy
|
1595
|
+
//all the old objects to fulfill previous vector state
|
1596
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
1597
|
+
|
1598
|
+
//Check if we have to do the insertion in two phases
|
1599
|
+
//since maybe raw_before is not big enough and
|
1600
|
+
//the buffer was expanded both sides
|
1601
|
+
// _________________________________________________
|
1602
|
+
//| raw_mem | old_begin + old_end | raw_mem | //Old situation
|
1603
|
+
//|_________|_____________________|_________________|
|
1604
|
+
// _________________________________________________
|
1605
|
+
//| old_begin + new + old_end | raw_mem | //New situation with do_after
|
1606
|
+
//|___________________________________|_____________|
|
1607
|
+
// _________________________________________________
|
1608
|
+
//| old_begin + new + old_end | raw_mem | //New without do_after
|
1609
|
+
//|____________________________|____________________|
|
1610
|
+
//
|
1611
|
+
const bool do_after = n > raw_before;
|
1612
|
+
|
1613
|
+
//Now we can have two situations: the raw_mem of the
|
1614
|
+
//beginning divides the old_begin, or the new elements:
|
1615
|
+
if (raw_before <= elemsbefore) {
|
1616
|
+
//The raw memory divides the old_begin group:
|
1617
|
+
//
|
1618
|
+
//If we need two phase construction (do_after)
|
1619
|
+
//new group is divided in new = new_beg + new_end groups
|
1620
|
+
//In this phase only new_beg will be inserted
|
1621
|
+
//
|
1622
|
+
// _________________________________________________
|
1623
|
+
//| raw_mem | old_begin | old_end | raw_mem | //Old situation
|
1624
|
+
//|_________|___________|_________|_________________|
|
1625
|
+
// _________________________________________________
|
1626
|
+
//| old_begin | new_beg | old_end | raw_mem | //New situation with do_after(1),
|
1627
|
+
//|___________|_________|_________|_________________| //not definitive, pending operations
|
1628
|
+
// _________________________________________________
|
1629
|
+
//| old_begin | new | old_end | raw_mem | //New situation without do_after,
|
1630
|
+
//|___________|_____|_________|_____________________| //definitive.
|
1631
|
+
//
|
1632
|
+
//Copy the first part of old_begin to raw_mem
|
1633
|
+
::boost::container::uninitialized_move_alloc_n(a, old_start, raw_before, new_start);
|
1634
|
+
//The buffer is all constructed until old_end,
|
1635
|
+
//so program trailing destruction and assign final size
|
1636
|
+
//if !do_after, raw_before+n otherwise.
|
1637
|
+
size_type new_1st_range;
|
1638
|
+
old_values_destroyer.increment_size_backwards(raw_before);
|
1639
|
+
new_1st_range = do_after ? raw_before : n;
|
1640
|
+
|
1641
|
+
//Now copy the second part of old_begin overwriting itself
|
1642
|
+
B const old_next(make_iterator_uadvance(old_start, raw_before));
|
1643
|
+
B const next = ::boost::container::move(old_next, pos, old_start);
|
1644
|
+
//Now copy the new_beg elements
|
1645
|
+
insertion_proxy.copy_n_and_update(a, next, new_1st_range);
|
1646
|
+
|
1647
|
+
//If there is no after work and the last old part needs to be moved to front, do it
|
1648
|
+
if (!do_after) {
|
1649
|
+
//Now displace old_end elements and destroy trailing
|
1650
|
+
B const new_first(make_iterator_uadvance(next, new_1st_range));
|
1651
|
+
B const p = ::boost::container::move_forward_overlapping(pos, old_finish, new_first);
|
1652
|
+
(void)p;
|
1653
|
+
if(!trivial_dctr_after_move)
|
1654
|
+
boost::container::destroy_alloc(a, p, old_finish);
|
1655
|
+
}
|
1656
|
+
}
|
1657
|
+
else {
|
1658
|
+
//If we have to expand both sides,
|
1659
|
+
//we will play if the first new values so
|
1660
|
+
//calculate the upper bound of new values
|
1661
|
+
|
1662
|
+
//The raw memory divides the new elements
|
1663
|
+
//
|
1664
|
+
//If we need two phase construction (do_after)
|
1665
|
+
//new group is divided in new = new_beg + new_end groups
|
1666
|
+
//In this phase only new_beg will be inserted
|
1667
|
+
//
|
1668
|
+
// ____________________________________________________
|
1669
|
+
//| raw_mem | old_begin | old_end | raw_mem | //Old situation
|
1670
|
+
//|_______________|___________|_________|______________|
|
1671
|
+
// ____________________________________________________
|
1672
|
+
//| old_begin | new_beg | old_end | raw_mem | //New situation with do_after(),
|
1673
|
+
//|___________|_______________|_________|______________| //not definitive, pending operations
|
1674
|
+
// ____________________________________________________
|
1675
|
+
//| old_begin | new | old_end | raw_mem | //New situation without do_after,
|
1676
|
+
//|___________|_____|_________|________________________| //definitive
|
1677
|
+
//
|
1678
|
+
//First copy whole old_begin and part of new to raw_mem
|
1679
|
+
B const new_pos = ::boost::container::uninitialized_move_alloc(a, old_start, pos, new_start);
|
1680
|
+
array_destructor_t new_values_destroyer(new_start, a, elemsbefore);
|
1681
|
+
const size_type mid_n = size_type(raw_before - elemsbefore);
|
1682
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, new_pos, mid_n);
|
1683
|
+
new_values_destroyer.release();
|
1684
|
+
//The buffer is all constructed until old_end
|
1685
|
+
old_values_destroyer.increment_size_backwards(raw_before);
|
1686
|
+
|
1687
|
+
if (do_after) {
|
1688
|
+
//Copy new_beg part
|
1689
|
+
insertion_proxy.copy_n_and_update(a, old_start, elemsbefore);
|
1690
|
+
}
|
1691
|
+
else {
|
1692
|
+
//Copy all new elements
|
1693
|
+
const size_type rest_new = size_type(n - mid_n);
|
1694
|
+
insertion_proxy.copy_n_and_update(a, old_start, rest_new);
|
1695
|
+
|
1696
|
+
B move_start(make_iterator_uadvance(old_start, rest_new));
|
1697
|
+
|
1698
|
+
//Displace old_end, but make sure data has to be moved
|
1699
|
+
B const move_end = ::boost::container::move_forward_overlapping(pos, old_finish, move_start);
|
1700
|
+
(void)move_end; //To avoid warnings of unused initialization for move_end in case
|
1701
|
+
//trivial_dctr_after_move is true
|
1702
|
+
//Destroy remaining moved elements from old_end except if they
|
1703
|
+
//have trivial destructor after being moved
|
1704
|
+
if(!trivial_dctr_after_move) {
|
1705
|
+
boost::container::destroy_alloc(a, move_end, old_finish);
|
1706
|
+
}
|
1707
|
+
}
|
1708
|
+
}
|
1709
|
+
|
1710
|
+
//This is only executed if two phase construction is needed
|
1711
|
+
if (do_after) {
|
1712
|
+
//The raw memory divides the new elements
|
1713
|
+
// ______________________________________________________
|
1714
|
+
//| raw_mem | old_begin | old_end | raw_mem | //Old situation
|
1715
|
+
//|______________|___________|____________|______________|
|
1716
|
+
// _______________________________________________________
|
1717
|
+
//| old_begin + new_beg | new_end |old_end | rawmem | //New situation with do_after(1)
|
1718
|
+
//|__________________________|_________|________|________|
|
1719
|
+
// ______________________________________________________
|
1720
|
+
//| old_begin + new | old_end |raw | //New situation with do_after(2)
|
1721
|
+
//|_______________________________________|_________|____|
|
1722
|
+
const size_type n_after = size_type(n - raw_before);
|
1723
|
+
const size_type elemsafter = size_type(old_size - elemsbefore);
|
1724
|
+
|
1725
|
+
//We can have two situations:
|
1726
|
+
if (elemsafter >= n_after) {
|
1727
|
+
//The raw_mem from end will divide displaced old_end
|
1728
|
+
//
|
1729
|
+
//Old situation:
|
1730
|
+
// ______________________________________________________
|
1731
|
+
//| raw_mem | old_begin | old_end | raw_mem |
|
1732
|
+
//|______________|___________|____________|______________|
|
1733
|
+
//
|
1734
|
+
//New situation with do_after(1):
|
1735
|
+
// _______________________________________________________
|
1736
|
+
//| old_begin + new_beg | new_end |old_end | raw_mem |
|
1737
|
+
//|__________________________|_________|________|_________|
|
1738
|
+
//
|
1739
|
+
//First copy the part of old_end raw_mem
|
1740
|
+
B finish_n = make_iterator_advance(old_finish, -std::ptrdiff_t(n_after));
|
1741
|
+
::boost::container::uninitialized_move_alloc(a, finish_n, old_finish, old_finish);
|
1742
|
+
old_values_destroyer.increment_size(n_after);
|
1743
|
+
//Displace the rest of old_end to the new position
|
1744
|
+
boost::container::move_backward_overlapping(pos, finish_n, old_finish);
|
1745
|
+
//Now overwrite with new_end
|
1746
|
+
//The new_end part is [first + (n - n_after), last)
|
1747
|
+
insertion_proxy.copy_n_and_update(a, pos, n_after);
|
1748
|
+
}
|
1749
|
+
else {
|
1750
|
+
//The raw_mem from end will divide new_end part
|
1751
|
+
// _____________________________________________________________
|
1752
|
+
//| raw_mem | old_begin | old_end | raw_mem | //Old situation
|
1753
|
+
//|______________|___________|____________|_____________________|
|
1754
|
+
// _____________________________________________________________
|
1755
|
+
//| old_begin + new_beg | new_end |old_end | raw_mem | //New situation with do_after(2)
|
1756
|
+
//|__________________________|_______________|________|_________|
|
1757
|
+
|
1758
|
+
//First initialize data in raw memory
|
1759
|
+
const size_type mid_last_dist = size_type(n_after - elemsafter);
|
1760
|
+
|
1761
|
+
//Copy to the old_end part to the uninitialized zone leaving a gap.
|
1762
|
+
B const mid_last(make_iterator_uadvance(old_finish, mid_last_dist));
|
1763
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, mid_last);
|
1764
|
+
|
1765
|
+
array_destructor_t old_end_destroyer(mid_last, a, iterator_udistance(pos, old_finish));
|
1766
|
+
|
1767
|
+
//Copy the first part to the already constructed old_end zone
|
1768
|
+
insertion_proxy.copy_n_and_update(a, pos, elemsafter);
|
1769
|
+
//Copy the rest to the uninitialized zone filling the gap
|
1770
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, old_finish, mid_last_dist);
|
1771
|
+
old_end_destroyer.release();
|
1772
|
+
}
|
1773
|
+
}
|
1774
|
+
old_values_destroyer.release();
|
1775
|
+
}
|
1776
|
+
}
|
1777
|
+
|
1778
|
+
template
|
1779
|
+
<typename Allocator
|
1780
|
+
, typename B // B models BidirIterator
|
1781
|
+
, typename InsertionProxy
|
1782
|
+
>
|
1783
|
+
BOOST_CONTAINER_FORCEINLINE void expand_backward_forward_and_insert_alloc_move_forward
|
1784
|
+
( B const old_start
|
1785
|
+
, std::size_t const old_size
|
1786
|
+
, B const new_start
|
1787
|
+
, B const pos
|
1788
|
+
, std::size_t const n
|
1789
|
+
, InsertionProxy insertion_proxy
|
1790
|
+
, Allocator& a)
|
1791
|
+
{
|
1792
|
+
typedef std::size_t size_type;
|
1793
|
+
typedef typename allocator_traits<Allocator>::value_type value_type;
|
1794
|
+
static const bool trivial_dctr_after_move = has_trivial_destructor_after_move<value_type>::value;
|
1795
|
+
static const bool trivial_dctr = dtl::is_trivially_destructible<value_type>::value;
|
1796
|
+
|
1797
|
+
typedef typename dtl::if_c
|
1798
|
+
<trivial_dctr
|
1799
|
+
, dtl::null_scoped_destructor_n<Allocator, B>
|
1800
|
+
, dtl::scoped_destructor_n<Allocator, B>
|
1801
|
+
>::type array_destructor_t;
|
1802
|
+
|
1803
|
+
//n can be zero to just expand capacity
|
1804
|
+
|
1805
|
+
B const old_finish = make_iterator_uadvance(old_start, old_size);
|
1806
|
+
const size_type new_size = size_type(old_size + n);
|
1807
|
+
B const new_finish = make_iterator_uadvance(new_start, new_size);
|
1808
|
+
|
1809
|
+
//We can have 8 possibilities:
|
1810
|
+
|
1811
|
+
const size_type elemsafter = static_cast<size_type>(iterator_udistance(pos, old_finish));
|
1812
|
+
const size_type raw_after = static_cast<size_type>(iterator_udistance(old_finish, new_finish));
|
1813
|
+
|
1814
|
+
const size_type after_plus_new = size_type(elemsafter + n);
|
1815
|
+
|
1816
|
+
//Check if raw_before is big enough to hold the new data + the end of old data
|
1817
|
+
if (raw_after >= after_plus_new) {
|
1818
|
+
//If anything goes wrong, this object will destroy
|
1819
|
+
//all the old objects to fulfill previous vector state
|
1820
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
1821
|
+
//______________________ __________________________________
|
1822
|
+
//| old_begin | old_end | raw_mem //Old situation
|
1823
|
+
//|___________|_________|__________________________________
|
1824
|
+
// _____________________ _________________________________
|
1825
|
+
//| old_begin | old_end | raw_mem | new | old_end | //First step
|
1826
|
+
//|___________|_________|__________|__________|___________|
|
1827
|
+
|
1828
|
+
//Copy first new objects, after that old values after pos
|
1829
|
+
B new_elem_pos = new_finish - after_plus_new;
|
1830
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, new_elem_pos, n);
|
1831
|
+
array_destructor_t new_values_destroyer(new_elem_pos, a, n);
|
1832
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, new_elem_pos+n);
|
1833
|
+
new_values_destroyer.set_size(after_plus_new);
|
1834
|
+
|
1835
|
+
//Check if raw_before is so big that even copying the old data + new data
|
1836
|
+
//there is a gap between the new data and the old data
|
1837
|
+
if (raw_after >= new_size) {
|
1838
|
+
//______________________ __________________________________
|
1839
|
+
//| old_begin | old_end | raw_mem //Old situation
|
1840
|
+
//|___________|_________|__________________________________
|
1841
|
+
// _____________________ _________________________________
|
1842
|
+
//| old_begin | old_end | raw_mem | new | old_end | //First step
|
1843
|
+
//|___________|_________|______________|________|_________|
|
1844
|
+
// _____________________V_________________________________
|
1845
|
+
//| raw_mem | old_begin | new | old_end | //New situation
|
1846
|
+
//|________________________|___________|________|_________|
|
1847
|
+
//
|
1848
|
+
//Now initialize the rest of memory with the last old values
|
1849
|
+
::boost::container::uninitialized_move_alloc(a, old_start, pos, new_start);
|
1850
|
+
//All new elements correctly constructed, avoid new element destruction
|
1851
|
+
new_values_destroyer.release();
|
1852
|
+
//Old values destroyed automatically with "old_values_destroyer"
|
1853
|
+
//when "old_values_destroyer" goes out of scope unless the have trivial
|
1854
|
+
//destructor after move.
|
1855
|
+
if(trivial_dctr_after_move)
|
1856
|
+
old_values_destroyer.release();
|
1857
|
+
}
|
1858
|
+
//raw_before is so big that divides old_end
|
1859
|
+
else {
|
1860
|
+
//______________________ ____________________________
|
1861
|
+
//| old_begin | old_end | raw_mem //Old situation
|
1862
|
+
//|___________|_________|____________________________
|
1863
|
+
// _____________________ ____________________________
|
1864
|
+
//| old_begin | old_end | raw_mem | new | old_end | //First step
|
1865
|
+
//|___________|_________|_________|________|_________|
|
1866
|
+
// _________________________________________________
|
1867
|
+
//| raw_mem | old_begin | new | old_end | //New situation
|
1868
|
+
//|___________________|___________|________|_________|
|
1869
|
+
|
1870
|
+
//Now initialize the rest of raw_before memory with the
|
1871
|
+
//last elements before new values
|
1872
|
+
const size_type raw_gap = raw_after - after_plus_new;
|
1873
|
+
B const pre_pos_raw = pos - raw_gap;
|
1874
|
+
::boost::container::uninitialized_move_alloc_n(a, pre_pos_raw, raw_gap, old_finish);
|
1875
|
+
new_values_destroyer.release();
|
1876
|
+
old_values_destroyer.increment_size(raw_after);
|
1877
|
+
//Now move remaining last objects in the old buffer begin
|
1878
|
+
BOOST_ASSERT(old_start != old_finish);
|
1879
|
+
boost::container::move_backward_overlapping(old_start, pre_pos_raw, old_finish);
|
1880
|
+
old_values_destroyer.release();
|
1881
|
+
if (!trivial_dctr_after_move) {
|
1882
|
+
boost::container::destroy_alloc(a, old_start, new_start);
|
1883
|
+
}
|
1884
|
+
}
|
1885
|
+
}
|
1886
|
+
else{
|
1887
|
+
//If anything goes wrong, this object will destroy
|
1888
|
+
//all the old objects to fulfill previous vector state
|
1889
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
1890
|
+
|
1891
|
+
//Now we can have two situations: the raw_mem of the
|
1892
|
+
//end divides the new elements or the old_end
|
1893
|
+
if (raw_after > elemsafter) {
|
1894
|
+
//The raw memory divides the new elements
|
1895
|
+
//__________________________________
|
1896
|
+
//| old_begin | old_end | raw | //Old situation
|
1897
|
+
//|___________|_________|___________|
|
1898
|
+
// _____ ___________________________
|
1899
|
+
//| raw | old_begin | new | old_end | //New situation
|
1900
|
+
//|_____|___________|_____|_________|
|
1901
|
+
|
1902
|
+
//First copy whole old_end and part of new to raw_mem
|
1903
|
+
B p = new_finish - elemsafter;
|
1904
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, p);
|
1905
|
+
array_destructor_t new_values_destroyer(p, a, elemsafter);
|
1906
|
+
//Copy all new elements
|
1907
|
+
const size_type mid_n = size_type(raw_after - elemsafter);
|
1908
|
+
const size_type rest_new = size_type(n - mid_n);
|
1909
|
+
B new_rng_start = old_finish - rest_new;
|
1910
|
+
insertion_proxy.copy_n_and_update(a, new_rng_start, rest_new);
|
1911
|
+
insertion_proxy.uninitialized_copy_n_and_update(a, old_finish, mid_n);
|
1912
|
+
new_values_destroyer.release();
|
1913
|
+
old_values_destroyer.increment_size_backwards(raw_after);
|
1914
|
+
//Displace old_end, but make sure data has to be moved
|
1915
|
+
p = ::boost::container::move_backward_overlapping(old_start, pos, new_rng_start);
|
1916
|
+
|
1917
|
+
//Destroy remaining moved elements from old_begin except if they
|
1918
|
+
//have trivial destructor after being moved
|
1919
|
+
old_values_destroyer.release();
|
1920
|
+
if (!trivial_dctr_after_move) {
|
1921
|
+
boost::container::destroy_alloc(a, old_start, p);
|
1922
|
+
}
|
1923
|
+
}
|
1924
|
+
else {
|
1925
|
+
//The raw memory divides the old_end group:
|
1926
|
+
//________________________________________
|
1927
|
+
//| old_begin | old_end | raw | //Old situation
|
1928
|
+
//|___________|_______________|___________|
|
1929
|
+
// _____ __________________________________
|
1930
|
+
//| raw | old_begin | new | old_end | //New situation
|
1931
|
+
//|_____|___________|_____|_______________|
|
1932
|
+
//
|
1933
|
+
//Copy the last part of old_end to raw_mem
|
1934
|
+
const B old_end_pivot = old_finish - raw_after;
|
1935
|
+
::boost::container::uninitialized_move_alloc_n(a, old_end_pivot, raw_after, old_finish);
|
1936
|
+
//The buffer is all constructed
|
1937
|
+
old_values_destroyer.increment_size_backwards(raw_after);
|
1938
|
+
|
1939
|
+
//Now copy the first part of old_end overwriting itself
|
1940
|
+
B const new_end_pos = ::boost::container::move_backward_overlapping(pos, old_end_pivot, old_finish);
|
1941
|
+
B const new_beg_pos = new_end_pos - n;
|
1942
|
+
|
1943
|
+
//Now copy the new_beg elements
|
1944
|
+
insertion_proxy.copy_n_and_update(a, new_beg_pos, n);
|
1945
|
+
B const p = ::boost::container::move_backward_overlapping(old_start, pos, new_beg_pos);
|
1946
|
+
old_values_destroyer.release();
|
1947
|
+
|
1948
|
+
if (!trivial_dctr_after_move) {
|
1949
|
+
(void)p;
|
1950
|
+
boost::container::destroy_alloc(a, old_start, p);
|
1951
|
+
}
|
1952
|
+
}
|
1953
|
+
}
|
1954
|
+
}
|
1955
|
+
|
1956
|
+
template <class R, class InsertionProxy, class Allocator>
|
1957
|
+
void expand_backward_forward_and_insert_alloc
|
1958
|
+
( R const old_start
|
1959
|
+
, std::size_t const old_size
|
1960
|
+
, R const new_start
|
1961
|
+
, R const pos
|
1962
|
+
, std::size_t const n
|
1963
|
+
, InsertionProxy insertion_proxy
|
1964
|
+
, Allocator& a)
|
1965
|
+
{
|
1966
|
+
if(new_start < old_start){
|
1967
|
+
expand_backward_forward_and_insert_alloc_move_backward(old_start, old_size, new_start, pos, n, insertion_proxy, a);
|
1968
|
+
}
|
1969
|
+
else{
|
1970
|
+
expand_backward_forward_and_insert_alloc_move_forward(old_start, old_size, new_start, pos, n, insertion_proxy, a);
|
1161
1971
|
}
|
1162
1972
|
}
|
1163
1973
|
|