passenger 6.0.6 → 6.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +99 -1
- data/CONTRIBUTING.md +1 -1
- data/CONTRIBUTORS +8 -0
- data/README.md +2 -9
- data/bin/passenger-memory-stats +65 -12
- data/build/common_library.rb +4 -4
- data/build/packaging.rb +4 -2
- data/build/support/cxx_dependency_map.rb +1 -0
- data/dev/copy_boost_headers +1 -1
- data/passenger.gemspec +1 -1
- 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 +1 -1
- data/resources/templates/error_renderer/with_details/src/GetHelpView.jsx +1 -1
- data/resources/templates/standalone/global.erb +4 -0
- data/resources/templates/standalone/rails_asset_pipeline.erb +1 -1
- data/src/agent/Core/AdminPanelConnector.h +1 -1
- data/src/agent/Core/ApplicationPool/Group.h +1 -1
- 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/StateInspection.cpp +1 -0
- data/src/agent/Core/ApplicationPool/Implementation.cpp +0 -1
- data/src/agent/Core/ApplicationPool/Options.h +11 -2
- data/src/agent/Core/ApplicationPool/Pool.h +1 -1
- data/src/agent/Core/ApplicationPool/Pool/ProcessUtils.cpp +1 -1
- data/src/agent/Core/Config.h +3 -2
- data/src/agent/Core/Controller/Config.h +6 -2
- data/src/agent/Core/Controller/InitRequest.cpp +2 -0
- data/src/agent/Core/SpawningKit/Config.h +11 -0
- data/src/agent/Core/SpawningKit/Config/AutoGeneratedCode.h +13 -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/PipeWatcher.h +1 -1
- data/src/agent/Core/SpawningKit/SmartSpawner.h +1 -1
- data/src/agent/Core/SpawningKit/Spawner.h +2 -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/Watchdog/Config.h +2 -1
- data/src/agent/Watchdog/InstanceDirToucher.cpp +1 -1
- data/src/agent/Watchdog/WatchdogMain.cpp +1 -1
- data/src/apache2_module/Config.cpp +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +37 -27
- data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +10 -0
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +26 -1
- data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +10 -0
- data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +6 -0
- data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +26 -0
- data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +14 -0
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +36 -2
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
- data/src/cxx_supportlib/BackgroundEventLoop.cpp +1 -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 +4 -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/MessageIO.h +1 -1
- data/src/cxx_supportlib/SafeLibev.h +1 -1
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -1
- data/src/cxx_supportlib/StaticString.h +2 -0
- data/src/cxx_supportlib/SystemTools/ProcessMetricsCollector.h +1 -1
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/WebSocketCommandReverseServer.h +9 -12
- data/src/cxx_supportlib/oxt/dynamic_thread_group.hpp +5 -1
- data/src/cxx_supportlib/oxt/thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/changelog.md +107 -5
- data/src/cxx_supportlib/vendor-copy/websocketpp/readme.md +2 -2
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/close.hpp +12 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/asio.hpp +13 -3
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/memory.hpp +0 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/common/thread.hpp +6 -2
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/config/core.hpp +13 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/connection.hpp +6 -15
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/endpoint.hpp +24 -24
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +1 -0
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +84 -19
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/frame.hpp +3 -0
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/http/impl/parser.hpp +4 -0
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/http/parser.hpp +10 -0
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/impl/connection_impl.hpp +150 -147
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/impl/endpoint_impl.hpp +4 -4
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/processors/base.hpp +1 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/processors/hybi13.hpp +47 -25
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/roles/client_endpoint.hpp +3 -3
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/roles/server_endpoint.hpp +14 -9
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/sha1/sha1.hpp +189 -189
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/connection.hpp +59 -66
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/endpoint.hpp +73 -38
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/security/none.hpp +9 -7
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/asio/security/tls.hpp +12 -22
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/base/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/debug/connection.hpp +11 -11
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/debug/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/iostream/connection.hpp +13 -13
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/iostream/endpoint.hpp +3 -3
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/transport/stub/connection.hpp +8 -8
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/uri.hpp +1 -0
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/utilities.hpp +2 -4
- data/src/cxx_supportlib/vendor-copy/websocketpp/websocketpp/version.hpp +3 -3
- 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/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/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/array.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +47 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +302 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +2 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +39 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +426 -65
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +135 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +440 -257
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +178 -113
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +441 -257
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +293 -143
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +315 -96
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +245 -60
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +365 -227
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +983 -461
- 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_socket.hpp +336 -197
- 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 +221 -115
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +13 -49
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +416 -89
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +23 -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 +31 -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 +23 -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/co_spawn.hpp +473 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +136 -120
- 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 +35 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +114 -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 +20 -1
- 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 +149 -27
- 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 +107 -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 +531 -136
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +1 -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 +1 -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 +29 -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 +25 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +36 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +36 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +1 -1
- 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/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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_arm_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_sync_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/gcc_x86_fenced_block.hpp +1 -1
- 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 +55 -6
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +454 -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 +218 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +1 -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/kqueue_reactor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +6 -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/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 +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +16 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +4 -4
- 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 +92 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +8 -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 +22 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +678 -285
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +198 -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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +1 -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 +174 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +65 -16
- 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 +1 -1
- 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 +4 -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 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +1 -1
- 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 +14 -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/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 +22 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +62 -34
- 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_serial_port_service.hpp +15 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +53 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +20 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +43 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +42 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +26 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +48 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +43 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +82 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +77 -47
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +16 -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 +31 -13
- 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 +22 -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 +22 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +1 -1
- 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 +1 -1
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +24 -12
- 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 +47 -1
- 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 +72 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +1 -1
- 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 +1 -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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +1 -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 +73 -3
- 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 +1 -1
- 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 +84 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +46 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +29 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +48 -0
- 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 +2348 -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 +399 -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_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 +145 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +137 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +245 -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/awaitable.hpp +438 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +156 -56
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +150 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +300 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +639 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +317 -261
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +210 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +205 -36
- 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 +16 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +214 -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 +210 -35
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +657 -158
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +195 -91
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +2321 -452
- data/src/cxx_supportlib/vendor-modified/boost/asio/{experimental/impl → impl}/redirect_error.hpp +149 -52
- 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 +63 -71
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +5 -1
- 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 +281 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +131 -40
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +600 -158
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +186 -92
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +734 -60
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +46 -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 +52 -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 +85 -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 +1 -1
- 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 +246 -190
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +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 +1 -1
- 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 +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +63 -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 +8 -1
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +190 -74
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +187 -68
- 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 +31 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +738 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +328 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +434 -81
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +51 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +1497 -424
- data/src/cxx_supportlib/vendor-modified/boost/asio/{experimental/redirect_error.hpp → redirect_error.hpp} +9 -10
- 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 +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +37 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +52 -8
- 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 +6 -1
- 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 +41 -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 +11 -2
- 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 +44 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +3 -1
- 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 +235 -97
- 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/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 +296 -13
- 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 +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +937 -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 +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +1 -1
- 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 +295 -42
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +363 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +186 -72
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +188 -73
- 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/write.hpp +408 -78
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +51 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +99 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +178 -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 +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/capabilities.hpp +2 -191
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +3 -0
- 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} +327 -429
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +1126 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +23 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +3 -0
- 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 +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_arch_gcc_aarch64.hpp +58 -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} +37 -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 +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +39 -15
- 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} +75 -94
- 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} +507 -20
- 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 +12 -9
- 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 +94 -91
- 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 +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_arm_asm_common.hpp +75 -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/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 +64 -27
- 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/is_floating_point.hpp +3 -2
- 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_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 +55 -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_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 +150 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +7 -18
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +85 -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 +85 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +14 -34
- 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 +154 -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/posix/chrono.hpp +26 -6
- data/src/cxx_supportlib/vendor-modified/boost/chrono/system_clocks.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +9 -6
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +113 -111
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +27 -33
- data/src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/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 +214 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +215 -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 +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 +72 -22
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +155 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +21 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +26 -7
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp_zos.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +186 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_compiler_config.hpp +1 -1
- 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 +105 -6
- 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/requires_threads.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +19 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +53 -1
- 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 +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +18 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +20 -17
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +28 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +123 -29
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +320 -226
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +123 -51
- 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/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 +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
- 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 +152 -43
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +100 -31
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +38 -38
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +171 -114
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +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/iterators.hpp +133 -117
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +12 -8
- 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 +22 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +83 -18
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/thread_mutex.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +228 -160
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_functors.hpp +9 -13
- 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 +36 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3000 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +286 -212
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +34 -50
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +123 -88
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +164 -165
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +17 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +319 -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 +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +90 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +4 -4
- 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 +84 -102
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +99 -68
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +151 -106
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +236 -165
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +160 -105
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +238 -158
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +138 -30
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +559 -575
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -54
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +5 -4
- 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 +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +601 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +581 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +199 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +16 -6
- data/src/cxx_supportlib/vendor-modified/boost/core/first_scalar.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +199 -50
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +82 -1
- 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 +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/nvp.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/pointer_traits.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/quick_exit.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +2 -2
- 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/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 +4 -17
- 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 +27 -22
- 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/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 +4 -4
- 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_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 +3 -4
- 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 +106 -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 +19 -57
- data/src/cxx_supportlib/vendor-modified/boost/exception/get_error_info.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +11 -9
- 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 +4 -12
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +22 -4
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +4 -4
- 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 +31 -29
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +7 -7
- 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_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +19 -27
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +6 -7
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +3 -3
- 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 +94 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +18 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +10 -10
- 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 +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +9 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +23 -11
- 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 +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +14 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +20 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +18 -26
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +29 -33
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +22 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +11 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +93 -66
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +19 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +67 -60
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +9 -9
- 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/detail/config_def.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +3 -2
- 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/lexical_cast.hpp +2 -2
- 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 +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +39 -39
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +1 -1
- 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 +5 -5
- 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 +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/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/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 +12 -7
- data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +6 -12
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +36 -29
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +21 -14
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +133 -331
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +434 -51
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge_sort.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/set_difference.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/predicate.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
- 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/meta_utils_core.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +224 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +255 -44
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +1 -27
- data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +3 -3
- 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_/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/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/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 +31 -24
- data/src/cxx_supportlib/vendor-modified/boost/optional/bad_optional_access.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +9 -4
- 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/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/object_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +2 -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 +96 -32
- 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/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 +15 -9
- 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.h +4 -4
- 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/z.h +14 -8
- 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 +12 -11
- 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 +10 -9
- 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/hardware/simd.h +95 -46
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h +21 -19
- 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/ppc.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/x86.h +39 -37
- 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_amd.h +25 -23
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd/versions.h +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/cuda.h +11 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/objc.h +9 -8
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +10 -9
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +39 -32
- 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 +101 -35
- data/src/cxx_supportlib/vendor-modified/boost/predef/os.h +0 -1
- 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.h +22 -23
- 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/cygwin.h +10 -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/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +17 -19
- 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/platform.h +1 -1
- 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/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 +16 -33
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities.hpp +2 -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/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 +0 -4
- 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.hpp +1 -0
- 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/wstringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/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 +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/discrete_distribution.hpp +4 -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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +4 -10
- data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +4 -10
- 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/rational.hpp +40 -14
- data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +78 -73
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +104 -111
- data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +1 -1
- 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 +25 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +47 -24
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +49 -28
- 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 -6
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +9 -9
- 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 +127 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +39 -20
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +17 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +50 -52
- 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 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +9 -7
- 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 +641 -25
- 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_token_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +790 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +524 -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 +1575 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3117 -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/indexed_bit_flag.hpp +54 -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 +175 -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 +105 -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 +915 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +1872 -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 +864 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1176 -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 +92 -388
- 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 +6 -6
- 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 +87 -47
- 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 +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +13 -3
- 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 +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +25 -16
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +25 -17
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +23 -26
- 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 -146
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +58 -23
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +79 -8
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +18 -8
- 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 +189 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +215 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +163 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/{system_category_posix.hpp → is_generic_value.hpp} +7 -14
- 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 +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/{std_interoperability.hpp → to_std_category.hpp} +66 -16
- data/src/cxx_supportlib/vendor-modified/boost/system/errc.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +7 -909
- 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 +1 -1
- 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 +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +16 -17
- 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 +30 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +3 -0
- 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 +2 -1
- 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/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 +18 -24
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +6 -13
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +11 -37
- 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 +1 -69
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +19 -19
- 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 +9 -6
- 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/throw_exception.hpp +138 -61
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +15 -11
- data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_index.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_index/stl_type_index.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_index/type_index_facade.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/config.hpp +25 -4
- 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 +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_03.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +276 -101
- 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 +2 -1
- 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 +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +288 -148
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/disjunction.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +6 -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 +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +1 -1
- 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 +1 -1
- 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 +1 -1
- 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_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_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_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_pointer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pointer.hpp +1 -1
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.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/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/int_encoding.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_iterate.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +3 -42
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +4 -43
- data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +29 -67
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- 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/helper-scripts/node-loader.js +1 -1
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +7 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
- data/src/nginx_module/Configuration.c +4 -4
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +6 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +15 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +14 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
- data/src/nginx_module/config +2 -0
- data/src/nginx_module/ngx_http_passenger_module.c +2 -2
- data/src/ruby_supportlib/phusion_passenger.rb +8 -8
- data/src/ruby_supportlib/phusion_passenger/admin_tools.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger/admin_tools/memory_stats.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +6 -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/constants.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +18 -6
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +2 -4
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +16 -14
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +33 -28
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +7 -6
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +7 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +2 -2
- metadata +521 -94
- 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/experimental.hpp +0 -22
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +0 -228
- 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/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/circular_buffer/allocators.hpp +0 -89
- 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/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 -1678
- 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/predef/detail/endian_compat.h +0 -28
- 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 -452
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
- 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 -151
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp +0 -161
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_solaris.hpp +0 -116
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync.hpp +0 -69
@@ -21,11 +21,105 @@
|
|
21
21
|
|
22
22
|
#include <boost/container/detail/config_begin.hpp>
|
23
23
|
#include <boost/container/detail/workaround.hpp>
|
24
|
+
#include <boost/core/ignore_unused.hpp>
|
24
25
|
|
25
26
|
#ifndef BOOST_NO_EXCEPTIONS
|
27
|
+
#include <exception> //for std exception base
|
28
|
+
|
29
|
+
# if defined(BOOST_CONTAINER_USE_STD_EXCEPTIONS)
|
26
30
|
#include <stdexcept> //for std exception types
|
27
31
|
#include <string> //for implicit std::string conversion
|
28
32
|
#include <new> //for std::bad_alloc
|
33
|
+
|
34
|
+
typedef std::bad_alloc bad_alloc_t;
|
35
|
+
typedef std::out_of_range out_of_range_t;
|
36
|
+
typedef std::out_of_range length_error_t;
|
37
|
+
typedef std::logic_error logic_error_t;
|
38
|
+
typedef std::runtime_error runtime_error_t;
|
39
|
+
|
40
|
+
# else //!BOOST_CONTAINER_USE_STD_EXCEPTIONS
|
41
|
+
|
42
|
+
namespace boost {
|
43
|
+
namespace container {
|
44
|
+
|
45
|
+
class exception
|
46
|
+
: public ::std::exception
|
47
|
+
{
|
48
|
+
typedef ::std::exception std_exception_t;
|
49
|
+
|
50
|
+
public:
|
51
|
+
|
52
|
+
//msg must be a static string (guaranteed by callers)
|
53
|
+
explicit exception(const char *msg)
|
54
|
+
: std_exception_t(), m_msg(msg)
|
55
|
+
{}
|
56
|
+
|
57
|
+
virtual const char *what() const BOOST_NOEXCEPT_OR_NOTHROW
|
58
|
+
{ return m_msg ? m_msg : "unknown boost::container exception"; }
|
59
|
+
|
60
|
+
private:
|
61
|
+
const char *m_msg;
|
62
|
+
};
|
63
|
+
|
64
|
+
class bad_alloc
|
65
|
+
: public exception
|
66
|
+
{
|
67
|
+
public:
|
68
|
+
bad_alloc()
|
69
|
+
: exception("boost::container::bad_alloc thrown")
|
70
|
+
{}
|
71
|
+
};
|
72
|
+
|
73
|
+
typedef bad_alloc bad_alloc_t;
|
74
|
+
|
75
|
+
class out_of_range
|
76
|
+
: public exception
|
77
|
+
{
|
78
|
+
public:
|
79
|
+
explicit out_of_range(const char *msg)
|
80
|
+
: exception(msg)
|
81
|
+
{}
|
82
|
+
};
|
83
|
+
|
84
|
+
typedef out_of_range out_of_range_t;
|
85
|
+
|
86
|
+
class length_error
|
87
|
+
: public exception
|
88
|
+
{
|
89
|
+
public:
|
90
|
+
explicit length_error(const char *msg)
|
91
|
+
: exception(msg)
|
92
|
+
{}
|
93
|
+
};
|
94
|
+
|
95
|
+
typedef out_of_range length_error_t;
|
96
|
+
|
97
|
+
class logic_error
|
98
|
+
: public exception
|
99
|
+
{
|
100
|
+
public:
|
101
|
+
explicit logic_error(const char *msg)
|
102
|
+
: exception(msg)
|
103
|
+
{}
|
104
|
+
};
|
105
|
+
|
106
|
+
typedef logic_error logic_error_t;
|
107
|
+
|
108
|
+
class runtime_error
|
109
|
+
: public exception
|
110
|
+
{
|
111
|
+
public:
|
112
|
+
explicit runtime_error(const char *msg)
|
113
|
+
: exception(msg)
|
114
|
+
{}
|
115
|
+
};
|
116
|
+
|
117
|
+
typedef runtime_error runtime_error_t;
|
118
|
+
|
119
|
+
} // namespace boost {
|
120
|
+
} // namespace container {
|
121
|
+
|
122
|
+
# endif
|
29
123
|
#else
|
30
124
|
#include <boost/assert.hpp>
|
31
125
|
#include <cstdlib> //for std::abort
|
@@ -37,55 +131,49 @@ namespace container {
|
|
37
131
|
#if defined(BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS)
|
38
132
|
//The user must provide definitions for the following functions
|
39
133
|
|
40
|
-
void throw_bad_alloc();
|
134
|
+
BOOST_NORETURN void throw_bad_alloc();
|
41
135
|
|
42
|
-
void throw_out_of_range(const char* str);
|
136
|
+
BOOST_NORETURN void throw_out_of_range(const char* str);
|
43
137
|
|
44
|
-
void throw_length_error(const char* str);
|
138
|
+
BOOST_NORETURN void throw_length_error(const char* str);
|
45
139
|
|
46
|
-
void throw_logic_error(const char* str);
|
140
|
+
BOOST_NORETURN void throw_logic_error(const char* str);
|
47
141
|
|
48
|
-
void throw_runtime_error(const char* str);
|
142
|
+
BOOST_NORETURN void throw_runtime_error(const char* str);
|
49
143
|
|
50
144
|
#elif defined(BOOST_NO_EXCEPTIONS)
|
51
145
|
|
52
|
-
inline void throw_bad_alloc()
|
146
|
+
BOOST_NORETURN inline void throw_bad_alloc()
|
53
147
|
{
|
54
|
-
|
55
|
-
(void)msg;
|
56
|
-
BOOST_ASSERT(!msg);
|
148
|
+
BOOST_ASSERT(!"boost::container bad_alloc thrown");
|
57
149
|
std::abort();
|
58
150
|
}
|
59
151
|
|
60
|
-
inline void throw_out_of_range(const char* str)
|
152
|
+
BOOST_NORETURN inline void throw_out_of_range(const char* str)
|
61
153
|
{
|
62
|
-
|
63
|
-
(
|
64
|
-
BOOST_ASSERT_MSG(!msg, str);
|
154
|
+
boost::ignore_unused(str);
|
155
|
+
BOOST_ASSERT_MSG(!"boost::container out_of_range thrown", str);
|
65
156
|
std::abort();
|
66
157
|
}
|
67
158
|
|
68
|
-
inline void throw_length_error(const char* str)
|
159
|
+
BOOST_NORETURN inline void throw_length_error(const char* str)
|
69
160
|
{
|
70
|
-
|
71
|
-
(
|
72
|
-
BOOST_ASSERT_MSG(!msg, str);
|
161
|
+
boost::ignore_unused(str);
|
162
|
+
BOOST_ASSERT_MSG(!"boost::container length_error thrown", str);
|
73
163
|
std::abort();
|
74
164
|
}
|
75
165
|
|
76
|
-
inline void throw_logic_error(const char* str)
|
166
|
+
BOOST_NORETURN inline void throw_logic_error(const char* str)
|
77
167
|
{
|
78
|
-
|
79
|
-
(
|
80
|
-
BOOST_ASSERT_MSG(!msg, str);
|
168
|
+
boost::ignore_unused(str);
|
169
|
+
BOOST_ASSERT_MSG(!"boost::container logic_error thrown", str);
|
81
170
|
std::abort();
|
82
171
|
}
|
83
172
|
|
84
|
-
inline void throw_runtime_error(const char* str)
|
173
|
+
BOOST_NORETURN inline void throw_runtime_error(const char* str)
|
85
174
|
{
|
86
|
-
|
87
|
-
(
|
88
|
-
BOOST_ASSERT_MSG(!msg, str);
|
175
|
+
boost::ignore_unused(str);
|
176
|
+
BOOST_ASSERT_MSG(!"boost::container runtime_error thrown", str);
|
89
177
|
std::abort();
|
90
178
|
}
|
91
179
|
|
@@ -102,9 +190,13 @@ namespace container {
|
|
102
190
|
//! <li>If BOOST_NO_EXCEPTIONS and BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS are defined
|
103
191
|
//! the user must provide an implementation and the function should not return.</li>
|
104
192
|
//! </ul>
|
105
|
-
inline void throw_bad_alloc()
|
193
|
+
BOOST_NORETURN inline void throw_bad_alloc()
|
106
194
|
{
|
195
|
+
#ifdef BOOST_CONTAINER_USE_STD_EXCEPTIONS
|
107
196
|
throw std::bad_alloc();
|
197
|
+
#else
|
198
|
+
throw bad_alloc();
|
199
|
+
#endif
|
108
200
|
}
|
109
201
|
|
110
202
|
//! Exception callback called by Boost.Container to signal arguments out of range.
|
@@ -118,9 +210,13 @@ namespace container {
|
|
118
210
|
//! <li>If BOOST_NO_EXCEPTIONS and BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS are defined
|
119
211
|
//! the user must provide an implementation and the function should not return.</li>
|
120
212
|
//! </ul>
|
121
|
-
inline void throw_out_of_range(const char* str)
|
213
|
+
BOOST_NORETURN inline void throw_out_of_range(const char* str)
|
122
214
|
{
|
215
|
+
#ifdef BOOST_CONTAINER_USE_STD_EXCEPTIONS
|
123
216
|
throw std::out_of_range(str);
|
217
|
+
#else
|
218
|
+
throw out_of_range(str);
|
219
|
+
#endif
|
124
220
|
}
|
125
221
|
|
126
222
|
//! Exception callback called by Boost.Container to signal errors resizing.
|
@@ -134,9 +230,13 @@ namespace container {
|
|
134
230
|
//! <li>If BOOST_NO_EXCEPTIONS and BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS are defined
|
135
231
|
//! the user must provide an implementation and the function should not return.</li>
|
136
232
|
//! </ul>
|
137
|
-
inline void throw_length_error(const char* str)
|
233
|
+
BOOST_NORETURN inline void throw_length_error(const char* str)
|
138
234
|
{
|
235
|
+
#ifdef BOOST_CONTAINER_USE_STD_EXCEPTIONS
|
139
236
|
throw std::length_error(str);
|
237
|
+
#else
|
238
|
+
throw length_error(str);
|
239
|
+
#endif
|
140
240
|
}
|
141
241
|
|
142
242
|
//! Exception callback called by Boost.Container to report errors in the internal logical
|
@@ -151,9 +251,13 @@ namespace container {
|
|
151
251
|
//! <li>If BOOST_NO_EXCEPTIONS and BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS are defined
|
152
252
|
//! the user must provide an implementation and the function should not return.</li>
|
153
253
|
//! </ul>
|
154
|
-
inline void throw_logic_error(const char* str)
|
254
|
+
BOOST_NORETURN inline void throw_logic_error(const char* str)
|
155
255
|
{
|
256
|
+
#ifdef BOOST_CONTAINER_USE_STD_EXCEPTIONS
|
156
257
|
throw std::logic_error(str);
|
258
|
+
#else
|
259
|
+
throw logic_error(str);
|
260
|
+
#endif
|
157
261
|
}
|
158
262
|
|
159
263
|
//! Exception callback called by Boost.Container to report errors that can only be detected during runtime.
|
@@ -167,9 +271,13 @@ namespace container {
|
|
167
271
|
//! <li>If BOOST_NO_EXCEPTIONS and BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS are defined
|
168
272
|
//! the user must provide an implementation and the function should not return.</li>
|
169
273
|
//! </ul>
|
170
|
-
inline void throw_runtime_error(const char* str)
|
274
|
+
BOOST_NORETURN inline void throw_runtime_error(const char* str)
|
171
275
|
{
|
276
|
+
#ifdef BOOST_CONTAINER_USE_STD_EXCEPTIONS
|
172
277
|
throw std::runtime_error(str);
|
278
|
+
#else
|
279
|
+
throw runtime_error(str);
|
280
|
+
#endif
|
173
281
|
}
|
174
282
|
|
175
283
|
#endif
|
@@ -97,11 +97,23 @@ class vec_iterator
|
|
97
97
|
private:
|
98
98
|
Pointer m_ptr;
|
99
99
|
|
100
|
+
class nat
|
101
|
+
{
|
102
|
+
public:
|
103
|
+
Pointer get_ptr() const
|
104
|
+
{ return Pointer(); }
|
105
|
+
};
|
106
|
+
typedef typename dtl::if_c< IsConst
|
107
|
+
, vec_iterator<Pointer, false>
|
108
|
+
, nat>::type nonconst_iterator;
|
109
|
+
|
100
110
|
public:
|
101
|
-
BOOST_CONTAINER_FORCEINLINE
|
111
|
+
BOOST_CONTAINER_FORCEINLINE
|
112
|
+
const Pointer &get_ptr() const BOOST_NOEXCEPT_OR_NOTHROW
|
102
113
|
{ return m_ptr; }
|
103
114
|
|
104
|
-
BOOST_CONTAINER_FORCEINLINE
|
115
|
+
BOOST_CONTAINER_FORCEINLINE
|
116
|
+
Pointer &get_ptr() BOOST_NOEXCEPT_OR_NOTHROW
|
105
117
|
{ return m_ptr; }
|
106
118
|
|
107
119
|
BOOST_CONTAINER_FORCEINLINE explicit vec_iterator(Pointer ptr) BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -116,18 +128,28 @@ class vec_iterator
|
|
116
128
|
: m_ptr() //Value initialization to achieve "null iterators" (N3644)
|
117
129
|
{}
|
118
130
|
|
119
|
-
BOOST_CONTAINER_FORCEINLINE vec_iterator(vec_iterator
|
131
|
+
BOOST_CONTAINER_FORCEINLINE vec_iterator(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
|
120
132
|
: m_ptr(other.get_ptr())
|
121
133
|
{}
|
122
134
|
|
135
|
+
BOOST_CONTAINER_FORCEINLINE vec_iterator(const nonconst_iterator &other) BOOST_NOEXCEPT_OR_NOTHROW
|
136
|
+
: m_ptr(other.get_ptr())
|
137
|
+
{}
|
138
|
+
|
139
|
+
BOOST_CONTAINER_FORCEINLINE vec_iterator & operator=(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
|
140
|
+
{ m_ptr = other.get_ptr(); return *this; }
|
141
|
+
|
123
142
|
//Pointer like operators
|
124
|
-
BOOST_CONTAINER_FORCEINLINE
|
143
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
144
|
+
reference operator*() const BOOST_NOEXCEPT_OR_NOTHROW
|
125
145
|
{ BOOST_ASSERT(!!m_ptr); return *m_ptr; }
|
126
146
|
|
127
|
-
BOOST_CONTAINER_FORCEINLINE
|
147
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
148
|
+
pointer operator->() const BOOST_NOEXCEPT_OR_NOTHROW
|
128
149
|
{ return m_ptr; }
|
129
150
|
|
130
|
-
BOOST_CONTAINER_FORCEINLINE
|
151
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
152
|
+
reference operator[](difference_type off) const BOOST_NOEXCEPT_OR_NOTHROW
|
131
153
|
{ BOOST_ASSERT(!!m_ptr); return m_ptr[off]; }
|
132
154
|
|
133
155
|
//Increment / Decrement
|
@@ -150,35 +172,45 @@ class vec_iterator
|
|
150
172
|
BOOST_CONTAINER_FORCEINLINE vec_iterator& operator-=(difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
151
173
|
{ BOOST_ASSERT(m_ptr || !off); m_ptr -= off; return *this; }
|
152
174
|
|
153
|
-
BOOST_CONTAINER_FORCEINLINE
|
175
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
176
|
+
friend vec_iterator operator+(const vec_iterator &x, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
154
177
|
{ BOOST_ASSERT(x.m_ptr || !off); return vec_iterator(x.m_ptr+off); }
|
155
178
|
|
156
|
-
BOOST_CONTAINER_FORCEINLINE
|
179
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
180
|
+
friend vec_iterator operator+(difference_type off, vec_iterator right) BOOST_NOEXCEPT_OR_NOTHROW
|
157
181
|
{ BOOST_ASSERT(right.m_ptr || !off); right.m_ptr += off; return right; }
|
158
182
|
|
159
|
-
BOOST_CONTAINER_FORCEINLINE
|
183
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
184
|
+
friend vec_iterator operator-(vec_iterator left, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
160
185
|
{ BOOST_ASSERT(left.m_ptr || !off); left.m_ptr -= off; return left; }
|
161
186
|
|
162
|
-
BOOST_CONTAINER_FORCEINLINE
|
187
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
188
|
+
friend difference_type operator-(const vec_iterator &left, const vec_iterator& right) BOOST_NOEXCEPT_OR_NOTHROW
|
163
189
|
{ return left.m_ptr - right.m_ptr; }
|
164
190
|
|
165
191
|
//Comparison operators
|
166
|
-
BOOST_CONTAINER_FORCEINLINE
|
192
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
193
|
+
friend bool operator== (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
167
194
|
{ return l.m_ptr == r.m_ptr; }
|
168
195
|
|
169
|
-
BOOST_CONTAINER_FORCEINLINE
|
196
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
197
|
+
friend bool operator!= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
170
198
|
{ return l.m_ptr != r.m_ptr; }
|
171
199
|
|
172
|
-
BOOST_CONTAINER_FORCEINLINE
|
200
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
201
|
+
friend bool operator< (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
173
202
|
{ return l.m_ptr < r.m_ptr; }
|
174
203
|
|
175
|
-
BOOST_CONTAINER_FORCEINLINE
|
204
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
205
|
+
friend bool operator<= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
176
206
|
{ return l.m_ptr <= r.m_ptr; }
|
177
207
|
|
178
|
-
BOOST_CONTAINER_FORCEINLINE
|
208
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
209
|
+
friend bool operator> (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
179
210
|
{ return l.m_ptr > r.m_ptr; }
|
180
211
|
|
181
|
-
BOOST_CONTAINER_FORCEINLINE
|
212
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
213
|
+
friend bool operator>= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
182
214
|
{ return l.m_ptr >= r.m_ptr; }
|
183
215
|
};
|
184
216
|
|
@@ -230,13 +262,8 @@ struct vector_value_traits_base
|
|
230
262
|
{
|
231
263
|
static const bool trivial_dctr = dtl::is_trivially_destructible<T>::value;
|
232
264
|
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
265
|
};
|
238
266
|
|
239
|
-
|
240
267
|
template <class Allocator>
|
241
268
|
struct vector_value_traits
|
242
269
|
: public vector_value_traits_base<typename Allocator::value_type>
|
@@ -265,14 +292,15 @@ struct vector_alloc_holder
|
|
265
292
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(vector_alloc_holder)
|
266
293
|
|
267
294
|
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
|
295
|
+
typedef Allocator allocator_type;
|
296
|
+
typedef StoredSizeType stored_size_type;
|
297
|
+
typedef boost::container::allocator_traits<allocator_type> allocator_traits_type;
|
298
|
+
typedef typename allocator_traits_type::pointer pointer;
|
299
|
+
typedef typename allocator_traits_type::size_type size_type;
|
300
|
+
typedef typename allocator_traits_type::value_type value_type;
|
274
301
|
|
275
|
-
|
302
|
+
BOOST_CONTAINER_FORCEINLINE
|
303
|
+
static bool is_propagable_from(const allocator_type &from_alloc, pointer p, const allocator_type &to_alloc, bool const propagate_allocator)
|
276
304
|
{
|
277
305
|
(void)propagate_allocator; (void)p; (void)to_alloc; (void)from_alloc;
|
278
306
|
const bool all_storage_propagable = !allocator_traits_type::is_partially_propagable::value ||
|
@@ -280,7 +308,8 @@ struct vector_alloc_holder
|
|
280
308
|
return all_storage_propagable && (propagate_allocator || allocator_traits_type::equal(from_alloc, to_alloc));
|
281
309
|
}
|
282
310
|
|
283
|
-
|
311
|
+
BOOST_CONTAINER_FORCEINLINE
|
312
|
+
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
313
|
{
|
285
314
|
(void)propagate_allocator; (void)l_p; (void)r_p; (void)l_a; (void)r_a;
|
286
315
|
const bool all_storage_propagable = !allocator_traits_type::is_partially_propagable::value ||
|
@@ -290,51 +319,58 @@ struct vector_alloc_holder
|
|
290
319
|
|
291
320
|
//Constructor, does not throw
|
292
321
|
vector_alloc_holder()
|
293
|
-
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
294
|
-
:
|
322
|
+
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
323
|
+
: allocator_type(), m_start(), m_size(), m_capacity()
|
295
324
|
{}
|
296
325
|
|
297
326
|
//Constructor, does not throw
|
298
327
|
template<class AllocConvertible>
|
299
328
|
explicit vector_alloc_holder(BOOST_FWD_REF(AllocConvertible) a) BOOST_NOEXCEPT_OR_NOTHROW
|
300
|
-
:
|
329
|
+
: allocator_type(boost::forward<AllocConvertible>(a)), m_start(), m_size(), m_capacity()
|
301
330
|
{}
|
302
331
|
|
303
332
|
//Constructor, does not throw
|
304
|
-
template<class AllocConvertible>
|
305
|
-
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a,
|
306
|
-
:
|
333
|
+
template<class AllocConvertible, class SizeType>
|
334
|
+
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a, SizeType initial_size)
|
335
|
+
: allocator_type(boost::forward<AllocConvertible>(a))
|
307
336
|
, m_start()
|
308
337
|
//Size is initialized here so vector should only call uninitialized_xxx after this
|
309
338
|
, m_size(static_cast<stored_size_type>(initial_size))
|
310
339
|
, m_capacity()
|
311
340
|
{
|
312
|
-
if(initial_size){
|
341
|
+
if (initial_size > size_type(-1)){
|
342
|
+
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
343
|
+
}
|
344
|
+
else if(initial_size){
|
313
345
|
pointer reuse = pointer();
|
314
|
-
size_type final_cap = initial_size;
|
315
|
-
m_start = this->allocation_command(allocate_new,
|
316
|
-
|
346
|
+
size_type final_cap = static_cast<size_type>(initial_size);
|
347
|
+
m_start = this->allocation_command(allocate_new, final_cap, final_cap, reuse);
|
348
|
+
this->set_stored_capacity(final_cap);
|
317
349
|
}
|
318
350
|
}
|
319
351
|
|
320
352
|
//Constructor, does not throw
|
321
|
-
|
322
|
-
|
353
|
+
template<class SizeType>
|
354
|
+
vector_alloc_holder(vector_uninitialized_size_t, SizeType initial_size)
|
355
|
+
: allocator_type()
|
323
356
|
, m_start()
|
324
357
|
//Size is initialized here so vector should only call uninitialized_xxx after this
|
325
358
|
, m_size(static_cast<stored_size_type>(initial_size))
|
326
359
|
, m_capacity()
|
327
360
|
{
|
328
|
-
if(initial_size){
|
361
|
+
if (initial_size > size_type(-1)){
|
362
|
+
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
363
|
+
}
|
364
|
+
else if(initial_size){
|
329
365
|
pointer reuse = pointer();
|
330
366
|
size_type final_cap = initial_size;
|
331
|
-
m_start = this->allocation_command(allocate_new,
|
332
|
-
|
367
|
+
m_start = this->allocation_command(allocate_new, final_cap, final_cap, reuse);
|
368
|
+
this->set_stored_capacity(final_cap);
|
333
369
|
}
|
334
370
|
}
|
335
371
|
|
336
372
|
vector_alloc_holder(BOOST_RV_REF(vector_alloc_holder) holder) BOOST_NOEXCEPT_OR_NOTHROW
|
337
|
-
:
|
373
|
+
: allocator_type(BOOST_MOVE_BASE(allocator_type, holder))
|
338
374
|
, m_start(holder.m_start)
|
339
375
|
, m_size(holder.m_size)
|
340
376
|
, m_capacity(holder.m_capacity)
|
@@ -343,38 +379,9 @@ struct vector_alloc_holder
|
|
343
379
|
holder.m_size = holder.m_capacity = 0;
|
344
380
|
}
|
345
381
|
|
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
382
|
vector_alloc_holder(initial_capacity_t, pointer p, size_type n)
|
376
|
-
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
377
|
-
:
|
383
|
+
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
384
|
+
: allocator_type()
|
378
385
|
, m_start(p)
|
379
386
|
, m_size()
|
380
387
|
//n is guaranteed to fit into stored_size_type
|
@@ -383,7 +390,7 @@ struct vector_alloc_holder
|
|
383
390
|
|
384
391
|
template<class AllocFwd>
|
385
392
|
vector_alloc_holder(initial_capacity_t, pointer p, size_type n, BOOST_FWD_REF(AllocFwd) a)
|
386
|
-
:
|
393
|
+
: allocator_type(::boost::forward<AllocFwd>(a))
|
387
394
|
, m_start(p)
|
388
395
|
, m_size()
|
389
396
|
, m_capacity(n)
|
@@ -396,10 +403,22 @@ struct vector_alloc_holder
|
|
396
403
|
}
|
397
404
|
}
|
398
405
|
|
406
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
407
|
+
{ this->m_size = static_cast<stored_size_type>(s); }
|
408
|
+
|
409
|
+
BOOST_CONTAINER_FORCEINLINE void dec_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
410
|
+
{ this->m_size -= static_cast<stored_size_type>(s); }
|
411
|
+
|
412
|
+
BOOST_CONTAINER_FORCEINLINE void inc_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
413
|
+
{ this->m_size += static_cast<stored_size_type>(s); }
|
414
|
+
|
415
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_capacity(size_type c) BOOST_NOEXCEPT_OR_NOTHROW
|
416
|
+
{ this->m_capacity = static_cast<stored_size_type>(c); }
|
417
|
+
|
399
418
|
BOOST_CONTAINER_FORCEINLINE pointer allocation_command(boost::container::allocation_type command,
|
400
|
-
|
419
|
+
size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse)
|
401
420
|
{
|
402
|
-
typedef typename dtl::version<
|
421
|
+
typedef typename dtl::version<allocator_type>::type alloc_version;
|
403
422
|
return this->priv_allocation_command(alloc_version(), command, limit_size, prefer_in_recvd_out_size, reuse);
|
404
423
|
}
|
405
424
|
|
@@ -440,7 +459,7 @@ struct vector_alloc_holder
|
|
440
459
|
{
|
441
460
|
BOOST_ASSERT(additional_objects > size_type(this->m_capacity - this->m_size));
|
442
461
|
size_type max = allocator_traits_type::max_size(this->alloc());
|
443
|
-
(clamp_by_stored_size_type)(max, stored_size_type());
|
462
|
+
(clamp_by_stored_size_type<size_type>)(max, stored_size_type());
|
444
463
|
const size_type remaining_cap = max - size_type(this->m_capacity);
|
445
464
|
const size_type min_additional_cap = additional_objects - size_type(this->m_capacity - this->m_size);
|
446
465
|
|
@@ -470,10 +489,10 @@ struct vector_alloc_holder
|
|
470
489
|
x.m_size = x.m_capacity = 0;
|
471
490
|
}
|
472
491
|
|
473
|
-
BOOST_CONTAINER_FORCEINLINE
|
492
|
+
BOOST_CONTAINER_FORCEINLINE allocator_type &alloc() BOOST_NOEXCEPT_OR_NOTHROW
|
474
493
|
{ return *this; }
|
475
494
|
|
476
|
-
BOOST_CONTAINER_FORCEINLINE const
|
495
|
+
BOOST_CONTAINER_FORCEINLINE const allocator_type &alloc() const BOOST_NOEXCEPT_OR_NOTHROW
|
477
496
|
{ return *this; }
|
478
497
|
|
479
498
|
BOOST_CONTAINER_FORCEINLINE const pointer &start() const BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -483,7 +502,10 @@ struct vector_alloc_holder
|
|
483
502
|
BOOST_CONTAINER_FORCEINLINE void start(const pointer &p) BOOST_NOEXCEPT_OR_NOTHROW
|
484
503
|
{ m_start = p; }
|
485
504
|
BOOST_CONTAINER_FORCEINLINE void capacity(const size_type &c) BOOST_NOEXCEPT_OR_NOTHROW
|
486
|
-
{ BOOST_ASSERT( c <= stored_size_type(-1));
|
505
|
+
{ BOOST_ASSERT( c <= stored_size_type(-1)); this->set_stored_capacity(c); }
|
506
|
+
|
507
|
+
static BOOST_CONTAINER_FORCEINLINE void on_capacity_overflow()
|
508
|
+
{ }
|
487
509
|
|
488
510
|
private:
|
489
511
|
void priv_first_allocation(size_type cap)
|
@@ -498,17 +520,7 @@ struct vector_alloc_holder
|
|
498
520
|
}
|
499
521
|
}
|
500
522
|
|
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,
|
523
|
+
pointer priv_allocation_command(version_1, boost::container::allocation_type command,
|
512
524
|
size_type limit_size,
|
513
525
|
size_type &prefer_in_recvd_out_size,
|
514
526
|
pointer &reuse)
|
@@ -520,7 +532,7 @@ struct vector_alloc_holder
|
|
520
532
|
if (limit_size > stored_size_type(-1)){
|
521
533
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
522
534
|
}
|
523
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
535
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
524
536
|
pointer const p = this->allocate(prefer_in_recvd_out_size);
|
525
537
|
reuse = pointer();
|
526
538
|
return p;
|
@@ -535,11 +547,11 @@ struct vector_alloc_holder
|
|
535
547
|
if (limit_size > stored_size_type(-1)){
|
536
548
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
537
549
|
}
|
538
|
-
(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());
|
539
551
|
//Allocate memory
|
540
552
|
pointer p = this->alloc().allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse);
|
541
553
|
//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());
|
554
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
543
555
|
return p;
|
544
556
|
}
|
545
557
|
};
|
@@ -553,31 +565,33 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
553
565
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(vector_alloc_holder)
|
554
566
|
|
555
567
|
public:
|
556
|
-
typedef
|
568
|
+
typedef Allocator allocator_type;
|
569
|
+
typedef boost::container::
|
570
|
+
allocator_traits<allocator_type> allocator_traits_type;
|
557
571
|
typedef typename allocator_traits_type::pointer pointer;
|
558
572
|
typedef typename allocator_traits_type::size_type size_type;
|
559
573
|
typedef typename allocator_traits_type::value_type value_type;
|
560
574
|
typedef StoredSizeType stored_size_type;
|
561
|
-
|
575
|
+
|
562
576
|
template <class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
563
577
|
friend struct vector_alloc_holder;
|
564
578
|
|
565
579
|
//Constructor, does not throw
|
566
580
|
vector_alloc_holder()
|
567
|
-
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
568
|
-
:
|
581
|
+
BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
582
|
+
: allocator_type(), m_size()
|
569
583
|
{}
|
570
584
|
|
571
585
|
//Constructor, does not throw
|
572
586
|
template<class AllocConvertible>
|
573
587
|
explicit vector_alloc_holder(BOOST_FWD_REF(AllocConvertible) a) BOOST_NOEXCEPT_OR_NOTHROW
|
574
|
-
:
|
588
|
+
: allocator_type(boost::forward<AllocConvertible>(a)), m_size()
|
575
589
|
{}
|
576
590
|
|
577
591
|
//Constructor, does not throw
|
578
592
|
template<class AllocConvertible>
|
579
593
|
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a, size_type initial_size)
|
580
|
-
:
|
594
|
+
: allocator_type(boost::forward<AllocConvertible>(a))
|
581
595
|
, m_size(initial_size) //Size is initialized here...
|
582
596
|
{
|
583
597
|
//... and capacity here, so vector, must call uninitialized_xxx in the derived constructor
|
@@ -586,7 +600,7 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
586
600
|
|
587
601
|
//Constructor, does not throw
|
588
602
|
vector_alloc_holder(vector_uninitialized_size_t, size_type initial_size)
|
589
|
-
:
|
603
|
+
: allocator_type()
|
590
604
|
, m_size(initial_size) //Size is initialized here...
|
591
605
|
{
|
592
606
|
//... and capacity here, so vector, must call uninitialized_xxx in the derived constructor
|
@@ -594,16 +608,19 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
594
608
|
}
|
595
609
|
|
596
610
|
vector_alloc_holder(BOOST_RV_REF(vector_alloc_holder) holder)
|
597
|
-
:
|
611
|
+
: allocator_type(BOOST_MOVE_BASE(allocator_type, holder))
|
598
612
|
, m_size(holder.m_size) //Size is initialized here so vector should only call uninitialized_xxx after this
|
599
613
|
{
|
600
614
|
::boost::container::uninitialized_move_alloc_n
|
601
615
|
(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), m_size, boost::movelib::to_raw_pointer(this->start()));
|
616
|
+
::boost::container::destroy_alloc_n
|
617
|
+
(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), m_size);
|
618
|
+
holder.m_size = 0;
|
602
619
|
}
|
603
620
|
|
604
621
|
template<class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
605
622
|
vector_alloc_holder(BOOST_RV_REF_BEG vector_alloc_holder<OtherAllocator, OtherStoredSizeType, OtherAllocatorVersion> BOOST_RV_REF_END holder)
|
606
|
-
:
|
623
|
+
: allocator_type()
|
607
624
|
, m_size(holder.m_size) //Initialize it to m_size as first_allocation can only succeed or abort
|
608
625
|
{
|
609
626
|
//Different allocator type so we must check we have enough storage
|
@@ -613,10 +630,22 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
613
630
|
(this->alloc(), boost::movelib::to_raw_pointer(holder.start()), n, boost::movelib::to_raw_pointer(this->start()));
|
614
631
|
}
|
615
632
|
|
633
|
+
static BOOST_CONTAINER_FORCEINLINE void on_capacity_overflow()
|
634
|
+
{ allocator_type::on_capacity_overflow(); }
|
635
|
+
|
636
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
637
|
+
{ this->m_size = static_cast<stored_size_type>(s); }
|
638
|
+
|
639
|
+
BOOST_CONTAINER_FORCEINLINE void dec_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
640
|
+
{ this->m_size -= static_cast<stored_size_type>(s); }
|
641
|
+
|
642
|
+
BOOST_CONTAINER_FORCEINLINE void inc_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
643
|
+
{ this->m_size += static_cast<stored_size_type>(s); }
|
644
|
+
|
616
645
|
BOOST_CONTAINER_FORCEINLINE void priv_first_allocation(size_type cap)
|
617
646
|
{
|
618
|
-
if(cap >
|
619
|
-
|
647
|
+
if(cap > allocator_type::internal_capacity){
|
648
|
+
on_capacity_overflow();
|
620
649
|
}
|
621
650
|
}
|
622
651
|
|
@@ -628,34 +657,39 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
628
657
|
template<class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
629
658
|
void deep_swap(vector_alloc_holder<OtherAllocator, OtherStoredSizeType, OtherAllocatorVersion> &x)
|
630
659
|
{
|
631
|
-
|
632
|
-
|
660
|
+
typedef typename real_allocator<value_type, OtherAllocator>::type other_allocator_type;
|
661
|
+
if(this->m_size > other_allocator_type::internal_capacity || x.m_size > allocator_type::internal_capacity){
|
662
|
+
on_capacity_overflow();
|
633
663
|
}
|
634
664
|
this->priv_deep_swap(x);
|
635
665
|
}
|
636
666
|
|
637
667
|
BOOST_CONTAINER_FORCEINLINE void swap_resources(vector_alloc_holder &) BOOST_NOEXCEPT_OR_NOTHROW
|
638
668
|
{ //Containers with version 0 allocators can't be moved without moving elements one by one
|
639
|
-
|
669
|
+
on_capacity_overflow();
|
640
670
|
}
|
641
671
|
|
642
672
|
|
643
673
|
BOOST_CONTAINER_FORCEINLINE void steal_resources(vector_alloc_holder &)
|
644
674
|
{ //Containers with version 0 allocators can't be moved without moving elements one by one
|
645
|
-
|
675
|
+
on_capacity_overflow();
|
646
676
|
}
|
647
677
|
|
648
|
-
BOOST_CONTAINER_FORCEINLINE
|
678
|
+
BOOST_CONTAINER_FORCEINLINE allocator_type &alloc() BOOST_NOEXCEPT_OR_NOTHROW
|
649
679
|
{ return *this; }
|
650
680
|
|
651
|
-
BOOST_CONTAINER_FORCEINLINE const
|
681
|
+
BOOST_CONTAINER_FORCEINLINE const allocator_type &alloc() const BOOST_NOEXCEPT_OR_NOTHROW
|
652
682
|
{ return *this; }
|
653
683
|
|
654
684
|
BOOST_CONTAINER_FORCEINLINE bool try_expand_fwd(size_type at_least)
|
655
685
|
{ return !at_least; }
|
656
686
|
|
657
|
-
BOOST_CONTAINER_FORCEINLINE pointer start() const BOOST_NOEXCEPT_OR_NOTHROW
|
658
|
-
|
687
|
+
BOOST_CONTAINER_FORCEINLINE pointer start() const BOOST_NOEXCEPT_OR_NOTHROW
|
688
|
+
{ return allocator_type::internal_storage(); }
|
689
|
+
|
690
|
+
BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
691
|
+
{ return allocator_type::internal_capacity; }
|
692
|
+
|
659
693
|
stored_size_type m_size;
|
660
694
|
|
661
695
|
private:
|
@@ -663,7 +697,7 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
663
697
|
template<class OtherAllocator, class OtherStoredSizeType, class OtherAllocatorVersion>
|
664
698
|
void priv_deep_swap(vector_alloc_holder<OtherAllocator, OtherStoredSizeType, OtherAllocatorVersion> &x)
|
665
699
|
{
|
666
|
-
const size_type MaxTmpStorage = sizeof(value_type)*
|
700
|
+
const size_type MaxTmpStorage = sizeof(value_type)*allocator_type::internal_capacity;
|
667
701
|
value_type *const first_this = boost::movelib::to_raw_pointer(this->start());
|
668
702
|
value_type *const first_x = boost::movelib::to_raw_pointer(x.start());
|
669
703
|
|
@@ -679,18 +713,6 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
679
713
|
|
680
714
|
struct growth_factor_60;
|
681
715
|
|
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
716
|
template<class Options, class AllocatorSizeType>
|
695
717
|
struct get_vector_opt
|
696
718
|
{
|
@@ -705,7 +727,6 @@ struct get_vector_opt<void, AllocatorSizeType>
|
|
705
727
|
typedef vector_opt<growth_factor_60, AllocatorSizeType> type;
|
706
728
|
};
|
707
729
|
|
708
|
-
|
709
730
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
710
731
|
|
711
732
|
//! A vector is a sequence that supports random access to elements, constant
|
@@ -714,14 +735,39 @@ struct get_vector_opt<void, AllocatorSizeType>
|
|
714
735
|
//! elements in a vector may vary dynamically; memory management is automatic.
|
715
736
|
//!
|
716
737
|
//! \tparam T The type of object that is stored in the vector
|
717
|
-
//! \tparam
|
738
|
+
//! \tparam A The allocator used for all internal memory management, use void
|
739
|
+
//! for the default allocator
|
718
740
|
//! \tparam Options A type produced from \c boost::container::vector_options.
|
719
|
-
template <class T, class
|
741
|
+
template <class T, class A BOOST_CONTAINER_DOCONLY(= void), class Options BOOST_CONTAINER_DOCONLY(= void) >
|
720
742
|
class vector
|
721
743
|
{
|
722
|
-
|
744
|
+
public:
|
745
|
+
//////////////////////////////////////////////
|
746
|
+
//
|
747
|
+
// types
|
748
|
+
//
|
749
|
+
//////////////////////////////////////////////
|
750
|
+
typedef T value_type;
|
751
|
+
typedef BOOST_CONTAINER_IMPDEF
|
752
|
+
(typename real_allocator<T BOOST_MOVE_I A>::type) allocator_type;
|
753
|
+
typedef ::boost::container::allocator_traits<allocator_type> allocator_traits_t;
|
754
|
+
typedef typename allocator_traits<allocator_type>::pointer pointer;
|
755
|
+
typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
|
756
|
+
typedef typename allocator_traits<allocator_type>::reference reference;
|
757
|
+
typedef typename allocator_traits<allocator_type>::const_reference const_reference;
|
758
|
+
typedef typename allocator_traits<allocator_type>::size_type size_type;
|
759
|
+
typedef typename allocator_traits<allocator_type>::difference_type difference_type;
|
760
|
+
typedef allocator_type stored_allocator_type;
|
761
|
+
typedef BOOST_CONTAINER_IMPDEF(vec_iterator<pointer BOOST_MOVE_I false>) iterator;
|
762
|
+
typedef BOOST_CONTAINER_IMPDEF(vec_iterator<pointer BOOST_MOVE_I true >) const_iterator;
|
763
|
+
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<iterator>) reverse_iterator;
|
764
|
+
typedef BOOST_CONTAINER_IMPDEF(boost::container::reverse_iterator<const_iterator>) const_reverse_iterator;
|
765
|
+
|
766
|
+
private:
|
723
767
|
|
724
|
-
|
768
|
+
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
769
|
+
typedef typename boost::container::
|
770
|
+
allocator_traits<allocator_type>::size_type alloc_size_type;
|
725
771
|
typedef typename get_vector_opt<Options, alloc_size_type>::type options_type;
|
726
772
|
typedef typename options_type::growth_factor_type growth_factor_type;
|
727
773
|
typedef typename options_type::stored_size_type stored_size_type;
|
@@ -731,51 +777,32 @@ class vector
|
|
731
777
|
BOOST_STATIC_ASSERT( (sizeof(stored_size_type) < sizeof(alloc_size_type) ||
|
732
778
|
dtl::is_same<stored_size_type, alloc_size_type>::value) );
|
733
779
|
|
734
|
-
typedef typename dtl::version<
|
735
|
-
typedef boost::container::vector_alloc_holder
|
780
|
+
typedef typename dtl::version<allocator_type>::type alloc_version;
|
781
|
+
typedef boost::container::vector_alloc_holder
|
782
|
+
<allocator_type, stored_size_type> alloc_holder_t;
|
783
|
+
|
736
784
|
alloc_holder_t m_holder;
|
737
|
-
|
738
|
-
|
785
|
+
|
786
|
+
typedef allocator_traits<allocator_type> allocator_traits_type;
|
787
|
+
template <class U, class UA, class UOptions>
|
739
788
|
friend class vector;
|
740
789
|
|
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
790
|
|
745
791
|
protected:
|
746
|
-
|
792
|
+
BOOST_CONTAINER_FORCEINLINE
|
793
|
+
static bool is_propagable_from(const allocator_type &from_alloc, pointer p, const allocator_type &to_alloc, bool const propagate_allocator)
|
747
794
|
{ return alloc_holder_t::is_propagable_from(from_alloc, p, to_alloc, propagate_allocator); }
|
748
795
|
|
749
|
-
|
750
|
-
|
796
|
+
BOOST_CONTAINER_FORCEINLINE
|
797
|
+
static bool are_swap_propagable( const allocator_type &l_a, pointer l_p
|
798
|
+
, const allocator_type &r_a, pointer r_p, bool const propagate_allocator)
|
751
799
|
{ return alloc_holder_t::are_swap_propagable(l_a, l_p, r_a, r_p, propagate_allocator); }
|
752
800
|
|
753
801
|
#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
802
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
776
803
|
private:
|
777
804
|
BOOST_COPYABLE_AND_MOVABLE(vector)
|
778
|
-
typedef vector_value_traits<
|
805
|
+
typedef vector_value_traits<allocator_type> value_traits;
|
779
806
|
typedef constant_iterator<T, difference_type> cvalue_iterator;
|
780
807
|
|
781
808
|
protected:
|
@@ -806,7 +833,7 @@ class vector
|
|
806
833
|
//! <b>Throws</b>: Nothing.
|
807
834
|
//!
|
808
835
|
//! <b>Complexity</b>: Constant.
|
809
|
-
vector() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<
|
836
|
+
vector() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<allocator_type>::value)
|
810
837
|
: m_holder()
|
811
838
|
{}
|
812
839
|
|
@@ -953,12 +980,6 @@ class vector
|
|
953
980
|
//! throws or T's constructor taking a dereferenced InIt throws.
|
954
981
|
//!
|
955
982
|
//! <b>Complexity</b>: Linear to the range [first, last).
|
956
|
-
// template <class InIt>
|
957
|
-
// vector(InIt first, InIt last, const allocator_type& a
|
958
|
-
// BOOST_CONTAINER_DOCIGN(BOOST_MOVE_I typename dtl::disable_if_c
|
959
|
-
// < dtl::is_convertible<InIt BOOST_MOVE_I size_type>::value
|
960
|
-
// BOOST_MOVE_I dtl::nat >::type * = 0)
|
961
|
-
// ) -> vector<typename iterator_traits<InIt>::value_type, new_allocator<typename iterator_traits<InIt>::value_type>>;
|
962
983
|
template <class InIt>
|
963
984
|
vector(InIt first, InIt last, const allocator_type& a
|
964
985
|
BOOST_CONTAINER_DOCIGN(BOOST_MOVE_I typename dtl::disable_if_c
|
@@ -1006,9 +1027,14 @@ class vector
|
|
1006
1027
|
//!
|
1007
1028
|
//! <b>Complexity</b>: Linear to the range [il.begin(), il.end()).
|
1008
1029
|
vector(std::initializer_list<value_type> il, const allocator_type& a = allocator_type())
|
1009
|
-
:
|
1030
|
+
: m_holder(vector_uninitialized_size, a, il.size())
|
1010
1031
|
{
|
1011
|
-
|
1032
|
+
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
1033
|
+
this->num_alloc += il.size() != 0;
|
1034
|
+
#endif
|
1035
|
+
::boost::container::uninitialized_copy_alloc_n_source
|
1036
|
+
( this->m_holder.alloc(), il.begin()
|
1037
|
+
, static_cast<size_type>(il.size()), this->priv_raw_begin());
|
1012
1038
|
}
|
1013
1039
|
#endif
|
1014
1040
|
|
@@ -1021,15 +1047,15 @@ class vector
|
|
1021
1047
|
//! <b>Complexity</b>: Linear.
|
1022
1048
|
//!
|
1023
1049
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
1024
|
-
template<class
|
1025
|
-
vector(BOOST_RV_REF_BEG vector<T,
|
1050
|
+
template<class OtherA>
|
1051
|
+
vector(BOOST_RV_REF_BEG vector<T, OtherA, Options> BOOST_RV_REF_END x
|
1026
1052
|
, typename dtl::enable_if_c
|
1027
|
-
< dtl::is_version<
|
1053
|
+
< dtl::is_version<typename real_allocator<T, OtherA>::type, 0>::value>::type * = 0
|
1028
1054
|
)
|
1029
1055
|
: m_holder(boost::move(x.m_holder))
|
1030
1056
|
{}
|
1031
1057
|
|
1032
|
-
#endif
|
1058
|
+
#endif // defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1033
1059
|
|
1034
1060
|
//! <b>Effects</b>: Copy constructs a vector using the specified allocator.
|
1035
1061
|
//!
|
@@ -1059,10 +1085,12 @@ class vector
|
|
1059
1085
|
//! <b>Complexity</b>: Constant if a == x.get_allocator(), linear otherwise.
|
1060
1086
|
vector(BOOST_RV_REF(vector) x, const allocator_type &a)
|
1061
1087
|
: m_holder( vector_uninitialized_size, a
|
1062
|
-
|
1088
|
+
//In this allocator move constructor the allocator won't be propagated --v
|
1089
|
+
, is_propagable_from(x.get_stored_allocator(), x.m_holder.start(), a, false) ? 0 : x.size()
|
1063
1090
|
)
|
1064
1091
|
{
|
1065
|
-
|
1092
|
+
//In this allocator move constructor the allocator won't be propagated ---v
|
1093
|
+
if(is_propagable_from(x.get_stored_allocator(), x.m_holder.start(), a, false)){
|
1066
1094
|
this->m_holder.steal_resources(x.m_holder);
|
1067
1095
|
}
|
1068
1096
|
else{
|
@@ -1099,7 +1127,7 @@ class vector
|
|
1099
1127
|
//! <b>Complexity</b>: Linear to the number of elements in x.
|
1100
1128
|
BOOST_CONTAINER_FORCEINLINE vector& operator=(BOOST_COPY_ASSIGN_REF(vector) x)
|
1101
1129
|
{
|
1102
|
-
if (&x != this){
|
1130
|
+
if (BOOST_LIKELY(&x != this)){
|
1103
1131
|
this->priv_copy_assign(x);
|
1104
1132
|
}
|
1105
1133
|
return *this;
|
@@ -1131,7 +1159,9 @@ class vector
|
|
1131
1159
|
BOOST_NOEXCEPT_IF(allocator_traits_type::propagate_on_container_move_assignment::value
|
1132
1160
|
|| allocator_traits_type::is_always_equal::value)
|
1133
1161
|
{
|
1134
|
-
|
1162
|
+
if (BOOST_LIKELY(&x != this)){
|
1163
|
+
this->priv_move_assign(boost::move(x));
|
1164
|
+
}
|
1135
1165
|
return *this;
|
1136
1166
|
}
|
1137
1167
|
|
@@ -1147,13 +1177,13 @@ class vector
|
|
1147
1177
|
//! <b>Complexity</b>: Linear.
|
1148
1178
|
//!
|
1149
1179
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
1150
|
-
template<class
|
1180
|
+
template<class OtherA>
|
1151
1181
|
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_and
|
1152
1182
|
< vector&
|
1153
|
-
, dtl::is_version<
|
1154
|
-
, dtl::is_different<
|
1183
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
1184
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
1155
1185
|
>::type
|
1156
|
-
operator=(BOOST_RV_REF_BEG vector<value_type,
|
1186
|
+
operator=(BOOST_RV_REF_BEG vector<value_type, OtherA, Options> BOOST_RV_REF_END x)
|
1157
1187
|
{
|
1158
1188
|
this->priv_move_assign(boost::move(x));
|
1159
1189
|
return *this;
|
@@ -1169,13 +1199,13 @@ class vector
|
|
1169
1199
|
//! <b>Complexity</b>: Linear.
|
1170
1200
|
//!
|
1171
1201
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
1172
|
-
template<class
|
1202
|
+
template<class OtherA>
|
1173
1203
|
BOOST_CONTAINER_FORCEINLINE typename dtl::enable_if_and
|
1174
1204
|
< vector&
|
1175
|
-
, dtl::is_version<
|
1176
|
-
, dtl::is_different<
|
1205
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
1206
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
1177
1207
|
>::type
|
1178
|
-
operator=(const vector<value_type,
|
1208
|
+
operator=(const vector<value_type, OtherA, Options> &x)
|
1179
1209
|
{
|
1180
1210
|
this->priv_copy_assign(x);
|
1181
1211
|
return *this;
|
@@ -1252,7 +1282,12 @@ class vector
|
|
1252
1282
|
{
|
1253
1283
|
//For Fwd iterators the standard only requires EmplaceConstructible and assignable from *first
|
1254
1284
|
//so we can't do any backwards allocation
|
1255
|
-
const size_type
|
1285
|
+
const typename iterator_traits<FwdIt>::size_type sz = boost::container::iterator_distance(first, last);
|
1286
|
+
if (sz > size_type(-1)){
|
1287
|
+
boost::container::throw_length_error("vector::assign, FwdIt's max length reached");
|
1288
|
+
}
|
1289
|
+
|
1290
|
+
const size_type input_sz = static_cast<size_type>(sz);
|
1256
1291
|
const size_type old_capacity = this->capacity();
|
1257
1292
|
if(input_sz > old_capacity){ //If input range is too big, we need to reallocate
|
1258
1293
|
size_type real_cap = 0;
|
@@ -1283,7 +1318,7 @@ class vector
|
|
1283
1318
|
}
|
1284
1319
|
|
1285
1320
|
boost::container::copy_assign_range_alloc_n(this->m_holder.alloc(), first, input_sz, this->priv_raw_begin(), this->size());
|
1286
|
-
|
1321
|
+
m_holder.set_stored_size(input_sz);
|
1287
1322
|
}
|
1288
1323
|
|
1289
1324
|
//! <b>Effects</b>: Assigns the n copies of val to *this.
|
@@ -1300,7 +1335,7 @@ class vector
|
|
1300
1335
|
//! <b>Throws</b>: If allocator's copy constructor throws.
|
1301
1336
|
//!
|
1302
1337
|
//! <b>Complexity</b>: Constant.
|
1303
|
-
allocator_type get_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1338
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE allocator_type get_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1304
1339
|
{ return this->m_holder.alloc(); }
|
1305
1340
|
|
1306
1341
|
//! <b>Effects</b>: Returns a reference to the internal allocator.
|
@@ -1310,7 +1345,8 @@ class vector
|
|
1310
1345
|
//! <b>Complexity</b>: Constant.
|
1311
1346
|
//!
|
1312
1347
|
//! <b>Note</b>: Non-standard extension.
|
1313
|
-
BOOST_CONTAINER_FORCEINLINE
|
1348
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1349
|
+
stored_allocator_type &get_stored_allocator() BOOST_NOEXCEPT_OR_NOTHROW
|
1314
1350
|
{ return this->m_holder.alloc(); }
|
1315
1351
|
|
1316
1352
|
//! <b>Effects</b>: Returns a reference to the internal allocator.
|
@@ -1320,7 +1356,8 @@ class vector
|
|
1320
1356
|
//! <b>Complexity</b>: Constant.
|
1321
1357
|
//!
|
1322
1358
|
//! <b>Note</b>: Non-standard extension.
|
1323
|
-
BOOST_CONTAINER_FORCEINLINE
|
1359
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1360
|
+
const stored_allocator_type &get_stored_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1324
1361
|
{ return this->m_holder.alloc(); }
|
1325
1362
|
|
1326
1363
|
//////////////////////////////////////////////
|
@@ -1334,7 +1371,7 @@ class vector
|
|
1334
1371
|
//! <b>Throws</b>: Nothing.
|
1335
1372
|
//!
|
1336
1373
|
//! <b>Complexity</b>: Constant.
|
1337
|
-
BOOST_CONTAINER_FORCEINLINE iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
1374
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
1338
1375
|
{ return iterator(this->m_holder.start()); }
|
1339
1376
|
|
1340
1377
|
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the vector.
|
@@ -1342,7 +1379,7 @@ class vector
|
|
1342
1379
|
//! <b>Throws</b>: Nothing.
|
1343
1380
|
//!
|
1344
1381
|
//! <b>Complexity</b>: Constant.
|
1345
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1382
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1346
1383
|
{ return const_iterator(this->m_holder.start()); }
|
1347
1384
|
|
1348
1385
|
//! <b>Effects</b>: Returns an iterator to the end of the vector.
|
@@ -1350,11 +1387,11 @@ class vector
|
|
1350
1387
|
//! <b>Throws</b>: Nothing.
|
1351
1388
|
//!
|
1352
1389
|
//! <b>Complexity</b>: Constant.
|
1353
|
-
BOOST_CONTAINER_FORCEINLINE iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
1390
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
1354
1391
|
{
|
1355
|
-
|
1356
|
-
|
1357
|
-
return
|
1392
|
+
iterator it (this->m_holder.start());
|
1393
|
+
it += this->m_holder.m_size;
|
1394
|
+
return it; //Adding zero to null pointer is allowed (non-UB)
|
1358
1395
|
}
|
1359
1396
|
|
1360
1397
|
//! <b>Effects</b>: Returns a const_iterator to the end of the vector.
|
@@ -1362,7 +1399,7 @@ class vector
|
|
1362
1399
|
//! <b>Throws</b>: Nothing.
|
1363
1400
|
//!
|
1364
1401
|
//! <b>Complexity</b>: Constant.
|
1365
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
1402
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
1366
1403
|
{ return this->cend(); }
|
1367
1404
|
|
1368
1405
|
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning
|
@@ -1371,7 +1408,7 @@ class vector
|
|
1371
1408
|
//! <b>Throws</b>: Nothing.
|
1372
1409
|
//!
|
1373
1410
|
//! <b>Complexity</b>: Constant.
|
1374
|
-
BOOST_CONTAINER_FORCEINLINE reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
1411
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
1375
1412
|
{ return reverse_iterator(this->end()); }
|
1376
1413
|
|
1377
1414
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
@@ -1380,7 +1417,7 @@ class vector
|
|
1380
1417
|
//! <b>Throws</b>: Nothing.
|
1381
1418
|
//!
|
1382
1419
|
//! <b>Complexity</b>: Constant.
|
1383
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1420
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1384
1421
|
{ return this->crbegin(); }
|
1385
1422
|
|
1386
1423
|
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
@@ -1389,7 +1426,7 @@ class vector
|
|
1389
1426
|
//! <b>Throws</b>: Nothing.
|
1390
1427
|
//!
|
1391
1428
|
//! <b>Complexity</b>: Constant.
|
1392
|
-
BOOST_CONTAINER_FORCEINLINE reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
1429
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
1393
1430
|
{ return reverse_iterator(this->begin()); }
|
1394
1431
|
|
1395
1432
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
@@ -1398,7 +1435,7 @@ class vector
|
|
1398
1435
|
//! <b>Throws</b>: Nothing.
|
1399
1436
|
//!
|
1400
1437
|
//! <b>Complexity</b>: Constant.
|
1401
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1438
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1402
1439
|
{ return this->crend(); }
|
1403
1440
|
|
1404
1441
|
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the vector.
|
@@ -1406,7 +1443,7 @@ class vector
|
|
1406
1443
|
//! <b>Throws</b>: Nothing.
|
1407
1444
|
//!
|
1408
1445
|
//! <b>Complexity</b>: Constant.
|
1409
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1446
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1410
1447
|
{ return const_iterator(this->m_holder.start()); }
|
1411
1448
|
|
1412
1449
|
//! <b>Effects</b>: Returns a const_iterator to the end of the vector.
|
@@ -1414,13 +1451,12 @@ class vector
|
|
1414
1451
|
//! <b>Throws</b>: Nothing.
|
1415
1452
|
//!
|
1416
1453
|
//! <b>Complexity</b>: Constant.
|
1417
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1454
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1418
1455
|
{
|
1419
|
-
|
1420
|
-
|
1421
|
-
return
|
1456
|
+
const_iterator it (this->m_holder.start());
|
1457
|
+
it += this->m_holder.m_size;
|
1458
|
+
return it; //Adding zero to null pointer is allowed (non-UB)
|
1422
1459
|
}
|
1423
|
-
//{ return const_iterator(this->m_holder.start() + this->m_holder.m_size); }
|
1424
1460
|
|
1425
1461
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1426
1462
|
//! of the reversed vector.
|
@@ -1428,7 +1464,7 @@ class vector
|
|
1428
1464
|
//! <b>Throws</b>: Nothing.
|
1429
1465
|
//!
|
1430
1466
|
//! <b>Complexity</b>: Constant.
|
1431
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1467
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1432
1468
|
{ return const_reverse_iterator(this->end());}
|
1433
1469
|
|
1434
1470
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
@@ -1437,7 +1473,7 @@ class vector
|
|
1437
1473
|
//! <b>Throws</b>: Nothing.
|
1438
1474
|
//!
|
1439
1475
|
//! <b>Complexity</b>: Constant.
|
1440
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1476
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1441
1477
|
{ return const_reverse_iterator(this->begin()); }
|
1442
1478
|
|
1443
1479
|
//////////////////////////////////////////////
|
@@ -1451,7 +1487,7 @@ class vector
|
|
1451
1487
|
//! <b>Throws</b>: Nothing.
|
1452
1488
|
//!
|
1453
1489
|
//! <b>Complexity</b>: Constant.
|
1454
|
-
BOOST_CONTAINER_FORCEINLINE bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
1490
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
1455
1491
|
{ return !this->m_holder.m_size; }
|
1456
1492
|
|
1457
1493
|
//! <b>Effects</b>: Returns the number of the elements contained in the vector.
|
@@ -1459,7 +1495,7 @@ class vector
|
|
1459
1495
|
//! <b>Throws</b>: Nothing.
|
1460
1496
|
//!
|
1461
1497
|
//! <b>Complexity</b>: Constant.
|
1462
|
-
BOOST_CONTAINER_FORCEINLINE size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1498
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1463
1499
|
{ return this->m_holder.m_size; }
|
1464
1500
|
|
1465
1501
|
//! <b>Effects</b>: Returns the largest possible size of the vector.
|
@@ -1467,7 +1503,7 @@ class vector
|
|
1467
1503
|
//! <b>Throws</b>: Nothing.
|
1468
1504
|
//!
|
1469
1505
|
//! <b>Complexity</b>: Constant.
|
1470
|
-
BOOST_CONTAINER_FORCEINLINE size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1506
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1471
1507
|
{ return allocator_traits_type::max_size(this->m_holder.alloc()); }
|
1472
1508
|
|
1473
1509
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
@@ -1476,8 +1512,8 @@ class vector
|
|
1476
1512
|
//! <b>Throws</b>: If memory allocation throws, or T's copy/move or value initialization throws.
|
1477
1513
|
//!
|
1478
1514
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1479
|
-
void resize(size_type new_size)
|
1480
|
-
{ this->priv_resize(new_size, value_init); }
|
1515
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size)
|
1516
|
+
{ this->priv_resize(new_size, value_init, alloc_version()); }
|
1481
1517
|
|
1482
1518
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
1483
1519
|
//! the size becomes n. New elements are default initialized.
|
@@ -1487,8 +1523,8 @@ class vector
|
|
1487
1523
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1488
1524
|
//!
|
1489
1525
|
//! <b>Note</b>: Non-standard extension
|
1490
|
-
void resize(size_type new_size, default_init_t)
|
1491
|
-
{ this->priv_resize(new_size, default_init); }
|
1526
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size, default_init_t)
|
1527
|
+
{ this->priv_resize(new_size, default_init, alloc_version()); }
|
1492
1528
|
|
1493
1529
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
1494
1530
|
//! the size becomes n. New elements are copy constructed from x.
|
@@ -1496,8 +1532,8 @@ class vector
|
|
1496
1532
|
//! <b>Throws</b>: If memory allocation throws, or T's copy/move constructor throws.
|
1497
1533
|
//!
|
1498
1534
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1499
|
-
void resize(size_type new_size, const T& x)
|
1500
|
-
{ this->priv_resize(new_size, x); }
|
1535
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size, const T& x)
|
1536
|
+
{ this->priv_resize(new_size, x, alloc_version()); }
|
1501
1537
|
|
1502
1538
|
//! <b>Effects</b>: Number of elements for which memory has been allocated.
|
1503
1539
|
//! capacity() is always greater than or equal to size().
|
@@ -1505,7 +1541,7 @@ class vector
|
|
1505
1541
|
//! <b>Throws</b>: Nothing.
|
1506
1542
|
//!
|
1507
1543
|
//! <b>Complexity</b>: Constant.
|
1508
|
-
BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
1544
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
1509
1545
|
{ return this->m_holder.capacity(); }
|
1510
1546
|
|
1511
1547
|
//! <b>Effects</b>: If n is less than or equal to capacity(), this call has no
|
@@ -1517,7 +1553,7 @@ class vector
|
|
1517
1553
|
BOOST_CONTAINER_FORCEINLINE void reserve(size_type new_cap)
|
1518
1554
|
{
|
1519
1555
|
if (this->capacity() < new_cap){
|
1520
|
-
this->
|
1556
|
+
this->priv_move_to_new_buffer(new_cap, alloc_version());
|
1521
1557
|
}
|
1522
1558
|
}
|
1523
1559
|
|
@@ -1544,7 +1580,7 @@ class vector
|
|
1544
1580
|
//! <b>Throws</b>: Nothing.
|
1545
1581
|
//!
|
1546
1582
|
//! <b>Complexity</b>: Constant.
|
1547
|
-
reference
|
1583
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference front() BOOST_NOEXCEPT_OR_NOTHROW
|
1548
1584
|
{
|
1549
1585
|
BOOST_ASSERT(!this->empty());
|
1550
1586
|
return *this->m_holder.start();
|
@@ -1558,7 +1594,7 @@ class vector
|
|
1558
1594
|
//! <b>Throws</b>: Nothing.
|
1559
1595
|
//!
|
1560
1596
|
//! <b>Complexity</b>: Constant.
|
1561
|
-
const_reference
|
1597
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference front() const BOOST_NOEXCEPT_OR_NOTHROW
|
1562
1598
|
{
|
1563
1599
|
BOOST_ASSERT(!this->empty());
|
1564
1600
|
return *this->m_holder.start();
|
@@ -1572,7 +1608,7 @@ class vector
|
|
1572
1608
|
//! <b>Throws</b>: Nothing.
|
1573
1609
|
//!
|
1574
1610
|
//! <b>Complexity</b>: Constant.
|
1575
|
-
reference
|
1611
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference back() BOOST_NOEXCEPT_OR_NOTHROW
|
1576
1612
|
{
|
1577
1613
|
BOOST_ASSERT(!this->empty());
|
1578
1614
|
return this->m_holder.start()[this->m_holder.m_size - 1];
|
@@ -1586,7 +1622,7 @@ class vector
|
|
1586
1622
|
//! <b>Throws</b>: Nothing.
|
1587
1623
|
//!
|
1588
1624
|
//! <b>Complexity</b>: Constant.
|
1589
|
-
const_reference
|
1625
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference back() const BOOST_NOEXCEPT_OR_NOTHROW
|
1590
1626
|
{
|
1591
1627
|
BOOST_ASSERT(!this->empty());
|
1592
1628
|
return this->m_holder.start()[this->m_holder.m_size - 1];
|
@@ -1600,7 +1636,7 @@ class vector
|
|
1600
1636
|
//! <b>Throws</b>: Nothing.
|
1601
1637
|
//!
|
1602
1638
|
//! <b>Complexity</b>: Constant.
|
1603
|
-
reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1639
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1604
1640
|
{
|
1605
1641
|
BOOST_ASSERT(this->m_holder.m_size > n);
|
1606
1642
|
return this->m_holder.start()[n];
|
@@ -1614,7 +1650,8 @@ class vector
|
|
1614
1650
|
//! <b>Throws</b>: Nothing.
|
1615
1651
|
//!
|
1616
1652
|
//! <b>Complexity</b>: Constant.
|
1617
|
-
|
1653
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1654
|
+
const_reference operator[](size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
1618
1655
|
{
|
1619
1656
|
BOOST_ASSERT(this->m_holder.m_size > n);
|
1620
1657
|
return this->m_holder.start()[n];
|
@@ -1631,7 +1668,8 @@ class vector
|
|
1631
1668
|
//! <b>Complexity</b>: Constant.
|
1632
1669
|
//!
|
1633
1670
|
//! <b>Note</b>: Non-standard extension
|
1634
|
-
|
1671
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1672
|
+
iterator nth(size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1635
1673
|
{
|
1636
1674
|
BOOST_ASSERT(this->m_holder.m_size >= n);
|
1637
1675
|
return iterator(this->m_holder.start()+n);
|
@@ -1648,7 +1686,8 @@ class vector
|
|
1648
1686
|
//! <b>Complexity</b>: Constant.
|
1649
1687
|
//!
|
1650
1688
|
//! <b>Note</b>: Non-standard extension
|
1651
|
-
|
1689
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1690
|
+
const_iterator nth(size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
1652
1691
|
{
|
1653
1692
|
BOOST_ASSERT(this->m_holder.m_size >= n);
|
1654
1693
|
return const_iterator(this->m_holder.start()+n);
|
@@ -1664,7 +1703,8 @@ class vector
|
|
1664
1703
|
//! <b>Complexity</b>: Constant.
|
1665
1704
|
//!
|
1666
1705
|
//! <b>Note</b>: Non-standard extension
|
1667
|
-
|
1706
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1707
|
+
size_type index_of(iterator p) BOOST_NOEXCEPT_OR_NOTHROW
|
1668
1708
|
{
|
1669
1709
|
//Range check assert done in priv_index_of
|
1670
1710
|
return this->priv_index_of(vector_iterator_get_ptr(p));
|
@@ -1680,7 +1720,8 @@ class vector
|
|
1680
1720
|
//! <b>Complexity</b>: Constant.
|
1681
1721
|
//!
|
1682
1722
|
//! <b>Note</b>: Non-standard extension
|
1683
|
-
|
1723
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1724
|
+
size_type index_of(const_iterator p) const BOOST_NOEXCEPT_OR_NOTHROW
|
1684
1725
|
{
|
1685
1726
|
//Range check assert done in priv_index_of
|
1686
1727
|
return this->priv_index_of(vector_iterator_get_ptr(p));
|
@@ -1691,10 +1732,10 @@ class vector
|
|
1691
1732
|
//! <b>Effects</b>: Returns a reference to the nth element
|
1692
1733
|
//! from the beginning of the container.
|
1693
1734
|
//!
|
1694
|
-
//! <b>Throws</b>:
|
1735
|
+
//! <b>Throws</b>: range_error if n >= size()
|
1695
1736
|
//!
|
1696
1737
|
//! <b>Complexity</b>: Constant.
|
1697
|
-
reference at(size_type n)
|
1738
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference at(size_type n)
|
1698
1739
|
{
|
1699
1740
|
this->priv_throw_if_out_of_range(n);
|
1700
1741
|
return this->m_holder.start()[n];
|
@@ -1705,10 +1746,10 @@ class vector
|
|
1705
1746
|
//! <b>Effects</b>: Returns a const reference to the nth element
|
1706
1747
|
//! from the beginning of the container.
|
1707
1748
|
//!
|
1708
|
-
//! <b>Throws</b>:
|
1749
|
+
//! <b>Throws</b>: range_error if n >= size()
|
1709
1750
|
//!
|
1710
1751
|
//! <b>Complexity</b>: Constant.
|
1711
|
-
const_reference at(size_type n) const
|
1752
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference at(size_type n) const
|
1712
1753
|
{
|
1713
1754
|
this->priv_throw_if_out_of_range(n);
|
1714
1755
|
return this->m_holder.start()[n];
|
@@ -1726,7 +1767,7 @@ class vector
|
|
1726
1767
|
//! <b>Throws</b>: Nothing.
|
1727
1768
|
//!
|
1728
1769
|
//! <b>Complexity</b>: Constant.
|
1729
|
-
T* data() BOOST_NOEXCEPT_OR_NOTHROW
|
1770
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE T* data() BOOST_NOEXCEPT_OR_NOTHROW
|
1730
1771
|
{ return this->priv_raw_begin(); }
|
1731
1772
|
|
1732
1773
|
//! <b>Returns</b>: A pointer such that [data(),data() + size()) is a valid range.
|
@@ -1735,7 +1776,7 @@ class vector
|
|
1735
1776
|
//! <b>Throws</b>: Nothing.
|
1736
1777
|
//!
|
1737
1778
|
//! <b>Complexity</b>: Constant.
|
1738
|
-
const T * data() const BOOST_NOEXCEPT_OR_NOTHROW
|
1779
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const T * data() const BOOST_NOEXCEPT_OR_NOTHROW
|
1739
1780
|
{ return this->priv_raw_begin(); }
|
1740
1781
|
|
1741
1782
|
//////////////////////////////////////////////
|
@@ -1757,17 +1798,17 @@ class vector
|
|
1757
1798
|
template<class ...Args>
|
1758
1799
|
BOOST_CONTAINER_FORCEINLINE reference emplace_back(BOOST_FWD_REF(Args)...args)
|
1759
1800
|
{
|
1801
|
+
T* const p = this->priv_raw_end();
|
1760
1802
|
if (BOOST_LIKELY(this->room_enough())){
|
1761
1803
|
//There is more memory, just construct a new object at the end
|
1762
|
-
T* const p = this->priv_raw_end();
|
1763
1804
|
allocator_traits_type::construct(this->m_holder.alloc(), p, ::boost::forward<Args>(args)...);
|
1764
1805
|
++this->m_holder.m_size;
|
1765
1806
|
return *p;
|
1766
1807
|
}
|
1767
1808
|
else{
|
1768
|
-
typedef dtl::insert_emplace_proxy<
|
1769
|
-
return *this->
|
1770
|
-
(
|
1809
|
+
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
|
1810
|
+
return *this->priv_insert_forward_range_no_capacity
|
1811
|
+
(p, 1, proxy_t(::boost::forward<Args>(args)...), alloc_version());
|
1771
1812
|
}
|
1772
1813
|
}
|
1773
1814
|
|
@@ -1802,13 +1843,13 @@ class vector
|
|
1802
1843
|
//! <b>Complexity</b>: If position is end(), amortized constant time
|
1803
1844
|
//! Linear time otherwise.
|
1804
1845
|
template<class ...Args>
|
1805
|
-
iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
|
1846
|
+
BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
|
1806
1847
|
{
|
1807
1848
|
BOOST_ASSERT(this->priv_in_range_or_end(position));
|
1808
1849
|
//Just call more general insert(pos, size, value) and return iterator
|
1809
|
-
typedef dtl::insert_emplace_proxy<
|
1810
|
-
return this->
|
1811
|
-
,
|
1850
|
+
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
|
1851
|
+
return this->priv_insert_forward_range( vector_iterator_get_ptr(position), 1
|
1852
|
+
, proxy_t(::boost::forward<Args>(args)...));
|
1812
1853
|
}
|
1813
1854
|
|
1814
1855
|
#else // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
|
@@ -1817,17 +1858,17 @@ class vector
|
|
1817
1858
|
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
|
1818
1859
|
BOOST_CONTAINER_FORCEINLINE reference emplace_back(BOOST_MOVE_UREF##N)\
|
1819
1860
|
{\
|
1861
|
+
T* const p = this->priv_raw_end();\
|
1820
1862
|
if (BOOST_LIKELY(this->room_enough())){\
|
1821
|
-
T* const p = this->priv_raw_end();\
|
1822
1863
|
allocator_traits_type::construct (this->m_holder.alloc()\
|
1823
1864
|
, this->priv_raw_end() BOOST_MOVE_I##N BOOST_MOVE_FWD##N);\
|
1824
1865
|
++this->m_holder.m_size;\
|
1825
1866
|
return *p;\
|
1826
1867
|
}\
|
1827
1868
|
else{\
|
1828
|
-
typedef dtl::insert_emplace_proxy_arg##N<
|
1829
|
-
return *this->
|
1830
|
-
(
|
1869
|
+
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N> proxy_t;\
|
1870
|
+
return *this->priv_insert_forward_range_no_capacity\
|
1871
|
+
( p, 1, proxy_t(BOOST_MOVE_FWD##N), alloc_version());\
|
1831
1872
|
}\
|
1832
1873
|
}\
|
1833
1874
|
\
|
@@ -1844,11 +1885,11 @@ class vector
|
|
1844
1885
|
}\
|
1845
1886
|
\
|
1846
1887
|
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
|
1847
|
-
iterator emplace(const_iterator pos BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
|
1888
|
+
BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator pos BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
|
1848
1889
|
{\
|
1849
1890
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));\
|
1850
|
-
typedef dtl::insert_emplace_proxy_arg##N<
|
1851
|
-
return this->
|
1891
|
+
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N> proxy_t;\
|
1892
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), 1, proxy_t(BOOST_MOVE_FWD##N));\
|
1852
1893
|
}\
|
1853
1894
|
//
|
1854
1895
|
BOOST_MOVE_ITERATE_0TO9(BOOST_CONTAINER_VECTOR_EMPLACE_CODE)
|
@@ -1910,11 +1951,11 @@ class vector
|
|
1910
1951
|
//! <b>Throws</b>: If memory allocation throws or T's copy/move constructor throws.
|
1911
1952
|
//!
|
1912
1953
|
//! <b>Complexity</b>: Linear to n.
|
1913
|
-
iterator insert(const_iterator p, size_type n, const T& x)
|
1954
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator p, size_type n, const T& x)
|
1914
1955
|
{
|
1915
1956
|
BOOST_ASSERT(this->priv_in_range_or_end(p));
|
1916
|
-
dtl::insert_n_copies_proxy<
|
1917
|
-
return this->
|
1957
|
+
dtl::insert_n_copies_proxy<allocator_type, T*> proxy(x);
|
1958
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(p), n, proxy);
|
1918
1959
|
}
|
1919
1960
|
|
1920
1961
|
//! <b>Requires</b>: p must be a valid iterator of *this.
|
@@ -1950,7 +1991,7 @@ class vector
|
|
1950
1991
|
|
1951
1992
|
#if !defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1952
1993
|
template <class FwdIt>
|
1953
|
-
iterator insert(const_iterator pos, FwdIt first, FwdIt last
|
1994
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator pos, FwdIt first, FwdIt last
|
1954
1995
|
, typename dtl::disable_if_or
|
1955
1996
|
< void
|
1956
1997
|
, dtl::is_convertible<FwdIt, size_type>
|
@@ -1959,8 +2000,13 @@ class vector
|
|
1959
2000
|
)
|
1960
2001
|
{
|
1961
2002
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
1962
|
-
|
1963
|
-
|
2003
|
+
const typename iterator_traits<FwdIt>::size_type sz = boost::container::iterator_distance(first, last);
|
2004
|
+
if (sz > size_type(-1)){
|
2005
|
+
boost::container::throw_length_error("vector::insert, FwdIt's max length reached");
|
2006
|
+
}
|
2007
|
+
|
2008
|
+
dtl::insert_range_proxy<allocator_type, FwdIt, T*> proxy(first);
|
2009
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), static_cast<size_type>(sz), proxy);
|
1964
2010
|
}
|
1965
2011
|
#endif
|
1966
2012
|
|
@@ -1981,14 +2027,14 @@ class vector
|
|
1981
2027
|
//! a non-standard extension.
|
1982
2028
|
#if !defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1983
2029
|
template <class InIt>
|
1984
|
-
iterator insert(const_iterator pos, size_type num, InIt first, InIt last)
|
2030
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator pos, size_type num, InIt first, InIt last)
|
1985
2031
|
{
|
1986
2032
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
1987
2033
|
BOOST_ASSERT(dtl::is_input_iterator<InIt>::value ||
|
1988
2034
|
num == static_cast<size_type>(boost::container::iterator_distance(first, last)));
|
1989
2035
|
(void)last;
|
1990
|
-
dtl::insert_range_proxy<
|
1991
|
-
return this->
|
2036
|
+
dtl::insert_range_proxy<allocator_type, InIt, T*> proxy(first);
|
2037
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), num, proxy);
|
1992
2038
|
}
|
1993
2039
|
#endif
|
1994
2040
|
|
@@ -2000,7 +2046,7 @@ class vector
|
|
2000
2046
|
//! <b>Returns</b>: an iterator to the first inserted element or position if first == last.
|
2001
2047
|
//!
|
2002
2048
|
//! <b>Complexity</b>: Linear to the range [il.begin(), il.end()).
|
2003
|
-
iterator insert(const_iterator position, std::initializer_list<value_type> il)
|
2049
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator position, std::initializer_list<value_type> il)
|
2004
2050
|
{
|
2005
2051
|
//Assertion done in insert()
|
2006
2052
|
return this->insert(position, il.begin(), il.end());
|
@@ -2012,11 +2058,12 @@ class vector
|
|
2012
2058
|
//! <b>Throws</b>: Nothing.
|
2013
2059
|
//!
|
2014
2060
|
//! <b>Complexity</b>: Constant time.
|
2015
|
-
void pop_back() BOOST_NOEXCEPT_OR_NOTHROW
|
2061
|
+
BOOST_CONTAINER_FORCEINLINE void pop_back() BOOST_NOEXCEPT_OR_NOTHROW
|
2016
2062
|
{
|
2017
2063
|
BOOST_ASSERT(!this->empty());
|
2018
2064
|
//Destroy last element
|
2019
|
-
this->
|
2065
|
+
allocator_traits_type::destroy(this->get_stored_allocator(), this->priv_raw_end() - 1);
|
2066
|
+
--this->m_holder.m_size;
|
2020
2067
|
}
|
2021
2068
|
|
2022
2069
|
//! <b>Effects</b>: Erases the element at position pos.
|
@@ -2030,10 +2077,16 @@ class vector
|
|
2030
2077
|
BOOST_ASSERT(this->priv_in_range(position));
|
2031
2078
|
const pointer p = vector_iterator_get_ptr(position);
|
2032
2079
|
T *const pos_ptr = boost::movelib::to_raw_pointer(p);
|
2033
|
-
T *const
|
2034
|
-
|
2080
|
+
T *const end_ptr = this->priv_raw_end();
|
2081
|
+
|
2035
2082
|
//Move elements forward and destroy last
|
2036
|
-
|
2083
|
+
(void)::boost::container::move(pos_ptr + 1, end_ptr, pos_ptr);
|
2084
|
+
|
2085
|
+
T *const last_ptr = end_ptr-1;
|
2086
|
+
if(!value_traits::trivial_dctr_after_move || pos_ptr == last_ptr){
|
2087
|
+
allocator_traits_type::destroy(this->get_stored_allocator(), last_ptr);
|
2088
|
+
}
|
2089
|
+
--this->m_holder.m_size;
|
2037
2090
|
return iterator(p);
|
2038
2091
|
}
|
2039
2092
|
|
@@ -2045,15 +2098,19 @@ class vector
|
|
2045
2098
|
//! plus linear to the elements between pos and the last element.
|
2046
2099
|
iterator erase(const_iterator first, const_iterator last)
|
2047
2100
|
{
|
2048
|
-
|
2049
|
-
|
2050
|
-
|
2051
|
-
|
2101
|
+
BOOST_ASSERT(this->priv_in_range_or_end(first));
|
2102
|
+
BOOST_ASSERT(this->priv_in_range_or_end(last));
|
2103
|
+
BOOST_ASSERT(first <= last);
|
2104
|
+
if(first != last){
|
2052
2105
|
T* const old_end_ptr = this->priv_raw_end();
|
2053
2106
|
T* const first_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(first));
|
2054
2107
|
T* const last_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(last));
|
2055
|
-
T* const
|
2056
|
-
|
2108
|
+
T* const new_last_ptr = boost::movelib::to_raw_pointer(boost::container::move(last_ptr, old_end_ptr, first_ptr));
|
2109
|
+
const size_type n = static_cast<size_type>(old_end_ptr - new_last_ptr);
|
2110
|
+
if(!value_traits::trivial_dctr_after_move || old_end_ptr == last_ptr){
|
2111
|
+
boost::container::destroy_alloc_n(this->get_stored_allocator(), new_last_ptr, n);
|
2112
|
+
}
|
2113
|
+
this->m_holder.dec_stored_size(n);
|
2057
2114
|
}
|
2058
2115
|
return iterator(vector_iterator_get_ptr(first));
|
2059
2116
|
}
|
@@ -2066,9 +2123,9 @@ class vector
|
|
2066
2123
|
BOOST_CONTAINER_FORCEINLINE void swap(vector& x)
|
2067
2124
|
BOOST_NOEXCEPT_IF( ((allocator_traits_type::propagate_on_container_swap::value
|
2068
2125
|
|| allocator_traits_type::is_always_equal::value) &&
|
2069
|
-
!dtl::is_version<
|
2126
|
+
!dtl::is_version<allocator_type, 0>::value))
|
2070
2127
|
{
|
2071
|
-
this->priv_swap(x, dtl::bool_<dtl::is_version<
|
2128
|
+
this->priv_swap(x, dtl::bool_<dtl::is_version<allocator_type, 0>::value>());
|
2072
2129
|
}
|
2073
2130
|
|
2074
2131
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -2080,12 +2137,12 @@ class vector
|
|
2080
2137
|
//! <b>Complexity</b>: Linear
|
2081
2138
|
//!
|
2082
2139
|
//! <b>Note</b>: Non-standard extension to support static_vector
|
2083
|
-
template<class
|
2084
|
-
BOOST_CONTAINER_FORCEINLINE void swap(vector<T,
|
2140
|
+
template<class OtherA>
|
2141
|
+
BOOST_CONTAINER_FORCEINLINE void swap(vector<T, OtherA, Options> & x
|
2085
2142
|
, typename dtl::enable_if_and
|
2086
2143
|
< void
|
2087
|
-
, dtl::is_version<
|
2088
|
-
, dtl::is_different<
|
2144
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
2145
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
2089
2146
|
>::type * = 0
|
2090
2147
|
)
|
2091
2148
|
{ this->m_holder.deep_swap(x.m_holder); }
|
@@ -2103,51 +2160,44 @@ class vector
|
|
2103
2160
|
//! <b>Effects</b>: Returns true if x and y are equal
|
2104
2161
|
//!
|
2105
2162
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2106
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator==(const vector& x, const vector& y)
|
2163
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator==(const vector& x, const vector& y)
|
2107
2164
|
{ return x.size() == y.size() && ::boost::container::algo_equal(x.begin(), x.end(), y.begin()); }
|
2108
2165
|
|
2109
2166
|
//! <b>Effects</b>: Returns true if x and y are unequal
|
2110
2167
|
//!
|
2111
2168
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2112
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const vector& x, const vector& y)
|
2169
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const vector& x, const vector& y)
|
2113
2170
|
{ return !(x == y); }
|
2114
2171
|
|
2115
2172
|
//! <b>Effects</b>: Returns true if x is less than y
|
2116
2173
|
//!
|
2117
2174
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2118
|
-
friend bool operator<(const vector& x, const vector& y)
|
2119
|
-
{
|
2120
|
-
const_iterator first1(x.cbegin()), first2(y.cbegin());
|
2121
|
-
const const_iterator last1(x.cend()), last2(y.cend());
|
2122
|
-
for ( ; (first1 != last1) && (first2 != last2); ++first1, ++first2 ) {
|
2123
|
-
if (*first1 < *first2) return true;
|
2124
|
-
if (*first2 < *first1) return false;
|
2125
|
-
}
|
2126
|
-
return (first1 == last1) && (first2 != last2);
|
2127
|
-
}
|
2175
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD friend bool operator<(const vector& x, const vector& y)
|
2176
|
+
{ return boost::container::algo_lexicographical_compare(x.begin(), x.end(), y.begin(), y.end()); }
|
2128
2177
|
|
2129
2178
|
//! <b>Effects</b>: Returns true if x is greater than y
|
2130
2179
|
//!
|
2131
2180
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2132
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator>(const vector& x, const vector& y)
|
2181
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator>(const vector& x, const vector& y)
|
2133
2182
|
{ return y < x; }
|
2134
2183
|
|
2135
2184
|
//! <b>Effects</b>: Returns true if x is equal or less than y
|
2136
2185
|
//!
|
2137
2186
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2138
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator<=(const vector& x, const vector& y)
|
2187
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator<=(const vector& x, const vector& y)
|
2139
2188
|
{ return !(y < x); }
|
2140
2189
|
|
2141
2190
|
//! <b>Effects</b>: Returns true if x is equal or greater than y
|
2142
2191
|
//!
|
2143
2192
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2144
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator>=(const vector& x, const vector& y)
|
2193
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator>=(const vector& x, const vector& y)
|
2145
2194
|
{ return !(x < y); }
|
2146
2195
|
|
2147
2196
|
//! <b>Effects</b>: x.swap(y)
|
2148
2197
|
//!
|
2149
2198
|
//! <b>Complexity</b>: Constant.
|
2150
2199
|
BOOST_CONTAINER_FORCEINLINE friend void swap(vector& x, vector& y)
|
2200
|
+
BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT(x.swap(y)))
|
2151
2201
|
{ x.swap(y); }
|
2152
2202
|
|
2153
2203
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -2254,14 +2304,14 @@ class vector
|
|
2254
2304
|
else{
|
2255
2305
|
//Hole was just filled, disable exception rollback and change vector size
|
2256
2306
|
past_hole_values_destroyer.release();
|
2257
|
-
this->m_holder.
|
2307
|
+
this->m_holder.inc_stored_size(element_count);
|
2258
2308
|
}
|
2259
2309
|
}
|
2260
2310
|
else{
|
2261
2311
|
if(old_hole_size){
|
2262
2312
|
//Hole was just filled by priv_insert_ordered_at_shift_range, disable exception rollback and change vector size
|
2263
2313
|
past_hole_values_destroyer.release();
|
2264
|
-
this->m_holder.
|
2314
|
+
this->m_holder.inc_stored_size(element_count);
|
2265
2315
|
}
|
2266
2316
|
//Insert the new value in the already constructed range
|
2267
2317
|
begin_ptr[pos + insertions_left - 1] = position_value.get_val();
|
@@ -2309,7 +2359,7 @@ class vector
|
|
2309
2359
|
template<class FwdIt, class Compare>
|
2310
2360
|
BOOST_CONTAINER_FORCEINLINE void priv_merge_in_new_buffer(FwdIt, size_type, Compare, version_0)
|
2311
2361
|
{
|
2312
|
-
|
2362
|
+
alloc_holder_t::on_capacity_overflow();
|
2313
2363
|
}
|
2314
2364
|
|
2315
2365
|
template<class FwdIt, class Compare, class Version>
|
@@ -2359,8 +2409,10 @@ class vector
|
|
2359
2409
|
pointer const old_p = this->m_holder.start();
|
2360
2410
|
size_type const old_cap = this->m_holder.capacity();
|
2361
2411
|
boost::container::destroy_alloc_n(a, boost::movelib::to_raw_pointer(old_p), old_size);
|
2362
|
-
|
2363
|
-
|
2412
|
+
if (old_cap > 0) {
|
2413
|
+
this->m_holder.deallocate(old_p, old_cap);
|
2414
|
+
}
|
2415
|
+
m_holder.set_stored_size(old_size + added);
|
2364
2416
|
this->m_holder.start(new_storage);
|
2365
2417
|
this->m_holder.capacity(new_cap);
|
2366
2418
|
new_buffer_deallocator.release();
|
@@ -2368,41 +2420,44 @@ class vector
|
|
2368
2420
|
}
|
2369
2421
|
|
2370
2422
|
BOOST_CONTAINER_FORCEINLINE bool room_enough() const
|
2371
|
-
{ return this->m_holder.m_size
|
2423
|
+
{ return this->m_holder.m_size != this->m_holder.capacity(); }
|
2372
2424
|
|
2373
2425
|
BOOST_CONTAINER_FORCEINLINE pointer back_ptr() const
|
2374
2426
|
{ return this->m_holder.start() + this->m_holder.m_size; }
|
2375
2427
|
|
2376
|
-
size_type priv_index_of(pointer p) const
|
2428
|
+
BOOST_CONTAINER_FORCEINLINE size_type priv_index_of(pointer p) const
|
2377
2429
|
{
|
2378
2430
|
BOOST_ASSERT(this->m_holder.start() <= p);
|
2379
2431
|
BOOST_ASSERT(p <= (this->m_holder.start()+this->size()));
|
2380
2432
|
return static_cast<size_type>(p - this->m_holder.start());
|
2381
2433
|
}
|
2382
2434
|
|
2383
|
-
template<class
|
2384
|
-
void priv_move_assign(BOOST_RV_REF_BEG vector<T,
|
2435
|
+
template<class OtherA>
|
2436
|
+
void priv_move_assign(BOOST_RV_REF_BEG vector<T, OtherA, Options> BOOST_RV_REF_END x
|
2385
2437
|
, typename dtl::enable_if_c
|
2386
|
-
< dtl::is_version<
|
2438
|
+
< dtl::is_version<typename real_allocator<T, OtherA>::type, 0>::value >::type * = 0)
|
2387
2439
|
{
|
2388
|
-
if(!dtl::is_same<
|
2440
|
+
if(!dtl::is_same<typename real_allocator<T, OtherA>::type, allocator_type>::value &&
|
2389
2441
|
this->capacity() < x.size()){
|
2390
|
-
|
2442
|
+
alloc_holder_t::on_capacity_overflow();
|
2391
2443
|
}
|
2392
2444
|
T* const this_start = this->priv_raw_begin();
|
2393
2445
|
T* const other_start = x.priv_raw_begin();
|
2394
2446
|
const size_type this_sz = m_holder.m_size;
|
2395
2447
|
const size_type other_sz = static_cast<size_type>(x.m_holder.m_size);
|
2396
2448
|
boost::container::move_assign_range_alloc_n(this->m_holder.alloc(), other_start, other_sz, this_start, this_sz);
|
2397
|
-
|
2449
|
+
m_holder.set_stored_size(other_sz);
|
2450
|
+
//Not emptying the source container seems to be confusing for users as drop-in
|
2451
|
+
//replacement for non-static vectors, so clear it.
|
2452
|
+
x.clear();
|
2398
2453
|
}
|
2399
2454
|
|
2400
|
-
template<class
|
2401
|
-
void priv_move_assign(BOOST_RV_REF_BEG vector<T,
|
2455
|
+
template<class OtherA>
|
2456
|
+
void priv_move_assign(BOOST_RV_REF_BEG vector<T, OtherA, Options> BOOST_RV_REF_END x
|
2402
2457
|
, typename dtl::disable_if_or
|
2403
2458
|
< void
|
2404
|
-
, dtl::is_version<
|
2405
|
-
, dtl::is_different<
|
2459
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
2460
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
2406
2461
|
>::type * = 0)
|
2407
2462
|
{
|
2408
2463
|
//for move assignment, no aliasing (&x != this) is assumed.
|
@@ -2412,6 +2467,7 @@ class vector
|
|
2412
2467
|
allocator_type &x_alloc = x.m_holder.alloc();
|
2413
2468
|
const bool propagate_alloc = allocator_traits_type::propagate_on_container_move_assignment::value;
|
2414
2469
|
|
2470
|
+
//In this allocator move constructor the allocator maybe will be propagated -----------------------v
|
2415
2471
|
const bool is_propagable_from_x = is_propagable_from(x_alloc, x.m_holder.start(), this_alloc, propagate_alloc);
|
2416
2472
|
|
2417
2473
|
//Resources can be transferred if both allocators are
|
@@ -2422,40 +2478,42 @@ class vector
|
|
2422
2478
|
this->m_holder.deallocate(this->m_holder.m_start, this->m_holder.m_capacity);
|
2423
2479
|
this->m_holder.steal_resources(x.m_holder);
|
2424
2480
|
}
|
2425
|
-
//Else do a one by one move
|
2481
|
+
//Else do a one by one move. Also, clear the source as users find confusing
|
2482
|
+
//elements are still alive in the source container.
|
2426
2483
|
else{
|
2427
2484
|
this->assign( boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(x.begin()))
|
2428
2485
|
, boost::make_move_iterator(boost::movelib::iterator_to_raw_pointer(x.end() ))
|
2429
2486
|
);
|
2487
|
+
x.clear();
|
2430
2488
|
}
|
2431
2489
|
//Move allocator if needed
|
2432
2490
|
dtl::move_alloc(this_alloc, x_alloc, dtl::bool_<propagate_alloc>());
|
2433
2491
|
}
|
2434
2492
|
|
2435
|
-
template<class
|
2436
|
-
void priv_copy_assign(const vector<T,
|
2493
|
+
template<class OtherA>
|
2494
|
+
void priv_copy_assign(const vector<T, OtherA, Options> &x
|
2437
2495
|
, typename dtl::enable_if_c
|
2438
|
-
< dtl::is_version<
|
2496
|
+
< dtl::is_version<typename real_allocator<T, OtherA>::type, 0>::value >::type * = 0)
|
2439
2497
|
{
|
2440
|
-
if(!dtl::is_same<
|
2498
|
+
if(!dtl::is_same<typename real_allocator<T, OtherA>::type, allocator_type>::value &&
|
2441
2499
|
this->capacity() < x.size()){
|
2442
|
-
|
2500
|
+
alloc_holder_t::on_capacity_overflow();
|
2443
2501
|
}
|
2444
2502
|
T* const this_start = this->priv_raw_begin();
|
2445
2503
|
T* const other_start = x.priv_raw_begin();
|
2446
2504
|
const size_type this_sz = m_holder.m_size;
|
2447
2505
|
const size_type other_sz = static_cast<size_type>(x.m_holder.m_size);
|
2448
2506
|
boost::container::copy_assign_range_alloc_n(this->m_holder.alloc(), other_start, other_sz, this_start, this_sz);
|
2449
|
-
|
2507
|
+
m_holder.set_stored_size(other_sz);
|
2450
2508
|
}
|
2451
2509
|
|
2452
|
-
template<class
|
2510
|
+
template<class OtherA>
|
2453
2511
|
typename dtl::disable_if_or
|
2454
2512
|
< void
|
2455
|
-
, dtl::is_version<
|
2456
|
-
, dtl::is_different<
|
2513
|
+
, dtl::is_version<typename real_allocator<T, OtherA>::type, 0>
|
2514
|
+
, dtl::is_different<typename real_allocator<T, OtherA>::type, allocator_type>
|
2457
2515
|
>::type
|
2458
|
-
priv_copy_assign(const vector<T,
|
2516
|
+
priv_copy_assign(const vector<T, OtherA, Options> &x)
|
2459
2517
|
{
|
2460
2518
|
allocator_type &this_alloc = this->m_holder.alloc();
|
2461
2519
|
const allocator_type &x_alloc = x.m_holder.alloc();
|
@@ -2470,7 +2528,7 @@ class vector
|
|
2470
2528
|
}
|
2471
2529
|
|
2472
2530
|
template<class Vector> //Template it to avoid it in explicit instantiations
|
2473
|
-
void priv_swap(Vector &x, dtl::true_type) //version_0
|
2531
|
+
BOOST_CONTAINER_FORCEINLINE void priv_swap(Vector &x, dtl::true_type) //version_0
|
2474
2532
|
{ this->m_holder.deep_swap(x.m_holder); }
|
2475
2533
|
|
2476
2534
|
template<class Vector> //Template it to avoid it in explicit instantiations
|
@@ -2507,26 +2565,29 @@ class vector
|
|
2507
2565
|
dtl::swap_alloc(this->m_holder.alloc(), x.m_holder.alloc(), dtl::bool_<propagate_alloc>());
|
2508
2566
|
}
|
2509
2567
|
|
2510
|
-
void
|
2511
|
-
{
|
2568
|
+
BOOST_CONTAINER_FORCEINLINE void priv_move_to_new_buffer(size_type, version_0)
|
2569
|
+
{ alloc_holder_t::on_capacity_overflow(); }
|
2512
2570
|
|
2513
|
-
dtl::insert_range_proxy<
|
2571
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*> priv_dummy_empty_proxy()
|
2514
2572
|
{
|
2515
|
-
return dtl::insert_range_proxy<
|
2573
|
+
return dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*>
|
2516
2574
|
(::boost::make_move_iterator((T *)0));
|
2517
2575
|
}
|
2518
2576
|
|
2519
|
-
void
|
2577
|
+
BOOST_CONTAINER_FORCEINLINE void priv_move_to_new_buffer(size_type new_cap, version_1)
|
2520
2578
|
{
|
2521
2579
|
//There is not enough memory, allocate a new buffer
|
2522
2580
|
//Pass the hint so that allocators can take advantage of this.
|
2523
2581
|
pointer const p = this->m_holder.allocate(new_cap);
|
2582
|
+
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2583
|
+
++this->num_alloc;
|
2584
|
+
#endif
|
2524
2585
|
//We will reuse insert code, so create a dummy input iterator
|
2525
|
-
this->
|
2586
|
+
this->priv_insert_forward_range_new_allocation
|
2526
2587
|
( boost::movelib::to_raw_pointer(p), new_cap, this->priv_raw_end(), 0, this->priv_dummy_empty_proxy());
|
2527
2588
|
}
|
2528
2589
|
|
2529
|
-
void
|
2590
|
+
void priv_move_to_new_buffer(size_type new_cap, version_2)
|
2530
2591
|
{
|
2531
2592
|
//There is not enough memory, allocate a new
|
2532
2593
|
//buffer or expand the old one.
|
@@ -2550,38 +2611,24 @@ class vector
|
|
2550
2611
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2551
2612
|
++this->num_expand_bwd;
|
2552
2613
|
#endif
|
2553
|
-
this->
|
2614
|
+
this->priv_insert_forward_range_expand_backwards
|
2554
2615
|
( new_mem , real_cap, ins_pos, 0, this->priv_dummy_empty_proxy());
|
2555
2616
|
}
|
2556
2617
|
else{ //New buffer
|
2557
2618
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2558
2619
|
++this->num_alloc;
|
2559
2620
|
#endif
|
2560
|
-
this->
|
2621
|
+
this->priv_insert_forward_range_new_allocation
|
2561
2622
|
( new_mem, real_cap, ins_pos, 0, this->priv_dummy_empty_proxy());
|
2562
2623
|
}
|
2563
2624
|
}
|
2564
2625
|
}
|
2565
2626
|
|
2566
|
-
void priv_destroy_last(const bool moved = false) BOOST_NOEXCEPT_OR_NOTHROW
|
2567
|
-
{
|
2568
|
-
(void)moved;
|
2569
|
-
const bool skip_destructor = value_traits::trivial_dctr || (value_traits::trivial_dctr_after_move && moved);
|
2570
|
-
if(!skip_destructor){
|
2571
|
-
value_type* const p = this->priv_raw_end() - 1;
|
2572
|
-
allocator_traits_type::destroy(this->get_stored_allocator(), p);
|
2573
|
-
}
|
2574
|
-
--this->m_holder.m_size;
|
2575
|
-
}
|
2576
|
-
|
2577
2627
|
void priv_destroy_last_n(const size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
2578
2628
|
{
|
2579
2629
|
BOOST_ASSERT(n <= this->m_holder.m_size);
|
2580
|
-
|
2581
|
-
|
2582
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), destroy_pos, n);
|
2583
|
-
}
|
2584
|
-
this->m_holder.m_size -= n;
|
2630
|
+
boost::container::destroy_alloc_n(this->get_stored_allocator(), this->priv_raw_end() - n, n);
|
2631
|
+
this->m_holder.dec_stored_size(n);
|
2585
2632
|
}
|
2586
2633
|
|
2587
2634
|
template<class InpIt>
|
@@ -2589,7 +2636,7 @@ class vector
|
|
2589
2636
|
{
|
2590
2637
|
T* const old_end_pos = this->priv_raw_end();
|
2591
2638
|
T* const new_end_pos = boost::container::uninitialized_copy_alloc(this->m_holder.alloc(), first, last, old_end_pos);
|
2592
|
-
this->m_holder.
|
2639
|
+
this->m_holder.inc_stored_size(static_cast<size_type>(new_end_pos - old_end_pos));
|
2593
2640
|
}
|
2594
2641
|
|
2595
2642
|
void priv_destroy_all() BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -2600,57 +2647,32 @@ class vector
|
|
2600
2647
|
}
|
2601
2648
|
|
2602
2649
|
template<class U>
|
2603
|
-
iterator priv_insert(const const_iterator &p, BOOST_FWD_REF(U)
|
2650
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const const_iterator &p, BOOST_FWD_REF(U) u)
|
2604
2651
|
{
|
2605
|
-
|
2606
|
-
return this->priv_forward_range_insert
|
2607
|
-
( vector_iterator_get_ptr(p), 1, dtl::get_insert_value_proxy<T*, Allocator>(::boost::forward<U>(x)));
|
2652
|
+
return this->emplace(p, ::boost::forward<U>(u));
|
2608
2653
|
}
|
2609
2654
|
|
2610
|
-
dtl::insert_copy_proxy<Allocator, T*> priv_single_insert_proxy(const T &x)
|
2611
|
-
{ return dtl::insert_copy_proxy<Allocator, T*> (x); }
|
2612
|
-
|
2613
|
-
dtl::insert_move_proxy<Allocator, T*> priv_single_insert_proxy(BOOST_RV_REF(T) x)
|
2614
|
-
{ return dtl::insert_move_proxy<Allocator, T*> (x); }
|
2615
|
-
|
2616
2655
|
template <class U>
|
2617
|
-
void priv_push_back(BOOST_FWD_REF(U) u)
|
2656
|
+
BOOST_CONTAINER_FORCEINLINE void priv_push_back(BOOST_FWD_REF(U) u)
|
2618
2657
|
{
|
2619
|
-
|
2620
|
-
//There is more memory, just construct a new object at the end
|
2621
|
-
allocator_traits_type::construct
|
2622
|
-
( this->m_holder.alloc(), this->priv_raw_end(), ::boost::forward<U>(u) );
|
2623
|
-
++this->m_holder.m_size;
|
2624
|
-
}
|
2625
|
-
else{
|
2626
|
-
this->priv_forward_range_insert_no_capacity
|
2627
|
-
( this->back_ptr(), 1
|
2628
|
-
, this->priv_single_insert_proxy(::boost::forward<U>(u)), alloc_version());
|
2629
|
-
}
|
2658
|
+
this->emplace_back(::boost::forward<U>(u));
|
2630
2659
|
}
|
2631
2660
|
|
2632
|
-
|
2633
|
-
|
2661
|
+
//Overload to support compiler errors that instantiate too much
|
2662
|
+
BOOST_CONTAINER_FORCEINLINE void priv_push_back(::boost::move_detail::nat)
|
2663
|
+
{}
|
2664
|
+
|
2665
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const_iterator, ::boost::move_detail::nat)
|
2666
|
+
{ return iterator(); }
|
2634
2667
|
|
2635
|
-
BOOST_CONTAINER_FORCEINLINE dtl::
|
2636
|
-
{ return dtl::
|
2668
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_n_copies_proxy<allocator_type, T*> priv_resize_proxy(const T &x)
|
2669
|
+
{ return dtl::insert_n_copies_proxy<allocator_type, T*>(x); }
|
2637
2670
|
|
2638
|
-
BOOST_CONTAINER_FORCEINLINE dtl::
|
2639
|
-
{ return dtl::
|
2671
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_default_initialized_n_proxy<allocator_type, T*> priv_resize_proxy(default_init_t)
|
2672
|
+
{ return dtl::insert_default_initialized_n_proxy<allocator_type, T*>(); }
|
2640
2673
|
|
2641
|
-
|
2642
|
-
|
2643
|
-
{
|
2644
|
-
const size_type sz = this->size();
|
2645
|
-
if (new_size < sz){
|
2646
|
-
//Destroy last elements
|
2647
|
-
this->priv_destroy_last_n(sz - new_size);
|
2648
|
-
}
|
2649
|
-
else{
|
2650
|
-
const size_type n = new_size - this->size();
|
2651
|
-
this->priv_forward_range_insert_at_end(n, this->priv_resize_proxy(u), alloc_version());
|
2652
|
-
}
|
2653
|
-
}
|
2674
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_value_initialized_n_proxy<allocator_type, T*> priv_resize_proxy(value_init_t)
|
2675
|
+
{ return dtl::insert_value_initialized_n_proxy<allocator_type, T*>(); }
|
2654
2676
|
|
2655
2677
|
BOOST_CONTAINER_FORCEINLINE void priv_shrink_to_fit(version_0) BOOST_NOEXCEPT_OR_NOTHROW
|
2656
2678
|
{}
|
@@ -2667,17 +2689,7 @@ class vector
|
|
2667
2689
|
this->m_holder.m_capacity = 0;
|
2668
2690
|
}
|
2669
2691
|
else if(sz < cp){
|
2670
|
-
|
2671
|
-
//Pass the hint so that allocators can take advantage of this.
|
2672
|
-
pointer const p = this->m_holder.allocate(sz);
|
2673
|
-
|
2674
|
-
//We will reuse insert code, so create a dummy input iterator
|
2675
|
-
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2676
|
-
++this->num_alloc;
|
2677
|
-
#endif
|
2678
|
-
this->priv_forward_range_insert_new_allocation
|
2679
|
-
( boost::movelib::to_raw_pointer(p), sz
|
2680
|
-
, this->priv_raw_begin(), 0, this->priv_dummy_empty_proxy());
|
2692
|
+
this->priv_move_to_new_buffer(sz, alloc_version());
|
2681
2693
|
}
|
2682
2694
|
}
|
2683
2695
|
}
|
@@ -2708,20 +2720,18 @@ class vector
|
|
2708
2720
|
}
|
2709
2721
|
|
2710
2722
|
template <class InsertionProxy>
|
2711
|
-
iterator
|
2712
|
-
(
|
2723
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert_forward_range_no_capacity
|
2724
|
+
(T * const, const size_type, const InsertionProxy , version_0)
|
2713
2725
|
{
|
2714
|
-
|
2715
|
-
return iterator(pos);
|
2726
|
+
return alloc_holder_t::on_capacity_overflow(), iterator();
|
2716
2727
|
}
|
2717
2728
|
|
2718
2729
|
template <class InsertionProxy>
|
2719
|
-
iterator
|
2720
|
-
(const
|
2730
|
+
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
|
2731
|
+
(T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_1)
|
2721
2732
|
{
|
2722
2733
|
//Check if we have enough memory or try to expand current memory
|
2723
|
-
const size_type n_pos =
|
2724
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2734
|
+
const size_type n_pos = static_cast<size_type>(raw_pos - this->priv_raw_begin());
|
2725
2735
|
|
2726
2736
|
const size_type new_cap = this->m_holder.template next_capacity<growth_factor_type>(n);
|
2727
2737
|
//Pass the hint so that allocators can take advantage of this.
|
@@ -2729,17 +2739,15 @@ class vector
|
|
2729
2739
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2730
2740
|
++this->num_alloc;
|
2731
2741
|
#endif
|
2732
|
-
this->
|
2733
|
-
( new_buf, new_cap, raw_pos, n, insert_range_proxy);
|
2742
|
+
this->priv_insert_forward_range_new_allocation(new_buf, new_cap, raw_pos, n, insert_range_proxy);
|
2734
2743
|
return iterator(this->m_holder.start() + n_pos);
|
2735
2744
|
}
|
2736
2745
|
|
2737
2746
|
template <class InsertionProxy>
|
2738
|
-
iterator
|
2739
|
-
(const
|
2747
|
+
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
|
2748
|
+
(T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_2)
|
2740
2749
|
{
|
2741
2750
|
//Check if we have enough memory or try to expand current memory
|
2742
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2743
2751
|
const size_type n_pos = raw_pos - this->priv_raw_begin();
|
2744
2752
|
|
2745
2753
|
//There is not enough memory, allocate a new
|
@@ -2758,14 +2766,15 @@ class vector
|
|
2758
2766
|
#endif
|
2759
2767
|
this->m_holder.capacity(real_cap);
|
2760
2768
|
//Expand forward
|
2761
|
-
this->
|
2769
|
+
this->priv_insert_forward_range_expand_forward
|
2770
|
+
(raw_pos, n, insert_range_proxy, dtl::bool_<dtl::is_single_value_proxy<InsertionProxy>::value>());
|
2762
2771
|
}
|
2763
2772
|
//Backwards (and possibly forward) expansion
|
2764
2773
|
else{
|
2765
2774
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2766
2775
|
++this->num_expand_bwd;
|
2767
2776
|
#endif
|
2768
|
-
this->
|
2777
|
+
this->priv_insert_forward_range_expand_backwards
|
2769
2778
|
(boost::movelib::to_raw_pointer(ret), real_cap, raw_pos, n, insert_range_proxy);
|
2770
2779
|
}
|
2771
2780
|
}
|
@@ -2774,7 +2783,7 @@ class vector
|
|
2774
2783
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2775
2784
|
++this->num_alloc;
|
2776
2785
|
#endif
|
2777
|
-
this->
|
2786
|
+
this->priv_insert_forward_range_new_allocation
|
2778
2787
|
( boost::movelib::to_raw_pointer(ret), real_cap, raw_pos, n, insert_range_proxy);
|
2779
2788
|
}
|
2780
2789
|
|
@@ -2782,46 +2791,53 @@ class vector
|
|
2782
2791
|
}
|
2783
2792
|
|
2784
2793
|
template <class InsertionProxy>
|
2785
|
-
iterator
|
2794
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert_forward_range
|
2786
2795
|
(const pointer &pos, const size_type n, const InsertionProxy insert_range_proxy)
|
2787
2796
|
{
|
2788
2797
|
BOOST_ASSERT(this->m_holder.capacity() >= this->m_holder.m_size);
|
2798
|
+
T *const p = boost::movelib::to_raw_pointer(pos);
|
2789
2799
|
//Check if we have enough memory or try to expand current memory
|
2790
|
-
|
2791
|
-
|
2792
|
-
|
2793
|
-
|
2794
|
-
return
|
2800
|
+
if (BOOST_LIKELY(n <= (this->m_holder.capacity() - this->m_holder.m_size))){
|
2801
|
+
//Expand forward
|
2802
|
+
this->priv_insert_forward_range_expand_forward
|
2803
|
+
(p, n, insert_range_proxy, dtl::bool_<dtl::is_single_value_proxy<InsertionProxy>::value>());
|
2804
|
+
return iterator(pos);
|
2795
2805
|
}
|
2796
2806
|
else{
|
2797
|
-
|
2798
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2799
|
-
const size_type n_pos = raw_pos - this->priv_raw_begin();
|
2800
|
-
this->priv_forward_range_insert_expand_forward(raw_pos, n, insert_range_proxy);
|
2801
|
-
return iterator(this->m_holder.start() + n_pos);
|
2807
|
+
return this->priv_insert_forward_range_no_capacity(p, n, insert_range_proxy, alloc_version());
|
2802
2808
|
}
|
2803
2809
|
}
|
2804
2810
|
|
2805
|
-
template <class
|
2806
|
-
|
2807
|
-
(const size_type n, const InsertionProxy insert_range_proxy, version_0)
|
2811
|
+
template <class U>
|
2812
|
+
void priv_resize(const size_type new_size, const U &u, version_0)
|
2808
2813
|
{
|
2809
|
-
|
2810
|
-
|
2811
|
-
|
2812
|
-
if (n > remaining){
|
2814
|
+
const size_type sz = this->m_holder.m_size;
|
2815
|
+
if (new_size > this->capacity()){
|
2813
2816
|
//This will trigger an error
|
2814
|
-
|
2817
|
+
alloc_holder_t::on_capacity_overflow();
|
2818
|
+
}
|
2819
|
+
else if (new_size < sz){
|
2820
|
+
//Destroy last elements
|
2821
|
+
this->priv_destroy_last_n(sz - new_size);
|
2822
|
+
}
|
2823
|
+
else{
|
2824
|
+
T* const old_finish = this->priv_raw_end();
|
2825
|
+
this->priv_resize_proxy(u).uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, new_size - sz);
|
2826
|
+
this->m_holder.set_stored_size(new_size);
|
2815
2827
|
}
|
2816
|
-
this->priv_forward_range_insert_at_end_expand_forward(n, insert_range_proxy);
|
2817
|
-
return this->end();
|
2818
2828
|
}
|
2819
2829
|
|
2820
|
-
template <class
|
2821
|
-
|
2822
|
-
(const size_type n, const InsertionProxy insert_range_proxy, AllocVersion)
|
2830
|
+
template <class U, class AllocVersion>
|
2831
|
+
void priv_resize(const size_type new_size, const U &u, AllocVersion)
|
2823
2832
|
{
|
2824
|
-
|
2833
|
+
const size_type sz = this->m_holder.m_size;
|
2834
|
+
if (new_size < sz){
|
2835
|
+
//Destroy last elements
|
2836
|
+
this->priv_destroy_last_n(sz - new_size);
|
2837
|
+
}
|
2838
|
+
else {
|
2839
|
+
this->priv_insert_forward_range(this->back_ptr(), new_size - sz, this->priv_resize_proxy(u));
|
2840
|
+
}
|
2825
2841
|
}
|
2826
2842
|
|
2827
2843
|
//Takes the range pointed by [first_pos, last_pos) and shifts it to the right
|
@@ -2917,103 +2933,69 @@ class vector
|
|
2917
2933
|
BOOST_CONTAINER_FORCEINLINE T* priv_raw_end() const
|
2918
2934
|
{ return this->priv_raw_begin() + this->m_holder.m_size; }
|
2919
2935
|
|
2920
|
-
template <class InsertionProxy>
|
2921
|
-
void
|
2922
|
-
|
2923
|
-
T* const old_finish = this->priv_raw_end();
|
2924
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n);
|
2925
|
-
this->m_holder.m_size += n;
|
2926
|
-
}
|
2927
|
-
|
2928
|
-
template <class InsertionProxy>
|
2929
|
-
void priv_forward_range_insert_expand_forward(T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
2936
|
+
template <class InsertionProxy> //inline single-element version as it is significantly smaller
|
2937
|
+
BOOST_CONTAINER_FORCEINLINE void priv_insert_forward_range_expand_forward
|
2938
|
+
(T* const raw_pos, const size_type, InsertionProxy insert_range_proxy, dtl::true_type)
|
2930
2939
|
{
|
2931
|
-
|
2932
|
-
if(BOOST_UNLIKELY(!n)) return;
|
2940
|
+
BOOST_ASSERT(this->room_enough());
|
2933
2941
|
//There is enough memory
|
2934
2942
|
T* const old_finish = this->priv_raw_end();
|
2935
|
-
|
2943
|
+
allocator_type & a = this->m_holder.alloc();
|
2936
2944
|
|
2937
|
-
if (
|
2938
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
2939
|
-
this->m_holder.m_size
|
2945
|
+
if (old_finish == raw_pos){
|
2946
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, old_finish, 1);
|
2947
|
+
++this->m_holder.m_size;
|
2940
2948
|
}
|
2941
|
-
else
|
2949
|
+
else{
|
2942
2950
|
//New elements can be just copied.
|
2943
2951
|
//Move to uninitialized memory last objects
|
2944
|
-
|
2945
|
-
|
2946
|
-
|
2952
|
+
T * const before_old_finish = old_finish-1;
|
2953
|
+
|
2954
|
+
allocator_traits_type::construct(a, old_finish, ::boost::move(*before_old_finish));
|
2955
|
+
++this->m_holder.m_size;
|
2947
2956
|
//Copy previous to last objects to the initialized end
|
2948
|
-
boost::container::move_backward(
|
2949
|
-
//Insert new objects in the
|
2950
|
-
insert_range_proxy.copy_n_and_update(
|
2951
|
-
}
|
2952
|
-
else {
|
2953
|
-
//The new elements don't fit in the [pos, end()) range.
|
2954
|
-
|
2955
|
-
//Copy old [pos, end()) elements to the uninitialized memory (a gap is created)
|
2956
|
-
::boost::container::uninitialized_move_alloc(this->m_holder.alloc(), pos, old_finish, pos + n);
|
2957
|
-
BOOST_TRY{
|
2958
|
-
//Copy first new elements in pos (gap is still there)
|
2959
|
-
insert_range_proxy.copy_n_and_update(this->m_holder.alloc(), pos, elems_after);
|
2960
|
-
//Copy to the beginning of the unallocated zone the last new elements (the gap is closed).
|
2961
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n - elems_after);
|
2962
|
-
this->m_holder.m_size += n;
|
2963
|
-
}
|
2964
|
-
BOOST_CATCH(...){
|
2965
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), pos + n, elems_after);
|
2966
|
-
BOOST_RETHROW
|
2967
|
-
}
|
2968
|
-
BOOST_CATCH_END
|
2957
|
+
boost::container::move_backward(raw_pos, before_old_finish, old_finish);
|
2958
|
+
//Insert new objects in the raw_pos
|
2959
|
+
insert_range_proxy.copy_n_and_update(a, raw_pos, 1);
|
2969
2960
|
}
|
2970
2961
|
}
|
2971
2962
|
|
2972
2963
|
template <class InsertionProxy>
|
2973
|
-
void
|
2964
|
+
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)
|
2965
|
+
{
|
2966
|
+
//There is enough memory
|
2967
|
+
boost::container::expand_forward_and_insert_alloc
|
2968
|
+
( this->m_holder.alloc(), raw_pos, this->priv_raw_end(), n, insert_range_proxy);
|
2969
|
+
this->m_holder.inc_stored_size(n);
|
2970
|
+
}
|
2971
|
+
|
2972
|
+
template <class InsertionProxy>
|
2973
|
+
void priv_insert_forward_range_new_allocation
|
2974
2974
|
(T* const new_start, size_type new_cap, T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
2975
2975
|
{
|
2976
2976
|
//n can be zero, if we want to reallocate!
|
2977
|
-
|
2978
|
-
T *
|
2979
|
-
|
2980
|
-
typename value_traits::ArrayDeallocator new_buffer_deallocator(new_start,
|
2981
|
-
|
2982
|
-
|
2983
|
-
|
2984
|
-
|
2985
|
-
|
2986
|
-
if(
|
2987
|
-
|
2988
|
-
(this->m_holder.
|
2989
|
-
new_values_destroyer.increment_size(new_finish - old_finish);
|
2990
|
-
}
|
2991
|
-
//Initialize new objects, starting from previous point
|
2992
|
-
old_finish = new_finish;
|
2993
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n);
|
2994
|
-
new_finish += n;
|
2995
|
-
new_values_destroyer.increment_size(new_finish - old_finish);
|
2996
|
-
//Initialize from the rest of the old buffer,
|
2997
|
-
//starting from previous point
|
2998
|
-
if(old_buffer){
|
2999
|
-
new_finish = ::boost::container::uninitialized_move_alloc
|
3000
|
-
(this->m_holder.alloc(), pos, old_buffer + this->m_holder.m_size, new_finish);
|
3001
|
-
//Destroy and deallocate old elements
|
3002
|
-
//If there is allocated memory, destroy and deallocate
|
3003
|
-
if(!value_traits::trivial_dctr_after_move)
|
3004
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), old_buffer, this->m_holder.m_size);
|
2977
|
+
allocator_type &a = this->m_holder.alloc();
|
2978
|
+
T * const raw_old_buffer = this->priv_raw_begin();
|
2979
|
+
|
2980
|
+
typename value_traits::ArrayDeallocator new_buffer_deallocator(new_start, a, new_cap);
|
2981
|
+
boost::container::uninitialized_move_and_insert_alloc
|
2982
|
+
(a, raw_old_buffer, pos, this->priv_raw_end(), new_start, n, insert_range_proxy);
|
2983
|
+
new_buffer_deallocator.release();
|
2984
|
+
|
2985
|
+
//Destroy and deallocate old elements
|
2986
|
+
if(raw_old_buffer){
|
2987
|
+
BOOST_IF_CONSTEXPR(!has_trivial_destructor_after_move<value_type>::value)
|
2988
|
+
boost::container::destroy_alloc_n(a, raw_old_buffer, this->m_holder.m_size);
|
3005
2989
|
this->m_holder.deallocate(this->m_holder.start(), this->m_holder.capacity());
|
3006
2990
|
}
|
2991
|
+
|
3007
2992
|
this->m_holder.start(new_start);
|
3008
|
-
this->m_holder.
|
2993
|
+
this->m_holder.inc_stored_size(n);
|
3009
2994
|
this->m_holder.capacity(new_cap);
|
3010
|
-
//All construction successful, disable rollbacks
|
3011
|
-
new_values_destroyer.release();
|
3012
|
-
new_buffer_deallocator.release();
|
3013
2995
|
}
|
3014
2996
|
|
3015
2997
|
template <class InsertionProxy>
|
3016
|
-
void
|
2998
|
+
void priv_insert_forward_range_expand_backwards
|
3017
2999
|
(T* const new_start, const size_type new_capacity,
|
3018
3000
|
T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
3019
3001
|
{
|
@@ -3022,28 +3004,31 @@ class vector
|
|
3022
3004
|
T* const old_start = this->priv_raw_begin();
|
3023
3005
|
const size_type old_size = this->m_holder.m_size;
|
3024
3006
|
T* const old_finish = old_start + old_size;
|
3007
|
+
allocator_type &a = this->m_holder.alloc();
|
3008
|
+
|
3009
|
+
//Update the vector buffer information to a safe state
|
3010
|
+
this->m_holder.start(new_start);
|
3011
|
+
this->m_holder.capacity(new_capacity);
|
3012
|
+
this->m_holder.m_size = 0;
|
3025
3013
|
|
3026
3014
|
//We can have 8 possibilities:
|
3027
3015
|
const size_type elemsbefore = static_cast<size_type>(pos - old_start);
|
3028
3016
|
const size_type s_before = static_cast<size_type>(old_start - new_start);
|
3029
3017
|
const size_type before_plus_new = elemsbefore + n;
|
3030
3018
|
|
3031
|
-
|
3032
|
-
this->m_holder.start(new_start);
|
3033
|
-
this->m_holder.capacity(new_capacity);
|
3034
|
-
this->m_holder.m_size = 0;
|
3019
|
+
typedef typename value_traits::ArrayDestructor array_destructor_t;
|
3035
3020
|
|
3036
3021
|
//If anything goes wrong, this object will destroy
|
3037
3022
|
//all the old objects to fulfill previous vector state
|
3038
|
-
|
3023
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
3039
3024
|
//Check if s_before is big enough to hold the beginning of old data + new data
|
3040
3025
|
if(s_before >= before_plus_new){
|
3041
3026
|
//Copy first old values before pos, after that the new objects
|
3042
3027
|
T *const new_elem_pos =
|
3043
|
-
::boost::container::uninitialized_move_alloc(
|
3044
|
-
this->m_holder.
|
3045
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3046
|
-
this->m_holder.
|
3028
|
+
::boost::container::uninitialized_move_alloc(a, old_start, pos, new_start);
|
3029
|
+
this->m_holder.set_stored_size(elemsbefore);
|
3030
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, new_elem_pos, n);
|
3031
|
+
this->m_holder.set_stored_size(before_plus_new);
|
3047
3032
|
const size_type new_size = old_size + n;
|
3048
3033
|
//Check if s_before is so big that even copying the old data + new data
|
3049
3034
|
//there is a gap between the new data and the old data
|
@@ -3060,15 +3045,14 @@ class vector
|
|
3060
3045
|
//
|
3061
3046
|
//Now initialize the rest of memory with the last old values
|
3062
3047
|
if(before_plus_new != new_size){ //Special case to avoid operations in back insertion
|
3063
|
-
::boost::container::uninitialized_move_alloc
|
3064
|
-
(this->m_holder.alloc(), pos, old_finish, new_start + before_plus_new);
|
3048
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, new_start + before_plus_new);
|
3065
3049
|
//All new elements correctly constructed, avoid new element destruction
|
3066
|
-
this->m_holder.
|
3050
|
+
this->m_holder.set_stored_size(new_size);
|
3067
3051
|
}
|
3068
3052
|
//Old values destroyed automatically with "old_values_destroyer"
|
3069
3053
|
//when "old_values_destroyer" goes out of scope unless the have trivial
|
3070
3054
|
//destructor after move.
|
3071
|
-
|
3055
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move)
|
3072
3056
|
old_values_destroyer.release();
|
3073
3057
|
}
|
3074
3058
|
//s_before is so big that divides old_end
|
@@ -3085,30 +3069,29 @@ class vector
|
|
3085
3069
|
//
|
3086
3070
|
//Now initialize the rest of memory with the last old values
|
3087
3071
|
//All new elements correctly constructed, avoid new element destruction
|
3088
|
-
|
3089
|
-
|
3072
|
+
BOOST_IF_CONSTEXPR(!value_traits::trivial_dctr){
|
3073
|
+
const size_type raw_gap = s_before - before_plus_new;
|
3090
3074
|
//Now initialize the rest of s_before memory with the
|
3091
3075
|
//first of elements after new values
|
3092
|
-
::boost::container::uninitialized_move_alloc_n
|
3093
|
-
(this->m_holder.alloc(), pos, raw_gap, new_start + before_plus_new);
|
3076
|
+
::boost::container::uninitialized_move_alloc_n(a, pos, raw_gap, new_start + before_plus_new);
|
3094
3077
|
//Now we have a contiguous buffer so program trailing element destruction
|
3095
3078
|
//and update size to the final size.
|
3096
3079
|
old_values_destroyer.shrink_forward(new_size-s_before);
|
3097
|
-
this->m_holder.
|
3080
|
+
this->m_holder.set_stored_size(new_size);
|
3098
3081
|
//Now move remaining last objects in the old buffer begin
|
3099
3082
|
T * const remaining_pos = pos + raw_gap;
|
3100
3083
|
if(remaining_pos != old_start){ //Make sure data has to be moved
|
3101
3084
|
::boost::container::move(remaining_pos, old_finish, old_start);
|
3102
3085
|
}
|
3103
3086
|
//Once moved, avoid calling the destructors if trivial after move
|
3104
|
-
|
3087
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move){
|
3105
3088
|
old_values_destroyer.release();
|
3106
3089
|
}
|
3107
3090
|
}
|
3108
3091
|
else{ //If trivial destructor, we can uninitialized copy + copy in a single uninitialized copy
|
3109
3092
|
::boost::container::uninitialized_move_alloc_n
|
3110
|
-
(
|
3111
|
-
this->m_holder.
|
3093
|
+
(a, pos, static_cast<size_type>(old_finish - pos), new_start + before_plus_new);
|
3094
|
+
this->m_holder.set_stored_size(new_size);
|
3112
3095
|
old_values_destroyer.release();
|
3113
3096
|
}
|
3114
3097
|
}
|
@@ -3162,8 +3145,7 @@ class vector
|
|
3162
3145
|
//|___________|_____|_________|_____________________|
|
3163
3146
|
//
|
3164
3147
|
//Copy the first part of old_begin to raw_mem
|
3165
|
-
::boost::container::uninitialized_move_alloc_n
|
3166
|
-
(this->m_holder.alloc(), old_start, s_before, new_start);
|
3148
|
+
::boost::container::uninitialized_move_alloc_n(a, old_start, s_before, new_start);
|
3167
3149
|
//The buffer is all constructed until old_end,
|
3168
3150
|
//so program trailing destruction and assign final size
|
3169
3151
|
//if !do_after, s_before+n otherwise.
|
@@ -3175,17 +3157,18 @@ class vector
|
|
3175
3157
|
}
|
3176
3158
|
else{
|
3177
3159
|
new_1st_range = n;
|
3178
|
-
|
3160
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move){
|
3179
3161
|
old_values_destroyer.release();
|
3162
|
+
}
|
3180
3163
|
else{
|
3181
3164
|
old_values_destroyer.shrink_forward(old_size - (s_before - n));
|
3182
3165
|
}
|
3183
3166
|
}
|
3184
|
-
this->m_holder.
|
3167
|
+
this->m_holder.set_stored_size(old_size + new_1st_range);
|
3185
3168
|
//Now copy the second part of old_begin overwriting itself
|
3186
3169
|
T *const next = ::boost::container::move(old_start + s_before, pos, old_start);
|
3187
3170
|
//Now copy the new_beg elements
|
3188
|
-
insert_range_proxy.copy_n_and_update(
|
3171
|
+
insert_range_proxy.copy_n_and_update(a, next, new_1st_range);
|
3189
3172
|
|
3190
3173
|
//If there is no after work and the last old part needs to be moved to front, do it
|
3191
3174
|
if(!do_after && (n != s_before)){
|
@@ -3221,33 +3204,37 @@ class vector
|
|
3221
3204
|
//
|
3222
3205
|
//First copy whole old_begin and part of new to raw_mem
|
3223
3206
|
T * const new_pos = ::boost::container::uninitialized_move_alloc
|
3224
|
-
(
|
3225
|
-
this->m_holder.
|
3207
|
+
(a, old_start, pos, new_start);
|
3208
|
+
this->m_holder.set_stored_size(elemsbefore);
|
3226
3209
|
const size_type mid_n = s_before - elemsbefore;
|
3227
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3210
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, new_pos, mid_n);
|
3228
3211
|
//The buffer is all constructed until old_end,
|
3229
3212
|
//release destroyer
|
3230
|
-
this->m_holder.
|
3213
|
+
this->m_holder.set_stored_size(old_size + s_before);
|
3231
3214
|
old_values_destroyer.release();
|
3232
3215
|
|
3233
3216
|
if(do_after){
|
3234
3217
|
//Copy new_beg part
|
3235
|
-
insert_range_proxy.copy_n_and_update(
|
3218
|
+
insert_range_proxy.copy_n_and_update(a, old_start, elemsbefore);
|
3236
3219
|
}
|
3237
3220
|
else{
|
3238
3221
|
//Copy all new elements
|
3239
3222
|
const size_type rest_new = n - mid_n;
|
3240
|
-
insert_range_proxy.copy_n_and_update(
|
3223
|
+
insert_range_proxy.copy_n_and_update(a, old_start, rest_new);
|
3224
|
+
|
3241
3225
|
T* const move_start = old_start + rest_new;
|
3242
3226
|
//Displace old_end, but make sure data has to be moved
|
3243
3227
|
T* const move_end = move_start != pos ? ::boost::container::move(pos, old_finish, move_start)
|
3244
3228
|
: old_finish;
|
3229
|
+
(void)move_end; //To avoid warnings of unused initialization for move_end in case
|
3230
|
+
//trivial_dctr_after_move is true
|
3245
3231
|
//Destroy remaining moved elements from old_end except if they
|
3246
3232
|
//have trivial destructor after being moved
|
3247
|
-
size_type n_destroy = s_before - n;
|
3248
|
-
|
3249
|
-
boost::container::destroy_alloc_n(
|
3250
|
-
|
3233
|
+
const size_type n_destroy = s_before - n;
|
3234
|
+
BOOST_IF_CONSTEXPR(!value_traits::trivial_dctr_after_move){
|
3235
|
+
boost::container::destroy_alloc_n(a, move_end, n_destroy);
|
3236
|
+
}
|
3237
|
+
this->m_holder.dec_stored_size(n_destroy);
|
3251
3238
|
}
|
3252
3239
|
}
|
3253
3240
|
|
@@ -3289,14 +3276,13 @@ class vector
|
|
3289
3276
|
//
|
3290
3277
|
//First copy the part of old_end raw_mem
|
3291
3278
|
T* finish_n = old_finish - n_after;
|
3292
|
-
::boost::container::uninitialized_move_alloc
|
3293
|
-
|
3294
|
-
this->m_holder.m_size += n_after;
|
3279
|
+
::boost::container::uninitialized_move_alloc(a, finish_n, old_finish, old_finish);
|
3280
|
+
this->m_holder.inc_stored_size(n_after);
|
3295
3281
|
//Displace the rest of old_end to the new position
|
3296
3282
|
boost::container::move_backward(pos, finish_n, old_finish);
|
3297
3283
|
//Now overwrite with new_end
|
3298
3284
|
//The new_end part is [first + (n - n_after), last)
|
3299
|
-
insert_range_proxy.copy_n_and_update(
|
3285
|
+
insert_range_proxy.copy_n_and_update(a, pos, n_after);
|
3300
3286
|
}
|
3301
3287
|
else {
|
3302
3288
|
//The raw_mem from end will divide new_end part
|
@@ -3310,23 +3296,20 @@ class vector
|
|
3310
3296
|
// _____________________________________________________________
|
3311
3297
|
//| old_begin + new_beg | new_end |old_end | raw_mem |
|
3312
3298
|
//|__________________________|_______________|________|_________|
|
3313
|
-
//
|
3314
3299
|
|
3315
|
-
const size_type mid_last_dist = n_after - elemsafter;
|
3316
3300
|
//First initialize data in raw memory
|
3301
|
+
const size_type mid_last_dist = n_after - elemsafter;
|
3317
3302
|
|
3318
3303
|
//Copy to the old_end part to the uninitialized zone leaving a gap.
|
3319
|
-
::boost::container::uninitialized_move_alloc
|
3320
|
-
(this->m_holder.alloc(), pos, old_finish, old_finish + mid_last_dist);
|
3304
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, old_finish + mid_last_dist);
|
3321
3305
|
|
3322
|
-
|
3323
|
-
(old_finish + mid_last_dist, this->m_holder.alloc(), old_finish - pos);
|
3306
|
+
array_destructor_t old_end_destroyer(old_finish + mid_last_dist, a, static_cast<size_type>(old_finish - pos));
|
3324
3307
|
|
3325
3308
|
//Copy the first part to the already constructed old_end zone
|
3326
|
-
insert_range_proxy.copy_n_and_update(
|
3309
|
+
insert_range_proxy.copy_n_and_update(a, pos, elemsafter);
|
3327
3310
|
//Copy the rest to the uninitialized zone filling the gap
|
3328
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3329
|
-
this->m_holder.
|
3311
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, old_finish, mid_last_dist);
|
3312
|
+
this->m_holder.inc_stored_size(n_after);
|
3330
3313
|
old_end_destroyer.release();
|
3331
3314
|
}
|
3332
3315
|
}
|
@@ -3384,11 +3367,12 @@ namespace boost {
|
|
3384
3367
|
|
3385
3368
|
//!has_trivial_destructor_after_move<> == true_type
|
3386
3369
|
//!specialization for optimizations
|
3387
|
-
template <class T, class Allocator>
|
3388
|
-
struct has_trivial_destructor_after_move<boost::container::vector<T, Allocator> >
|
3370
|
+
template <class T, class Allocator, class Options>
|
3371
|
+
struct has_trivial_destructor_after_move<boost::container::vector<T, Allocator, Options> >
|
3389
3372
|
{
|
3390
|
-
typedef typename
|
3391
|
-
|
3373
|
+
typedef typename boost::container::vector<T, Allocator, Options>::allocator_type allocator_type;
|
3374
|
+
typedef typename ::boost::container::allocator_traits<allocator_type>::pointer pointer;
|
3375
|
+
static const bool value = ::boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
3392
3376
|
::boost::has_trivial_destructor_after_move<pointer>::value;
|
3393
3377
|
};
|
3394
3378
|
|