passenger 6.0.2 → 6.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +356 -19
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +17 -0
- data/README.md +2 -9
- data/bin/passenger-install-nginx-module +2 -1
- data/bin/passenger-memory-stats +65 -12
- data/bin/passenger-status +29 -4
- data/build/common_library.rb +6 -5
- data/build/packaging.rb +4 -2
- data/build/support/cxx_dependency_map.rb +1 -0
- data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +56 -3
- data/build/test_basics.rb +2 -2
- data/dev/copy_boost_headers +50 -17
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/webpacketpp.patch +39 -0
- data/doc/templates/markdown.html.erb +2 -6
- data/package.json +20 -18
- data/passenger.gemspec +9 -1
- data/resources/mime.types +1 -0
- data/resources/release.txt +1 -0
- data/resources/templates/config/installation_utils/user_support_binaries_dir_not_writable.txt.erb +1 -0
- data/resources/templates/error_renderer/with_details/dist/bundle.js +2 -33
- data/resources/templates/error_renderer/with_details/dist/styles.css +2 -2
- data/resources/templates/error_renderer/with_details/src/GetHelpView.jsx +1 -1
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.css +0 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/bootstrap.js +0 -0
- data/resources/templates/error_renderer/with_details/src/bootstrap/config.json +0 -0
- data/resources/templates/error_renderer/with_details/src/index.html.template +0 -2
- data/resources/templates/error_renderer/with_details/webpack.config.js +13 -16
- data/resources/templates/error_renderer/without_details/dist/bundle.js +0 -1
- data/resources/templates/error_renderer/without_details/dist/styles.css +1 -1
- data/resources/templates/error_renderer/without_details/webpack.config.js +13 -16
- data/resources/templates/standalone/global.erb +4 -0
- data/resources/templates/standalone/http.erb +1 -0
- data/resources/templates/standalone/rails_asset_pipeline.erb +1 -1
- data/resources/templates/standalone/server.erb +2 -0
- data/src/agent/Core/AdminPanelConnector.h +1 -1
- data/src/agent/Core/ApiServer.h +35 -0
- data/src/agent/Core/ApplicationPool/Group/InternalUtils.cpp +2 -2
- data/src/agent/Core/ApplicationPool/Group/OutOfBandWork.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Group/StateInspection.cpp +3 -0
- data/src/agent/Core/ApplicationPool/Group.h +1 -1
- data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -1
- data/src/agent/Core/ApplicationPool/Options.h +26 -2
- data/src/agent/Core/ApplicationPool/Pool/GarbageCollection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool/StateInspection.cpp +1 -1
- data/src/agent/Core/ApplicationPool/Pool.h +10 -2
- data/src/agent/Core/Config.h +17 -2
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +15 -3
- data/src/agent/Core/Controller/ForwardResponse.cpp +13 -0
- data/src/agent/Core/Controller/InitRequest.cpp +7 -0
- data/src/agent/Core/Controller/InitializationAndShutdown.cpp +1 -0
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller.h +5 -1
- data/src/agent/Core/CoreMain.cpp +1 -0
- data/src/agent/Core/OptionParser.h +7 -0
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +20 -0
- data/src/agent/Core/SpawningKit/Config.h +24 -0
- data/src/agent/Core/SpawningKit/Context.h +1 -0
- data/src/agent/Core/SpawningKit/Handshake/BackgroundIOCapturer.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Perform.h +1 -1
- data/src/agent/Core/SpawningKit/Handshake/Prepare.h +5 -1
- data/src/agent/Core/SpawningKit/Handshake/WorkDir.h +5 -2
- data/src/agent/Core/SpawningKit/PipeWatcher.h +1 -1
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/Spawner.h +3 -0
- data/src/agent/Core/TelemetryCollector.h +1 -1
- data/src/agent/Shared/ApiServerUtils.h +1 -1
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/SpawnEnvSetupper/SpawnEnvSetupperMain.cpp +27 -1
- data/src/agent/TempDirToucher/TempDirToucherMain.cpp +2 -0
- data/src/agent/Watchdog/Config.h +17 -1
- data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +12 -1
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +46 -26
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +20 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +59 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +13 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +9 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +37 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +21 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +53 -2
- data/src/apache2_module/Hooks.cpp +6 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +11 -0
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +31 -18
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +5 -1
- data/src/cxx_supportlib/ConfigKit/Schema.h +1 -1
- data/src/cxx_supportlib/ConfigKit/Translator.h +1 -1
- data/src/cxx_supportlib/Constants.h +5 -3
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/FileDescriptor.h +8 -0
- data/src/cxx_supportlib/FileTools/FileManip.cpp +10 -1
- data/src/cxx_supportlib/FileTools/FileManip.h +16 -0
- data/src/cxx_supportlib/Hooks.h +1 -0
- data/src/cxx_supportlib/IOTools/BufferedIO.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
- data/src/cxx_supportlib/IOTools/MessageIO.h +1 -1
- data/src/cxx_supportlib/LoggingKit/Config.h +1 -0
- data/src/cxx_supportlib/LoggingKit/Context.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +3 -1
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpChunkedBodyParser.h +1 -1
- data/src/cxx_supportlib/StaticString.h +2 -0
- data/src/cxx_supportlib/SystemTools/ContainerHelpers.h +2 -2
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +20 -19
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +5 -1
- data/src/cxx_supportlib/oxt/system_calls.cpp +10 -10
- data/src/cxx_supportlib/oxt/thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/compare.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_iterator.hpp +11 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/finder.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/trim.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_format.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/finder.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/iter_find.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/predicate.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/split.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/align.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of_forward.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of_cxx11.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/element_type.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/integral_constant.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/min_size.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +305 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +54 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +96 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +1478 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +144 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +665 -309
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +206 -119
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +831 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +703 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +668 -311
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +637 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +380 -163
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +420 -108
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +273 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +427 -237
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +1266 -501
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +21 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +15 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +756 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +501 -233
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +250 -122
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +724 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +726 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +212 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +680 -164
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +55 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +60 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +55 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +307 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +525 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +808 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +307 -159
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +150 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +677 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +354 -99
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +298 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bulk_executor_op.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +938 -212
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +69 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +65 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +38 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +38 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +206 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +63 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +24 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +465 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +543 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +15 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +31 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +20 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +40 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +882 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +251 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +35 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/{reactive_serial_port_service.ipp → posix_serial_port_service.ipp} +52 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +13 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +9 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +37 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +109 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +62 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +129 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +746 -348
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +200 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +7 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +34 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +10 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +183 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +681 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +184 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +264 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +320 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +283 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +205 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +633 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +665 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +117 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +19 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/macos_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +80 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +19 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +63 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +30 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +15 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/{reactive_serial_port_service.hpp → posix_serial_port_service.hpp} +42 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +60 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +179 -37
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +15 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +57 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +22 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +45 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +44 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +28 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +50 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +45 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +189 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +191 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +15 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +17 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +33 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +32 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +37 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +36 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +41 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +11 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +80 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +71 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/solaris_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +33 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +164 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +33 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +81 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +177 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +13 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +90 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +46 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +144 -47
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +339 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +2353 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +1553 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +1214 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +401 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +1217 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +235 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +235 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +289 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +254 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +1118 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +228 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +96 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +869 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +333 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +867 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +291 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +254 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +254 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +487 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +251 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +454 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +235 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +493 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +233 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +138 -177
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +265 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +230 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_message.hpp +124 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_payload.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +134 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +499 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +611 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +231 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +1197 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +420 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +270 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +230 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +168 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +29 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +30 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +131 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +246 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +1157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +187 -108
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +181 -104
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +412 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +709 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +394 -317
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +219 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +214 -31
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +16 -102
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +19 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +220 -115
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +219 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +766 -236
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +286 -173
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +2420 -545
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +611 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +1319 -293
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +15 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +114 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +266 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +73 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +303 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +131 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +703 -232
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +256 -162
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +727 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +58 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +57 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +126 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +119 -39
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +51 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +347 -223
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +23 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +14 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +278 -79
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +287 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +5 -612
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +3 -326
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +146 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +738 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +328 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +696 -163
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +184 -60
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +1795 -453
- data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/{experimental/redirect_error.hpp → redirect_error.hpp} +11 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +358 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +575 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +356 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +3 -736
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +3 -422
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +661 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +18 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +69 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +87 -34
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +17 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +93 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +21 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +237 -75
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +27 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +437 -125
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +307 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +16 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +580 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +282 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +946 -38
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +116 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +116 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +236 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +236 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +125 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +126 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +93 -36
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +357 -46
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +462 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +287 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +287 -85
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +3 -346
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +4 -296
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +38 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +3 -344
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +3 -328
- data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +670 -159
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +187 -59
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +73 -17
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +184 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/capabilities.hpp +2 -191
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/aligned_variable.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag_impl.hpp +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{atomic_template.hpp → atomic_impl.hpp} +473 -456
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +1226 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +99 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +43 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/capabilities.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch32.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_gcc_alpha.hpp → caps_arch_gcc_alpha.hpp} +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_arm.hpp → caps_arch_gcc_arm.hpp} +44 -8
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_ppc.hpp → caps_arch_gcc_ppc.hpp} +19 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_gcc_sparc.hpp → caps_arch_gcc_sparc.hpp} +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{hwcaps_gcc_x86.hpp → caps_arch_gcc_x86.hpp} +22 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_msvc_arm.hpp → caps_arch_msvc_arm.hpp} +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{caps_msvc_x86.hpp → caps_arch_msvc_x86.hpp} +12 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_atomic.hpp +100 -75
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sync.hpp +0 -7
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas_based_exchange.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +64 -22
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_operations_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp +1121 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +1909 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_alpha.hpp → core_arch_ops_gcc_alpha.hpp} +280 -289
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_arm.hpp → core_arch_ops_gcc_arm.hpp} +467 -447
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_ppc.hpp → core_arch_ops_gcc_ppc.hpp} +180 -194
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_sparc.hpp → core_arch_ops_gcc_sparc.hpp} +33 -58
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_x86_dcas.hpp → core_arch_ops_gcc_x86.hpp} +520 -32
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_msvc_arm.hpp → core_arch_ops_msvc_arm.hpp} +62 -58
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_msvc_x86.hpp → core_arch_ops_msvc_x86.hpp} +69 -101
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_cas_based.hpp → core_ops_cas_based.hpp} +9 -22
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_atomic.hpp +306 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_gcc_sync.hpp → core_ops_gcc_sync.hpp} +75 -52
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_linux_arm.hpp → core_ops_linux_arm.hpp} +32 -43
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_windows.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{ops_extending_cas_based.hpp → extending_cas_based_arithmetic.hpp} +12 -9
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_emulated.hpp +23 -12
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +13 -10
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_emulated.hpp +60 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +1060 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +1330 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_arm.hpp +363 -355
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +167 -163
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_x86.hpp +232 -102
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_generic.hpp +9 -17
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_arm.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_x86.hpp +119 -92
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_operations.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations_emulated.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_atomic.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_sync.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_linux_arm.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_windows.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/footer.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_operations_fwd.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_emulated.hpp +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_generic.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_ppc_asm_common.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/header.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/{integral_extend.hpp → integral_conversions.hpp} +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +35 -11
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/intptr.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lock_pool.hpp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/memory_order_utils.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/once_flag.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch32_common.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_aarch64_common.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm_common.hpp +8 -79
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc_common.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_common.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +23 -5
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +80 -34
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_traits.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_floating_point.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_copyable.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_capabilities.hpp +363 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_darwin_ulock.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_freebsd_umtx.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_futex.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_caps_windows.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_operations_fwd.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_emulated.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_freebsd_umtx.hpp +119 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_futex.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_generic.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_windows.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +7 -18
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_flag.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +15 -35
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_template.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +164 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +25 -11
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +52 -8
- data/src/cxx_supportlib/vendor-modified/boost/bind/std_placeholders.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +4 -320
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/process_cpu_clocks.hpp +34 -34
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/thread_clock.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/chrono.hpp +34 -14
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/process_cpu_clocks.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/posix/thread_clock.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/system.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_style.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/timezone.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/system_clocks.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +178 -167
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +34 -46
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +32 -38
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +12 -9
- data/src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/has_constraints.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +20 -20
- data/src/cxx_supportlib/vendor-modified/boost/config/abi_prefix.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/abi_suffix.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx98.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +78 -19
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +20 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +159 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/comeau.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +37 -11
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +373 -52
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +28 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/greenhills.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/kai.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +35 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +203 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_compiler_config.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_stdlib_config.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +214 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/cygwin.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/vxworks.hpp +63 -74
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/requires_threads.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +44 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +42 -4
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +125 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/modena.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/msl.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/roguewave.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/sgi.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/stlport.hpp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/vacpp.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/xlcpp_zos.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/user.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +284 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +31 -22
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +29 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +121 -29
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +384 -272
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +24 -21
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +836 -460
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/addressof.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +146 -65
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_list.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_slist.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +73 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/construct_in_place.hpp +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_or_allocator_rebind.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +21 -116
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +250 -113
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +149 -53
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +41 -39
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +318 -159
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/hash_table.hpp +1278 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_pair.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +182 -147
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +60 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +40 -31
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +4 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +331 -144
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +142 -94
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_resource.hpp +3 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/thread_mutex.hpp +181 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/transform_iterator.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +409 -329
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +9 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/variadic_templates_tools.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/version_type.hpp +3 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +50 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3028 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +665 -186
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +311 -46
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +142 -120
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +524 -158
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +27 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/node_handle.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +336 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/flat_set.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +1 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +35 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +8 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +92 -8
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +80 -80
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +371 -106
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +136 -112
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +220 -185
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +371 -225
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +218 -134
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +535 -378
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +156 -41
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +706 -659
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -54
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +45 -39
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/alloc_construct.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +820 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_traits.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +298 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +1256 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/exchange.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/explicit_operator_bool.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +272 -146
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +43 -8
- data/src/cxx_supportlib/vendor-modified/boost/core/no_exceptions_support.hpp +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/noinit_adaptor.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +16 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/nvp.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +112 -60
- data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +39 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +399 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/type_name.hpp +1157 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +26 -10
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/use_default.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/verbose_terminate_handler.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/cstdint.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/current_function.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/c_time.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +9 -41
- data/src/cxx_supportlib/vendor-modified/boost/date_time/constrained_value.hpp +19 -11
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +23 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration.hpp +17 -22
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration_types.hpp +44 -49
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_facet.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generators.hpp +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_parsing.hpp +51 -25
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_rules.hpp +56 -56
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_transition_generators.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/find_match.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/format_date_parser.hpp +98 -98
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +22 -14
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_day.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration.hpp +44 -32
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration_types.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_month.hpp +51 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_serialize.hpp +29 -27
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_weekday.hpp +43 -9
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_year.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +32 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.hpp +15 -17
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +28 -23
- data/src/cxx_supportlib/vendor-modified/boost/date_time/int_adapter.hpp +57 -37
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_time_io.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/locale_config.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +44 -47
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_formatter.hpp +34 -31
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_parser.hpp +27 -28
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/conversion.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/date_duration_operators.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_config.hpp +13 -26
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_duration.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/ptime.hpp +22 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_serialize.hpp +28 -12
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_formatter.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/date_time/string_parse_tree.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/strings_from_facet.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time.hpp +24 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_duration.hpp +56 -44
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +8 -11
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +3 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_resolution_traits.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_counted.hpp +65 -50
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_split.hpp +43 -30
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_names.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/tz_db_base.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/wrapping_int.hpp +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp +7 -5
- data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/detail/indirect_traits.hpp +38 -47
- data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/detail/reference_content.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/detail/workaround.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/current_exception_cast.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/clone_current_exception.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/error_info_impl.hpp +12 -7
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +122 -33
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/is_output_streamable.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/object_hex_dump.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/shared_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +118 -70
- data/src/cxx_supportlib/vendor-modified/boost/exception/get_error_info.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +12 -10
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/to_string_stub.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +16 -9
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +42 -41
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +76 -44
- data/src/cxx_supportlib/vendor-modified/boost/function.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +35 -33
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +86 -81
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +97 -97
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +79 -79
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +99 -99
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +108 -116
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +118 -112
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +31 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +88 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +39 -39
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +23 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +80 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/default_header_holder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +196 -107
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +20 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +111 -81
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +18 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +11 -64
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_to_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/reverse_iterator.hpp +3 -140
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +25 -13
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_value_compare.hpp +33 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/twin.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/value_functors.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +1588 -948
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +97 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +103 -100
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +26 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +7 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +31 -23
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +11 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +50 -50
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +72 -72
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +99 -99
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +107 -107
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +65 -73
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +80 -80
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +163 -170
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +105 -105
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +53 -53
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +95 -95
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +140 -113
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +82 -81
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +156 -149
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +96 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +17 -17
- data/src/cxx_supportlib/vendor-modified/boost/io/ios_state.hpp +361 -315
- data/src/cxx_supportlib/vendor-modified/boost/io_fwd.hpp +45 -49
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +12 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +65 -65
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +42 -42
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +17 -14
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +22 -17
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +13 -122
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +11 -8
- data/src/cxx_supportlib/vendor-modified/boost/libs/system/src/error_code.cpp +16 -5
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/future.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once.cpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +26 -15
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/tss_null.cpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +6 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +102 -59
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +102 -70
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +296 -450
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/heap_sort.hpp +19 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/insertion_sort.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +457 -112
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +87 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/search.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/move.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +23 -8
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +29 -8
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/addressof.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/force_ptr.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_to_raw_pointer.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +109 -9
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +10 -32
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +227 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/reverse_iterator.hpp +40 -33
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +257 -47
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +1 -27
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +31 -28
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +1306 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/config.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_append.hpp +185 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_fold.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_front.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_is_list.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_list.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_min_element.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_plus.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_rename.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_void.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_with_index.hpp +385 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/function.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +112 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integral.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/list.hpp +304 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/utility.hpp +263 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +28 -8
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/common_name_wknd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/adl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/arrays.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bcc.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/compiler.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ctps.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dtp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/forwarding.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/integral.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/overload_resolution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/preprocessor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ttp.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/count_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_impl_body.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_rebind.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/integral_wrapper.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_support.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/nested_type_wknd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/size_impl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/yes_no.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/if.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/lower_bound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/numeric_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/upper_bound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/at.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +33 -24
- data/src/cxx_supportlib/vendor-modified/boost/optional/bad_optional_access.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/experimental_traits.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +28 -2
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +38 -27
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +300 -124
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/are_tagged_arguments.hpp +125 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/always_true_predicate.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +1253 -359
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/as_lvalue.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/augment_predicate.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/cast.hpp +7 -136
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +101 -59
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/has_nested_template_fn.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_maybe.hpp +42 -16
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_placeholder.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/is_tagged_argument.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/lambda_tag.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +128 -97
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/as_parameter_requirements.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduce_tag.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/deduced_item.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/insert_tagged.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/is_named_argument.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +438 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_deduced_items.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_items.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_parameter_spec_items.hpp +244 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/parameter_requirements.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/predicate.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/satisfies.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_deduced.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_template_keyword_arg.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_type.hpp +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/unmatched_argument.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parameter_requirements.hpp +7 -20
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parenthesized_type.hpp +8 -31
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/argument_pack.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/match.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pp_impl/unwrap_predicate.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each.hpp +1638 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_for_each_inc.hpp +1796 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/binary_seq_to_args.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/convert_binary_seq.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/flatten.hpp +7 -110
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each.hpp +7 -98
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/for_each_pred.hpp +1029 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/argument_specs.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/arity_range.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/flatten.hpp +143 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/for_each.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/forwarding_overloads.hpp +509 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +730 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_layer.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_dispatch_tuple.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_name.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/no_spec_overloads.hpp +331 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_return_type.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/parenthesized_type.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/split_args.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/inc_binary_seq.hpp +78 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_begin.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/no_perfect_forwarding_end.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/nullptr.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/overloads.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/qualifier.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_enum.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/seq_merge.hpp +1807 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/result_of0.hpp +46 -29
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +94 -42
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +152 -30
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +874 -159
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument_fwd.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/template_keyword.hpp +76 -34
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +161 -78
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/use_default_tag.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/void.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/yesno.hpp +30 -14
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +154 -70
- data/src/cxx_supportlib/vendor-modified/boost/parameter/compose.hpp +210 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +75 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/deduced.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/is_argument_pack.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword.hpp +724 -102
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword_fwd.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +205 -72
- data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +37 -44
- data/src/cxx_supportlib/vendor-modified/boost/parameter/name.hpp +100 -126
- data/src/cxx_supportlib/vendor-modified/boost/parameter/nested_keyword.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/optional.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +556 -887
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor.hpp +156 -1016
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor_no_spec.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/python.hpp +5 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/required.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/template_keyword.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +152 -70
- data/src/cxx_supportlib/vendor-modified/boost/pool/detail/mutex.hpp +119 -25
- data/src/cxx_supportlib/vendor-modified/boost/pool/object_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +22 -9
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +97 -28
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/loongarch.h +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +33 -27
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +31 -20
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +24 -18
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +82 -30
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +13 -7
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +23 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +26 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +29 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +31 -25
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +19 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86.h +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +14 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/borland.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/clang.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/comeau.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/compaq.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/diab.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/digitalmars.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/dignus.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/edg.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ekopath.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc_xml.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/greenhills.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/hp_acc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/iar.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ibm.h +15 -14
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/intel.h +18 -17
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/kai.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/llvm.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metaware.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metrowerks.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/microtec.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/mpw.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/nvcc.h +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/palm.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/pgi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sgi_mipspro.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sunpro.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/tendra.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/visualc.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/watcom.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm/versions.h +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc/versions.h +27 -21
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc.h +21 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86/versions.h +73 -67
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86.h +39 -37
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd/versions.h +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd.h +25 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd.h +95 -46
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/cuda.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/objc.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +41 -34
- data/src/cxx_supportlib/vendor-modified/boost/predef/language.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/cloudabi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/gnu.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/uc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/vms.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/zos.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/dinkumware.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/libcomo.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/modena.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/msl.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/roguewave.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/sgi.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stlport.h +13 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/vacpp.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +103 -33
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/aix.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/amigaos.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/beos.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +11 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +60 -58
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd.h +22 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/cygwin.h +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/haiku.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/hpux.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/ios.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/irix.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/linux.h +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/macos.h +14 -13
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/os400.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/qnxnto.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/solaris.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/unix.h +24 -22
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/vms.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/windows.h +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/predef/os.h +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +19 -21
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/workaround.h +22 -14
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/android.h +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/cloudabi.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/ios.h +14 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw32.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw64.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_desktop.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_phone.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_runtime.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_server.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_store.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_system.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_uwp.h +12 -11
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version_number.h +16 -14
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_list.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_tuple.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +26 -34
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/check_empty.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/detail/is_empty.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +28 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/va_opt.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +21 -88
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_tuple.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +121 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/is_empty.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each_i.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/replace.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +16 -10
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +2 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +21 -43
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +2 -7
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/integer_log2.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +514 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +291 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +4107 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/discrete_distribution.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/faure.hpp +367 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +360 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +238 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +43 -6
- data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +17 -15
- data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/common.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/implementation_help.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/range/distance.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +18 -16
- data/src/cxx_supportlib/vendor-modified/boost/range/has_range_iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/range/rbegin.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/rend.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/size.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/ratio/config.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +95 -51
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +82 -76
- data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +104 -101
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -72
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -140
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
- data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +32 -16
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +50 -25
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +64 -30
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +111 -28
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/indexed_bit_flag.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +18 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +21 -12
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +42 -18
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +24 -10
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +57 -54
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +2 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +38 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_split.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +9 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +653 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +7 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/sub_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_iterator.hpp +1 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.hpp +3 -11
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +526 -40
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3130 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +1040 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +1402 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +156 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +667 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +576 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +921 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1874 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/primary_transform.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +158 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +1124 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +213 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +152 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +255 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/{libs/regex/src/regex_traits_defaults.cpp → regex/v5/regex_traits_defaults.hpp} +719 -415
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +299 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +382 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +177 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +312 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +862 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1311 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +93 -444
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_nt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_pt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_sync.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +88 -48
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +12 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +17 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +27 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +16 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +27 -18
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +15 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +48 -31
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_pause.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_thread_sleep.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_typeinfo_.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +7 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_nt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pt.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +13 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_sync.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +14 -140
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +47 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +119 -29
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +79 -8
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/system/config.hpp +4 -24
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/append_int.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/enable_if.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/errc.hpp +126 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +219 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +726 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +297 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +123 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/std_category_impl.hpp +97 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_message.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +12 -760
- data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_error.hpp +30 -59
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_adaptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +9 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +9 -21
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_adaptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_op_status.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_bounded_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_deque.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_priority_queue.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_queue.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_timed_queue.hpp +80 -14
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/queue.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +18 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +16 -17
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/move.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/nullary_function.hpp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/platform_time.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +33 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_safety.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/tss_hooks.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/exceptions.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +27 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor_adaptor.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/generic_executor_ref.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/inline_executor.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/loop_executor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduled_thread_pool.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduler.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduling_adaptor.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor_cont.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/thread_executor.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/work.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/externally_locked.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +12 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_any.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/interruption.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/lock_guard.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/lockable_traits.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_lockable.hpp +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable.hpp +16 -12
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_shared_lockable_adapter.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable.hpp +20 -26
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +8 -15
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +17 -88
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +29 -28
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_helpers.hpp +163 -18
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_mutex_scoped_lock.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +25 -25
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/shared_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +21 -13
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/thread_guard.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/tss.hpp +23 -41
- data/src/cxx_supportlib/vendor-modified/boost/thread/user_scheduler.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/xtime.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +232 -56
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +32 -27
- data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +22 -20
- data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/aligned_storage.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/alignment_of.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/conjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_cv_ref.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_reference.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/common_arithmetic_type.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +36 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/detector.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_binary_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_postfix_operator.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_03.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +676 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_msvc10_fix.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +415 -255
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +1345 -1542
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_03.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +697 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_rvalue_reference_msvc10_fix.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detected.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detected_or.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/disjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/enable_if.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_dereference.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_copy.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_plus_assign.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_post_decrement.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_post_increment.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_pre_decrement.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_pre_increment.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_move_assign.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_move_constructor.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +6 -16
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_promotion.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +18 -8
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_array.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_and_derived.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_bounded_array.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_compound.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_const.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_constructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_copy_assignable.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_copy_constructible.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_default_constructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_destructible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_detected.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_detected_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_detected_exact.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_enum.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_final.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +4 -79
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_fundamental.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_lvalue_reference.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_function_pointer.hpp +3 -97
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_noncopyable.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_move_assignable.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_move_constructible.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_rvalue_reference.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_same.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_scoped_enum.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_signed.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unbounded_array.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unscoped_enum.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unsigned.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_virtual_base_of.hpp +105 -64
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/make_void.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/negation.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/nonesuch.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/rank.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_all_extents.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_const.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_cv.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_extent.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_volatile.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/constant.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/dmc/typeof_impl.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode.hpp +0 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode_params.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/int_encoding.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/typeof/msvc/typeof_impl.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/typeof/native.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/pointers_data_members.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions_iterate.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_mem_functions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_encoding.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +18 -17
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector100.hpp +201 -201
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector150.hpp +301 -301
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector200.hpp +401 -401
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector50.hpp +101 -101
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +819 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1647 -2909
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +8 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +262 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +8 -13
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +309 -150
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +207 -84
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/base_from_member.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/binary.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/minstd_rand.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_iterate.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/in_place_factory.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +33 -11
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +11 -44
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +56 -52
- data/src/cxx_supportlib/vendor-modified/boost/utility/typed_in_place_factory.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +34 -68
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h +261 -143
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json.h +947 -763
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +1487 -1477
- data/src/cxx_supportlib/vendor-modified/modp_b64_data.h +0 -4
- data/src/cxx_supportlib/vendor-modified/modp_b64_strict_aliasing.cpp +5 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +107 -5
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +2 -2
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +12 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +13 -3
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +6 -2
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +13 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +6 -15
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +24 -24
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +1 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +84 -19
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +3 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +4 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +10 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +150 -147
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +4 -4
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +47 -25
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +3 -3
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +14 -9
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +189 -189
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +59 -66
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +73 -38
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +9 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +12 -22
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +11 -11
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +1 -1
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +13 -13
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +3 -3
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +8 -8
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +1 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +2 -4
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +3 -3
- data/src/helper-scripts/node-loader.js +1 -1
- data/src/helper-scripts/prespawn +1 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +56 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +39 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +72 -0
- data/src/nginx_module/Configuration.c +14 -1
- data/src/nginx_module/ContentHandler.c +5 -1
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +31 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +69 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +68 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +15 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +23 -0
- data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +6 -0
- data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +12 -0
- data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +4 -0
- data/src/nginx_module/config +2 -0
- data/src/nginx_module/ngx_http_passenger_module.c +4 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/common.js +50 -29
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/cli-config.js +20 -20
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/npm-config.js +11 -11
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config/syslog-config.js +3 -3
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/config.js +8 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/container.js +2 -1
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/logger.js +174 -146
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/console.js +4 -2
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/file.js +15 -5
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/http.js +14 -4
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports.js +26 -24
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston.js +5 -5
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/async/package.json +4 -13
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/colors/package.json +19 -33
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/cycle/package.json +11 -29
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/eyes/package.json +12 -40
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/isstream/package.json +3 -12
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/lib/stack-trace.js +49 -24
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/stack-trace/package.json +4 -16
- data/src/nodejs_supportlib/vendor-copy/winston/package.json +11 -55
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +5 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +28 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +2 -0
- data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/restart_app_command.rb +16 -12
- data/src/ruby_supportlib/phusion_passenger/console_text_template.rb +7 -2
- data/src/ruby_supportlib/phusion_passenger/constants.rb +4 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +26 -9
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +47 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +2 -4
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/linux.rb +2 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +46 -27
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/ruby.rb +2 -2
- data/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb +19 -0
- data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +23 -18
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +11 -7
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +20 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +5 -2
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +29 -18
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/utils/unseekable_socket.rb +15 -11
- data/src/ruby_supportlib/phusion_passenger.rb +8 -8
- metadata +820 -201
- data/src/cxx_supportlib/vendor-modified/boost/asio/datagram_socket_service.hpp +0 -468
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer_service.hpp +0 -175
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +0 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detached.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_spawn.hpp +0 -878
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/detached.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/redirect_error.hpp +0 -296
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_type.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_service.hpp +0 -202
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor_service.hpp +0 -281
- data/src/cxx_supportlib/vendor-modified/boost/asio/raw_socket_service.hpp +0 -468
- data/src/cxx_supportlib/vendor-modified/boost/asio/seq_packet_socket_service.hpp +0 -418
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_service.hpp +0 -251
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_service.hpp +0 -144
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_acceptor_service.hpp +0 -374
- data/src/cxx_supportlib/vendor-modified/boost/asio/stream_socket_service.hpp +0 -414
- data/src/cxx_supportlib/vendor-modified/boost/asio/waitable_timer_service.hpp +0 -212
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_handle.hpp +0 -275
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle_service.hpp +0 -185
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle_service.hpp +0 -216
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle_service.hpp +0 -212
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag.hpp +0 -71
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_arm.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_ppc.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_x86.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lockpool.hpp +0 -51
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_fwd.hpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_emulated.hpp +0 -162
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp +0 -392
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86.hpp +0 -563
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_type.hpp +0 -207
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -41
- data/src/cxx_supportlib/vendor-modified/boost/call_traits.hpp +0 -20
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/detail/call_traits.hpp +0 -172
- data/src/cxx_supportlib/vendor-modified/boost/detail/endian.hpp +0 -11
- data/src/cxx_supportlib/vendor-modified/boost/detail/iterator.hpp +0 -39
- data/src/cxx_supportlib/vendor-modified/boost/detail/no_exceptions_support.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/detail/sp_typeinfo.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -660
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1040
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1651
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -469
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/overloads.hpp +0 -88
- data/src/cxx_supportlib/vendor-modified/boost/pointer_to_other.hpp +0 -55
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/endian_compat.h +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/android.h +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -455
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -225
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_solaris.hpp +0 -59
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_clang.hpp +0 -150
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +0 -160
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +0 -115
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync.hpp +0 -69
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.ipp +0 -496
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/daily-rotate-file.js +0 -601
- data/src/nodejs_supportlib/vendor-copy/winston/lib/winston/transports/webhook.js +0 -146
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/LICENSE +0 -19
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/lib/pkginfo.js +0 -136
- data/src/nodejs_supportlib/vendor-copy/winston/node_modules/pkginfo/package.json +0 -56
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
- /data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
@@ -82,8 +82,21 @@ class vec_iterator
|
|
82
82
|
{
|
83
83
|
public:
|
84
84
|
typedef std::random_access_iterator_tag iterator_category;
|
85
|
+
#ifdef BOOST_MOVE_CONTIGUOUS_ITERATOR_TAG
|
86
|
+
typedef std::contiguous_iterator_tag iterator_concept;
|
87
|
+
#endif
|
85
88
|
typedef typename boost::intrusive::pointer_traits<Pointer>::element_type value_type;
|
89
|
+
|
90
|
+
//Defining element_type to make libstdc++'s std::pointer_traits well-formed leads to ambiguity
|
91
|
+
//due to LWG3446. So we need to specialize std::pointer_traits. See
|
92
|
+
//https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 for details. Many thanks to Jonathan Wakely
|
93
|
+
//for explaining the issue.
|
94
|
+
#ifndef BOOST_GNU_STDLIB
|
95
|
+
//Define element_
|
96
|
+
typedef typename boost::intrusive::pointer_traits<Pointer>::element_type element_type;
|
97
|
+
#endif
|
86
98
|
typedef typename boost::intrusive::pointer_traits<Pointer>::difference_type difference_type;
|
99
|
+
typedef typename boost::intrusive::pointer_traits<Pointer>::size_type size_type;
|
87
100
|
typedef typename dtl::if_c
|
88
101
|
< IsConst
|
89
102
|
, typename boost::intrusive::pointer_traits<Pointer>::template
|
@@ -97,11 +110,23 @@ class vec_iterator
|
|
97
110
|
private:
|
98
111
|
Pointer m_ptr;
|
99
112
|
|
113
|
+
class nat
|
114
|
+
{
|
115
|
+
public:
|
116
|
+
Pointer get_ptr() const
|
117
|
+
{ return Pointer(); }
|
118
|
+
};
|
119
|
+
typedef typename dtl::if_c< IsConst
|
120
|
+
, vec_iterator<Pointer, false>
|
121
|
+
, nat>::type nonconst_iterator;
|
122
|
+
|
100
123
|
public:
|
101
|
-
BOOST_CONTAINER_FORCEINLINE
|
124
|
+
BOOST_CONTAINER_FORCEINLINE
|
125
|
+
const Pointer &get_ptr() const BOOST_NOEXCEPT_OR_NOTHROW
|
102
126
|
{ return m_ptr; }
|
103
127
|
|
104
|
-
BOOST_CONTAINER_FORCEINLINE
|
128
|
+
BOOST_CONTAINER_FORCEINLINE
|
129
|
+
Pointer &get_ptr() BOOST_NOEXCEPT_OR_NOTHROW
|
105
130
|
{ return m_ptr; }
|
106
131
|
|
107
132
|
BOOST_CONTAINER_FORCEINLINE explicit vec_iterator(Pointer ptr) BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -116,69 +141,90 @@ class vec_iterator
|
|
116
141
|
: m_ptr() //Value initialization to achieve "null iterators" (N3644)
|
117
142
|
{}
|
118
143
|
|
119
|
-
BOOST_CONTAINER_FORCEINLINE vec_iterator(vec_iterator
|
144
|
+
BOOST_CONTAINER_FORCEINLINE vec_iterator(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
|
145
|
+
: m_ptr(other.get_ptr())
|
146
|
+
{}
|
147
|
+
|
148
|
+
BOOST_CONTAINER_FORCEINLINE vec_iterator(const nonconst_iterator &other) BOOST_NOEXCEPT_OR_NOTHROW
|
120
149
|
: m_ptr(other.get_ptr())
|
121
150
|
{}
|
122
151
|
|
152
|
+
BOOST_CONTAINER_FORCEINLINE vec_iterator & operator=(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
|
153
|
+
{ m_ptr = other.get_ptr(); return *this; }
|
154
|
+
|
123
155
|
//Pointer like operators
|
124
|
-
BOOST_CONTAINER_FORCEINLINE
|
125
|
-
|
156
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
157
|
+
reference operator*() const BOOST_NOEXCEPT_OR_NOTHROW
|
158
|
+
{ BOOST_ASSERT(!!m_ptr); return *m_ptr; }
|
126
159
|
|
127
|
-
BOOST_CONTAINER_FORCEINLINE
|
128
|
-
|
160
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
161
|
+
pointer operator->() const BOOST_NOEXCEPT_OR_NOTHROW
|
162
|
+
{ return m_ptr; }
|
129
163
|
|
130
|
-
BOOST_CONTAINER_FORCEINLINE
|
131
|
-
|
164
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
165
|
+
reference operator[](difference_type off) const BOOST_NOEXCEPT_OR_NOTHROW
|
166
|
+
{ BOOST_ASSERT(!!m_ptr); return m_ptr[off]; }
|
132
167
|
|
133
168
|
//Increment / Decrement
|
134
169
|
BOOST_CONTAINER_FORCEINLINE vec_iterator& operator++() BOOST_NOEXCEPT_OR_NOTHROW
|
135
|
-
{ ++m_ptr; return *this; }
|
170
|
+
{ BOOST_ASSERT(!!m_ptr); ++m_ptr; return *this; }
|
136
171
|
|
137
172
|
BOOST_CONTAINER_FORCEINLINE vec_iterator operator++(int) BOOST_NOEXCEPT_OR_NOTHROW
|
138
|
-
{ return vec_iterator(m_ptr++); }
|
173
|
+
{ BOOST_ASSERT(!!m_ptr); return vec_iterator(m_ptr++); }
|
139
174
|
|
140
175
|
BOOST_CONTAINER_FORCEINLINE vec_iterator& operator--() BOOST_NOEXCEPT_OR_NOTHROW
|
141
|
-
{ --m_ptr; return *this; }
|
176
|
+
{ BOOST_ASSERT(!!m_ptr); --m_ptr; return *this; }
|
142
177
|
|
143
178
|
BOOST_CONTAINER_FORCEINLINE vec_iterator operator--(int) BOOST_NOEXCEPT_OR_NOTHROW
|
144
|
-
{ return vec_iterator(m_ptr--); }
|
179
|
+
{ BOOST_ASSERT(!!m_ptr); return vec_iterator(m_ptr--); }
|
145
180
|
|
146
181
|
//Arithmetic
|
147
182
|
BOOST_CONTAINER_FORCEINLINE vec_iterator& operator+=(difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
148
|
-
{ m_ptr += off; return *this; }
|
183
|
+
{ BOOST_ASSERT(m_ptr || !off); m_ptr += off; return *this; }
|
149
184
|
|
150
185
|
BOOST_CONTAINER_FORCEINLINE vec_iterator& operator-=(difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
151
|
-
{ m_ptr -= off; return *this; }
|
186
|
+
{ BOOST_ASSERT(m_ptr || !off); m_ptr -= off; return *this; }
|
152
187
|
|
153
|
-
BOOST_CONTAINER_FORCEINLINE
|
154
|
-
|
188
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
189
|
+
friend vec_iterator operator+(const vec_iterator &x, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
190
|
+
{ BOOST_ASSERT(x.m_ptr || !off); return vec_iterator(x.m_ptr+off); }
|
155
191
|
|
156
|
-
BOOST_CONTAINER_FORCEINLINE
|
157
|
-
|
192
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
193
|
+
friend vec_iterator operator+(difference_type off, vec_iterator right) BOOST_NOEXCEPT_OR_NOTHROW
|
194
|
+
{ BOOST_ASSERT(right.m_ptr || !off); right.m_ptr += off; return right; }
|
158
195
|
|
159
|
-
BOOST_CONTAINER_FORCEINLINE
|
160
|
-
|
196
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
197
|
+
friend vec_iterator operator-(vec_iterator left, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
198
|
+
{ BOOST_ASSERT(left.m_ptr || !off); left.m_ptr -= off; return left; }
|
161
199
|
|
162
|
-
|
200
|
+
//Difference
|
201
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
202
|
+
friend difference_type operator-(const vec_iterator &left, const vec_iterator& right) BOOST_NOEXCEPT_OR_NOTHROW
|
163
203
|
{ return left.m_ptr - right.m_ptr; }
|
164
204
|
|
165
205
|
//Comparison operators
|
166
|
-
BOOST_CONTAINER_FORCEINLINE
|
206
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
207
|
+
friend bool operator== (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
167
208
|
{ return l.m_ptr == r.m_ptr; }
|
168
209
|
|
169
|
-
BOOST_CONTAINER_FORCEINLINE
|
210
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
211
|
+
friend bool operator!= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
170
212
|
{ return l.m_ptr != r.m_ptr; }
|
171
213
|
|
172
|
-
BOOST_CONTAINER_FORCEINLINE
|
214
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
215
|
+
friend bool operator< (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
173
216
|
{ return l.m_ptr < r.m_ptr; }
|
174
217
|
|
175
|
-
BOOST_CONTAINER_FORCEINLINE
|
218
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
219
|
+
friend bool operator<= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
176
220
|
{ return l.m_ptr <= r.m_ptr; }
|
177
221
|
|
178
|
-
BOOST_CONTAINER_FORCEINLINE
|
222
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
223
|
+
friend bool operator> (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
179
224
|
{ return l.m_ptr > r.m_ptr; }
|
180
225
|
|
181
|
-
BOOST_CONTAINER_FORCEINLINE
|
226
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
227
|
+
friend bool operator>= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
182
228
|
{ return l.m_ptr >= r.m_ptr; }
|
183
229
|
};
|
184
230
|
|
@@ -230,13 +276,8 @@ struct vector_value_traits_base
|
|
230
276
|
{
|
231
277
|
static const bool trivial_dctr = dtl::is_trivially_destructible<T>::value;
|
232
278
|
static const bool trivial_dctr_after_move = has_trivial_destructor_after_move<T>::value;
|
233
|
-
static const bool trivial_copy = dtl::is_trivially_copy_constructible<T>::value;
|
234
|
-
static const bool nothrow_copy = dtl::is_nothrow_copy_constructible<T>::value || trivial_copy;
|
235
|
-
static const bool trivial_assign = dtl::is_trivially_copy_assignable<T>::value;
|
236
|
-
static const bool nothrow_assign = dtl::is_nothrow_copy_assignable<T>::value || trivial_assign;
|
237
279
|
};
|
238
280
|
|
239
|
-
|
240
281
|
template <class Allocator>
|
241
282
|
struct vector_value_traits
|
242
283
|
: public vector_value_traits_base<typename Allocator::value_type>
|
@@ -265,22 +306,25 @@ struct vector_alloc_holder
|
|
265
306
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(vector_alloc_holder)
|
266
307
|
|
267
308
|
public:
|
268
|
-
typedef Allocator
|
269
|
-
typedef StoredSizeType
|
270
|
-
typedef boost::container::allocator_traits<
|
271
|
-
typedef typename allocator_traits_type::pointer
|
272
|
-
typedef typename allocator_traits_type::size_type
|
273
|
-
typedef typename allocator_traits_type::value_type
|
309
|
+
typedef Allocator allocator_type;
|
310
|
+
typedef StoredSizeType stored_size_type;
|
311
|
+
typedef boost::container::allocator_traits<allocator_type> allocator_traits_type;
|
312
|
+
typedef typename allocator_traits_type::pointer pointer;
|
313
|
+
typedef typename allocator_traits_type::size_type size_type;
|
314
|
+
typedef typename allocator_traits_type::value_type value_type;
|
274
315
|
|
275
|
-
|
316
|
+
BOOST_CONTAINER_FORCEINLINE
|
317
|
+
static bool is_propagable_from(const allocator_type &from_alloc, pointer p, const allocator_type &to_alloc, bool const propagate_allocator)
|
276
318
|
{
|
277
319
|
(void)propagate_allocator; (void)p; (void)to_alloc; (void)from_alloc;
|
278
320
|
const bool all_storage_propagable = !allocator_traits_type::is_partially_propagable::value ||
|
279
321
|
!allocator_traits_type::storage_is_unpropagable(from_alloc, p);
|
280
|
-
return all_storage_propagable &&
|
322
|
+
return all_storage_propagable &&
|
323
|
+
(propagate_allocator || allocator_traits_type::is_always_equal::value || allocator_traits_type::equal(from_alloc, to_alloc));
|
281
324
|
}
|
282
325
|
|
283
|
-
|
326
|
+
BOOST_CONTAINER_FORCEINLINE
|
327
|
+
static bool are_swap_propagable(const allocator_type &l_a, pointer l_p, const allocator_type &r_a, pointer r_p, bool const propagate_allocator)
|
284
328
|
{
|
285
329
|
(void)propagate_allocator; (void)l_p; (void)r_p; (void)l_a; (void)r_a;
|
286
330
|
const bool all_storage_propagable = !allocator_traits_type::is_partially_propagable::value ||
|
@@ -290,51 +334,58 @@ struct vector_alloc_holder
|
|
290
334
|
|
291
335
|
//Constructor, does not throw
|
292
336
|
vector_alloc_holder()
|
293
|
-
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
294
|
-
:
|
337
|
+
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
338
|
+
: allocator_type(), m_start(), m_size(), m_capacity()
|
295
339
|
{}
|
296
340
|
|
297
341
|
//Constructor, does not throw
|
298
342
|
template<class AllocConvertible>
|
299
343
|
explicit vector_alloc_holder(BOOST_FWD_REF(AllocConvertible) a) BOOST_NOEXCEPT_OR_NOTHROW
|
300
|
-
:
|
344
|
+
: allocator_type(boost::forward<AllocConvertible>(a)), m_start(), m_size(), m_capacity()
|
301
345
|
{}
|
302
346
|
|
303
347
|
//Constructor, does not throw
|
304
|
-
template<class AllocConvertible>
|
305
|
-
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a,
|
306
|
-
:
|
348
|
+
template<class AllocConvertible, class SizeType>
|
349
|
+
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a, SizeType initial_size)
|
350
|
+
: allocator_type(boost::forward<AllocConvertible>(a))
|
307
351
|
, m_start()
|
308
352
|
//Size is initialized here so vector should only call uninitialized_xxx after this
|
309
353
|
, m_size(static_cast<stored_size_type>(initial_size))
|
310
354
|
, m_capacity()
|
311
355
|
{
|
312
|
-
if(initial_size){
|
356
|
+
if (initial_size > size_type(-1)){
|
357
|
+
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
358
|
+
}
|
359
|
+
else if(initial_size){
|
313
360
|
pointer reuse = pointer();
|
314
|
-
size_type final_cap = initial_size;
|
315
|
-
m_start = this->allocation_command(allocate_new,
|
316
|
-
|
361
|
+
size_type final_cap = static_cast<size_type>(initial_size);
|
362
|
+
m_start = this->allocation_command(allocate_new, final_cap, final_cap, reuse);
|
363
|
+
this->set_stored_capacity(final_cap);
|
317
364
|
}
|
318
365
|
}
|
319
366
|
|
320
367
|
//Constructor, does not throw
|
321
|
-
|
322
|
-
|
368
|
+
template<class SizeType>
|
369
|
+
vector_alloc_holder(vector_uninitialized_size_t, SizeType initial_size)
|
370
|
+
: allocator_type()
|
323
371
|
, m_start()
|
324
372
|
//Size is initialized here so vector should only call uninitialized_xxx after this
|
325
373
|
, m_size(static_cast<stored_size_type>(initial_size))
|
326
374
|
, m_capacity()
|
327
375
|
{
|
328
|
-
if(initial_size){
|
376
|
+
if (initial_size > size_type(-1)){
|
377
|
+
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
378
|
+
}
|
379
|
+
else if(initial_size){
|
329
380
|
pointer reuse = pointer();
|
330
381
|
size_type final_cap = initial_size;
|
331
|
-
m_start = this->allocation_command(allocate_new,
|
332
|
-
|
382
|
+
m_start = this->allocation_command(allocate_new, final_cap, final_cap, reuse);
|
383
|
+
this->set_stored_capacity(final_cap);
|
333
384
|
}
|
334
385
|
}
|
335
386
|
|
336
387
|
vector_alloc_holder(BOOST_RV_REF(vector_alloc_holder) holder) BOOST_NOEXCEPT_OR_NOTHROW
|
337
|
-
:
|
388
|
+
: allocator_type(BOOST_MOVE_BASE(allocator_type, holder))
|
338
389
|
, m_start(holder.m_start)
|
339
390
|
, m_size(holder.m_size)
|
340
391
|
, m_capacity(holder.m_capacity)
|
@@ -343,38 +394,9 @@ struct vector_alloc_holder
|
|
343
394
|
holder.m_size = holder.m_capacity = 0;
|
344
395
|
}
|
345
396
|
|
346
|
-
vector_alloc_holder(initial_capacity_t, pointer p, size_type capacity, BOOST_RV_REF(vector_alloc_holder) holder)
|
347
|
-
: Allocator(BOOST_MOVE_BASE(Allocator, holder))
|
348
|
-
, m_start(p)
|
349
|
-
, m_size(holder.m_size)
|
350
|
-
, m_capacity(static_cast<stored_size_type>(capacity))
|
351
|
-
{
|
352
|
-
allocator_type &this_alloc = this->alloc();
|
353
|
-
allocator_type &x_alloc = holder.alloc();
|
354
|
-
if(this->is_propagable_from(x_alloc, holder.start(), this_alloc, true)){
|
355
|
-
if(this->m_capacity){
|
356
|
-
this->deallocate(this->m_start, this->m_capacity);
|
357
|
-
}
|
358
|
-
m_start = holder.m_start;
|
359
|
-
m_capacity = holder.m_capacity;
|
360
|
-
holder.m_start = pointer();
|
361
|
-
holder.m_capacity = holder.m_size = 0;
|
362
|
-
}
|
363
|
-
else if(this->m_capacity < holder.m_size){
|
364
|
-
size_type const n = holder.m_size;
|
365
|
-
pointer reuse = pointer();
|
366
|
-
size_type final_cap = n;
|
367
|
-
m_start = this->allocation_command(allocate_new, n, final_cap, reuse);
|
368
|
-
m_capacity = static_cast<stored_size_type>(final_cap);
|
369
|
-
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
370
|
-
this->num_alloc += n != 0;
|
371
|
-
#endif
|
372
|
-
}
|
373
|
-
}
|
374
|
-
|
375
397
|
vector_alloc_holder(initial_capacity_t, pointer p, size_type n)
|
376
|
-
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
377
|
-
:
|
398
|
+
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
399
|
+
: allocator_type()
|
378
400
|
, m_start(p)
|
379
401
|
, m_size()
|
380
402
|
//n is guaranteed to fit into stored_size_type
|
@@ -383,7 +405,7 @@ struct vector_alloc_holder
|
|
383
405
|
|
384
406
|
template<class AllocFwd>
|
385
407
|
vector_alloc_holder(initial_capacity_t, pointer p, size_type n, BOOST_FWD_REF(AllocFwd) a)
|
386
|
-
:
|
408
|
+
: allocator_type(::boost::forward<AllocFwd>(a))
|
387
409
|
, m_start(p)
|
388
410
|
, m_size()
|
389
411
|
, m_capacity(n)
|
@@ -396,14 +418,26 @@ struct vector_alloc_holder
|
|
396
418
|
}
|
397
419
|
}
|
398
420
|
|
421
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
422
|
+
{ this->m_size = static_cast<stored_size_type>(s); }
|
423
|
+
|
424
|
+
BOOST_CONTAINER_FORCEINLINE void dec_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
425
|
+
{ this->m_size = static_cast<stored_size_type>(this->m_size - s); }
|
426
|
+
|
427
|
+
BOOST_CONTAINER_FORCEINLINE void inc_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
428
|
+
{ this->m_size = static_cast<stored_size_type>(this->m_size + s); }
|
429
|
+
|
430
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_capacity(size_type c) BOOST_NOEXCEPT_OR_NOTHROW
|
431
|
+
{ this->m_capacity = static_cast<stored_size_type>(c); }
|
432
|
+
|
399
433
|
BOOST_CONTAINER_FORCEINLINE pointer allocation_command(boost::container::allocation_type command,
|
400
|
-
|
434
|
+
size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse)
|
401
435
|
{
|
402
|
-
typedef typename dtl::version<
|
436
|
+
typedef typename dtl::version<allocator_type>::type alloc_version;
|
403
437
|
return this->priv_allocation_command(alloc_version(), command, limit_size, prefer_in_recvd_out_size, reuse);
|
404
438
|
}
|
405
439
|
|
406
|
-
|
440
|
+
pointer allocate(size_type n)
|
407
441
|
{
|
408
442
|
const size_type max_alloc = allocator_traits_type::max_size(this->alloc());
|
409
443
|
const size_type max = max_alloc <= stored_size_type(-1) ? max_alloc : stored_size_type(-1);
|
@@ -421,7 +455,7 @@ struct vector_alloc_holder
|
|
421
455
|
bool try_expand_fwd(size_type at_least)
|
422
456
|
{
|
423
457
|
//There is not enough memory, try to expand the old one
|
424
|
-
const size_type new_cap = this->capacity() + at_least;
|
458
|
+
const size_type new_cap = size_type(this->capacity() + at_least);
|
425
459
|
size_type real_cap = new_cap;
|
426
460
|
pointer reuse = this->start();
|
427
461
|
bool const success = !!this->allocation_command(expand_fwd, new_cap, real_cap, reuse);
|
@@ -440,9 +474,9 @@ struct vector_alloc_holder
|
|
440
474
|
{
|
441
475
|
BOOST_ASSERT(additional_objects > size_type(this->m_capacity - this->m_size));
|
442
476
|
size_type max = allocator_traits_type::max_size(this->alloc());
|
443
|
-
(clamp_by_stored_size_type)(max, stored_size_type());
|
444
|
-
const size_type remaining_cap = max - size_type(this->m_capacity);
|
445
|
-
const size_type min_additional_cap = additional_objects - size_type(this->m_capacity - this->m_size);
|
477
|
+
(clamp_by_stored_size_type<size_type>)(max, stored_size_type());
|
478
|
+
const size_type remaining_cap = size_type(max - size_type(this->m_capacity));
|
479
|
+
const size_type min_additional_cap = size_type(additional_objects - size_type(this->m_capacity - this->m_size));
|
446
480
|
|
447
481
|
if ( remaining_cap < min_additional_cap )
|
448
482
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
@@ -470,10 +504,10 @@ struct vector_alloc_holder
|
|
470
504
|
x.m_size = x.m_capacity = 0;
|
471
505
|
}
|
472
506
|
|
473
|
-
BOOST_CONTAINER_FORCEINLINE
|
507
|
+
BOOST_CONTAINER_FORCEINLINE allocator_type &alloc() BOOST_NOEXCEPT_OR_NOTHROW
|
474
508
|
{ return *this; }
|
475
509
|
|
476
|
-
BOOST_CONTAINER_FORCEINLINE const
|
510
|
+
BOOST_CONTAINER_FORCEINLINE const allocator_type &alloc() const BOOST_NOEXCEPT_OR_NOTHROW
|
477
511
|
{ return *this; }
|
478
512
|
|
479
513
|
BOOST_CONTAINER_FORCEINLINE const pointer &start() const BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -483,7 +517,10 @@ struct vector_alloc_holder
|
|
483
517
|
BOOST_CONTAINER_FORCEINLINE void start(const pointer &p) BOOST_NOEXCEPT_OR_NOTHROW
|
484
518
|
{ m_start = p; }
|
485
519
|
BOOST_CONTAINER_FORCEINLINE void capacity(const size_type &c) BOOST_NOEXCEPT_OR_NOTHROW
|
486
|
-
{ BOOST_ASSERT( c <= stored_size_type(-1));
|
520
|
+
{ BOOST_ASSERT( c <= stored_size_type(-1)); this->set_stored_capacity(c); }
|
521
|
+
|
522
|
+
static BOOST_CONTAINER_FORCEINLINE void on_capacity_overflow()
|
523
|
+
{ }
|
487
524
|
|
488
525
|
private:
|
489
526
|
void priv_first_allocation(size_type cap)
|
@@ -498,17 +535,7 @@ struct vector_alloc_holder
|
|
498
535
|
}
|
499
536
|
}
|
500
537
|
|
501
|
-
|
502
|
-
{}
|
503
|
-
|
504
|
-
template<class SomeStoredSizeType>
|
505
|
-
BOOST_CONTAINER_FORCEINLINE static void clamp_by_stored_size_type(size_type &s, SomeStoredSizeType)
|
506
|
-
{
|
507
|
-
if (s >= SomeStoredSizeType(-1) )
|
508
|
-
s = SomeStoredSizeType(-1);
|
509
|
-
}
|
510
|
-
|
511
|
-
BOOST_CONTAINER_FORCEINLINE pointer priv_allocation_command(version_1, boost::container::allocation_type command,
|
538
|
+
pointer priv_allocation_command(version_1, boost::container::allocation_type command,
|
512
539
|
size_type limit_size,
|
513
540
|
size_type &prefer_in_recvd_out_size,
|
514
541
|
pointer &reuse)
|
@@ -520,7 +547,7 @@ struct vector_alloc_holder
|
|
520
547
|
if (limit_size > stored_size_type(-1)){
|
521
548
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
522
549
|
}
|
523
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
550
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
524
551
|
pointer const p = this->allocate(prefer_in_recvd_out_size);
|
525
552
|
reuse = pointer();
|
526
553
|
return p;
|
@@ -535,11 +562,11 @@ struct vector_alloc_holder
|
|
535
562
|
if (limit_size > stored_size_type(-1)){
|
536
563
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
537
564
|
}
|
538
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
565
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
539
566
|
//Allocate memory
|
540
567
|
pointer p = this->alloc().allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse);
|
541
568
|
//If after allocation prefer_in_recvd_out_size is not representable by stored_size_type, truncate it.
|
542
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
569
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
543
570
|
return p;
|
544
571
|
}
|
545
572
|
};
|
@@ -553,31 +580,33 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
553
580
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(vector_alloc_holder)
|
554
581
|
|
555
582
|
public:
|
556
|
-
typedef
|
583
|
+
typedef Allocator allocator_type;
|
584
|
+
typedef boost::container::
|
585
|
+
allocator_traits<allocator_type> allocator_traits_type;
|
557
586
|
typedef typename allocator_traits_type::pointer pointer;
|
558
587
|
typedef typename allocator_traits_type::size_type size_type;
|
559
588
|
typedef typename allocator_traits_type::value_type value_type;
|
560
589
|
typedef StoredSizeType stored_size_type;
|
561
|
-
|
590
|
+
|
562
591
|
template <class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
563
592
|
friend struct vector_alloc_holder;
|
564
593
|
|
565
594
|
//Constructor, does not throw
|
566
595
|
vector_alloc_holder()
|
567
|
-
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
568
|
-
:
|
596
|
+
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
597
|
+
: allocator_type(), m_size()
|
569
598
|
{}
|
570
599
|
|
571
600
|
//Constructor, does not throw
|
572
601
|
template<class AllocConvertible>
|
573
602
|
explicit vector_alloc_holder(BOOST_FWD_REF(AllocConvertible) a) BOOST_NOEXCEPT_OR_NOTHROW
|
574
|
-
:
|
603
|
+
: allocator_type(boost::forward<AllocConvertible>(a)), m_size()
|
575
604
|
{}
|
576
605
|
|
577
606
|
//Constructor, does not throw
|
578
607
|
template<class AllocConvertible>
|
579
608
|
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a, size_type initial_size)
|
580
|
-
:
|
609
|
+
: allocator_type(boost::forward<AllocConvertible>(a))
|
581
610
|
, m_size(initial_size) //Size is initialized here...
|
582
611
|
{
|
583
612
|
//... and capacity here, so vector, must call uninitialized_xxx in the derived constructor
|
@@ -586,7 +615,7 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
586
615
|
|
587
616
|
//Constructor, does not throw
|
588
617
|
vector_alloc_holder(vector_uninitialized_size_t, size_type initial_size)
|
589
|
-
:
|
618
|
+
: allocator_type()
|
590
619
|
, m_size(initial_size) //Size is initialized here...
|
591
620
|
{
|
592
621
|
//... and capacity here, so vector, must call uninitialized_xxx in the derived constructor
|
@@ -594,16 +623,19 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
594
623
|
}
|
595
624
|
|
596
625
|
vector_alloc_holder(BOOST_RV_REF(vector_alloc_holder) holder)
|
597
|
-
:
|
626
|
+
: allocator_type(BOOST_MOVE_BASE(allocator_type, holder))
|
598
627
|
, m_size(holder.m_size) //Size is initialized here so vector should only call uninitialized_xxx after this
|
599
628
|
{
|
600
629
|
::boost::container::uninitialized_move_alloc_n
|
601
630
|
(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), m_size, boost::movelib::to_raw_pointer(this->start()));
|
631
|
+
::boost::container::destroy_alloc_n
|
632
|
+
(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), m_size);
|
633
|
+
holder.m_size = 0;
|
602
634
|
}
|
603
635
|
|
604
636
|
template<class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
605
637
|
vector_alloc_holder(BOOST_RV_REF_BEG vector_alloc_holder<OtherAllocator, OtherStoredSizeType, OtherAllocatorVersion> BOOST_RV_REF_END holder)
|
606
|
-
:
|
638
|
+
: allocator_type()
|
607
639
|
, m_size(holder.m_size) //Initialize it to m_size as first_allocation can only succeed or abort
|
608
640
|
{
|
609
641
|
//Different allocator type so we must check we have enough storage
|
@@ -613,49 +645,63 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
613
645
|
(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), n, boost::movelib::to_raw_pointer(this->start()));
|
614
646
|
}
|
615
647
|
|
648
|
+
static BOOST_CONTAINER_FORCEINLINE void on_capacity_overflow()
|
649
|
+
{ allocator_type::on_capacity_overflow(); }
|
650
|
+
|
651
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
652
|
+
{ this->m_size = static_cast<stored_size_type>(s); }
|
653
|
+
|
654
|
+
BOOST_CONTAINER_FORCEINLINE void dec_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
655
|
+
{ this->m_size = static_cast<stored_size_type>(this->m_size - s); }
|
656
|
+
|
657
|
+
BOOST_CONTAINER_FORCEINLINE void inc_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
658
|
+
{ this->m_size = static_cast<stored_size_type>(this->m_size + s); }
|
659
|
+
|
616
660
|
BOOST_CONTAINER_FORCEINLINE void priv_first_allocation(size_type cap)
|
617
661
|
{
|
618
|
-
if(cap >
|
619
|
-
|
662
|
+
if(cap > allocator_type::internal_capacity){
|
663
|
+
on_capacity_overflow();
|
620
664
|
}
|
621
665
|
}
|
622
666
|
|
623
667
|
BOOST_CONTAINER_FORCEINLINE void deep_swap(vector_alloc_holder &x)
|
624
|
-
|
625
|
-
this->priv_deep_swap(x);
|
626
|
-
}
|
668
|
+
{ this->priv_deep_swap(x); }
|
627
669
|
|
628
670
|
template<class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
629
671
|
void deep_swap(vector_alloc_holder<OtherAllocator, OtherStoredSizeType, OtherAllocatorVersion> &x)
|
630
672
|
{
|
631
|
-
|
632
|
-
|
673
|
+
typedef typename real_allocator<value_type, OtherAllocator>::type other_allocator_type;
|
674
|
+
if(this->m_size > other_allocator_type::internal_capacity || x.m_size > allocator_type::internal_capacity){
|
675
|
+
on_capacity_overflow();
|
633
676
|
}
|
634
677
|
this->priv_deep_swap(x);
|
635
678
|
}
|
636
679
|
|
637
680
|
BOOST_CONTAINER_FORCEINLINE void swap_resources(vector_alloc_holder &) BOOST_NOEXCEPT_OR_NOTHROW
|
638
681
|
{ //Containers with version 0 allocators can't be moved without moving elements one by one
|
639
|
-
|
682
|
+
on_capacity_overflow();
|
640
683
|
}
|
641
684
|
|
642
|
-
|
643
685
|
BOOST_CONTAINER_FORCEINLINE void steal_resources(vector_alloc_holder &)
|
644
686
|
{ //Containers with version 0 allocators can't be moved without moving elements one by one
|
645
|
-
|
687
|
+
on_capacity_overflow();
|
646
688
|
}
|
647
689
|
|
648
|
-
BOOST_CONTAINER_FORCEINLINE
|
690
|
+
BOOST_CONTAINER_FORCEINLINE allocator_type &alloc() BOOST_NOEXCEPT_OR_NOTHROW
|
649
691
|
{ return *this; }
|
650
692
|
|
651
|
-
BOOST_CONTAINER_FORCEINLINE const
|
693
|
+
BOOST_CONTAINER_FORCEINLINE const allocator_type &alloc() const BOOST_NOEXCEPT_OR_NOTHROW
|
652
694
|
{ return *this; }
|
653
695
|
|
654
696
|
BOOST_CONTAINER_FORCEINLINE bool try_expand_fwd(size_type at_least)
|
655
697
|
{ return !at_least; }
|
656
698
|
|
657
|
-
BOOST_CONTAINER_FORCEINLINE pointer start() const BOOST_NOEXCEPT_OR_NOTHROW
|
658
|
-
|
699
|
+
BOOST_CONTAINER_FORCEINLINE pointer start() const BOOST_NOEXCEPT_OR_NOTHROW
|
700
|
+
{ return allocator_type::internal_storage(); }
|
701
|
+
|
702
|
+
BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
703
|
+
{ return allocator_type::internal_capacity; }
|
704
|
+
|
659
705
|
stored_size_type m_size;
|
660
706
|
|
661
707
|
private:
|
@@ -663,7 +709,7 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
663
709
|
template<class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
664
710
|
void priv_deep_swap(vector_alloc_holder<OtherAllocator, OtherStoredSizeType, OtherAllocatorVersion> &x)
|
665
711
|
{
|
666
|
-
const size_type MaxTmpStorage = sizeof(value_type)*
|
712
|
+
const size_type MaxTmpStorage = sizeof(value_type)*allocator_type::internal_capacity;
|
667
713
|
value_type *const first_this = boost::movelib::to_raw_pointer(this->start());
|
668
714
|
value_type *const first_x = boost::movelib::to_raw_pointer(x.start());
|
669
715
|
|
@@ -679,18 +725,6 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
679
725
|
|
680
726
|
struct growth_factor_60;
|
681
727
|
|
682
|
-
template<class T, class Default>
|
683
|
-
struct default_if_void
|
684
|
-
{
|
685
|
-
typedef T type;
|
686
|
-
};
|
687
|
-
|
688
|
-
template<class Default>
|
689
|
-
struct default_if_void<void, Default>
|
690
|
-
{
|
691
|
-
typedef Default type;
|
692
|
-
};
|
693
|
-
|
694
728
|
template<class Options, class AllocatorSizeType>
|
695
729
|
struct get_vector_opt
|
696
730
|
{
|
@@ -705,7 +739,6 @@ struct get_vector_opt<void, AllocatorSizeType>
|
|
705
739
|
typedef vector_opt<growth_factor_60, AllocatorSizeType> type;
|
706
740
|
};
|
707
741
|
|
708
|
-
|
709
742
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
710
743
|
|
711
744
|
//! A vector is a sequence that supports random access to elements, constant
|
@@ -714,14 +747,39 @@ struct get_vector_opt<void, AllocatorSizeType>
|
|
714
747
|
//! elements in a vector may vary dynamically; memory management is automatic.
|
715
748
|
//!
|
716
749
|
//! \tparam T The type of object that is stored in the vector
|
717
|
-
//! \tparam
|
750
|
+
//! \tparam A The allocator used for all internal memory management, use void
|
751
|
+
//! for the default allocator
|
718
752
|
//! \tparam Options A type produced from \c boost::container::vector_options.
|
719
|
-
template <class T, class
|
753
|
+
template <class T, class A BOOST_CONTAINER_DOCONLY(= void), class Options BOOST_CONTAINER_DOCONLY(= void) >
|
720
754
|
class vector
|
721
755
|
{
|
722
|
-
|
756
|
+
public:
|
757
|
+
//////////////////////////////////////////////
|
758
|
+
//
|
759
|
+
// types
|
760
|
+
//
|
761
|
+
//////////////////////////////////////////////
|
762
|
+
typedef T value_type;
|
763
|
+
typedef BOOST_CONTAINER_IMPDEF
|
764
|
+
(typename real_allocator<T BOOST_MOVE_I A>::type) allocator_type;
|
765
|
+
typedef ::boost::container::allocator_traits<allocator_type> allocator_traits_t;
|
766
|
+
typedef typename allocator_traits<allocator_type>::pointer pointer;
|
767
|
+
typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
|
768
|
+
typedef typename allocator_traits<allocator_type>::reference reference;
|
769
|
+
typedef typename allocator_traits<allocator_type>::const_reference const_reference;
|
770
|
+
typedef typename allocator_traits<allocator_type>::size_type size_type;
|
771
|
+
typedef typename allocator_traits<allocator_type>::difference_type difference_type;
|
772
|
+
typedef allocator_type stored_allocator_type;
|
773
|
+
typedef BOOST_CONTAINER_IMPDEF(vec_iterator<pointer BOOST_MOVE_I false>) iterator;
|
774
|
+
typedef BOOST_CONTAINER_IMPDEF(vec_iterator<pointer BOOST_MOVE_I true >) const_iterator;
|
775
|
+
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
776
|
+
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
777
|
+
|
778
|
+
private:
|
723
779
|
|
724
|
-
|
780
|
+
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
781
|
+
typedef typename boost::container::
|
782
|
+
allocator_traits<allocator_type>::size_type alloc_size_type;
|
725
783
|
typedef typename get_vector_opt<Options, alloc_size_type>::type options_type;
|
726
784
|
typedef typename options_type::growth_factor_type growth_factor_type;
|
727
785
|
typedef typename options_type::stored_size_type stored_size_type;
|
@@ -731,52 +789,33 @@ class vector
|
|
731
789
|
BOOST_STATIC_ASSERT( (sizeof(stored_size_type) < sizeof(alloc_size_type) ||
|
732
790
|
dtl::is_same<stored_size_type, alloc_size_type>::value) );
|
733
791
|
|
734
|
-
typedef typename dtl::version<
|
735
|
-
typedef boost::container::vector_alloc_holder
|
792
|
+
typedef typename dtl::version<allocator_type>::type alloc_version;
|
793
|
+
typedef boost::container::vector_alloc_holder
|
794
|
+
<allocator_type, stored_size_type> alloc_holder_t;
|
795
|
+
|
736
796
|
alloc_holder_t m_holder;
|
737
|
-
|
738
|
-
|
797
|
+
|
798
|
+
typedef allocator_traits<allocator_type> allocator_traits_type;
|
799
|
+
template <class U, class UA, class UOptions>
|
739
800
|
friend class vector;
|
740
801
|
|
741
|
-
typedef typename allocator_traits_type::pointer pointer_impl;
|
742
|
-
typedef vec_iterator<pointer_impl, false> iterator_impl;
|
743
|
-
typedef vec_iterator<pointer_impl, true > const_iterator_impl;
|
744
802
|
|
745
803
|
protected:
|
746
|
-
|
804
|
+
BOOST_CONTAINER_FORCEINLINE
|
805
|
+
static bool is_propagable_from(const allocator_type &from_alloc, pointer p, const allocator_type &to_alloc, bool const propagate_allocator)
|
747
806
|
{ return alloc_holder_t::is_propagable_from(from_alloc, p, to_alloc, propagate_allocator); }
|
748
807
|
|
749
|
-
|
750
|
-
|
808
|
+
BOOST_CONTAINER_FORCEINLINE
|
809
|
+
static bool are_swap_propagable( const allocator_type &l_a, pointer l_p
|
810
|
+
, const allocator_type &r_a, pointer r_p, bool const propagate_allocator)
|
751
811
|
{ return alloc_holder_t::are_swap_propagable(l_a, l_p, r_a, r_p, propagate_allocator); }
|
752
812
|
|
753
813
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
754
|
-
public:
|
755
|
-
//////////////////////////////////////////////
|
756
|
-
//
|
757
|
-
// types
|
758
|
-
//
|
759
|
-
//////////////////////////////////////////////
|
760
|
-
|
761
|
-
typedef T value_type;
|
762
|
-
typedef typename ::boost::container::allocator_traits<Allocator>::pointer pointer;
|
763
|
-
typedef typename ::boost::container::allocator_traits<Allocator>::const_pointer const_pointer;
|
764
|
-
typedef typename ::boost::container::allocator_traits<Allocator>::reference reference;
|
765
|
-
typedef typename ::boost::container::allocator_traits<Allocator>::const_reference const_reference;
|
766
|
-
typedef typename ::boost::container::allocator_traits<Allocator>::size_type size_type;
|
767
|
-
typedef typename ::boost::container::allocator_traits<Allocator>::difference_type difference_type;
|
768
|
-
typedef Allocator allocator_type;
|
769
|
-
typedef Allocator stored_allocator_type;
|
770
|
-
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
771
|
-
typedef BOOST_CONTAINER_IMPDEF(const_iterator_impl) const_iterator;
|
772
|
-
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
773
|
-
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
774
|
-
|
775
814
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
776
815
|
private:
|
777
816
|
BOOST_COPYABLE_AND_MOVABLE(vector)
|
778
|
-
typedef vector_value_traits<
|
779
|
-
typedef constant_iterator<T
|
817
|
+
typedef vector_value_traits<allocator_type> value_traits;
|
818
|
+
typedef constant_iterator<T> cvalue_iterator;
|
780
819
|
|
781
820
|
protected:
|
782
821
|
|
@@ -784,12 +823,12 @@ class vector
|
|
784
823
|
{ return this->m_holder.steal_resources(x.m_holder); }
|
785
824
|
|
786
825
|
template<class AllocFwd>
|
787
|
-
BOOST_CONTAINER_FORCEINLINE vector(initial_capacity_t, pointer initial_memory, size_type
|
788
|
-
: m_holder(initial_capacity_t(), initial_memory,
|
826
|
+
BOOST_CONTAINER_FORCEINLINE vector(initial_capacity_t, pointer initial_memory, size_type cap, BOOST_FWD_REF(AllocFwd) a)
|
827
|
+
: m_holder(initial_capacity_t(), initial_memory, cap, ::boost::forward<AllocFwd>(a))
|
789
828
|
{}
|
790
829
|
|
791
|
-
BOOST_CONTAINER_FORCEINLINE vector(initial_capacity_t, pointer initial_memory, size_type
|
792
|
-
: m_holder(initial_capacity_t(), initial_memory,
|
830
|
+
BOOST_CONTAINER_FORCEINLINE vector(initial_capacity_t, pointer initial_memory, size_type cap)
|
831
|
+
: m_holder(initial_capacity_t(), initial_memory, cap)
|
793
832
|
{}
|
794
833
|
|
795
834
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -806,7 +845,7 @@ class vector
|
|
806
845
|
//! <b>Throws</b>: Nothing.
|
807
846
|
//!
|
808
847
|
//! <b>Complexity</b>: Constant.
|
809
|
-
vector() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
848
|
+
vector() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
810
849
|
: m_holder()
|
811
850
|
{}
|
812
851
|
|
@@ -931,6 +970,12 @@ class vector
|
|
931
970
|
//! throws or T's constructor taking a dereferenced InIt throws.
|
932
971
|
//!
|
933
972
|
//! <b>Complexity</b>: Linear to the range [first, last).
|
973
|
+
// template <class InIt>
|
974
|
+
// vector(InIt first, InIt last
|
975
|
+
// BOOST_CONTAINER_DOCIGN(BOOST_MOVE_I typename dtl::disable_if_c
|
976
|
+
// < dtl::is_convertible<InIt BOOST_MOVE_I size_type>::value
|
977
|
+
// BOOST_MOVE_I dtl::nat >::type * = 0)
|
978
|
+
// ) -> vector<typename iterator_traits<InIt>::value_type, new_allocator<typename iterator_traits<InIt>::value_type>>;
|
934
979
|
template <class InIt>
|
935
980
|
vector(InIt first, InIt last
|
936
981
|
BOOST_CONTAINER_DOCIGN(BOOST_MOVE_I typename dtl::disable_if_c
|
@@ -994,9 +1039,14 @@ class vector
|
|
994
1039
|
//!
|
995
1040
|
//! <b>Complexity</b>: Linear to the range [il.begin(), il.end()).
|
996
1041
|
vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
|
997
|
-
:
|
1042
|
+
: m_holder(vector_uninitialized_size, a, il.size())
|
998
1043
|
{
|
999
|
-
|
1044
|
+
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
1045
|
+
this->num_alloc += il.size() != 0;
|
1046
|
+
#endif
|
1047
|
+
::boost::container::uninitialized_copy_alloc_n_source
|
1048
|
+
( this->m_holder.alloc(), il.begin()
|
1049
|
+
, static_cast<size_type>(il.size()), this->priv_raw_begin());
|
1000
1050
|
}
|
1001
1051
|
#endif
|
1002
1052
|
|
@@ -1009,15 +1059,15 @@ class vector
|
|
1009
1059
|
//! <b>Complexity</b>: Linear.
|
1010
1060
|
//!
|
1011
1061
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
1012
|
-
template<class
|
1013
|
-
vector(BOOST_RV_REF_BEG vector<T,
|
1062
|
+
template<class OtherA>
|
1063
|
+
vector(BOOST_RV_REF_BEG vector<T, OtherA, Options> BOOST_RV_REF_END x
|
1014
1064
|
, typename dtl::enable_if_c
|
1015
|
-
< dtl::is_version<
|
1065
|
+
< dtl::is_version<typename real_allocator<T, OtherA>::type, 0>::value>::type * = 0
|
1016
1066
|
)
|
1017
1067
|
: m_holder(boost::move(x.m_holder))
|
1018
1068
|
{}
|
1019
1069
|
|
1020
|
-
#endif
|
1070
|
+
#endif // defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1021
1071
|
|
1022
1072
|
//! <b>Effects</b>: Copy constructs a vector using the specified allocator.
|
1023
1073
|
//!
|
@@ -1047,10 +1097,12 @@ class vector
|
|
1047
1097
|
//! <b>Complexity</b>: Constant if a == x.get_allocator(), linear otherwise.
|
1048
1098
|
vector(BOOST_RV_REF(vector) x, const allocator_type &a)
|
1049
1099
|
: m_holder( vector_uninitialized_size, a
|
1050
|
-
|
1100
|
+
//In this allocator move constructor the allocator won't be propagated --v
|
1101
|
+
, is_propagable_from(x.get_stored_allocator(), x.m_holder.start(), a, false) ? 0 : x.size()
|
1051
1102
|
)
|
1052
1103
|
{
|
1053
|
-
|
1104
|
+
//In this allocator move constructor the allocator won't be propagated ---v
|
1105
|
+
if(is_propagable_from(x.get_stored_allocator(), x.m_holder.start(), a, false)){
|
1054
1106
|
this->m_holder.steal_resources(x.m_holder);
|
1055
1107
|
}
|
1056
1108
|
else{
|
@@ -1087,7 +1139,7 @@ class vector
|
|
1087
1139
|
//! <b>Complexity</b>: Linear to the number of elements in x.
|
1088
1140
|
BOOST_CONTAINER_FORCEINLINE vector& operator=(BOOST_COPY_ASSIGN_REF(vector) x)
|
1089
1141
|
{
|
1090
|
-
if (&x != this){
|
1142
|
+
if (BOOST_LIKELY(&x != this)){
|
1091
1143
|
this->priv_copy_assign(x);
|
1092
1144
|
}
|
1093
1145
|
return *this;
|
@@ -1119,8 +1171,9 @@ class vector
|
|
1119
1171
|
BOOST_NOEXCEPT_IF(allocator_traits_type::propagate_on_container_move_assignment::value
|
1120
1172
|
|| allocator_traits_type::is_always_equal::value)
|
1121
1173
|
{
|
1122
|
-
|
1123
|
-
|
1174
|
+
if (BOOST_LIKELY(&x != this)){
|
1175
|
+
this->priv_move_assign(boost::move(x));
|
1176
|
+
}
|
1124
1177
|
return *this;
|
1125
1178
|
}
|
1126
1179
|
|
@@ -1136,13 +1189,13 @@ class vector
|
|
1136
1189
|
//! <b>Complexity</b>: Linear.
|
1137
1190
|
//!
|
1138
1191
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
1139
|
-
template<class
|
1192
|
+
template<class OtherA>
|
1140
1193
|
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_and
|
1141
1194
|
< vector&
|
1142
|
-
, dtl::is_version<
|
1143
|
-
, dtl::is_different<
|
1195
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
1196
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
1144
1197
|
>::type
|
1145
|
-
operator=(BOOST_RV_REF_BEG vector<value_type,
|
1198
|
+
operator=(BOOST_RV_REF_BEG vector<value_type, OtherA, Options> BOOST_RV_REF_END x)
|
1146
1199
|
{
|
1147
1200
|
this->priv_move_assign(boost::move(x));
|
1148
1201
|
return *this;
|
@@ -1158,13 +1211,13 @@ class vector
|
|
1158
1211
|
//! <b>Complexity</b>: Linear.
|
1159
1212
|
//!
|
1160
1213
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
1161
|
-
template<class
|
1214
|
+
template<class OtherA>
|
1162
1215
|
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_and
|
1163
1216
|
< vector&
|
1164
|
-
, dtl::is_version<
|
1165
|
-
, dtl::is_different<
|
1217
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
1218
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
1166
1219
|
>::type
|
1167
|
-
operator=(const vector<value_type,
|
1220
|
+
operator=(const vector<value_type, OtherA, Options> &x)
|
1168
1221
|
{
|
1169
1222
|
this->priv_copy_assign(x);
|
1170
1223
|
return *this;
|
@@ -1180,6 +1233,7 @@ class vector
|
|
1180
1233
|
//! <b>Complexity</b>: Linear to n.
|
1181
1234
|
template <class InIt>
|
1182
1235
|
void assign(InIt first, InIt last
|
1236
|
+
//Input iterators or version 0 allocator
|
1183
1237
|
BOOST_CONTAINER_DOCIGN(BOOST_MOVE_I typename dtl::disable_if_or
|
1184
1238
|
< void
|
1185
1239
|
BOOST_MOVE_I dtl::is_convertible<InIt BOOST_MOVE_I size_type>
|
@@ -1229,6 +1283,7 @@ class vector
|
|
1229
1283
|
//! <b>Complexity</b>: Linear to n.
|
1230
1284
|
template <class FwdIt>
|
1231
1285
|
void assign(FwdIt first, FwdIt last
|
1286
|
+
//Forward iterators and version > 0 allocator
|
1232
1287
|
BOOST_CONTAINER_DOCIGN(BOOST_MOVE_I typename dtl::disable_if_or
|
1233
1288
|
< void
|
1234
1289
|
BOOST_MOVE_I dtl::is_same<alloc_version BOOST_MOVE_I version_0>
|
@@ -1237,9 +1292,15 @@ class vector
|
|
1237
1292
|
>::type * = 0)
|
1238
1293
|
)
|
1239
1294
|
{
|
1295
|
+
typedef typename iter_size<FwdIt>::type it_size_type;
|
1240
1296
|
//For Fwd iterators the standard only requires EmplaceConstructible and assignable from *first
|
1241
1297
|
//so we can't do any backwards allocation
|
1242
|
-
const
|
1298
|
+
const it_size_type sz = boost::container::iterator_udistance(first, last);
|
1299
|
+
if (sz > size_type(-1)){
|
1300
|
+
boost::container::throw_length_error("vector::assign, FwdIt's max length reached");
|
1301
|
+
}
|
1302
|
+
|
1303
|
+
const size_type input_sz = static_cast<size_type>(sz);
|
1243
1304
|
const size_type old_capacity = this->capacity();
|
1244
1305
|
if(input_sz > old_capacity){ //If input range is too big, we need to reallocate
|
1245
1306
|
size_type real_cap = 0;
|
@@ -1268,21 +1329,9 @@ class vector
|
|
1268
1329
|
//Forward expansion, use assignment + back deletion/construction that comes later
|
1269
1330
|
}
|
1270
1331
|
}
|
1271
|
-
//Overwrite all elements we can from [first, last)
|
1272
|
-
iterator cur = this->begin();
|
1273
|
-
const iterator end_it = this->end();
|
1274
|
-
for ( ; first != last && cur != end_it; ++cur, ++first){
|
1275
|
-
*cur = *first;
|
1276
|
-
}
|
1277
1332
|
|
1278
|
-
|
1279
|
-
|
1280
|
-
this->priv_destroy_last_n(this->size() - input_sz);
|
1281
|
-
}
|
1282
|
-
else{
|
1283
|
-
//Uninitialized construct at end the remaining range
|
1284
|
-
this->priv_uninitialized_construct_at_end(first, last);
|
1285
|
-
}
|
1333
|
+
boost::container::copy_assign_range_alloc_n(this->m_holder.alloc(), first, input_sz, this->priv_raw_begin(), this->size());
|
1334
|
+
m_holder.set_stored_size(input_sz);
|
1286
1335
|
}
|
1287
1336
|
|
1288
1337
|
//! <b>Effects</b>: Assigns the n copies of val to *this.
|
@@ -1299,7 +1348,7 @@ class vector
|
|
1299
1348
|
//! <b>Throws</b>: If allocator's copy constructor throws.
|
1300
1349
|
//!
|
1301
1350
|
//! <b>Complexity</b>: Constant.
|
1302
|
-
allocator_type get_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1351
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE allocator_type get_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1303
1352
|
{ return this->m_holder.alloc(); }
|
1304
1353
|
|
1305
1354
|
//! <b>Effects</b>: Returns a reference to the internal allocator.
|
@@ -1309,7 +1358,8 @@ class vector
|
|
1309
1358
|
//! <b>Complexity</b>: Constant.
|
1310
1359
|
//!
|
1311
1360
|
//! <b>Note</b>: Non-standard extension.
|
1312
|
-
BOOST_CONTAINER_FORCEINLINE
|
1361
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1362
|
+
stored_allocator_type &get_stored_allocator() BOOST_NOEXCEPT_OR_NOTHROW
|
1313
1363
|
{ return this->m_holder.alloc(); }
|
1314
1364
|
|
1315
1365
|
//! <b>Effects</b>: Returns a reference to the internal allocator.
|
@@ -1319,7 +1369,8 @@ class vector
|
|
1319
1369
|
//! <b>Complexity</b>: Constant.
|
1320
1370
|
//!
|
1321
1371
|
//! <b>Note</b>: Non-standard extension.
|
1322
|
-
BOOST_CONTAINER_FORCEINLINE
|
1372
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1373
|
+
const stored_allocator_type &get_stored_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1323
1374
|
{ return this->m_holder.alloc(); }
|
1324
1375
|
|
1325
1376
|
//////////////////////////////////////////////
|
@@ -1333,7 +1384,7 @@ class vector
|
|
1333
1384
|
//! <b>Throws</b>: Nothing.
|
1334
1385
|
//!
|
1335
1386
|
//! <b>Complexity</b>: Constant.
|
1336
|
-
BOOST_CONTAINER_FORCEINLINE iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
1387
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
1337
1388
|
{ return iterator(this->m_holder.start()); }
|
1338
1389
|
|
1339
1390
|
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the vector.
|
@@ -1341,7 +1392,7 @@ class vector
|
|
1341
1392
|
//! <b>Throws</b>: Nothing.
|
1342
1393
|
//!
|
1343
1394
|
//! <b>Complexity</b>: Constant.
|
1344
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1395
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1345
1396
|
{ return const_iterator(this->m_holder.start()); }
|
1346
1397
|
|
1347
1398
|
//! <b>Effects</b>: Returns an iterator to the end of the vector.
|
@@ -1349,15 +1400,19 @@ class vector
|
|
1349
1400
|
//! <b>Throws</b>: Nothing.
|
1350
1401
|
//!
|
1351
1402
|
//! <b>Complexity</b>: Constant.
|
1352
|
-
BOOST_CONTAINER_FORCEINLINE iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
1353
|
-
{
|
1403
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
1404
|
+
{
|
1405
|
+
iterator it (this->m_holder.start());
|
1406
|
+
it += difference_type(this->m_holder.m_size);
|
1407
|
+
return it; //Adding zero to null pointer is allowed (non-UB)
|
1408
|
+
}
|
1354
1409
|
|
1355
1410
|
//! <b>Effects</b>: Returns a const_iterator to the end of the vector.
|
1356
1411
|
//!
|
1357
1412
|
//! <b>Throws</b>: Nothing.
|
1358
1413
|
//!
|
1359
1414
|
//! <b>Complexity</b>: Constant.
|
1360
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
1415
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
1361
1416
|
{ return this->cend(); }
|
1362
1417
|
|
1363
1418
|
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning
|
@@ -1366,7 +1421,7 @@ class vector
|
|
1366
1421
|
//! <b>Throws</b>: Nothing.
|
1367
1422
|
//!
|
1368
1423
|
//! <b>Complexity</b>: Constant.
|
1369
|
-
BOOST_CONTAINER_FORCEINLINE reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
1424
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
1370
1425
|
{ return reverse_iterator(this->end()); }
|
1371
1426
|
|
1372
1427
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
@@ -1375,7 +1430,7 @@ class vector
|
|
1375
1430
|
//! <b>Throws</b>: Nothing.
|
1376
1431
|
//!
|
1377
1432
|
//! <b>Complexity</b>: Constant.
|
1378
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1433
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1379
1434
|
{ return this->crbegin(); }
|
1380
1435
|
|
1381
1436
|
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
@@ -1384,7 +1439,7 @@ class vector
|
|
1384
1439
|
//! <b>Throws</b>: Nothing.
|
1385
1440
|
//!
|
1386
1441
|
//! <b>Complexity</b>: Constant.
|
1387
|
-
BOOST_CONTAINER_FORCEINLINE reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
1442
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
1388
1443
|
{ return reverse_iterator(this->begin()); }
|
1389
1444
|
|
1390
1445
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
@@ -1393,7 +1448,7 @@ class vector
|
|
1393
1448
|
//! <b>Throws</b>: Nothing.
|
1394
1449
|
//!
|
1395
1450
|
//! <b>Complexity</b>: Constant.
|
1396
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1451
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1397
1452
|
{ return this->crend(); }
|
1398
1453
|
|
1399
1454
|
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the vector.
|
@@ -1401,7 +1456,7 @@ class vector
|
|
1401
1456
|
//! <b>Throws</b>: Nothing.
|
1402
1457
|
//!
|
1403
1458
|
//! <b>Complexity</b>: Constant.
|
1404
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1459
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1405
1460
|
{ return const_iterator(this->m_holder.start()); }
|
1406
1461
|
|
1407
1462
|
//! <b>Effects</b>: Returns a const_iterator to the end of the vector.
|
@@ -1409,8 +1464,12 @@ class vector
|
|
1409
1464
|
//! <b>Throws</b>: Nothing.
|
1410
1465
|
//!
|
1411
1466
|
//! <b>Complexity</b>: Constant.
|
1412
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1413
|
-
{
|
1467
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1468
|
+
{
|
1469
|
+
const_iterator it (this->m_holder.start());
|
1470
|
+
it += difference_type(this->m_holder.m_size);
|
1471
|
+
return it; //Adding zero to null pointer is allowed (non-UB)
|
1472
|
+
}
|
1414
1473
|
|
1415
1474
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1416
1475
|
//! of the reversed vector.
|
@@ -1418,7 +1477,7 @@ class vector
|
|
1418
1477
|
//! <b>Throws</b>: Nothing.
|
1419
1478
|
//!
|
1420
1479
|
//! <b>Complexity</b>: Constant.
|
1421
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1480
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1422
1481
|
{ return const_reverse_iterator(this->end());}
|
1423
1482
|
|
1424
1483
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
@@ -1427,7 +1486,7 @@ class vector
|
|
1427
1486
|
//! <b>Throws</b>: Nothing.
|
1428
1487
|
//!
|
1429
1488
|
//! <b>Complexity</b>: Constant.
|
1430
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1489
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1431
1490
|
{ return const_reverse_iterator(this->begin()); }
|
1432
1491
|
|
1433
1492
|
//////////////////////////////////////////////
|
@@ -1441,7 +1500,7 @@ class vector
|
|
1441
1500
|
//! <b>Throws</b>: Nothing.
|
1442
1501
|
//!
|
1443
1502
|
//! <b>Complexity</b>: Constant.
|
1444
|
-
BOOST_CONTAINER_FORCEINLINE bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
1503
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
1445
1504
|
{ return !this->m_holder.m_size; }
|
1446
1505
|
|
1447
1506
|
//! <b>Effects</b>: Returns the number of the elements contained in the vector.
|
@@ -1449,7 +1508,7 @@ class vector
|
|
1449
1508
|
//! <b>Throws</b>: Nothing.
|
1450
1509
|
//!
|
1451
1510
|
//! <b>Complexity</b>: Constant.
|
1452
|
-
BOOST_CONTAINER_FORCEINLINE size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1511
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1453
1512
|
{ return this->m_holder.m_size; }
|
1454
1513
|
|
1455
1514
|
//! <b>Effects</b>: Returns the largest possible size of the vector.
|
@@ -1457,7 +1516,7 @@ class vector
|
|
1457
1516
|
//! <b>Throws</b>: Nothing.
|
1458
1517
|
//!
|
1459
1518
|
//! <b>Complexity</b>: Constant.
|
1460
|
-
BOOST_CONTAINER_FORCEINLINE size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1519
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1461
1520
|
{ return allocator_traits_type::max_size(this->m_holder.alloc()); }
|
1462
1521
|
|
1463
1522
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
@@ -1466,8 +1525,8 @@ class vector
|
|
1466
1525
|
//! <b>Throws</b>: If memory allocation throws, or T's copy/move or value initialization throws.
|
1467
1526
|
//!
|
1468
1527
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1469
|
-
void resize(size_type new_size)
|
1470
|
-
{ this->priv_resize(new_size, value_init); }
|
1528
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size)
|
1529
|
+
{ this->priv_resize(new_size, value_init, alloc_version()); }
|
1471
1530
|
|
1472
1531
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
1473
1532
|
//! the size becomes n. New elements are default initialized.
|
@@ -1477,8 +1536,8 @@ class vector
|
|
1477
1536
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1478
1537
|
//!
|
1479
1538
|
//! <b>Note</b>: Non-standard extension
|
1480
|
-
void resize(size_type new_size, default_init_t)
|
1481
|
-
{ this->priv_resize(new_size, default_init); }
|
1539
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size, default_init_t)
|
1540
|
+
{ this->priv_resize(new_size, default_init, alloc_version()); }
|
1482
1541
|
|
1483
1542
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
1484
1543
|
//! the size becomes n. New elements are copy constructed from x.
|
@@ -1486,8 +1545,8 @@ class vector
|
|
1486
1545
|
//! <b>Throws</b>: If memory allocation throws, or T's copy/move constructor throws.
|
1487
1546
|
//!
|
1488
1547
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1489
|
-
void resize(size_type new_size, const T& x)
|
1490
|
-
{ this->priv_resize(new_size, x); }
|
1548
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size, const T& x)
|
1549
|
+
{ this->priv_resize(new_size, x, alloc_version()); }
|
1491
1550
|
|
1492
1551
|
//! <b>Effects</b>: Number of elements for which memory has been allocated.
|
1493
1552
|
//! capacity() is always greater than or equal to size().
|
@@ -1495,7 +1554,7 @@ class vector
|
|
1495
1554
|
//! <b>Throws</b>: Nothing.
|
1496
1555
|
//!
|
1497
1556
|
//! <b>Complexity</b>: Constant.
|
1498
|
-
BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
1557
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
1499
1558
|
{ return this->m_holder.capacity(); }
|
1500
1559
|
|
1501
1560
|
//! <b>Effects</b>: If n is less than or equal to capacity(), this call has no
|
@@ -1507,7 +1566,7 @@ class vector
|
|
1507
1566
|
BOOST_CONTAINER_FORCEINLINE void reserve(size_type new_cap)
|
1508
1567
|
{
|
1509
1568
|
if (this->capacity() < new_cap){
|
1510
|
-
this->
|
1569
|
+
this->priv_move_to_new_buffer(new_cap, alloc_version());
|
1511
1570
|
}
|
1512
1571
|
}
|
1513
1572
|
|
@@ -1534,7 +1593,7 @@ class vector
|
|
1534
1593
|
//! <b>Throws</b>: Nothing.
|
1535
1594
|
//!
|
1536
1595
|
//! <b>Complexity</b>: Constant.
|
1537
|
-
reference
|
1596
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference front() BOOST_NOEXCEPT_OR_NOTHROW
|
1538
1597
|
{
|
1539
1598
|
BOOST_ASSERT(!this->empty());
|
1540
1599
|
return *this->m_holder.start();
|
@@ -1548,7 +1607,7 @@ class vector
|
|
1548
1607
|
//! <b>Throws</b>: Nothing.
|
1549
1608
|
//!
|
1550
1609
|
//! <b>Complexity</b>: Constant.
|
1551
|
-
const_reference
|
1610
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference front() const BOOST_NOEXCEPT_OR_NOTHROW
|
1552
1611
|
{
|
1553
1612
|
BOOST_ASSERT(!this->empty());
|
1554
1613
|
return *this->m_holder.start();
|
@@ -1562,10 +1621,10 @@ class vector
|
|
1562
1621
|
//! <b>Throws</b>: Nothing.
|
1563
1622
|
//!
|
1564
1623
|
//! <b>Complexity</b>: Constant.
|
1565
|
-
reference
|
1624
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference back() BOOST_NOEXCEPT_OR_NOTHROW
|
1566
1625
|
{
|
1567
1626
|
BOOST_ASSERT(!this->empty());
|
1568
|
-
return this->m_holder.start()[this->m_holder.m_size -
|
1627
|
+
return this->m_holder.start()[difference_type(this->m_holder.m_size - 1u)];
|
1569
1628
|
}
|
1570
1629
|
|
1571
1630
|
//! <b>Requires</b>: !empty()
|
@@ -1576,7 +1635,7 @@ class vector
|
|
1576
1635
|
//! <b>Throws</b>: Nothing.
|
1577
1636
|
//!
|
1578
1637
|
//! <b>Complexity</b>: Constant.
|
1579
|
-
const_reference
|
1638
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference back() const BOOST_NOEXCEPT_OR_NOTHROW
|
1580
1639
|
{
|
1581
1640
|
BOOST_ASSERT(!this->empty());
|
1582
1641
|
return this->m_holder.start()[this->m_holder.m_size - 1];
|
@@ -1590,10 +1649,10 @@ class vector
|
|
1590
1649
|
//! <b>Throws</b>: Nothing.
|
1591
1650
|
//!
|
1592
1651
|
//! <b>Complexity</b>: Constant.
|
1593
|
-
reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1652
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1594
1653
|
{
|
1595
1654
|
BOOST_ASSERT(this->m_holder.m_size > n);
|
1596
|
-
return this->m_holder.start()[n];
|
1655
|
+
return this->m_holder.start()[difference_type(n)];
|
1597
1656
|
}
|
1598
1657
|
|
1599
1658
|
//! <b>Requires</b>: size() > n.
|
@@ -1604,7 +1663,8 @@ class vector
|
|
1604
1663
|
//! <b>Throws</b>: Nothing.
|
1605
1664
|
//!
|
1606
1665
|
//! <b>Complexity</b>: Constant.
|
1607
|
-
|
1666
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1667
|
+
const_reference operator[](size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
1608
1668
|
{
|
1609
1669
|
BOOST_ASSERT(this->m_holder.m_size > n);
|
1610
1670
|
return this->m_holder.start()[n];
|
@@ -1621,10 +1681,11 @@ class vector
|
|
1621
1681
|
//! <b>Complexity</b>: Constant.
|
1622
1682
|
//!
|
1623
1683
|
//! <b>Note</b>: Non-standard extension
|
1624
|
-
|
1684
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1685
|
+
iterator nth(size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1625
1686
|
{
|
1626
1687
|
BOOST_ASSERT(this->m_holder.m_size >= n);
|
1627
|
-
return iterator(this->m_holder.start()+n);
|
1688
|
+
return iterator(this->m_holder.start()+difference_type(n));
|
1628
1689
|
}
|
1629
1690
|
|
1630
1691
|
//! <b>Requires</b>: size() >= n.
|
@@ -1638,10 +1699,11 @@ class vector
|
|
1638
1699
|
//! <b>Complexity</b>: Constant.
|
1639
1700
|
//!
|
1640
1701
|
//! <b>Note</b>: Non-standard extension
|
1641
|
-
|
1702
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1703
|
+
const_iterator nth(size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
1642
1704
|
{
|
1643
1705
|
BOOST_ASSERT(this->m_holder.m_size >= n);
|
1644
|
-
return const_iterator(this->m_holder.start()+n);
|
1706
|
+
return const_iterator(this->m_holder.start()+difference_type(n));
|
1645
1707
|
}
|
1646
1708
|
|
1647
1709
|
//! <b>Requires</b>: begin() <= p <= end().
|
@@ -1654,7 +1716,8 @@ class vector
|
|
1654
1716
|
//! <b>Complexity</b>: Constant.
|
1655
1717
|
//!
|
1656
1718
|
//! <b>Note</b>: Non-standard extension
|
1657
|
-
|
1719
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1720
|
+
size_type index_of(iterator p) BOOST_NOEXCEPT_OR_NOTHROW
|
1658
1721
|
{
|
1659
1722
|
//Range check assert done in priv_index_of
|
1660
1723
|
return this->priv_index_of(vector_iterator_get_ptr(p));
|
@@ -1670,7 +1733,8 @@ class vector
|
|
1670
1733
|
//! <b>Complexity</b>: Constant.
|
1671
1734
|
//!
|
1672
1735
|
//! <b>Note</b>: Non-standard extension
|
1673
|
-
|
1736
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1737
|
+
size_type index_of(const_iterator p) const BOOST_NOEXCEPT_OR_NOTHROW
|
1674
1738
|
{
|
1675
1739
|
//Range check assert done in priv_index_of
|
1676
1740
|
return this->priv_index_of(vector_iterator_get_ptr(p));
|
@@ -1681,13 +1745,13 @@ class vector
|
|
1681
1745
|
//! <b>Effects</b>: Returns a reference to the nth element
|
1682
1746
|
//! from the beginning of the container.
|
1683
1747
|
//!
|
1684
|
-
//! <b>Throws</b>:
|
1748
|
+
//! <b>Throws</b>: range_error if n >= size()
|
1685
1749
|
//!
|
1686
1750
|
//! <b>Complexity</b>: Constant.
|
1687
|
-
reference at(size_type n)
|
1751
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference at(size_type n)
|
1688
1752
|
{
|
1689
1753
|
this->priv_throw_if_out_of_range(n);
|
1690
|
-
return this->m_holder.start()[n];
|
1754
|
+
return this->m_holder.start()[difference_type(n)];
|
1691
1755
|
}
|
1692
1756
|
|
1693
1757
|
//! <b>Requires</b>: size() > n.
|
@@ -1695,10 +1759,10 @@ class vector
|
|
1695
1759
|
//! <b>Effects</b>: Returns a const reference to the nth element
|
1696
1760
|
//! from the beginning of the container.
|
1697
1761
|
//!
|
1698
|
-
//! <b>Throws</b>:
|
1762
|
+
//! <b>Throws</b>: range_error if n >= size()
|
1699
1763
|
//!
|
1700
1764
|
//! <b>Complexity</b>: Constant.
|
1701
|
-
const_reference at(size_type n) const
|
1765
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference at(size_type n) const
|
1702
1766
|
{
|
1703
1767
|
this->priv_throw_if_out_of_range(n);
|
1704
1768
|
return this->m_holder.start()[n];
|
@@ -1716,7 +1780,7 @@ class vector
|
|
1716
1780
|
//! <b>Throws</b>: Nothing.
|
1717
1781
|
//!
|
1718
1782
|
//! <b>Complexity</b>: Constant.
|
1719
|
-
T* data() BOOST_NOEXCEPT_OR_NOTHROW
|
1783
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE T* data() BOOST_NOEXCEPT_OR_NOTHROW
|
1720
1784
|
{ return this->priv_raw_begin(); }
|
1721
1785
|
|
1722
1786
|
//! <b>Returns</b>: A pointer such that [data(),data() + size()) is a valid range.
|
@@ -1725,7 +1789,7 @@ class vector
|
|
1725
1789
|
//! <b>Throws</b>: Nothing.
|
1726
1790
|
//!
|
1727
1791
|
//! <b>Complexity</b>: Constant.
|
1728
|
-
const T * data() const BOOST_NOEXCEPT_OR_NOTHROW
|
1792
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const T * data() const BOOST_NOEXCEPT_OR_NOTHROW
|
1729
1793
|
{ return this->priv_raw_begin(); }
|
1730
1794
|
|
1731
1795
|
//////////////////////////////////////////////
|
@@ -1747,17 +1811,17 @@ class vector
|
|
1747
1811
|
template<class ...Args>
|
1748
1812
|
BOOST_CONTAINER_FORCEINLINE reference emplace_back(BOOST_FWD_REF(Args)...args)
|
1749
1813
|
{
|
1814
|
+
T* const p = this->priv_raw_end();
|
1750
1815
|
if (BOOST_LIKELY(this->room_enough())){
|
1751
1816
|
//There is more memory, just construct a new object at the end
|
1752
|
-
T* const p = this->priv_raw_end();
|
1753
1817
|
allocator_traits_type::construct(this->m_holder.alloc(), p, ::boost::forward<Args>(args)...);
|
1754
1818
|
++this->m_holder.m_size;
|
1755
1819
|
return *p;
|
1756
1820
|
}
|
1757
1821
|
else{
|
1758
|
-
typedef dtl::insert_emplace_proxy<
|
1759
|
-
return *this->
|
1760
|
-
(
|
1822
|
+
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
|
1823
|
+
return *this->priv_insert_forward_range_no_capacity
|
1824
|
+
(p, 1, proxy_t(::boost::forward<Args>(args)...), alloc_version());
|
1761
1825
|
}
|
1762
1826
|
}
|
1763
1827
|
|
@@ -1792,13 +1856,13 @@ class vector
|
|
1792
1856
|
//! <b>Complexity</b>: If position is end(), amortized constant time
|
1793
1857
|
//! Linear time otherwise.
|
1794
1858
|
template<class ...Args>
|
1795
|
-
iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
|
1859
|
+
BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
|
1796
1860
|
{
|
1797
1861
|
BOOST_ASSERT(this->priv_in_range_or_end(position));
|
1798
1862
|
//Just call more general insert(pos, size, value) and return iterator
|
1799
|
-
typedef dtl::insert_emplace_proxy<
|
1800
|
-
return this->
|
1801
|
-
,
|
1863
|
+
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
|
1864
|
+
return this->priv_insert_forward_range( vector_iterator_get_ptr(position), 1
|
1865
|
+
, proxy_t(::boost::forward<Args>(args)...));
|
1802
1866
|
}
|
1803
1867
|
|
1804
1868
|
#else // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
|
@@ -1807,17 +1871,17 @@ class vector
|
|
1807
1871
|
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
|
1808
1872
|
BOOST_CONTAINER_FORCEINLINE reference emplace_back(BOOST_MOVE_UREF##N)\
|
1809
1873
|
{\
|
1874
|
+
T* const p = this->priv_raw_end();\
|
1810
1875
|
if (BOOST_LIKELY(this->room_enough())){\
|
1811
|
-
T* const p = this->priv_raw_end();\
|
1812
1876
|
allocator_traits_type::construct (this->m_holder.alloc()\
|
1813
1877
|
, this->priv_raw_end() BOOST_MOVE_I##N BOOST_MOVE_FWD##N);\
|
1814
1878
|
++this->m_holder.m_size;\
|
1815
1879
|
return *p;\
|
1816
1880
|
}\
|
1817
1881
|
else{\
|
1818
|
-
typedef dtl::insert_emplace_proxy_arg##N<
|
1819
|
-
return *this->
|
1820
|
-
(
|
1882
|
+
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N> proxy_t;\
|
1883
|
+
return *this->priv_insert_forward_range_no_capacity\
|
1884
|
+
( p, 1, proxy_t(BOOST_MOVE_FWD##N), alloc_version());\
|
1821
1885
|
}\
|
1822
1886
|
}\
|
1823
1887
|
\
|
@@ -1834,11 +1898,11 @@ class vector
|
|
1834
1898
|
}\
|
1835
1899
|
\
|
1836
1900
|
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
|
1837
|
-
iterator emplace(const_iterator pos BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
|
1901
|
+
BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator pos BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
|
1838
1902
|
{\
|
1839
1903
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));\
|
1840
|
-
typedef dtl::insert_emplace_proxy_arg##N<
|
1841
|
-
return this->
|
1904
|
+
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N> proxy_t;\
|
1905
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), 1, proxy_t(BOOST_MOVE_FWD##N));\
|
1842
1906
|
}\
|
1843
1907
|
//
|
1844
1908
|
BOOST_MOVE_ITERATE_0TO9(BOOST_CONTAINER_VECTOR_EMPLACE_CODE)
|
@@ -1900,11 +1964,11 @@ class vector
|
|
1900
1964
|
//! <b>Throws</b>: If memory allocation throws or T's copy/move constructor throws.
|
1901
1965
|
//!
|
1902
1966
|
//! <b>Complexity</b>: Linear to n.
|
1903
|
-
iterator insert(const_iterator p, size_type n, const T& x)
|
1967
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator p, size_type n, const T& x)
|
1904
1968
|
{
|
1905
1969
|
BOOST_ASSERT(this->priv_in_range_or_end(p));
|
1906
|
-
dtl::insert_n_copies_proxy<
|
1907
|
-
return this->
|
1970
|
+
dtl::insert_n_copies_proxy<allocator_type, T*> proxy(x);
|
1971
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(p), n, proxy);
|
1908
1972
|
}
|
1909
1973
|
|
1910
1974
|
//! <b>Requires</b>: p must be a valid iterator of *this.
|
@@ -1929,18 +1993,18 @@ class vector
|
|
1929
1993
|
)
|
1930
1994
|
{
|
1931
1995
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
1932
|
-
const size_type n_pos = pos - this->cbegin();
|
1996
|
+
const size_type n_pos = size_type(pos - this->cbegin());
|
1933
1997
|
iterator it(vector_iterator_get_ptr(pos));
|
1934
1998
|
for(;first != last; ++first){
|
1935
1999
|
it = this->emplace(it, *first);
|
1936
2000
|
++it;
|
1937
2001
|
}
|
1938
|
-
return iterator(this->m_holder.start() + n_pos);
|
2002
|
+
return iterator(this->m_holder.start() + difference_type(n_pos));
|
1939
2003
|
}
|
1940
2004
|
|
1941
2005
|
#if !defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1942
2006
|
template <class FwdIt>
|
1943
|
-
iterator insert(const_iterator pos, FwdIt first, FwdIt last
|
2007
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator pos, FwdIt first, FwdIt last
|
1944
2008
|
, typename dtl::disable_if_or
|
1945
2009
|
< void
|
1946
2010
|
, dtl::is_convertible<FwdIt, size_type>
|
@@ -1948,9 +2012,15 @@ class vector
|
|
1948
2012
|
>::type * = 0
|
1949
2013
|
)
|
1950
2014
|
{
|
2015
|
+
typedef typename iter_size<FwdIt>::type it_size_type;
|
1951
2016
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
1952
|
-
|
1953
|
-
|
2017
|
+
const it_size_type sz = boost::container::iterator_udistance(first, last);
|
2018
|
+
if (sz > size_type(-1)){
|
2019
|
+
boost::container::throw_length_error("vector::insert, FwdIt's max length reached");
|
2020
|
+
}
|
2021
|
+
|
2022
|
+
dtl::insert_range_proxy<allocator_type, FwdIt, T*> proxy(first);
|
2023
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), static_cast<size_type>(sz), proxy);
|
1954
2024
|
}
|
1955
2025
|
#endif
|
1956
2026
|
|
@@ -1971,14 +2041,14 @@ class vector
|
|
1971
2041
|
//! a non-standard extension.
|
1972
2042
|
#if !defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1973
2043
|
template <class InIt>
|
1974
|
-
iterator insert(const_iterator pos, size_type num, InIt first, InIt last)
|
2044
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator pos, size_type num, InIt first, InIt last)
|
1975
2045
|
{
|
1976
2046
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
1977
2047
|
BOOST_ASSERT(dtl::is_input_iterator<InIt>::value ||
|
1978
|
-
num ==
|
2048
|
+
num == boost::container::iterator_udistance(first, last));
|
1979
2049
|
(void)last;
|
1980
|
-
dtl::insert_range_proxy<
|
1981
|
-
return this->
|
2050
|
+
dtl::insert_range_proxy<allocator_type, InIt, T*> proxy(first);
|
2051
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), num, proxy);
|
1982
2052
|
}
|
1983
2053
|
#endif
|
1984
2054
|
|
@@ -1990,7 +2060,7 @@ class vector
|
|
1990
2060
|
//! <b>Returns</b>: an iterator to the first inserted element or position if first == last.
|
1991
2061
|
//!
|
1992
2062
|
//! <b>Complexity</b>: Linear to the range [il.begin(), il.end()).
|
1993
|
-
iterator insert(const_iterator position, std::initializer_list<value_type> il)
|
2063
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator position, std::initializer_list<value_type> il)
|
1994
2064
|
{
|
1995
2065
|
//Assertion done in insert()
|
1996
2066
|
return this->insert(position, il.begin(), il.end());
|
@@ -2002,11 +2072,12 @@ class vector
|
|
2002
2072
|
//! <b>Throws</b>: Nothing.
|
2003
2073
|
//!
|
2004
2074
|
//! <b>Complexity</b>: Constant time.
|
2005
|
-
void pop_back() BOOST_NOEXCEPT_OR_NOTHROW
|
2075
|
+
BOOST_CONTAINER_FORCEINLINE void pop_back() BOOST_NOEXCEPT_OR_NOTHROW
|
2006
2076
|
{
|
2007
2077
|
BOOST_ASSERT(!this->empty());
|
2008
2078
|
//Destroy last element
|
2009
|
-
this->
|
2079
|
+
allocator_traits_type::destroy(this->get_stored_allocator(), this->priv_raw_end() - 1);
|
2080
|
+
--this->m_holder.m_size;
|
2010
2081
|
}
|
2011
2082
|
|
2012
2083
|
//! <b>Effects</b>: Erases the element at position pos.
|
@@ -2020,10 +2091,16 @@ class vector
|
|
2020
2091
|
BOOST_ASSERT(this->priv_in_range(position));
|
2021
2092
|
const pointer p = vector_iterator_get_ptr(position);
|
2022
2093
|
T *const pos_ptr = boost::movelib::to_raw_pointer(p);
|
2023
|
-
T *const
|
2024
|
-
|
2094
|
+
T *const end_ptr = this->priv_raw_end();
|
2095
|
+
|
2025
2096
|
//Move elements forward and destroy last
|
2026
|
-
|
2097
|
+
(void)::boost::container::move(pos_ptr + 1, end_ptr, pos_ptr);
|
2098
|
+
|
2099
|
+
T *const last_ptr = end_ptr-1;
|
2100
|
+
if(!value_traits::trivial_dctr_after_move || pos_ptr == last_ptr){
|
2101
|
+
allocator_traits_type::destroy(this->get_stored_allocator(), last_ptr);
|
2102
|
+
}
|
2103
|
+
--this->m_holder.m_size;
|
2027
2104
|
return iterator(p);
|
2028
2105
|
}
|
2029
2106
|
|
@@ -2035,14 +2112,19 @@ class vector
|
|
2035
2112
|
//! plus linear to the elements between pos and the last element.
|
2036
2113
|
iterator erase(const_iterator first, const_iterator last)
|
2037
2114
|
{
|
2038
|
-
BOOST_ASSERT(first
|
2039
|
-
|
2040
|
-
|
2115
|
+
BOOST_ASSERT(this->priv_in_range_or_end(first));
|
2116
|
+
BOOST_ASSERT(this->priv_in_range_or_end(last));
|
2117
|
+
BOOST_ASSERT(first <= last);
|
2118
|
+
if(first != last){
|
2041
2119
|
T* const old_end_ptr = this->priv_raw_end();
|
2042
2120
|
T* const first_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(first));
|
2043
2121
|
T* const last_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(last));
|
2044
|
-
T* const
|
2045
|
-
|
2122
|
+
T* const new_last_ptr = boost::movelib::to_raw_pointer(boost::container::move(last_ptr, old_end_ptr, first_ptr));
|
2123
|
+
const size_type n = static_cast<size_type>(old_end_ptr - new_last_ptr);
|
2124
|
+
if(!value_traits::trivial_dctr_after_move || old_end_ptr == last_ptr){
|
2125
|
+
boost::container::destroy_alloc_n(this->get_stored_allocator(), new_last_ptr, n);
|
2126
|
+
}
|
2127
|
+
this->m_holder.dec_stored_size(n);
|
2046
2128
|
}
|
2047
2129
|
return iterator(vector_iterator_get_ptr(first));
|
2048
2130
|
}
|
@@ -2055,9 +2137,9 @@ class vector
|
|
2055
2137
|
BOOST_CONTAINER_FORCEINLINE void swap(vector& x)
|
2056
2138
|
BOOST_NOEXCEPT_IF( ((allocator_traits_type::propagate_on_container_swap::value
|
2057
2139
|
|| allocator_traits_type::is_always_equal::value) &&
|
2058
|
-
!dtl::is_version<
|
2140
|
+
!dtl::is_version<allocator_type, 0>::value))
|
2059
2141
|
{
|
2060
|
-
this->priv_swap(x, dtl::bool_<dtl::is_version<
|
2142
|
+
this->priv_swap(x, dtl::bool_<dtl::is_version<allocator_type, 0>::value>());
|
2061
2143
|
}
|
2062
2144
|
|
2063
2145
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -2069,12 +2151,12 @@ class vector
|
|
2069
2151
|
//! <b>Complexity</b>: Linear
|
2070
2152
|
//!
|
2071
2153
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
2072
|
-
template<class
|
2073
|
-
BOOST_CONTAINER_FORCEINLINE void swap(vector<T,
|
2154
|
+
template<class OtherA>
|
2155
|
+
BOOST_CONTAINER_FORCEINLINE void swap(vector<T, OtherA, Options> & x
|
2074
2156
|
, typename dtl::enable_if_and
|
2075
2157
|
< void
|
2076
|
-
, dtl::is_version<
|
2077
|
-
, dtl::is_different<
|
2158
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
2159
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
2078
2160
|
>::type * = 0
|
2079
2161
|
)
|
2080
2162
|
{ this->m_holder.deep_swap(x.m_holder); }
|
@@ -2092,51 +2174,44 @@ class vector
|
|
2092
2174
|
//! <b>Effects</b>: Returns true if x and y are equal
|
2093
2175
|
//!
|
2094
2176
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2095
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator==(const vector& x, const vector& y)
|
2177
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator==(const vector& x, const vector& y)
|
2096
2178
|
{ return x.size() == y.size() && ::boost::container::algo_equal(x.begin(), x.end(), y.begin()); }
|
2097
2179
|
|
2098
2180
|
//! <b>Effects</b>: Returns true if x and y are unequal
|
2099
2181
|
//!
|
2100
2182
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2101
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const vector& x, const vector& y)
|
2183
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const vector& x, const vector& y)
|
2102
2184
|
{ return !(x == y); }
|
2103
2185
|
|
2104
2186
|
//! <b>Effects</b>: Returns true if x is less than y
|
2105
2187
|
//!
|
2106
2188
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2107
|
-
friend bool operator<(const vector& x, const vector& y)
|
2108
|
-
{
|
2109
|
-
const_iterator first1(x.cbegin()), first2(y.cbegin());
|
2110
|
-
const const_iterator last1(x.cend()), last2(y.cend());
|
2111
|
-
for ( ; (first1 != last1) && (first2 != last2); ++first1, ++first2 ) {
|
2112
|
-
if (*first1 < *first2) return true;
|
2113
|
-
if (*first2 < *first1) return false;
|
2114
|
-
}
|
2115
|
-
return (first1 == last1) && (first2 != last2);
|
2116
|
-
}
|
2189
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD friend bool operator<(const vector& x, const vector& y)
|
2190
|
+
{ return boost::container::algo_lexicographical_compare(x.begin(), x.end(), y.begin(), y.end()); }
|
2117
2191
|
|
2118
2192
|
//! <b>Effects</b>: Returns true if x is greater than y
|
2119
2193
|
//!
|
2120
2194
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2121
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator>(const vector& x, const vector& y)
|
2195
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator>(const vector& x, const vector& y)
|
2122
2196
|
{ return y < x; }
|
2123
2197
|
|
2124
2198
|
//! <b>Effects</b>: Returns true if x is equal or less than y
|
2125
2199
|
//!
|
2126
2200
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2127
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator<=(const vector& x, const vector& y)
|
2201
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator<=(const vector& x, const vector& y)
|
2128
2202
|
{ return !(y < x); }
|
2129
2203
|
|
2130
2204
|
//! <b>Effects</b>: Returns true if x is equal or greater than y
|
2131
2205
|
//!
|
2132
2206
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2133
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator>=(const vector& x, const vector& y)
|
2207
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator>=(const vector& x, const vector& y)
|
2134
2208
|
{ return !(x < y); }
|
2135
2209
|
|
2136
2210
|
//! <b>Effects</b>: x.swap(y)
|
2137
2211
|
//!
|
2138
2212
|
//! <b>Complexity</b>: Constant.
|
2139
2213
|
BOOST_CONTAINER_FORCEINLINE friend void swap(vector& x, vector& y)
|
2214
|
+
BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT(x.swap(y)))
|
2140
2215
|
{ x.swap(y); }
|
2141
2216
|
|
2142
2217
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -2152,7 +2227,7 @@ class vector
|
|
2152
2227
|
bool stable_reserve(size_type new_cap)
|
2153
2228
|
{
|
2154
2229
|
const size_type cp = this->capacity();
|
2155
|
-
return cp >= new_cap || (alloc_version::value == 2 && this->m_holder.try_expand_fwd(new_cap - cp));
|
2230
|
+
return cp >= new_cap || (alloc_version::value == 2 && this->m_holder.try_expand_fwd(size_type(new_cap - cp)));
|
2156
2231
|
}
|
2157
2232
|
|
2158
2233
|
//Absolutely experimental. This function might change, disappear or simply crash!
|
@@ -2176,11 +2251,11 @@ class vector
|
|
2176
2251
|
size_type const free_cap = c - s;
|
2177
2252
|
//If not input iterator and new elements don't fit in the remaining capacity, merge in new buffer
|
2178
2253
|
if(!dtl::is_input_iterator<InputIt>::value &&
|
2179
|
-
free_cap < (n =
|
2254
|
+
free_cap < (n = boost::container::iterator_udistance(first, last))){
|
2180
2255
|
this->priv_merge_in_new_buffer(first, n, comp, alloc_version());
|
2181
2256
|
}
|
2182
2257
|
else{
|
2183
|
-
|
2258
|
+
this->insert(this->cend(), first, last);
|
2184
2259
|
T *const raw_beg = this->priv_raw_begin();
|
2185
2260
|
T *const raw_end = this->priv_raw_end();
|
2186
2261
|
T *const raw_pos = raw_beg + s;
|
@@ -2195,11 +2270,11 @@ class vector
|
|
2195
2270
|
template<class InputIt, class Compare>
|
2196
2271
|
BOOST_CONTAINER_FORCEINLINE void merge_unique(InputIt first, InputIt last, Compare comp)
|
2197
2272
|
{
|
2198
|
-
size_type const
|
2273
|
+
size_type const old_size = this->size();
|
2199
2274
|
this->priv_set_difference_back(first, last, comp);
|
2200
2275
|
T *const raw_beg = this->priv_raw_begin();
|
2201
2276
|
T *const raw_end = this->priv_raw_end();
|
2202
|
-
T *raw_pos = raw_beg +
|
2277
|
+
T *raw_pos = raw_beg + old_size;
|
2203
2278
|
boost::movelib::adaptive_merge(raw_beg, raw_pos, raw_end, comp, raw_end, this->capacity() - this->size());
|
2204
2279
|
}
|
2205
2280
|
|
@@ -2243,14 +2318,14 @@ class vector
|
|
2243
2318
|
else{
|
2244
2319
|
//Hole was just filled, disable exception rollback and change vector size
|
2245
2320
|
past_hole_values_destroyer.release();
|
2246
|
-
this->m_holder.
|
2321
|
+
this->m_holder.inc_stored_size(element_count);
|
2247
2322
|
}
|
2248
2323
|
}
|
2249
2324
|
else{
|
2250
2325
|
if(old_hole_size){
|
2251
2326
|
//Hole was just filled by priv_insert_ordered_at_shift_range, disable exception rollback and change vector size
|
2252
2327
|
past_hole_values_destroyer.release();
|
2253
|
-
this->m_holder.
|
2328
|
+
this->m_holder.inc_stored_size(element_count);
|
2254
2329
|
}
|
2255
2330
|
//Insert the new value in the already constructed range
|
2256
2331
|
begin_ptr[pos + insertions_left - 1] = position_value.get_val();
|
@@ -2276,14 +2351,14 @@ class vector
|
|
2276
2351
|
|
2277
2352
|
if (comp(*first1, *first2)) {
|
2278
2353
|
this->emplace_back(*first1);
|
2279
|
-
//Reallocation happened, update range
|
2280
2354
|
T * const raw_begin = this->priv_raw_begin();
|
2281
|
-
if(old_first2 != raw_begin)
|
2355
|
+
if(old_first2 != raw_begin)
|
2356
|
+
{
|
2357
|
+
//Reallocation happened, update range
|
2282
2358
|
first2 = raw_begin + (first2 - old_first2);
|
2283
|
-
last2 =
|
2359
|
+
last2 = raw_begin + (last2 - old_first2);
|
2284
2360
|
old_first2 = raw_begin;
|
2285
2361
|
}
|
2286
|
-
|
2287
2362
|
++first1;
|
2288
2363
|
}
|
2289
2364
|
else {
|
@@ -2298,7 +2373,7 @@ class vector
|
|
2298
2373
|
template<class FwdIt, class Compare>
|
2299
2374
|
BOOST_CONTAINER_FORCEINLINE void priv_merge_in_new_buffer(FwdIt, size_type, Compare, version_0)
|
2300
2375
|
{
|
2301
|
-
|
2376
|
+
alloc_holder_t::on_capacity_overflow();
|
2302
2377
|
}
|
2303
2378
|
|
2304
2379
|
template<class FwdIt, class Compare, class Version>
|
@@ -2348,8 +2423,10 @@ class vector
|
|
2348
2423
|
pointer const old_p = this->m_holder.start();
|
2349
2424
|
size_type const old_cap = this->m_holder.capacity();
|
2350
2425
|
boost::container::destroy_alloc_n(a, boost::movelib::to_raw_pointer(old_p), old_size);
|
2351
|
-
|
2352
|
-
|
2426
|
+
if (old_cap > 0) {
|
2427
|
+
this->m_holder.deallocate(old_p, old_cap);
|
2428
|
+
}
|
2429
|
+
m_holder.set_stored_size(old_size + added);
|
2353
2430
|
this->m_holder.start(new_storage);
|
2354
2431
|
this->m_holder.capacity(new_cap);
|
2355
2432
|
new_buffer_deallocator.release();
|
@@ -2357,99 +2434,100 @@ class vector
|
|
2357
2434
|
}
|
2358
2435
|
|
2359
2436
|
BOOST_CONTAINER_FORCEINLINE bool room_enough() const
|
2360
|
-
{ return this->m_holder.m_size
|
2437
|
+
{ return this->m_holder.m_size != this->m_holder.capacity(); }
|
2361
2438
|
|
2362
2439
|
BOOST_CONTAINER_FORCEINLINE pointer back_ptr() const
|
2363
|
-
{ return this->m_holder.start() + this->m_holder.m_size; }
|
2440
|
+
{ return this->m_holder.start() + difference_type(this->m_holder.m_size); }
|
2364
2441
|
|
2365
|
-
size_type priv_index_of(pointer p) const
|
2442
|
+
BOOST_CONTAINER_FORCEINLINE size_type priv_index_of(pointer p) const
|
2366
2443
|
{
|
2367
2444
|
BOOST_ASSERT(this->m_holder.start() <= p);
|
2368
|
-
BOOST_ASSERT(p <= (this->m_holder.start()+this->size()));
|
2445
|
+
BOOST_ASSERT(p <= (this->m_holder.start()+difference_type(this->size())));
|
2369
2446
|
return static_cast<size_type>(p - this->m_holder.start());
|
2370
2447
|
}
|
2371
2448
|
|
2372
|
-
template<class
|
2373
|
-
void priv_move_assign(BOOST_RV_REF_BEG vector<T,
|
2449
|
+
template<class OtherA>
|
2450
|
+
void priv_move_assign(BOOST_RV_REF_BEG vector<T, OtherA, Options> BOOST_RV_REF_END x
|
2374
2451
|
, typename dtl::enable_if_c
|
2375
|
-
< dtl::is_version<
|
2452
|
+
< dtl::is_version<typename real_allocator<T, OtherA>::type, 0>::value >::type * = 0)
|
2376
2453
|
{
|
2377
|
-
if(!dtl::is_same<
|
2454
|
+
if(!dtl::is_same<typename real_allocator<T, OtherA>::type, allocator_type>::value &&
|
2378
2455
|
this->capacity() < x.size()){
|
2379
|
-
|
2456
|
+
alloc_holder_t::on_capacity_overflow();
|
2380
2457
|
}
|
2381
2458
|
T* const this_start = this->priv_raw_begin();
|
2382
2459
|
T* const other_start = x.priv_raw_begin();
|
2383
2460
|
const size_type this_sz = m_holder.m_size;
|
2384
2461
|
const size_type other_sz = static_cast<size_type>(x.m_holder.m_size);
|
2385
2462
|
boost::container::move_assign_range_alloc_n(this->m_holder.alloc(), other_start, other_sz, this_start, this_sz);
|
2386
|
-
|
2463
|
+
m_holder.set_stored_size(other_sz);
|
2464
|
+
//Not emptying the source container seems to be confusing for users as drop-in
|
2465
|
+
//replacement for non-static vectors, so clear it.
|
2466
|
+
x.clear();
|
2387
2467
|
}
|
2388
2468
|
|
2389
|
-
template<class
|
2390
|
-
void priv_move_assign(BOOST_RV_REF_BEG vector<T,
|
2469
|
+
template<class OtherA>
|
2470
|
+
void priv_move_assign(BOOST_RV_REF_BEG vector<T, OtherA, Options> BOOST_RV_REF_END x
|
2391
2471
|
, typename dtl::disable_if_or
|
2392
2472
|
< void
|
2393
|
-
, dtl::is_version<
|
2394
|
-
, dtl::is_different<
|
2473
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
2474
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
2395
2475
|
>::type * = 0)
|
2396
2476
|
{
|
2397
|
-
//for move assignment, no aliasing (&x != this) is
|
2398
|
-
|
2477
|
+
//for move assignment, no aliasing (&x != this) is assumed.
|
2478
|
+
//x.size() == 0 is allowed for buggy std libraries.
|
2479
|
+
BOOST_ASSERT(this != &x || x.size() == 0);
|
2399
2480
|
allocator_type &this_alloc = this->m_holder.alloc();
|
2400
2481
|
allocator_type &x_alloc = x.m_holder.alloc();
|
2401
2482
|
const bool propagate_alloc = allocator_traits_type::propagate_on_container_move_assignment::value;
|
2402
2483
|
|
2484
|
+
//In this allocator move constructor the allocator maybe will be propagated -----------------------v
|
2403
2485
|
const bool is_propagable_from_x = is_propagable_from(x_alloc, x.m_holder.start(), this_alloc, propagate_alloc);
|
2404
|
-
const bool is_propagable_from_t = is_propagable_from(this_alloc, m_holder.start(), x_alloc, propagate_alloc);
|
2405
|
-
const bool are_both_propagable = is_propagable_from_x && is_propagable_from_t;
|
2406
2486
|
|
2407
2487
|
//Resources can be transferred if both allocators are
|
2408
2488
|
//going to be equal after this function (either propagated or already equal)
|
2409
|
-
if(
|
2410
|
-
//Destroy objects but retain memory in case x reuses it in the future
|
2411
|
-
this->clear();
|
2412
|
-
this->m_holder.swap_resources(x.m_holder);
|
2413
|
-
}
|
2414
|
-
else if(is_propagable_from_x){
|
2489
|
+
if(is_propagable_from_x){
|
2415
2490
|
this->clear();
|
2416
|
-
|
2491
|
+
if(BOOST_LIKELY(!!this->m_holder.m_start))
|
2492
|
+
this->m_holder.deallocate(this->m_holder.m_start, this->m_holder.m_capacity);
|
2417
2493
|
this->m_holder.steal_resources(x.m_holder);
|
2418
2494
|
}
|
2419
|
-
//Else do a one by one move
|
2495
|
+
//Else do a one by one move. Also, clear the source as users find confusing
|
2496
|
+
//elements are still alive in the source container.
|
2420
2497
|
else{
|
2421
2498
|
this->assign( boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(x.begin()))
|
2422
2499
|
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(x.end() ))
|
2423
2500
|
);
|
2501
|
+
x.clear();
|
2424
2502
|
}
|
2425
2503
|
//Move allocator if needed
|
2426
2504
|
dtl::move_alloc(this_alloc, x_alloc, dtl::bool_<propagate_alloc>());
|
2427
2505
|
}
|
2428
2506
|
|
2429
|
-
template<class
|
2430
|
-
void priv_copy_assign(const vector<T,
|
2507
|
+
template<class OtherA>
|
2508
|
+
void priv_copy_assign(const vector<T, OtherA, Options> &x
|
2431
2509
|
, typename dtl::enable_if_c
|
2432
|
-
< dtl::is_version<
|
2510
|
+
< dtl::is_version<typename real_allocator<T, OtherA>::type, 0>::value >::type * = 0)
|
2433
2511
|
{
|
2434
|
-
if(!dtl::is_same<
|
2512
|
+
if(!dtl::is_same<typename real_allocator<T, OtherA>::type, allocator_type>::value &&
|
2435
2513
|
this->capacity() < x.size()){
|
2436
|
-
|
2514
|
+
alloc_holder_t::on_capacity_overflow();
|
2437
2515
|
}
|
2438
2516
|
T* const this_start = this->priv_raw_begin();
|
2439
2517
|
T* const other_start = x.priv_raw_begin();
|
2440
2518
|
const size_type this_sz = m_holder.m_size;
|
2441
2519
|
const size_type other_sz = static_cast<size_type>(x.m_holder.m_size);
|
2442
2520
|
boost::container::copy_assign_range_alloc_n(this->m_holder.alloc(), other_start, other_sz, this_start, this_sz);
|
2443
|
-
|
2521
|
+
m_holder.set_stored_size(other_sz);
|
2444
2522
|
}
|
2445
2523
|
|
2446
|
-
template<class
|
2524
|
+
template<class OtherA>
|
2447
2525
|
typename dtl::disable_if_or
|
2448
2526
|
< void
|
2449
|
-
, dtl::is_version<
|
2450
|
-
, dtl::is_different<
|
2527
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
2528
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
2451
2529
|
>::type
|
2452
|
-
priv_copy_assign(const vector<T,
|
2530
|
+
priv_copy_assign(const vector<T, OtherA, Options> &x)
|
2453
2531
|
{
|
2454
2532
|
allocator_type &this_alloc = this->m_holder.alloc();
|
2455
2533
|
const allocator_type &x_alloc = x.m_holder.alloc();
|
@@ -2464,15 +2542,18 @@ class vector
|
|
2464
2542
|
}
|
2465
2543
|
|
2466
2544
|
template<class Vector> //Template it to avoid it in explicit instantiations
|
2467
|
-
void priv_swap(Vector &x, dtl::true_type) //version_0
|
2545
|
+
BOOST_CONTAINER_FORCEINLINE void priv_swap(Vector &x, dtl::true_type) //version_0
|
2468
2546
|
{ this->m_holder.deep_swap(x.m_holder); }
|
2469
2547
|
|
2470
2548
|
template<class Vector> //Template it to avoid it in explicit instantiations
|
2471
2549
|
void priv_swap(Vector &x, dtl::false_type) //version_N
|
2472
2550
|
{
|
2473
2551
|
const bool propagate_alloc = allocator_traits_type::propagate_on_container_swap::value;
|
2474
|
-
if(
|
2475
|
-
|
2552
|
+
if (BOOST_UNLIKELY(&x == this)){
|
2553
|
+
return;
|
2554
|
+
}
|
2555
|
+
else if(are_swap_propagable( this->get_stored_allocator(), this->m_holder.start()
|
2556
|
+
, x.get_stored_allocator(), x.m_holder.start(), propagate_alloc)){
|
2476
2557
|
//Just swap internals
|
2477
2558
|
this->m_holder.swap_resources(x.m_holder);
|
2478
2559
|
}
|
@@ -2482,42 +2563,54 @@ class vector
|
|
2482
2563
|
vector &sml = t_smaller ? *this : x;
|
2483
2564
|
vector &big = t_smaller ? x : *this;
|
2484
2565
|
|
2485
|
-
|
2486
|
-
|
2487
|
-
|
2566
|
+
//For empty containers, maybe storage can be moved from the other (just like in the move constructor)
|
2567
|
+
if(sml.empty() && is_propagable_from(big.get_stored_allocator(), big.data(), sml.get_allocator(), propagate_alloc)){
|
2568
|
+
if(BOOST_LIKELY(0u != sml.capacity()))
|
2569
|
+
sml.m_holder.deallocate(sml.m_holder.m_start, sml.m_holder.m_capacity);
|
2570
|
+
sml.steal_resources(big);
|
2571
|
+
}
|
2572
|
+
else {
|
2573
|
+
//Else swap element by element...
|
2574
|
+
size_type const common_elements = sml.size();
|
2575
|
+
for(size_type i = 0; i != common_elements; ++i){
|
2576
|
+
boost::adl_move_swap(sml[i], big[i]);
|
2577
|
+
}
|
2578
|
+
//... and move-insert the remaining range
|
2579
|
+
sml.insert( sml.cend()
|
2580
|
+
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(big.nth(common_elements)))
|
2581
|
+
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(big.end()))
|
2582
|
+
);
|
2583
|
+
//Destroy remaining elements
|
2584
|
+
big.erase(big.nth(common_elements), big.cend());
|
2488
2585
|
}
|
2489
|
-
//... and move-insert the remaining range
|
2490
|
-
sml.insert( sml.cend()
|
2491
|
-
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(big.nth(common_elements)))
|
2492
|
-
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(big.end()))
|
2493
|
-
);
|
2494
|
-
//Destroy remaining elements
|
2495
|
-
big.erase(big.nth(common_elements), big.cend());
|
2496
2586
|
}
|
2497
2587
|
//And now swap the allocator
|
2498
2588
|
dtl::swap_alloc(this->m_holder.alloc(), x.m_holder.alloc(), dtl::bool_<propagate_alloc>());
|
2499
2589
|
}
|
2500
2590
|
|
2501
|
-
void
|
2502
|
-
{
|
2591
|
+
BOOST_CONTAINER_FORCEINLINE void priv_move_to_new_buffer(size_type, version_0)
|
2592
|
+
{ alloc_holder_t::on_capacity_overflow(); }
|
2503
2593
|
|
2504
|
-
dtl::insert_range_proxy<
|
2594
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*> priv_dummy_empty_proxy()
|
2505
2595
|
{
|
2506
|
-
return dtl::insert_range_proxy<
|
2596
|
+
return dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*>
|
2507
2597
|
(::boost::make_move_iterator((T *)0));
|
2508
2598
|
}
|
2509
2599
|
|
2510
|
-
void
|
2600
|
+
BOOST_CONTAINER_FORCEINLINE void priv_move_to_new_buffer(size_type new_cap, version_1)
|
2511
2601
|
{
|
2512
2602
|
//There is not enough memory, allocate a new buffer
|
2513
2603
|
//Pass the hint so that allocators can take advantage of this.
|
2514
2604
|
pointer const p = this->m_holder.allocate(new_cap);
|
2605
|
+
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2606
|
+
++this->num_alloc;
|
2607
|
+
#endif
|
2515
2608
|
//We will reuse insert code, so create a dummy input iterator
|
2516
|
-
this->
|
2609
|
+
this->priv_insert_forward_range_new_allocation
|
2517
2610
|
( boost::movelib::to_raw_pointer(p), new_cap, this->priv_raw_end(), 0, this->priv_dummy_empty_proxy());
|
2518
2611
|
}
|
2519
2612
|
|
2520
|
-
void
|
2613
|
+
void priv_move_to_new_buffer(size_type new_cap, version_2)
|
2521
2614
|
{
|
2522
2615
|
//There is not enough memory, allocate a new
|
2523
2616
|
//buffer or expand the old one.
|
@@ -2541,38 +2634,24 @@ class vector
|
|
2541
2634
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2542
2635
|
++this->num_expand_bwd;
|
2543
2636
|
#endif
|
2544
|
-
this->
|
2545
|
-
( new_mem
|
2637
|
+
this->priv_insert_forward_range_expand_backwards
|
2638
|
+
( new_mem, real_cap, ins_pos, 0, this->priv_dummy_empty_proxy());
|
2546
2639
|
}
|
2547
2640
|
else{ //New buffer
|
2548
2641
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2549
2642
|
++this->num_alloc;
|
2550
2643
|
#endif
|
2551
|
-
this->
|
2644
|
+
this->priv_insert_forward_range_new_allocation
|
2552
2645
|
( new_mem, real_cap, ins_pos, 0, this->priv_dummy_empty_proxy());
|
2553
2646
|
}
|
2554
2647
|
}
|
2555
2648
|
}
|
2556
2649
|
|
2557
|
-
void priv_destroy_last(const bool moved = false) BOOST_NOEXCEPT_OR_NOTHROW
|
2558
|
-
{
|
2559
|
-
(void)moved;
|
2560
|
-
const bool skip_destructor = value_traits::trivial_dctr || (value_traits::trivial_dctr_after_move && moved);
|
2561
|
-
if(!skip_destructor){
|
2562
|
-
value_type* const p = this->priv_raw_end() - 1;
|
2563
|
-
allocator_traits_type::destroy(this->get_stored_allocator(), p);
|
2564
|
-
}
|
2565
|
-
--this->m_holder.m_size;
|
2566
|
-
}
|
2567
|
-
|
2568
2650
|
void priv_destroy_last_n(const size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
2569
2651
|
{
|
2570
2652
|
BOOST_ASSERT(n <= this->m_holder.m_size);
|
2571
|
-
|
2572
|
-
|
2573
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), destroy_pos, n);
|
2574
|
-
}
|
2575
|
-
this->m_holder.m_size -= n;
|
2653
|
+
boost::container::destroy_alloc_n(this->get_stored_allocator(), this->priv_raw_end() - n, n);
|
2654
|
+
this->m_holder.dec_stored_size(n);
|
2576
2655
|
}
|
2577
2656
|
|
2578
2657
|
template<class InpIt>
|
@@ -2580,7 +2659,7 @@ class vector
|
|
2580
2659
|
{
|
2581
2660
|
T* const old_end_pos = this->priv_raw_end();
|
2582
2661
|
T* const new_end_pos = boost::container::uninitialized_copy_alloc(this->m_holder.alloc(), first, last, old_end_pos);
|
2583
|
-
this->m_holder.
|
2662
|
+
this->m_holder.inc_stored_size(static_cast<size_type>(new_end_pos - old_end_pos));
|
2584
2663
|
}
|
2585
2664
|
|
2586
2665
|
void priv_destroy_all() BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -2591,57 +2670,32 @@ class vector
|
|
2591
2670
|
}
|
2592
2671
|
|
2593
2672
|
template<class U>
|
2594
|
-
iterator priv_insert(const const_iterator &p, BOOST_FWD_REF(U)
|
2673
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const const_iterator &p, BOOST_FWD_REF(U) u)
|
2595
2674
|
{
|
2596
|
-
|
2597
|
-
return this->priv_forward_range_insert
|
2598
|
-
( vector_iterator_get_ptr(p), 1, dtl::get_insert_value_proxy<T*, Allocator>(::boost::forward<U>(x)));
|
2675
|
+
return this->emplace(p, ::boost::forward<U>(u));
|
2599
2676
|
}
|
2600
2677
|
|
2601
|
-
dtl::insert_copy_proxy<Allocator, T*> priv_single_insert_proxy(const T &x)
|
2602
|
-
{ return dtl::insert_copy_proxy<Allocator, T*> (x); }
|
2603
|
-
|
2604
|
-
dtl::insert_move_proxy<Allocator, T*> priv_single_insert_proxy(BOOST_RV_REF(T) x)
|
2605
|
-
{ return dtl::insert_move_proxy<Allocator, T*> (x); }
|
2606
|
-
|
2607
2678
|
template <class U>
|
2608
|
-
void priv_push_back(BOOST_FWD_REF(U) u)
|
2679
|
+
BOOST_CONTAINER_FORCEINLINE void priv_push_back(BOOST_FWD_REF(U) u)
|
2609
2680
|
{
|
2610
|
-
|
2611
|
-
//There is more memory, just construct a new object at the end
|
2612
|
-
allocator_traits_type::construct
|
2613
|
-
( this->m_holder.alloc(), this->priv_raw_end(), ::boost::forward<U>(u) );
|
2614
|
-
++this->m_holder.m_size;
|
2615
|
-
}
|
2616
|
-
else{
|
2617
|
-
this->priv_forward_range_insert_no_capacity
|
2618
|
-
( this->back_ptr(), 1
|
2619
|
-
, this->priv_single_insert_proxy(::boost::forward<U>(u)), alloc_version());
|
2620
|
-
}
|
2681
|
+
this->emplace_back(::boost::forward<U>(u));
|
2621
2682
|
}
|
2622
2683
|
|
2623
|
-
|
2624
|
-
|
2684
|
+
//Overload to support compiler errors that instantiate too much
|
2685
|
+
BOOST_CONTAINER_FORCEINLINE void priv_push_back(::boost::move_detail::nat)
|
2686
|
+
{}
|
2625
2687
|
|
2626
|
-
BOOST_CONTAINER_FORCEINLINE
|
2627
|
-
{ return
|
2688
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const_iterator, ::boost::move_detail::nat)
|
2689
|
+
{ return iterator(); }
|
2628
2690
|
|
2629
|
-
BOOST_CONTAINER_FORCEINLINE dtl::
|
2630
|
-
{ return dtl::
|
2691
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_n_copies_proxy<allocator_type, T*> priv_resize_proxy(const T &x)
|
2692
|
+
{ return dtl::insert_n_copies_proxy<allocator_type, T*>(x); }
|
2631
2693
|
|
2632
|
-
|
2633
|
-
|
2634
|
-
|
2635
|
-
|
2636
|
-
|
2637
|
-
//Destroy last elements
|
2638
|
-
this->priv_destroy_last_n(sz - new_size);
|
2639
|
-
}
|
2640
|
-
else{
|
2641
|
-
const size_type n = new_size - this->size();
|
2642
|
-
this->priv_forward_range_insert_at_end(n, this->priv_resize_proxy(u), alloc_version());
|
2643
|
-
}
|
2644
|
-
}
|
2694
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_default_initialized_n_proxy<allocator_type, T*> priv_resize_proxy(default_init_t)
|
2695
|
+
{ return dtl::insert_default_initialized_n_proxy<allocator_type, T*>(); }
|
2696
|
+
|
2697
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_value_initialized_n_proxy<allocator_type, T*> priv_resize_proxy(value_init_t)
|
2698
|
+
{ return dtl::insert_value_initialized_n_proxy<allocator_type, T*>(); }
|
2645
2699
|
|
2646
2700
|
BOOST_CONTAINER_FORCEINLINE void priv_shrink_to_fit(version_0) BOOST_NOEXCEPT_OR_NOTHROW
|
2647
2701
|
{}
|
@@ -2652,22 +2706,13 @@ class vector
|
|
2652
2706
|
if(cp){
|
2653
2707
|
const size_type sz = this->size();
|
2654
2708
|
if(!sz){
|
2655
|
-
|
2709
|
+
if(BOOST_LIKELY(!!this->m_holder.m_start))
|
2710
|
+
this->m_holder.deallocate(this->m_holder.m_start, cp);
|
2656
2711
|
this->m_holder.m_start = pointer();
|
2657
2712
|
this->m_holder.m_capacity = 0;
|
2658
2713
|
}
|
2659
2714
|
else if(sz < cp){
|
2660
|
-
|
2661
|
-
//Pass the hint so that allocators can take advantage of this.
|
2662
|
-
pointer const p = this->m_holder.allocate(sz);
|
2663
|
-
|
2664
|
-
//We will reuse insert code, so create a dummy input iterator
|
2665
|
-
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2666
|
-
++this->num_alloc;
|
2667
|
-
#endif
|
2668
|
-
this->priv_forward_range_insert_new_allocation
|
2669
|
-
( boost::movelib::to_raw_pointer(p), sz
|
2670
|
-
, this->priv_raw_begin(), 0, this->priv_dummy_empty_proxy());
|
2715
|
+
this->priv_move_to_new_buffer(sz, alloc_version());
|
2671
2716
|
}
|
2672
2717
|
}
|
2673
2718
|
}
|
@@ -2678,7 +2723,8 @@ class vector
|
|
2678
2723
|
if(cp){
|
2679
2724
|
const size_type sz = this->size();
|
2680
2725
|
if(!sz){
|
2681
|
-
|
2726
|
+
if(BOOST_LIKELY(!!this->m_holder.m_start))
|
2727
|
+
this->m_holder.deallocate(this->m_holder.m_start, cp);
|
2682
2728
|
this->m_holder.m_start = pointer();
|
2683
2729
|
this->m_holder.m_capacity = 0;
|
2684
2730
|
}
|
@@ -2697,20 +2743,18 @@ class vector
|
|
2697
2743
|
}
|
2698
2744
|
|
2699
2745
|
template <class InsertionProxy>
|
2700
|
-
iterator
|
2701
|
-
(
|
2746
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert_forward_range_no_capacity
|
2747
|
+
(T * const, const size_type, const InsertionProxy , version_0)
|
2702
2748
|
{
|
2703
|
-
|
2704
|
-
return iterator(pos);
|
2749
|
+
return alloc_holder_t::on_capacity_overflow(), iterator();
|
2705
2750
|
}
|
2706
2751
|
|
2707
2752
|
template <class InsertionProxy>
|
2708
|
-
iterator
|
2709
|
-
(const
|
2753
|
+
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
|
2754
|
+
(T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_1)
|
2710
2755
|
{
|
2711
2756
|
//Check if we have enough memory or try to expand current memory
|
2712
|
-
const size_type n_pos =
|
2713
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2757
|
+
const size_type n_pos = static_cast<size_type>(raw_pos - this->priv_raw_begin());
|
2714
2758
|
|
2715
2759
|
const size_type new_cap = this->m_holder.template next_capacity<growth_factor_type>(n);
|
2716
2760
|
//Pass the hint so that allocators can take advantage of this.
|
@@ -2718,25 +2762,23 @@ class vector
|
|
2718
2762
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2719
2763
|
++this->num_alloc;
|
2720
2764
|
#endif
|
2721
|
-
this->
|
2722
|
-
|
2723
|
-
return iterator(this->m_holder.start() + n_pos);
|
2765
|
+
this->priv_insert_forward_range_new_allocation(new_buf, new_cap, raw_pos, n, insert_range_proxy);
|
2766
|
+
return iterator(this->m_holder.start() + difference_type(n_pos));
|
2724
2767
|
}
|
2725
2768
|
|
2726
2769
|
template <class InsertionProxy>
|
2727
|
-
iterator
|
2728
|
-
(const
|
2770
|
+
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
|
2771
|
+
(T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_2)
|
2729
2772
|
{
|
2730
2773
|
//Check if we have enough memory or try to expand current memory
|
2731
|
-
|
2732
|
-
const size_type n_pos = raw_pos - this->priv_raw_begin();
|
2774
|
+
const size_type n_pos = size_type(raw_pos - this->priv_raw_begin());
|
2733
2775
|
|
2734
2776
|
//There is not enough memory, allocate a new
|
2735
2777
|
//buffer or expand the old one.
|
2736
2778
|
size_type real_cap = this->m_holder.template next_capacity<growth_factor_type>(n);
|
2737
2779
|
pointer reuse(this->m_holder.start());
|
2738
2780
|
pointer const ret (this->m_holder.allocation_command
|
2739
|
-
(allocate_new | expand_fwd | expand_bwd, this->m_holder.m_size + n, real_cap, reuse));
|
2781
|
+
(allocate_new | expand_fwd | expand_bwd, size_type(this->m_holder.m_size + n), real_cap, reuse));
|
2740
2782
|
|
2741
2783
|
//Buffer reallocated
|
2742
2784
|
if(reuse){
|
@@ -2747,14 +2789,15 @@ class vector
|
|
2747
2789
|
#endif
|
2748
2790
|
this->m_holder.capacity(real_cap);
|
2749
2791
|
//Expand forward
|
2750
|
-
this->
|
2792
|
+
this->priv_insert_forward_range_expand_forward
|
2793
|
+
(raw_pos, n, insert_range_proxy, dtl::bool_<dtl::is_single_value_proxy<InsertionProxy>::value>());
|
2751
2794
|
}
|
2752
2795
|
//Backwards (and possibly forward) expansion
|
2753
2796
|
else{
|
2754
2797
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2755
2798
|
++this->num_expand_bwd;
|
2756
2799
|
#endif
|
2757
|
-
this->
|
2800
|
+
this->priv_insert_forward_range_expand_backwards
|
2758
2801
|
(boost::movelib::to_raw_pointer(ret), real_cap, raw_pos, n, insert_range_proxy);
|
2759
2802
|
}
|
2760
2803
|
}
|
@@ -2763,54 +2806,61 @@ class vector
|
|
2763
2806
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2764
2807
|
++this->num_alloc;
|
2765
2808
|
#endif
|
2766
|
-
this->
|
2809
|
+
this->priv_insert_forward_range_new_allocation
|
2767
2810
|
( boost::movelib::to_raw_pointer(ret), real_cap, raw_pos, n, insert_range_proxy);
|
2768
2811
|
}
|
2769
2812
|
|
2770
|
-
return iterator(this->m_holder.start() + n_pos);
|
2813
|
+
return iterator(this->m_holder.start() + (difference_type)(n_pos));
|
2771
2814
|
}
|
2772
2815
|
|
2773
2816
|
template <class InsertionProxy>
|
2774
|
-
iterator
|
2817
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert_forward_range
|
2775
2818
|
(const pointer &pos, const size_type n, const InsertionProxy insert_range_proxy)
|
2776
2819
|
{
|
2777
2820
|
BOOST_ASSERT(this->m_holder.capacity() >= this->m_holder.m_size);
|
2821
|
+
T *const p = boost::movelib::to_raw_pointer(pos);
|
2778
2822
|
//Check if we have enough memory or try to expand current memory
|
2779
|
-
|
2780
|
-
|
2781
|
-
|
2782
|
-
|
2783
|
-
return
|
2823
|
+
if (BOOST_LIKELY(n <= (this->m_holder.capacity() - this->m_holder.m_size))){
|
2824
|
+
//Expand forward
|
2825
|
+
this->priv_insert_forward_range_expand_forward
|
2826
|
+
(p, n, insert_range_proxy, dtl::bool_<dtl::is_single_value_proxy<InsertionProxy>::value>());
|
2827
|
+
return iterator(pos);
|
2784
2828
|
}
|
2785
2829
|
else{
|
2786
|
-
|
2787
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2788
|
-
const size_type n_pos = raw_pos - this->priv_raw_begin();
|
2789
|
-
this->priv_forward_range_insert_expand_forward(raw_pos, n, insert_range_proxy);
|
2790
|
-
return iterator(this->m_holder.start() + n_pos);
|
2830
|
+
return this->priv_insert_forward_range_no_capacity(p, n, insert_range_proxy, alloc_version());
|
2791
2831
|
}
|
2792
2832
|
}
|
2793
2833
|
|
2794
|
-
template <class
|
2795
|
-
|
2796
|
-
(const size_type n, const InsertionProxy insert_range_proxy, version_0)
|
2834
|
+
template <class U>
|
2835
|
+
void priv_resize(const size_type new_size, const U &u, version_0)
|
2797
2836
|
{
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
if (n > remaining){
|
2837
|
+
const size_type sz = this->m_holder.m_size;
|
2838
|
+
if (new_size > this->capacity()){
|
2802
2839
|
//This will trigger an error
|
2803
|
-
|
2840
|
+
alloc_holder_t::on_capacity_overflow();
|
2841
|
+
}
|
2842
|
+
else if (new_size < sz){
|
2843
|
+
//Destroy last elements
|
2844
|
+
this->priv_destroy_last_n(sz - new_size);
|
2845
|
+
}
|
2846
|
+
else{
|
2847
|
+
T* const old_finish = this->priv_raw_end();
|
2848
|
+
this->priv_resize_proxy(u).uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, new_size - sz);
|
2849
|
+
this->m_holder.set_stored_size(new_size);
|
2804
2850
|
}
|
2805
|
-
this->priv_forward_range_insert_at_end_expand_forward(n, insert_range_proxy);
|
2806
|
-
return this->end();
|
2807
2851
|
}
|
2808
2852
|
|
2809
|
-
template <class
|
2810
|
-
|
2811
|
-
(const size_type n, const InsertionProxy insert_range_proxy, AllocVersion)
|
2853
|
+
template <class U, class AllocVersion>
|
2854
|
+
void priv_resize(const size_type new_size, const U &u, AllocVersion)
|
2812
2855
|
{
|
2813
|
-
|
2856
|
+
const size_type sz = this->m_holder.m_size;
|
2857
|
+
if (new_size < sz){
|
2858
|
+
//Destroy last elements
|
2859
|
+
this->priv_destroy_last_n(size_type(sz - new_size));
|
2860
|
+
}
|
2861
|
+
else {
|
2862
|
+
this->priv_insert_forward_range(this->back_ptr(), size_type(new_size - sz), this->priv_resize_proxy(u));
|
2863
|
+
}
|
2814
2864
|
}
|
2815
2865
|
|
2816
2866
|
//Takes the range pointed by [first_pos, last_pos) and shifts it to the right
|
@@ -2885,7 +2935,9 @@ class vector
|
|
2885
2935
|
//All uninitialized_moved
|
2886
2936
|
::boost::container::uninitialized_move_alloc
|
2887
2937
|
(this->m_holder.alloc(), first_ptr, last_ptr, first_ptr + shift_count);
|
2888
|
-
|
2938
|
+
//Cast in case size_type is narrower than int, promotions are applied
|
2939
|
+
//and Wconversion is in place
|
2940
|
+
hole_size = static_cast<size_type>(first_pos + shift_count - limit_pos);
|
2889
2941
|
}
|
2890
2942
|
//Case C:
|
2891
2943
|
else{
|
@@ -2906,103 +2958,69 @@ class vector
|
|
2906
2958
|
BOOST_CONTAINER_FORCEINLINE T* priv_raw_end() const
|
2907
2959
|
{ return this->priv_raw_begin() + this->m_holder.m_size; }
|
2908
2960
|
|
2909
|
-
template <class InsertionProxy>
|
2910
|
-
void
|
2961
|
+
template <class InsertionProxy> //inline single-element version as it is significantly smaller
|
2962
|
+
BOOST_CONTAINER_FORCEINLINE void priv_insert_forward_range_expand_forward
|
2963
|
+
(T* const raw_pos, const size_type, InsertionProxy insert_range_proxy, dtl::true_type)
|
2911
2964
|
{
|
2912
|
-
|
2913
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n);
|
2914
|
-
this->m_holder.m_size += n;
|
2915
|
-
}
|
2916
|
-
|
2917
|
-
template <class InsertionProxy>
|
2918
|
-
void priv_forward_range_insert_expand_forward(T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
2919
|
-
{
|
2920
|
-
//n can't be 0, because there is nothing to do in that case
|
2921
|
-
if(BOOST_UNLIKELY(!n)) return;
|
2965
|
+
BOOST_ASSERT(this->room_enough());
|
2922
2966
|
//There is enough memory
|
2923
2967
|
T* const old_finish = this->priv_raw_end();
|
2924
|
-
|
2968
|
+
allocator_type & a = this->m_holder.alloc();
|
2925
2969
|
|
2926
|
-
if (
|
2927
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
2928
|
-
this->m_holder.m_size
|
2970
|
+
if (old_finish == raw_pos){
|
2971
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, old_finish, 1);
|
2972
|
+
++this->m_holder.m_size;
|
2929
2973
|
}
|
2930
|
-
else
|
2974
|
+
else{
|
2931
2975
|
//New elements can be just copied.
|
2932
2976
|
//Move to uninitialized memory last objects
|
2933
|
-
|
2934
|
-
|
2935
|
-
|
2977
|
+
T * const before_old_finish = old_finish-1;
|
2978
|
+
|
2979
|
+
allocator_traits_type::construct(a, old_finish, ::boost::move(*before_old_finish));
|
2980
|
+
++this->m_holder.m_size;
|
2936
2981
|
//Copy previous to last objects to the initialized end
|
2937
|
-
boost::container::move_backward(
|
2938
|
-
//Insert new objects in the
|
2939
|
-
insert_range_proxy.copy_n_and_update(
|
2940
|
-
}
|
2941
|
-
else {
|
2942
|
-
//The new elements don't fit in the [pos, end()) range.
|
2943
|
-
|
2944
|
-
//Copy old [pos, end()) elements to the uninitialized memory (a gap is created)
|
2945
|
-
::boost::container::uninitialized_move_alloc(this->m_holder.alloc(), pos, old_finish, pos + n);
|
2946
|
-
BOOST_TRY{
|
2947
|
-
//Copy first new elements in pos (gap is still there)
|
2948
|
-
insert_range_proxy.copy_n_and_update(this->m_holder.alloc(), pos, elems_after);
|
2949
|
-
//Copy to the beginning of the unallocated zone the last new elements (the gap is closed).
|
2950
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n - elems_after);
|
2951
|
-
this->m_holder.m_size += n;
|
2952
|
-
}
|
2953
|
-
BOOST_CATCH(...){
|
2954
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), pos + n, elems_after);
|
2955
|
-
BOOST_RETHROW
|
2956
|
-
}
|
2957
|
-
BOOST_CATCH_END
|
2982
|
+
boost::container::move_backward(raw_pos, before_old_finish, old_finish);
|
2983
|
+
//Insert new objects in the raw_pos
|
2984
|
+
insert_range_proxy.copy_n_and_update(a, raw_pos, 1);
|
2958
2985
|
}
|
2959
2986
|
}
|
2960
2987
|
|
2961
2988
|
template <class InsertionProxy>
|
2962
|
-
void
|
2989
|
+
BOOST_CONTAINER_FORCEINLINE void priv_insert_forward_range_expand_forward(T* const raw_pos, const size_type n, InsertionProxy insert_range_proxy, dtl::false_type)
|
2990
|
+
{
|
2991
|
+
//There is enough memory
|
2992
|
+
boost::container::expand_forward_and_insert_alloc
|
2993
|
+
( this->m_holder.alloc(), raw_pos, this->priv_raw_end(), n, insert_range_proxy);
|
2994
|
+
this->m_holder.inc_stored_size(n);
|
2995
|
+
}
|
2996
|
+
|
2997
|
+
template <class InsertionProxy>
|
2998
|
+
void priv_insert_forward_range_new_allocation
|
2963
2999
|
(T* const new_start, size_type new_cap, T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
2964
3000
|
{
|
2965
3001
|
//n can be zero, if we want to reallocate!
|
2966
|
-
|
2967
|
-
T *
|
2968
|
-
|
2969
|
-
typename value_traits::ArrayDeallocator new_buffer_deallocator(new_start,
|
2970
|
-
|
2971
|
-
|
2972
|
-
|
2973
|
-
|
2974
|
-
|
2975
|
-
if(
|
2976
|
-
|
2977
|
-
(this->m_holder.
|
2978
|
-
new_values_destroyer.increment_size(new_finish - old_finish);
|
2979
|
-
}
|
2980
|
-
//Initialize new objects, starting from previous point
|
2981
|
-
old_finish = new_finish;
|
2982
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n);
|
2983
|
-
new_finish += n;
|
2984
|
-
new_values_destroyer.increment_size(new_finish - old_finish);
|
2985
|
-
//Initialize from the rest of the old buffer,
|
2986
|
-
//starting from previous point
|
2987
|
-
if(old_buffer){
|
2988
|
-
new_finish = ::boost::container::uninitialized_move_alloc
|
2989
|
-
(this->m_holder.alloc(), pos, old_buffer + this->m_holder.m_size, new_finish);
|
2990
|
-
//Destroy and deallocate old elements
|
2991
|
-
//If there is allocated memory, destroy and deallocate
|
2992
|
-
if(!value_traits::trivial_dctr_after_move)
|
2993
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), old_buffer, this->m_holder.m_size);
|
3002
|
+
allocator_type &a = this->m_holder.alloc();
|
3003
|
+
T * const raw_old_buffer = this->priv_raw_begin();
|
3004
|
+
|
3005
|
+
typename value_traits::ArrayDeallocator new_buffer_deallocator(new_start, a, new_cap);
|
3006
|
+
boost::container::uninitialized_move_and_insert_alloc
|
3007
|
+
(a, raw_old_buffer, pos, this->priv_raw_end(), new_start, n, insert_range_proxy);
|
3008
|
+
new_buffer_deallocator.release();
|
3009
|
+
|
3010
|
+
//Destroy and deallocate old elements
|
3011
|
+
if(raw_old_buffer){
|
3012
|
+
BOOST_IF_CONSTEXPR(!has_trivial_destructor_after_move<value_type>::value)
|
3013
|
+
boost::container::destroy_alloc_n(a, raw_old_buffer, this->m_holder.m_size);
|
2994
3014
|
this->m_holder.deallocate(this->m_holder.start(), this->m_holder.capacity());
|
2995
3015
|
}
|
3016
|
+
|
2996
3017
|
this->m_holder.start(new_start);
|
2997
|
-
this->m_holder.
|
3018
|
+
this->m_holder.inc_stored_size(n);
|
2998
3019
|
this->m_holder.capacity(new_cap);
|
2999
|
-
//All construction successful, disable rollbacks
|
3000
|
-
new_values_destroyer.release();
|
3001
|
-
new_buffer_deallocator.release();
|
3002
3020
|
}
|
3003
3021
|
|
3004
3022
|
template <class InsertionProxy>
|
3005
|
-
void
|
3023
|
+
void priv_insert_forward_range_expand_backwards
|
3006
3024
|
(T* const new_start, const size_type new_capacity,
|
3007
3025
|
T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
3008
3026
|
{
|
@@ -3011,29 +3029,32 @@ class vector
|
|
3011
3029
|
T* const old_start = this->priv_raw_begin();
|
3012
3030
|
const size_type old_size = this->m_holder.m_size;
|
3013
3031
|
T* const old_finish = old_start + old_size;
|
3014
|
-
|
3015
|
-
//We can have 8 possibilities:
|
3016
|
-
const size_type elemsbefore = static_cast<size_type>(pos - old_start);
|
3017
|
-
const size_type s_before = static_cast<size_type>(old_start - new_start);
|
3018
|
-
const size_type before_plus_new = elemsbefore + n;
|
3032
|
+
allocator_type &a = this->m_holder.alloc();
|
3019
3033
|
|
3020
3034
|
//Update the vector buffer information to a safe state
|
3021
3035
|
this->m_holder.start(new_start);
|
3022
3036
|
this->m_holder.capacity(new_capacity);
|
3023
3037
|
this->m_holder.m_size = 0;
|
3024
3038
|
|
3039
|
+
//We can have 8 possibilities:
|
3040
|
+
const size_type elemsbefore = static_cast<size_type>(pos - old_start);
|
3041
|
+
const size_type s_before = static_cast<size_type>(old_start - new_start);
|
3042
|
+
const size_type before_plus_new = size_type(elemsbefore + n);
|
3043
|
+
|
3044
|
+
typedef typename value_traits::ArrayDestructor array_destructor_t;
|
3045
|
+
|
3025
3046
|
//If anything goes wrong, this object will destroy
|
3026
3047
|
//all the old objects to fulfill previous vector state
|
3027
|
-
|
3048
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
3028
3049
|
//Check if s_before is big enough to hold the beginning of old data + new data
|
3029
3050
|
if(s_before >= before_plus_new){
|
3030
3051
|
//Copy first old values before pos, after that the new objects
|
3031
3052
|
T *const new_elem_pos =
|
3032
|
-
::boost::container::uninitialized_move_alloc(
|
3033
|
-
this->m_holder.
|
3034
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3035
|
-
this->m_holder.
|
3036
|
-
const size_type new_size = old_size + n;
|
3053
|
+
::boost::container::uninitialized_move_alloc(a, old_start, pos, new_start);
|
3054
|
+
this->m_holder.set_stored_size(elemsbefore);
|
3055
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, new_elem_pos, n);
|
3056
|
+
this->m_holder.set_stored_size(before_plus_new);
|
3057
|
+
const size_type new_size = size_type(old_size + n);
|
3037
3058
|
//Check if s_before is so big that even copying the old data + new data
|
3038
3059
|
//there is a gap between the new data and the old data
|
3039
3060
|
if(s_before >= new_size){
|
@@ -3049,15 +3070,14 @@ class vector
|
|
3049
3070
|
//
|
3050
3071
|
//Now initialize the rest of memory with the last old values
|
3051
3072
|
if(before_plus_new != new_size){ //Special case to avoid operations in back insertion
|
3052
|
-
::boost::container::uninitialized_move_alloc
|
3053
|
-
(this->m_holder.alloc(), pos, old_finish, new_start + before_plus_new);
|
3073
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, new_start + before_plus_new);
|
3054
3074
|
//All new elements correctly constructed, avoid new element destruction
|
3055
|
-
this->m_holder.
|
3075
|
+
this->m_holder.set_stored_size(new_size);
|
3056
3076
|
}
|
3057
3077
|
//Old values destroyed automatically with "old_values_destroyer"
|
3058
3078
|
//when "old_values_destroyer" goes out of scope unless the have trivial
|
3059
3079
|
//destructor after move.
|
3060
|
-
|
3080
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move)
|
3061
3081
|
old_values_destroyer.release();
|
3062
3082
|
}
|
3063
3083
|
//s_before is so big that divides old_end
|
@@ -3074,30 +3094,29 @@ class vector
|
|
3074
3094
|
//
|
3075
3095
|
//Now initialize the rest of memory with the last old values
|
3076
3096
|
//All new elements correctly constructed, avoid new element destruction
|
3077
|
-
|
3078
|
-
|
3097
|
+
BOOST_IF_CONSTEXPR(!value_traits::trivial_dctr){
|
3098
|
+
const size_type raw_gap = s_before - before_plus_new;
|
3079
3099
|
//Now initialize the rest of s_before memory with the
|
3080
3100
|
//first of elements after new values
|
3081
|
-
::boost::container::uninitialized_move_alloc_n
|
3082
|
-
(this->m_holder.alloc(), pos, raw_gap, new_start + before_plus_new);
|
3101
|
+
::boost::container::uninitialized_move_alloc_n(a, pos, raw_gap, new_start + before_plus_new);
|
3083
3102
|
//Now we have a contiguous buffer so program trailing element destruction
|
3084
3103
|
//and update size to the final size.
|
3085
3104
|
old_values_destroyer.shrink_forward(new_size-s_before);
|
3086
|
-
this->m_holder.
|
3105
|
+
this->m_holder.set_stored_size(new_size);
|
3087
3106
|
//Now move remaining last objects in the old buffer begin
|
3088
3107
|
T * const remaining_pos = pos + raw_gap;
|
3089
3108
|
if(remaining_pos != old_start){ //Make sure data has to be moved
|
3090
3109
|
::boost::container::move(remaining_pos, old_finish, old_start);
|
3091
3110
|
}
|
3092
3111
|
//Once moved, avoid calling the destructors if trivial after move
|
3093
|
-
|
3112
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move){
|
3094
3113
|
old_values_destroyer.release();
|
3095
3114
|
}
|
3096
3115
|
}
|
3097
3116
|
else{ //If trivial destructor, we can uninitialized copy + copy in a single uninitialized copy
|
3098
3117
|
::boost::container::uninitialized_move_alloc_n
|
3099
|
-
(
|
3100
|
-
this->m_holder.
|
3118
|
+
(a, pos, static_cast<size_type>(old_finish - pos), new_start + before_plus_new);
|
3119
|
+
this->m_holder.set_stored_size(new_size);
|
3101
3120
|
old_values_destroyer.release();
|
3102
3121
|
}
|
3103
3122
|
}
|
@@ -3151,8 +3170,7 @@ class vector
|
|
3151
3170
|
//|___________|_____|_________|_____________________|
|
3152
3171
|
//
|
3153
3172
|
//Copy the first part of old_begin to raw_mem
|
3154
|
-
::boost::container::uninitialized_move_alloc_n
|
3155
|
-
(this->m_holder.alloc(), old_start, s_before, new_start);
|
3173
|
+
::boost::container::uninitialized_move_alloc_n(a, old_start, s_before, new_start);
|
3156
3174
|
//The buffer is all constructed until old_end,
|
3157
3175
|
//so program trailing destruction and assign final size
|
3158
3176
|
//if !do_after, s_before+n otherwise.
|
@@ -3164,17 +3182,18 @@ class vector
|
|
3164
3182
|
}
|
3165
3183
|
else{
|
3166
3184
|
new_1st_range = n;
|
3167
|
-
|
3185
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move){
|
3168
3186
|
old_values_destroyer.release();
|
3187
|
+
}
|
3169
3188
|
else{
|
3170
3189
|
old_values_destroyer.shrink_forward(old_size - (s_before - n));
|
3171
3190
|
}
|
3172
3191
|
}
|
3173
|
-
this->m_holder.
|
3192
|
+
this->m_holder.set_stored_size(size_type(old_size + new_1st_range));
|
3174
3193
|
//Now copy the second part of old_begin overwriting itself
|
3175
3194
|
T *const next = ::boost::container::move(old_start + s_before, pos, old_start);
|
3176
3195
|
//Now copy the new_beg elements
|
3177
|
-
insert_range_proxy.copy_n_and_update(
|
3196
|
+
insert_range_proxy.copy_n_and_update(a, next, new_1st_range);
|
3178
3197
|
|
3179
3198
|
//If there is no after work and the last old part needs to be moved to front, do it
|
3180
3199
|
if(!do_after && (n != s_before)){
|
@@ -3210,33 +3229,37 @@ class vector
|
|
3210
3229
|
//
|
3211
3230
|
//First copy whole old_begin and part of new to raw_mem
|
3212
3231
|
T * const new_pos = ::boost::container::uninitialized_move_alloc
|
3213
|
-
(
|
3214
|
-
this->m_holder.
|
3215
|
-
const size_type mid_n = s_before - elemsbefore;
|
3216
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3232
|
+
(a, old_start, pos, new_start);
|
3233
|
+
this->m_holder.set_stored_size(elemsbefore);
|
3234
|
+
const size_type mid_n = size_type(s_before - elemsbefore);
|
3235
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, new_pos, mid_n);
|
3217
3236
|
//The buffer is all constructed until old_end,
|
3218
3237
|
//release destroyer
|
3219
|
-
this->m_holder.
|
3238
|
+
this->m_holder.set_stored_size(size_type(old_size + s_before));
|
3220
3239
|
old_values_destroyer.release();
|
3221
3240
|
|
3222
3241
|
if(do_after){
|
3223
3242
|
//Copy new_beg part
|
3224
|
-
insert_range_proxy.copy_n_and_update(
|
3243
|
+
insert_range_proxy.copy_n_and_update(a, old_start, elemsbefore);
|
3225
3244
|
}
|
3226
3245
|
else{
|
3227
3246
|
//Copy all new elements
|
3228
|
-
const size_type rest_new = n - mid_n;
|
3229
|
-
insert_range_proxy.copy_n_and_update(
|
3247
|
+
const size_type rest_new = size_type(n - mid_n);
|
3248
|
+
insert_range_proxy.copy_n_and_update(a, old_start, rest_new);
|
3249
|
+
|
3230
3250
|
T* const move_start = old_start + rest_new;
|
3231
3251
|
//Displace old_end, but make sure data has to be moved
|
3232
3252
|
T* const move_end = move_start != pos ? ::boost::container::move(pos, old_finish, move_start)
|
3233
3253
|
: old_finish;
|
3254
|
+
(void)move_end; //To avoid warnings of unused initialization for move_end in case
|
3255
|
+
//trivial_dctr_after_move is true
|
3234
3256
|
//Destroy remaining moved elements from old_end except if they
|
3235
3257
|
//have trivial destructor after being moved
|
3236
|
-
size_type n_destroy = s_before - n;
|
3237
|
-
|
3238
|
-
boost::container::destroy_alloc_n(
|
3239
|
-
|
3258
|
+
const size_type n_destroy = size_type(s_before - n);
|
3259
|
+
BOOST_IF_CONSTEXPR(!value_traits::trivial_dctr_after_move){
|
3260
|
+
boost::container::destroy_alloc_n(a, move_end, n_destroy);
|
3261
|
+
}
|
3262
|
+
this->m_holder.dec_stored_size(n_destroy);
|
3240
3263
|
}
|
3241
3264
|
}
|
3242
3265
|
|
@@ -3259,8 +3282,8 @@ class vector
|
|
3259
3282
|
//| old_begin + new | old_end |raw |
|
3260
3283
|
//|_______________________________________|_________|____|
|
3261
3284
|
//
|
3262
|
-
const size_type n_after = n - s_before;
|
3263
|
-
const size_type elemsafter = old_size - elemsbefore;
|
3285
|
+
const size_type n_after = size_type(n - s_before);
|
3286
|
+
const size_type elemsafter = size_type(old_size - elemsbefore);
|
3264
3287
|
|
3265
3288
|
//We can have two situations:
|
3266
3289
|
if (elemsafter >= n_after){
|
@@ -3278,14 +3301,13 @@ class vector
|
|
3278
3301
|
//
|
3279
3302
|
//First copy the part of old_end raw_mem
|
3280
3303
|
T* finish_n = old_finish - n_after;
|
3281
|
-
::boost::container::uninitialized_move_alloc
|
3282
|
-
|
3283
|
-
this->m_holder.m_size += n_after;
|
3304
|
+
::boost::container::uninitialized_move_alloc(a, finish_n, old_finish, old_finish);
|
3305
|
+
this->m_holder.inc_stored_size(n_after);
|
3284
3306
|
//Displace the rest of old_end to the new position
|
3285
3307
|
boost::container::move_backward(pos, finish_n, old_finish);
|
3286
3308
|
//Now overwrite with new_end
|
3287
3309
|
//The new_end part is [first + (n - n_after), last)
|
3288
|
-
insert_range_proxy.copy_n_and_update(
|
3310
|
+
insert_range_proxy.copy_n_and_update(a, pos, n_after);
|
3289
3311
|
}
|
3290
3312
|
else {
|
3291
3313
|
//The raw_mem from end will divide new_end part
|
@@ -3299,23 +3321,20 @@ class vector
|
|
3299
3321
|
// _____________________________________________________________
|
3300
3322
|
//| old_begin + new_beg | new_end |old_end | raw_mem |
|
3301
3323
|
//|__________________________|_______________|________|_________|
|
3302
|
-
//
|
3303
3324
|
|
3304
|
-
const size_type mid_last_dist = n_after - elemsafter;
|
3305
3325
|
//First initialize data in raw memory
|
3326
|
+
const size_type mid_last_dist = size_type(n_after - elemsafter);
|
3306
3327
|
|
3307
3328
|
//Copy to the old_end part to the uninitialized zone leaving a gap.
|
3308
|
-
::boost::container::uninitialized_move_alloc
|
3309
|
-
(this->m_holder.alloc(), pos, old_finish, old_finish + mid_last_dist);
|
3329
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, old_finish + mid_last_dist);
|
3310
3330
|
|
3311
|
-
|
3312
|
-
(old_finish + mid_last_dist, this->m_holder.alloc(), old_finish - pos);
|
3331
|
+
array_destructor_t old_end_destroyer(old_finish + mid_last_dist, a, static_cast<size_type>(old_finish - pos));
|
3313
3332
|
|
3314
3333
|
//Copy the first part to the already constructed old_end zone
|
3315
|
-
insert_range_proxy.copy_n_and_update(
|
3334
|
+
insert_range_proxy.copy_n_and_update(a, pos, elemsafter);
|
3316
3335
|
//Copy the rest to the uninitialized zone filling the gap
|
3317
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3318
|
-
this->m_holder.
|
3336
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, old_finish, mid_last_dist);
|
3337
|
+
this->m_holder.inc_stored_size(n_after);
|
3319
3338
|
old_end_destroyer.release();
|
3320
3339
|
}
|
3321
3340
|
}
|
@@ -3352,6 +3371,19 @@ class vector
|
|
3352
3371
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
3353
3372
|
};
|
3354
3373
|
|
3374
|
+
#ifndef BOOST_CONTAINER_NO_CXX17_CTAD
|
3375
|
+
|
3376
|
+
template <typename InputIterator>
|
3377
|
+
vector(InputIterator, InputIterator) ->
|
3378
|
+
vector<typename iter_value<InputIterator>::type>;
|
3379
|
+
|
3380
|
+
template <typename InputIterator, typename Allocator>
|
3381
|
+
vector(InputIterator, InputIterator, Allocator const&) ->
|
3382
|
+
vector<typename iter_value<InputIterator>::type, Allocator>;
|
3383
|
+
|
3384
|
+
#endif
|
3385
|
+
|
3386
|
+
|
3355
3387
|
}} //namespace boost::container
|
3356
3388
|
|
3357
3389
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -3360,16 +3392,31 @@ namespace boost {
|
|
3360
3392
|
|
3361
3393
|
//!has_trivial_destructor_after_move<> == true_type
|
3362
3394
|
//!specialization for optimizations
|
3363
|
-
template <class T, class Allocator>
|
3364
|
-
struct has_trivial_destructor_after_move<boost::container::vector<T, Allocator> >
|
3395
|
+
template <class T, class Allocator, class Options>
|
3396
|
+
struct has_trivial_destructor_after_move<boost::container::vector<T, Allocator, Options> >
|
3365
3397
|
{
|
3366
|
-
typedef typename
|
3367
|
-
|
3398
|
+
typedef typename boost::container::vector<T, Allocator, Options>::allocator_type allocator_type;
|
3399
|
+
typedef typename ::boost::container::allocator_traits<allocator_type>::pointer pointer;
|
3400
|
+
static const bool value = ::boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
3368
3401
|
::boost::has_trivial_destructor_after_move<pointer>::value;
|
3369
3402
|
};
|
3370
3403
|
|
3371
3404
|
}
|
3372
3405
|
|
3406
|
+
//See comments on vec_iterator::element_type to know why is this needed
|
3407
|
+
#ifdef BOOST_GNU_STDLIB
|
3408
|
+
|
3409
|
+
BOOST_MOVE_STD_NS_BEG
|
3410
|
+
|
3411
|
+
template <class Pointer, bool IsConst>
|
3412
|
+
struct pointer_traits< boost::container::vec_iterator<Pointer, IsConst> >
|
3413
|
+
: public boost::intrusive::pointer_traits< boost::container::vec_iterator<Pointer, IsConst> >
|
3414
|
+
{};
|
3415
|
+
|
3416
|
+
BOOST_MOVE_STD_NS_END
|
3417
|
+
|
3418
|
+
#endif //BOOST_GNU_STDLIB
|
3419
|
+
|
3373
3420
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
3374
3421
|
|
3375
3422
|
#include <boost/container/detail/config_end.hpp>
|