passenger 6.0.8 → 6.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +89 -0
- data/CONTRIBUTORS +9 -0
- data/bin/passenger-install-nginx-module +1 -0
- data/build/common_library.rb +1 -1
- data/dev/copy_boost_headers +19 -2
- data/dev/index_cxx_dependencies.rb +1 -1
- data/dev/webpacketpp.patch +39 -0
- data/package.json +1 -1
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller.h +4 -1
- data/src/agent/Shared/ApplicationPoolApiKey.h +2 -0
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +27 -27
- data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +1 -1
- data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +2 -2
- data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +19 -19
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/DataStructures/HashedStaticString.h +2 -0
- data/src/cxx_supportlib/FileDescriptor.h +8 -0
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
- data/src/cxx_supportlib/StaticString.h +2 -0
- data/src/cxx_supportlib/Utils/HttpConstants.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/case_conv.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +240 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +54 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +62 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +798 -115
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +101 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +23 -13
- 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 +101 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +50 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +29 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +42 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +148 -51
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +80 -13
- 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 +26 -16
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +196 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +25 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +1 -1
- 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 +1 -1
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +361 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +43 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +79 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +3 -3
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +210 -73
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +1 -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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +201 -69
- 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 +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +9 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +15 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +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 +16 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_invoke_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +112 -25
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +15 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +31 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_serial_port_service.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +20 -1
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +13 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +10 -41
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +3 -33
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +4 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +16 -6
- 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 +61 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +1 -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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/old_win_sdk_compat.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/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 +34 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +94 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_serial_port_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +78 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +112 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +1 -1
- 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 +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +16 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +2 -5
- 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 +15 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +1 -1
- 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 +1 -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 +1 -1
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +98 -25
- 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 +31 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +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 +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/variadic_templates.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +107 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +194 -112
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +283 -83
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +218 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +57 -50
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +287 -90
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +47 -44
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +62 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +29 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/bulk_sender.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/submit_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/void_receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +71 -52
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +39 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/receiver_invocation_error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +281 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +62 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +216 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver_invocation_error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +215 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +21 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +14 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +14 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +20 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +14 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +29 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +34 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +137 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +1057 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +607 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_traits.hpp +185 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +181 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/append.hpp +219 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +231 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_tuple.hpp +248 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/deferred.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +434 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/prepend.hpp +219 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +608 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +284 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_alloc_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/handler_invoke_hook.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +348 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +24 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +24 -53
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +79 -31
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +59 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +87 -99
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +21 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +21 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +21 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +154 -157
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +73 -84
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +316 -336
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +249 -30
- 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 +18 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +2 -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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +29 -17
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +127 -131
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +48 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +21 -1
- 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 +47 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +32 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +51 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +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 +1 -1
- 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 +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +3 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +21 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +40 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +243 -165
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +85 -57
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +143 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +238 -70
- data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +147 -100
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +105 -63
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +1 -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 +2 -2
- 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 +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +15 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +37 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +38 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +15 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +74 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +55 -23
- data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +23 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +236 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +21 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/bulk_execute_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/connect_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/schedule_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_done_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_error_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/set_value_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/start_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_free.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/traits/submit_member.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +3 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +10 -13
- 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 +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +26 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +26 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/object_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/overlapped_ptr.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/random_access_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/stream_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +143 -43
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +45 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +17 -13
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +32 -32
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +25 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +3 -23
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf2_cc.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/bind/detail/result_traits.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +12 -0
- 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/cerrno.hpp +4 -320
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/base.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/space_optimized.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +212 -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_cxx20.hpp +56 -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 +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +31 -11
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +202 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +118 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +37 -4
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +70 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +91 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +11 -8
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +123 -71
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +117 -45
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +142 -36
- 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 +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +141 -90
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/guards_dended.hpp +198 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_container.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/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/node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +126 -92
- 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 +4 -14
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +3000 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +237 -169
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +10 -28
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +58 -29
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +84 -80
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +8 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +21 -35
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +51 -26
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +109 -57
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +184 -105
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +141 -26
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +392 -384
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/allocator_access.hpp +102 -134
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +581 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +199 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/splitmix64.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/detail/atomic_count.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +55 -37
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +0 -3
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/extended_euclidean.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_log2.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/integer_mask.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/mod_inverse.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_log2.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer/static_min_max.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +31 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +76 -84
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +76 -67
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +19 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +19 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +2 -2
- 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 +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +4 -52
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +2 -0
- 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/hashtable.hpp +72 -71
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +24 -17
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +95 -93
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +58 -66
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +122 -126
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +31 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +20 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +63 -63
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +38 -38
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +13 -16
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +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/lexical_cast.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/random/src/random_device.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +3 -7
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +10 -121
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_merge.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/adaptive_sort.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +31 -14
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/merge.hpp +4 -48
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +30 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +1 -0
- 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 +253 -43
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +5 -5
- 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/has_xxx.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/converter_policies.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/converter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/meta.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -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/parameter/aux_/arg_list.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/default.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/maybe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/name.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/item.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/make_arg_list.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/pack/tag_keyword_arg_ref.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_cast.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/function_forward_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/impl/specification.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_binary.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/preprocessor/is_nullary.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tag.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/parameter/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/macros.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/parameter/parameters.hpp +6 -6
- 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/alpha.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/e2k.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +55 -4
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ptx.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/riscv.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +7 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +7 -10
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/wordsize.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/add.hpp +54 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_1_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_maximum_number.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/is_minimum_number.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/detail/maximum_number.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/div.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/inc.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_256.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/dec_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_1024.hpp +536 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/limits/inc_512.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mod.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/mul.hpp +60 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/sub.hpp +51 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/enum.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/insert.hpp +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/remove.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/replace.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_256.hpp +793 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/limits/not_equal_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/comparison/not_equal.hpp +44 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +16 -33
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/limits.hpp +136 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/deduce_d.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/dmc/while.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/edg/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/limits/while_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/detail/while.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/limits/while_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/control/while.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/auto_rec.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/dmc/auto_rec.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_256.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/detail/limits/auto_rec_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/intercept.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +0 -37
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/limits/intercept_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/overload.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward1.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward2.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward3.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward4.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/forward5.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward1_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_1024.hpp +2573 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/forward5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse1_512.hpp +1291 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse2_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse3_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse4_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_1024.hpp +2571 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_256.hpp +1296 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/limits/reverse5_512.hpp +1293 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse1.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse2.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse3.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse4.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/iter/reverse5.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/local_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_1024.hpp +1549 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_256.hpp +782 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/limits/rlocal_512.hpp +781 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/local.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/iteration/detail/rlocal.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/dmc/fold_left.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/fold_right.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_left_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/edg/limits/fold_right_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_left.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/fold_right.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_left_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_1024.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/detail/limits/fold_right_512.hpp +276 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/enum.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_left.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/fold_right.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/for_each_product.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/limits/fold_left_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/reverse.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/size.hpp +56 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +5 -72
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/bool.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/logical/limits/bool_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/deduce_r.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/dmc/for.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/for.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/edg/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/for.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_1024.hpp +1044 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_256.hpp +533 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/limits/for_512.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/detail/msvc/for.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_1024.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_256.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/for_512.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_1024.hpp +1557 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_256.hpp +791 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/limits/repeat_512.hpp +789 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/repeat_from_to.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +6 -11
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/limits/split_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/split.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/elem.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/enum.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_left.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/fold_right.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/elem_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_256.hpp +272 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/enum_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_1024.hpp +1556 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_256.hpp +1053 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_left_512.hpp +788 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_1024.hpp +530 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_256.hpp +273 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/fold_right_512.hpp +274 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_1024.hpp +1043 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_256.hpp +532 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/limits/size_512.hpp +531 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/stringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +4 -18
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +11 -157
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/reverse_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_128.hpp +595 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_256.hpp +1747 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_list_64.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_128.hpp +403 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +1171 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_64.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +17 -39
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +0 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +38 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/size.hpp +13 -6
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +15 -12
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +37 -25
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +38 -24
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/has_opt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/elem.hpp +93 -71
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_128.hpp +275 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_256.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/elem_64.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_128.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_256.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/limits/size_64.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/size.hpp +39 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_array.hpp +15 -9
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_list.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_seq.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/to_tuple.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/wstringize.hpp +0 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/additive_combine.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/gray_coded_qrng.hpp +29 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/int_float_pair.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/mixmax_skip_N17.ipp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/niederreiter_base2_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/qrng_base.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/seed_impl.hpp +13 -14
- data/src/cxx_supportlib/vendor-modified/boost/random/detail/sobol_table.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/discard_block.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/generate_canonical.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/independent_bits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/inversive_congruential.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/lagged_fibonacci.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_congruential.hpp +5 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/linear_feedback_shift.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +313 -0
- data/src/cxx_supportlib/vendor-modified/boost/random/niederreiter_base2.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/random_device.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/shuffle_order.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/sobol.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/random/subtract_with_carry.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/random/traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_real_distribution.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_smallint.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/random/xor_combine.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/random.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +79 -74
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +97 -113
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +4 -75
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +4 -147
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +8 -761
- data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +8 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +20 -19
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +16 -13
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +342 -42
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +107 -24
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +1516 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +39 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +127 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +13 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +39 -41
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +35 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +638 -22
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +871 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +521 -37
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +734 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +1575 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3120 -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 +171 -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 +862 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +1180 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +22 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_obsolete.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +59 -1
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/cerrno.hpp +329 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +25 -11
- 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 +195 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +557 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +239 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category.hpp +80 -58
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/generic_category_message.hpp +108 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/{std_interoperability.hpp → std_category.hpp} +11 -52
- 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 +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/throws.hpp +59 -0
- 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 -958
- data/src/cxx_supportlib/vendor-modified/boost/system/error_condition.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/generic_category.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_code_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/is_error_condition_enum.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/system_category.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +37 -39
- 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_index.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_cxx_11.hpp +247 -168
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_likely_lambda.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +242 -217
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_trivially_copyable.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/typeof/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 +1 -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_variadic.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +20 -9
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/COPYING +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/changelog.md +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/readme.md +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/base64/base64.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/client.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/close.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/asio_ssl.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/chrono.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/connection_hdl.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/cpp11.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/functional.hpp +2 -7
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/md5.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/memory.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/network.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/platforms.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/random.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/regex.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/stdint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/system_error.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/thread.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/time.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/common/type_traits.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/basic.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/concurrency/none.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_client.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/boost_config.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/core_client.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_client.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/config/minimal_server.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/connection_base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/endpoint_base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/error.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/extension.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/frame.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/constants.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/parser.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/request.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/impl/response.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/parser.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/request.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/http/response.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/connection_impl.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/basic.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/levels.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/stub.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/logger/syslog.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/message.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/message_buffer/pool.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi00.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi07.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi08.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/hybi13.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/processors/processor.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/none.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/random/random_device.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/server.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/sha1/sha1.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/connection.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/connection.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/connection.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/base.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/connection.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/uri.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utf8_validator.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/utilities.hpp +0 -0
- data/src/cxx_supportlib/{vendor-copy → vendor-modified}/websocketpp/websocketpp/version.hpp +0 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +8 -1
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +23 -19
- data/src/ruby_supportlib/phusion_passenger/platform_info/curl.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/depcheck_specs/libs.rb +6 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +5 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +46 -27
- data/src/ruby_supportlib/phusion_passenger/platform_info/pcre.rb +65 -0
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger.rb +7 -7
- metadata +357 -124
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.cpp +0 -25
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +0 -206
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +0 -117
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +0 -667
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/instances.cpp +0 -32
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +0 -72
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +0 -314
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/winstances.cpp +0 -35
- data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +0 -1038
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +0 -581
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/round_fwd.hpp +0 -93
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +0 -640
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +0 -1712
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +0 -194
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +0 -489
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +0 -182
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +0 -105
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +0 -557
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +0 -236
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_posix.hpp +0 -132
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp.orig +0 -841
- data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp.orig +0 -54
@@ -82,7 +82,17 @@ class vec_iterator
|
|
82
82
|
{
|
83
83
|
public:
|
84
84
|
typedef std::random_access_iterator_tag iterator_category;
|
85
|
+
typedef std::contiguous_iterator_tag iterator_concept;
|
85
86
|
typedef typename boost::intrusive::pointer_traits<Pointer>::element_type value_type;
|
87
|
+
|
88
|
+
//Defining element_type to make libstdc++'s std::pointer_traits well-formed leads to ambiguity
|
89
|
+
//due to LWG3446. So we need to specialize std::pointer_traits. See
|
90
|
+
//https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 for details. /Many thanks to Jonathan Wakely
|
91
|
+
//for explaning the issue.
|
92
|
+
#ifndef BOOST_GNU_STDLIB
|
93
|
+
//Define element_
|
94
|
+
typedef typename boost::intrusive::pointer_traits<Pointer>::element_type element_type;
|
95
|
+
#endif
|
86
96
|
typedef typename boost::intrusive::pointer_traits<Pointer>::difference_type difference_type;
|
87
97
|
typedef typename dtl::if_c
|
88
98
|
< IsConst
|
@@ -108,10 +118,12 @@ class vec_iterator
|
|
108
118
|
, nat>::type nonconst_iterator;
|
109
119
|
|
110
120
|
public:
|
111
|
-
BOOST_CONTAINER_FORCEINLINE
|
121
|
+
BOOST_CONTAINER_FORCEINLINE
|
122
|
+
const Pointer &get_ptr() const BOOST_NOEXCEPT_OR_NOTHROW
|
112
123
|
{ return m_ptr; }
|
113
124
|
|
114
|
-
BOOST_CONTAINER_FORCEINLINE
|
125
|
+
BOOST_CONTAINER_FORCEINLINE
|
126
|
+
Pointer &get_ptr() BOOST_NOEXCEPT_OR_NOTHROW
|
115
127
|
{ return m_ptr; }
|
116
128
|
|
117
129
|
BOOST_CONTAINER_FORCEINLINE explicit vec_iterator(Pointer ptr) BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -138,13 +150,16 @@ class vec_iterator
|
|
138
150
|
{ m_ptr = other.get_ptr(); return *this; }
|
139
151
|
|
140
152
|
//Pointer like operators
|
141
|
-
BOOST_CONTAINER_FORCEINLINE
|
153
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
154
|
+
reference operator*() const BOOST_NOEXCEPT_OR_NOTHROW
|
142
155
|
{ BOOST_ASSERT(!!m_ptr); return *m_ptr; }
|
143
156
|
|
144
|
-
BOOST_CONTAINER_FORCEINLINE
|
157
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
158
|
+
pointer operator->() const BOOST_NOEXCEPT_OR_NOTHROW
|
145
159
|
{ return m_ptr; }
|
146
160
|
|
147
|
-
BOOST_CONTAINER_FORCEINLINE
|
161
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
162
|
+
reference operator[](difference_type off) const BOOST_NOEXCEPT_OR_NOTHROW
|
148
163
|
{ BOOST_ASSERT(!!m_ptr); return m_ptr[off]; }
|
149
164
|
|
150
165
|
//Increment / Decrement
|
@@ -167,35 +182,45 @@ class vec_iterator
|
|
167
182
|
BOOST_CONTAINER_FORCEINLINE vec_iterator& operator-=(difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
168
183
|
{ BOOST_ASSERT(m_ptr || !off); m_ptr -= off; return *this; }
|
169
184
|
|
170
|
-
BOOST_CONTAINER_FORCEINLINE
|
185
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
186
|
+
friend vec_iterator operator+(const vec_iterator &x, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
171
187
|
{ BOOST_ASSERT(x.m_ptr || !off); return vec_iterator(x.m_ptr+off); }
|
172
188
|
|
173
|
-
BOOST_CONTAINER_FORCEINLINE
|
189
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
190
|
+
friend vec_iterator operator+(difference_type off, vec_iterator right) BOOST_NOEXCEPT_OR_NOTHROW
|
174
191
|
{ BOOST_ASSERT(right.m_ptr || !off); right.m_ptr += off; return right; }
|
175
192
|
|
176
|
-
BOOST_CONTAINER_FORCEINLINE
|
193
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
194
|
+
friend vec_iterator operator-(vec_iterator left, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
177
195
|
{ BOOST_ASSERT(left.m_ptr || !off); left.m_ptr -= off; return left; }
|
178
196
|
|
179
|
-
BOOST_CONTAINER_FORCEINLINE
|
197
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
198
|
+
friend difference_type operator-(const vec_iterator &left, const vec_iterator& right) BOOST_NOEXCEPT_OR_NOTHROW
|
180
199
|
{ return left.m_ptr - right.m_ptr; }
|
181
200
|
|
182
201
|
//Comparison operators
|
183
|
-
BOOST_CONTAINER_FORCEINLINE
|
202
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
203
|
+
friend bool operator== (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
184
204
|
{ return l.m_ptr == r.m_ptr; }
|
185
205
|
|
186
|
-
BOOST_CONTAINER_FORCEINLINE
|
206
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
207
|
+
friend bool operator!= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
187
208
|
{ return l.m_ptr != r.m_ptr; }
|
188
209
|
|
189
|
-
BOOST_CONTAINER_FORCEINLINE
|
210
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
211
|
+
friend bool operator< (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
190
212
|
{ return l.m_ptr < r.m_ptr; }
|
191
213
|
|
192
|
-
BOOST_CONTAINER_FORCEINLINE
|
214
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
215
|
+
friend bool operator<= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
193
216
|
{ return l.m_ptr <= r.m_ptr; }
|
194
217
|
|
195
|
-
BOOST_CONTAINER_FORCEINLINE
|
218
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
219
|
+
friend bool operator> (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
196
220
|
{ return l.m_ptr > r.m_ptr; }
|
197
221
|
|
198
|
-
BOOST_CONTAINER_FORCEINLINE
|
222
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
223
|
+
friend bool operator>= (const vec_iterator& l, const vec_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
199
224
|
{ return l.m_ptr >= r.m_ptr; }
|
200
225
|
};
|
201
226
|
|
@@ -247,10 +272,6 @@ struct vector_value_traits_base
|
|
247
272
|
{
|
248
273
|
static const bool trivial_dctr = dtl::is_trivially_destructible<T>::value;
|
249
274
|
static const bool trivial_dctr_after_move = has_trivial_destructor_after_move<T>::value;
|
250
|
-
static const bool trivial_copy = dtl::is_trivially_copy_constructible<T>::value;
|
251
|
-
static const bool nothrow_copy = dtl::is_nothrow_copy_constructible<T>::value || trivial_copy;
|
252
|
-
static const bool trivial_assign = dtl::is_trivially_copy_assignable<T>::value;
|
253
|
-
static const bool nothrow_assign = dtl::is_nothrow_copy_assignable<T>::value || trivial_assign;
|
254
275
|
};
|
255
276
|
|
256
277
|
template <class Allocator>
|
@@ -288,7 +309,8 @@ struct vector_alloc_holder
|
|
288
309
|
typedef typename allocator_traits_type::size_type size_type;
|
289
310
|
typedef typename allocator_traits_type::value_type value_type;
|
290
311
|
|
291
|
-
BOOST_CONTAINER_FORCEINLINE
|
312
|
+
BOOST_CONTAINER_FORCEINLINE
|
313
|
+
static bool is_propagable_from(const allocator_type &from_alloc, pointer p, const allocator_type &to_alloc, bool const propagate_allocator)
|
292
314
|
{
|
293
315
|
(void)propagate_allocator; (void)p; (void)to_alloc; (void)from_alloc;
|
294
316
|
const bool all_storage_propagable = !allocator_traits_type::is_partially_propagable::value ||
|
@@ -296,7 +318,8 @@ struct vector_alloc_holder
|
|
296
318
|
return all_storage_propagable && (propagate_allocator || allocator_traits_type::equal(from_alloc, to_alloc));
|
297
319
|
}
|
298
320
|
|
299
|
-
BOOST_CONTAINER_FORCEINLINE
|
321
|
+
BOOST_CONTAINER_FORCEINLINE
|
322
|
+
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)
|
300
323
|
{
|
301
324
|
(void)propagate_allocator; (void)l_p; (void)r_p; (void)l_a; (void)r_a;
|
302
325
|
const bool all_storage_propagable = !allocator_traits_type::is_partially_propagable::value ||
|
@@ -317,35 +340,42 @@ struct vector_alloc_holder
|
|
317
340
|
{}
|
318
341
|
|
319
342
|
//Constructor, does not throw
|
320
|
-
template<class AllocConvertible>
|
321
|
-
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a,
|
343
|
+
template<class AllocConvertible, class SizeType>
|
344
|
+
vector_alloc_holder(vector_uninitialized_size_t, BOOST_FWD_REF(AllocConvertible) a, SizeType initial_size)
|
322
345
|
: allocator_type(boost::forward<AllocConvertible>(a))
|
323
346
|
, m_start()
|
324
347
|
//Size is initialized here so vector should only call uninitialized_xxx after this
|
325
348
|
, m_size(static_cast<stored_size_type>(initial_size))
|
326
349
|
, m_capacity()
|
327
350
|
{
|
328
|
-
if(initial_size){
|
351
|
+
if (initial_size > size_type(-1)){
|
352
|
+
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
353
|
+
}
|
354
|
+
else if(initial_size){
|
329
355
|
pointer reuse = pointer();
|
330
|
-
size_type final_cap = initial_size;
|
331
|
-
m_start = this->allocation_command(allocate_new,
|
332
|
-
|
356
|
+
size_type final_cap = static_cast<size_type>(initial_size);
|
357
|
+
m_start = this->allocation_command(allocate_new, final_cap, final_cap, reuse);
|
358
|
+
this->set_stored_capacity(final_cap);
|
333
359
|
}
|
334
360
|
}
|
335
361
|
|
336
362
|
//Constructor, does not throw
|
337
|
-
|
363
|
+
template<class SizeType>
|
364
|
+
vector_alloc_holder(vector_uninitialized_size_t, SizeType initial_size)
|
338
365
|
: allocator_type()
|
339
366
|
, m_start()
|
340
367
|
//Size is initialized here so vector should only call uninitialized_xxx after this
|
341
368
|
, m_size(static_cast<stored_size_type>(initial_size))
|
342
369
|
, m_capacity()
|
343
370
|
{
|
344
|
-
if(initial_size){
|
371
|
+
if (initial_size > size_type(-1)){
|
372
|
+
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
373
|
+
}
|
374
|
+
else if(initial_size){
|
345
375
|
pointer reuse = pointer();
|
346
376
|
size_type final_cap = initial_size;
|
347
|
-
m_start = this->allocation_command(allocate_new,
|
348
|
-
|
377
|
+
m_start = this->allocation_command(allocate_new, final_cap, final_cap, reuse);
|
378
|
+
this->set_stored_capacity(final_cap);
|
349
379
|
}
|
350
380
|
}
|
351
381
|
|
@@ -383,8 +413,20 @@ struct vector_alloc_holder
|
|
383
413
|
}
|
384
414
|
}
|
385
415
|
|
416
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
417
|
+
{ this->m_size = static_cast<stored_size_type>(s); }
|
418
|
+
|
419
|
+
BOOST_CONTAINER_FORCEINLINE void dec_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
420
|
+
{ this->m_size -= static_cast<stored_size_type>(s); }
|
421
|
+
|
422
|
+
BOOST_CONTAINER_FORCEINLINE void inc_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
423
|
+
{ this->m_size += static_cast<stored_size_type>(s); }
|
424
|
+
|
425
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_capacity(size_type c) BOOST_NOEXCEPT_OR_NOTHROW
|
426
|
+
{ this->m_capacity = static_cast<stored_size_type>(c); }
|
427
|
+
|
386
428
|
BOOST_CONTAINER_FORCEINLINE pointer allocation_command(boost::container::allocation_type command,
|
387
|
-
|
429
|
+
size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse)
|
388
430
|
{
|
389
431
|
typedef typename dtl::version<allocator_type>::type alloc_version;
|
390
432
|
return this->priv_allocation_command(alloc_version(), command, limit_size, prefer_in_recvd_out_size, reuse);
|
@@ -427,7 +469,7 @@ struct vector_alloc_holder
|
|
427
469
|
{
|
428
470
|
BOOST_ASSERT(additional_objects > size_type(this->m_capacity - this->m_size));
|
429
471
|
size_type max = allocator_traits_type::max_size(this->alloc());
|
430
|
-
(clamp_by_stored_size_type)(max, stored_size_type());
|
472
|
+
(clamp_by_stored_size_type<size_type>)(max, stored_size_type());
|
431
473
|
const size_type remaining_cap = max - size_type(this->m_capacity);
|
432
474
|
const size_type min_additional_cap = additional_objects - size_type(this->m_capacity - this->m_size);
|
433
475
|
|
@@ -470,7 +512,7 @@ struct vector_alloc_holder
|
|
470
512
|
BOOST_CONTAINER_FORCEINLINE void start(const pointer &p) BOOST_NOEXCEPT_OR_NOTHROW
|
471
513
|
{ m_start = p; }
|
472
514
|
BOOST_CONTAINER_FORCEINLINE void capacity(const size_type &c) BOOST_NOEXCEPT_OR_NOTHROW
|
473
|
-
{ BOOST_ASSERT( c <= stored_size_type(-1));
|
515
|
+
{ BOOST_ASSERT( c <= stored_size_type(-1)); this->set_stored_capacity(c); }
|
474
516
|
|
475
517
|
static BOOST_CONTAINER_FORCEINLINE void on_capacity_overflow()
|
476
518
|
{ }
|
@@ -488,17 +530,7 @@ struct vector_alloc_holder
|
|
488
530
|
}
|
489
531
|
}
|
490
532
|
|
491
|
-
|
492
|
-
{}
|
493
|
-
|
494
|
-
template<class SomeStoredSizeType>
|
495
|
-
BOOST_CONTAINER_FORCEINLINE static void clamp_by_stored_size_type(size_type &s, SomeStoredSizeType)
|
496
|
-
{
|
497
|
-
if (s >= SomeStoredSizeType(-1) )
|
498
|
-
s = SomeStoredSizeType(-1);
|
499
|
-
}
|
500
|
-
|
501
|
-
BOOST_CONTAINER_FORCEINLINE pointer priv_allocation_command(version_1, boost::container::allocation_type command,
|
533
|
+
pointer priv_allocation_command(version_1, boost::container::allocation_type command,
|
502
534
|
size_type limit_size,
|
503
535
|
size_type &prefer_in_recvd_out_size,
|
504
536
|
pointer &reuse)
|
@@ -510,7 +542,7 @@ struct vector_alloc_holder
|
|
510
542
|
if (limit_size > stored_size_type(-1)){
|
511
543
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
512
544
|
}
|
513
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
545
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
514
546
|
pointer const p = this->allocate(prefer_in_recvd_out_size);
|
515
547
|
reuse = pointer();
|
516
548
|
return p;
|
@@ -525,11 +557,11 @@ struct vector_alloc_holder
|
|
525
557
|
if (limit_size > stored_size_type(-1)){
|
526
558
|
boost::container::throw_length_error("get_next_capacity, allocator's max size reached");
|
527
559
|
}
|
528
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
560
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
529
561
|
//Allocate memory
|
530
562
|
pointer p = this->alloc().allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse);
|
531
563
|
//If after allocation prefer_in_recvd_out_size is not representable by stored_size_type, truncate it.
|
532
|
-
(clamp_by_stored_size_type)(prefer_in_recvd_out_size, stored_size_type());
|
564
|
+
(clamp_by_stored_size_type<size_type>)(prefer_in_recvd_out_size, stored_size_type());
|
533
565
|
return p;
|
534
566
|
}
|
535
567
|
};
|
@@ -611,6 +643,15 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
611
643
|
static BOOST_CONTAINER_FORCEINLINE void on_capacity_overflow()
|
612
644
|
{ allocator_type::on_capacity_overflow(); }
|
613
645
|
|
646
|
+
BOOST_CONTAINER_FORCEINLINE void set_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
647
|
+
{ this->m_size = static_cast<stored_size_type>(s); }
|
648
|
+
|
649
|
+
BOOST_CONTAINER_FORCEINLINE void dec_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
650
|
+
{ this->m_size -= static_cast<stored_size_type>(s); }
|
651
|
+
|
652
|
+
BOOST_CONTAINER_FORCEINLINE void inc_stored_size(size_type s) BOOST_NOEXCEPT_OR_NOTHROW
|
653
|
+
{ this->m_size += static_cast<stored_size_type>(s); }
|
654
|
+
|
614
655
|
BOOST_CONTAINER_FORCEINLINE void priv_first_allocation(size_type cap)
|
615
656
|
{
|
616
657
|
if(cap > allocator_type::internal_capacity){
|
@@ -656,7 +697,7 @@ struct vector_alloc_holder<Allocator, StoredSizeType, version_0>
|
|
656
697
|
BOOST_CONTAINER_FORCEINLINE pointer start() const BOOST_NOEXCEPT_OR_NOTHROW
|
657
698
|
{ return allocator_type::internal_storage(); }
|
658
699
|
|
659
|
-
BOOST_CONTAINER_FORCEINLINE size_type
|
700
|
+
BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
660
701
|
{ return allocator_type::internal_capacity; }
|
661
702
|
|
662
703
|
stored_size_type m_size;
|
@@ -1003,7 +1044,7 @@ private:
|
|
1003
1044
|
#endif
|
1004
1045
|
::boost::container::uninitialized_copy_alloc_n_source
|
1005
1046
|
( this->m_holder.alloc(), il.begin()
|
1006
|
-
, il.size(), this->priv_raw_begin());
|
1047
|
+
, static_cast<size_type>(il.size()), this->priv_raw_begin());
|
1007
1048
|
}
|
1008
1049
|
#endif
|
1009
1050
|
|
@@ -1024,7 +1065,7 @@ private:
|
|
1024
1065
|
: m_holder(boost::move(x.m_holder))
|
1025
1066
|
{}
|
1026
1067
|
|
1027
|
-
#endif
|
1068
|
+
#endif // defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1028
1069
|
|
1029
1070
|
//! <b>Effects</b>: Copy constructs a vector using the specified allocator.
|
1030
1071
|
//!
|
@@ -1251,7 +1292,12 @@ private:
|
|
1251
1292
|
{
|
1252
1293
|
//For Fwd iterators the standard only requires EmplaceConstructible and assignable from *first
|
1253
1294
|
//so we can't do any backwards allocation
|
1254
|
-
const size_type
|
1295
|
+
const typename iterator_traits<FwdIt>::size_type sz = boost::container::iterator_distance(first, last);
|
1296
|
+
if (sz > size_type(-1)){
|
1297
|
+
boost::container::throw_length_error("vector::assign, FwdIt's max length reached");
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
const size_type input_sz = static_cast<size_type>(sz);
|
1255
1301
|
const size_type old_capacity = this->capacity();
|
1256
1302
|
if(input_sz > old_capacity){ //If input range is too big, we need to reallocate
|
1257
1303
|
size_type real_cap = 0;
|
@@ -1282,7 +1328,7 @@ private:
|
|
1282
1328
|
}
|
1283
1329
|
|
1284
1330
|
boost::container::copy_assign_range_alloc_n(this->m_holder.alloc(), first, input_sz, this->priv_raw_begin(), this->size());
|
1285
|
-
|
1331
|
+
m_holder.set_stored_size(input_sz);
|
1286
1332
|
}
|
1287
1333
|
|
1288
1334
|
//! <b>Effects</b>: Assigns the n copies of val to *this.
|
@@ -1299,7 +1345,7 @@ private:
|
|
1299
1345
|
//! <b>Throws</b>: If allocator's copy constructor throws.
|
1300
1346
|
//!
|
1301
1347
|
//! <b>Complexity</b>: Constant.
|
1302
|
-
allocator_type get_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1348
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE allocator_type get_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1303
1349
|
{ return this->m_holder.alloc(); }
|
1304
1350
|
|
1305
1351
|
//! <b>Effects</b>: Returns a reference to the internal allocator.
|
@@ -1309,7 +1355,8 @@ private:
|
|
1309
1355
|
//! <b>Complexity</b>: Constant.
|
1310
1356
|
//!
|
1311
1357
|
//! <b>Note</b>: Non-standard extension.
|
1312
|
-
BOOST_CONTAINER_FORCEINLINE
|
1358
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1359
|
+
stored_allocator_type &get_stored_allocator() BOOST_NOEXCEPT_OR_NOTHROW
|
1313
1360
|
{ return this->m_holder.alloc(); }
|
1314
1361
|
|
1315
1362
|
//! <b>Effects</b>: Returns a reference to the internal allocator.
|
@@ -1319,7 +1366,8 @@ private:
|
|
1319
1366
|
//! <b>Complexity</b>: Constant.
|
1320
1367
|
//!
|
1321
1368
|
//! <b>Note</b>: Non-standard extension.
|
1322
|
-
BOOST_CONTAINER_FORCEINLINE
|
1369
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1370
|
+
const stored_allocator_type &get_stored_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
1323
1371
|
{ return this->m_holder.alloc(); }
|
1324
1372
|
|
1325
1373
|
//////////////////////////////////////////////
|
@@ -1333,7 +1381,7 @@ private:
|
|
1333
1381
|
//! <b>Throws</b>: Nothing.
|
1334
1382
|
//!
|
1335
1383
|
//! <b>Complexity</b>: Constant.
|
1336
|
-
BOOST_CONTAINER_FORCEINLINE iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
1384
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
1337
1385
|
{ return iterator(this->m_holder.start()); }
|
1338
1386
|
|
1339
1387
|
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the vector.
|
@@ -1341,7 +1389,7 @@ private:
|
|
1341
1389
|
//! <b>Throws</b>: Nothing.
|
1342
1390
|
//!
|
1343
1391
|
//! <b>Complexity</b>: Constant.
|
1344
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1392
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1345
1393
|
{ return const_iterator(this->m_holder.start()); }
|
1346
1394
|
|
1347
1395
|
//! <b>Effects</b>: Returns an iterator to the end of the vector.
|
@@ -1349,11 +1397,11 @@ private:
|
|
1349
1397
|
//! <b>Throws</b>: Nothing.
|
1350
1398
|
//!
|
1351
1399
|
//! <b>Complexity</b>: Constant.
|
1352
|
-
BOOST_CONTAINER_FORCEINLINE iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
1400
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
1353
1401
|
{
|
1354
|
-
|
1355
|
-
|
1356
|
-
return
|
1402
|
+
iterator it (this->m_holder.start());
|
1403
|
+
it += this->m_holder.m_size;
|
1404
|
+
return it; //Adding zero to null pointer is allowed (non-UB)
|
1357
1405
|
}
|
1358
1406
|
|
1359
1407
|
//! <b>Effects</b>: Returns a const_iterator to the end of the vector.
|
@@ -1361,7 +1409,7 @@ private:
|
|
1361
1409
|
//! <b>Throws</b>: Nothing.
|
1362
1410
|
//!
|
1363
1411
|
//! <b>Complexity</b>: Constant.
|
1364
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
1412
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
1365
1413
|
{ return this->cend(); }
|
1366
1414
|
|
1367
1415
|
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning
|
@@ -1370,7 +1418,7 @@ private:
|
|
1370
1418
|
//! <b>Throws</b>: Nothing.
|
1371
1419
|
//!
|
1372
1420
|
//! <b>Complexity</b>: Constant.
|
1373
|
-
BOOST_CONTAINER_FORCEINLINE reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
1421
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
1374
1422
|
{ return reverse_iterator(this->end()); }
|
1375
1423
|
|
1376
1424
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
@@ -1379,7 +1427,7 @@ private:
|
|
1379
1427
|
//! <b>Throws</b>: Nothing.
|
1380
1428
|
//!
|
1381
1429
|
//! <b>Complexity</b>: Constant.
|
1382
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1430
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1383
1431
|
{ return this->crbegin(); }
|
1384
1432
|
|
1385
1433
|
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
@@ -1388,7 +1436,7 @@ private:
|
|
1388
1436
|
//! <b>Throws</b>: Nothing.
|
1389
1437
|
//!
|
1390
1438
|
//! <b>Complexity</b>: Constant.
|
1391
|
-
BOOST_CONTAINER_FORCEINLINE reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
1439
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
1392
1440
|
{ return reverse_iterator(this->begin()); }
|
1393
1441
|
|
1394
1442
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
@@ -1397,7 +1445,7 @@ private:
|
|
1397
1445
|
//! <b>Throws</b>: Nothing.
|
1398
1446
|
//!
|
1399
1447
|
//! <b>Complexity</b>: Constant.
|
1400
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1448
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1401
1449
|
{ return this->crend(); }
|
1402
1450
|
|
1403
1451
|
//! <b>Effects</b>: Returns a const_iterator to the first element contained in the vector.
|
@@ -1405,7 +1453,7 @@ private:
|
|
1405
1453
|
//! <b>Throws</b>: Nothing.
|
1406
1454
|
//!
|
1407
1455
|
//! <b>Complexity</b>: Constant.
|
1408
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1456
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1409
1457
|
{ return const_iterator(this->m_holder.start()); }
|
1410
1458
|
|
1411
1459
|
//! <b>Effects</b>: Returns a const_iterator to the end of the vector.
|
@@ -1413,13 +1461,12 @@ private:
|
|
1413
1461
|
//! <b>Throws</b>: Nothing.
|
1414
1462
|
//!
|
1415
1463
|
//! <b>Complexity</b>: Constant.
|
1416
|
-
BOOST_CONTAINER_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1464
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1417
1465
|
{
|
1418
|
-
|
1419
|
-
|
1420
|
-
return
|
1466
|
+
const_iterator it (this->m_holder.start());
|
1467
|
+
it += this->m_holder.m_size;
|
1468
|
+
return it; //Adding zero to null pointer is allowed (non-UB)
|
1421
1469
|
}
|
1422
|
-
//{ return const_iterator(this->m_holder.start() + this->m_holder.m_size); }
|
1423
1470
|
|
1424
1471
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1425
1472
|
//! of the reversed vector.
|
@@ -1427,7 +1474,7 @@ private:
|
|
1427
1474
|
//! <b>Throws</b>: Nothing.
|
1428
1475
|
//!
|
1429
1476
|
//! <b>Complexity</b>: Constant.
|
1430
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1477
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
1431
1478
|
{ return const_reverse_iterator(this->end());}
|
1432
1479
|
|
1433
1480
|
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
@@ -1436,7 +1483,7 @@ private:
|
|
1436
1483
|
//! <b>Throws</b>: Nothing.
|
1437
1484
|
//!
|
1438
1485
|
//! <b>Complexity</b>: Constant.
|
1439
|
-
BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1486
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reverse_iterator crend() const BOOST_NOEXCEPT_OR_NOTHROW
|
1440
1487
|
{ return const_reverse_iterator(this->begin()); }
|
1441
1488
|
|
1442
1489
|
//////////////////////////////////////////////
|
@@ -1450,7 +1497,7 @@ private:
|
|
1450
1497
|
//! <b>Throws</b>: Nothing.
|
1451
1498
|
//!
|
1452
1499
|
//! <b>Complexity</b>: Constant.
|
1453
|
-
BOOST_CONTAINER_FORCEINLINE bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
1500
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
1454
1501
|
{ return !this->m_holder.m_size; }
|
1455
1502
|
|
1456
1503
|
//! <b>Effects</b>: Returns the number of the elements contained in the vector.
|
@@ -1458,7 +1505,7 @@ private:
|
|
1458
1505
|
//! <b>Throws</b>: Nothing.
|
1459
1506
|
//!
|
1460
1507
|
//! <b>Complexity</b>: Constant.
|
1461
|
-
BOOST_CONTAINER_FORCEINLINE size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1508
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1462
1509
|
{ return this->m_holder.m_size; }
|
1463
1510
|
|
1464
1511
|
//! <b>Effects</b>: Returns the largest possible size of the vector.
|
@@ -1466,7 +1513,7 @@ private:
|
|
1466
1513
|
//! <b>Throws</b>: Nothing.
|
1467
1514
|
//!
|
1468
1515
|
//! <b>Complexity</b>: Constant.
|
1469
|
-
BOOST_CONTAINER_FORCEINLINE size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1516
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
1470
1517
|
{ return allocator_traits_type::max_size(this->m_holder.alloc()); }
|
1471
1518
|
|
1472
1519
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
@@ -1475,8 +1522,8 @@ private:
|
|
1475
1522
|
//! <b>Throws</b>: If memory allocation throws, or T's copy/move or value initialization throws.
|
1476
1523
|
//!
|
1477
1524
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1478
|
-
void resize(size_type new_size)
|
1479
|
-
{ this->priv_resize(new_size, value_init); }
|
1525
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size)
|
1526
|
+
{ this->priv_resize(new_size, value_init, alloc_version()); }
|
1480
1527
|
|
1481
1528
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
1482
1529
|
//! the size becomes n. New elements are default initialized.
|
@@ -1486,8 +1533,8 @@ private:
|
|
1486
1533
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1487
1534
|
//!
|
1488
1535
|
//! <b>Note</b>: Non-standard extension
|
1489
|
-
void resize(size_type new_size, default_init_t)
|
1490
|
-
{ this->priv_resize(new_size, default_init); }
|
1536
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size, default_init_t)
|
1537
|
+
{ this->priv_resize(new_size, default_init, alloc_version()); }
|
1491
1538
|
|
1492
1539
|
//! <b>Effects</b>: Inserts or erases elements at the end such that
|
1493
1540
|
//! the size becomes n. New elements are copy constructed from x.
|
@@ -1495,8 +1542,8 @@ private:
|
|
1495
1542
|
//! <b>Throws</b>: If memory allocation throws, or T's copy/move constructor throws.
|
1496
1543
|
//!
|
1497
1544
|
//! <b>Complexity</b>: Linear to the difference between size() and new_size.
|
1498
|
-
void resize(size_type new_size, const T& x)
|
1499
|
-
{ this->priv_resize(new_size, x); }
|
1545
|
+
BOOST_CONTAINER_FORCEINLINE void resize(size_type new_size, const T& x)
|
1546
|
+
{ this->priv_resize(new_size, x, alloc_version()); }
|
1500
1547
|
|
1501
1548
|
//! <b>Effects</b>: Number of elements for which memory has been allocated.
|
1502
1549
|
//! capacity() is always greater than or equal to size().
|
@@ -1504,7 +1551,7 @@ private:
|
|
1504
1551
|
//! <b>Throws</b>: Nothing.
|
1505
1552
|
//!
|
1506
1553
|
//! <b>Complexity</b>: Constant.
|
1507
|
-
BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
1554
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
1508
1555
|
{ return this->m_holder.capacity(); }
|
1509
1556
|
|
1510
1557
|
//! <b>Effects</b>: If n is less than or equal to capacity(), this call has no
|
@@ -1516,7 +1563,7 @@ private:
|
|
1516
1563
|
BOOST_CONTAINER_FORCEINLINE void reserve(size_type new_cap)
|
1517
1564
|
{
|
1518
1565
|
if (this->capacity() < new_cap){
|
1519
|
-
this->
|
1566
|
+
this->priv_move_to_new_buffer(new_cap, alloc_version());
|
1520
1567
|
}
|
1521
1568
|
}
|
1522
1569
|
|
@@ -1543,7 +1590,7 @@ private:
|
|
1543
1590
|
//! <b>Throws</b>: Nothing.
|
1544
1591
|
//!
|
1545
1592
|
//! <b>Complexity</b>: Constant.
|
1546
|
-
reference
|
1593
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference front() BOOST_NOEXCEPT_OR_NOTHROW
|
1547
1594
|
{
|
1548
1595
|
BOOST_ASSERT(!this->empty());
|
1549
1596
|
return *this->m_holder.start();
|
@@ -1557,7 +1604,7 @@ private:
|
|
1557
1604
|
//! <b>Throws</b>: Nothing.
|
1558
1605
|
//!
|
1559
1606
|
//! <b>Complexity</b>: Constant.
|
1560
|
-
const_reference
|
1607
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference front() const BOOST_NOEXCEPT_OR_NOTHROW
|
1561
1608
|
{
|
1562
1609
|
BOOST_ASSERT(!this->empty());
|
1563
1610
|
return *this->m_holder.start();
|
@@ -1571,7 +1618,7 @@ private:
|
|
1571
1618
|
//! <b>Throws</b>: Nothing.
|
1572
1619
|
//!
|
1573
1620
|
//! <b>Complexity</b>: Constant.
|
1574
|
-
reference
|
1621
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference back() BOOST_NOEXCEPT_OR_NOTHROW
|
1575
1622
|
{
|
1576
1623
|
BOOST_ASSERT(!this->empty());
|
1577
1624
|
return this->m_holder.start()[this->m_holder.m_size - 1];
|
@@ -1585,7 +1632,7 @@ private:
|
|
1585
1632
|
//! <b>Throws</b>: Nothing.
|
1586
1633
|
//!
|
1587
1634
|
//! <b>Complexity</b>: Constant.
|
1588
|
-
const_reference
|
1635
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference back() const BOOST_NOEXCEPT_OR_NOTHROW
|
1589
1636
|
{
|
1590
1637
|
BOOST_ASSERT(!this->empty());
|
1591
1638
|
return this->m_holder.start()[this->m_holder.m_size - 1];
|
@@ -1599,7 +1646,7 @@ private:
|
|
1599
1646
|
//! <b>Throws</b>: Nothing.
|
1600
1647
|
//!
|
1601
1648
|
//! <b>Complexity</b>: Constant.
|
1602
|
-
reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1649
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1603
1650
|
{
|
1604
1651
|
BOOST_ASSERT(this->m_holder.m_size > n);
|
1605
1652
|
return this->m_holder.start()[n];
|
@@ -1613,7 +1660,8 @@ private:
|
|
1613
1660
|
//! <b>Throws</b>: Nothing.
|
1614
1661
|
//!
|
1615
1662
|
//! <b>Complexity</b>: Constant.
|
1616
|
-
|
1663
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1664
|
+
const_reference operator[](size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
1617
1665
|
{
|
1618
1666
|
BOOST_ASSERT(this->m_holder.m_size > n);
|
1619
1667
|
return this->m_holder.start()[n];
|
@@ -1630,7 +1678,8 @@ private:
|
|
1630
1678
|
//! <b>Complexity</b>: Constant.
|
1631
1679
|
//!
|
1632
1680
|
//! <b>Note</b>: Non-standard extension
|
1633
|
-
|
1681
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1682
|
+
iterator nth(size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
1634
1683
|
{
|
1635
1684
|
BOOST_ASSERT(this->m_holder.m_size >= n);
|
1636
1685
|
return iterator(this->m_holder.start()+n);
|
@@ -1647,7 +1696,8 @@ private:
|
|
1647
1696
|
//! <b>Complexity</b>: Constant.
|
1648
1697
|
//!
|
1649
1698
|
//! <b>Note</b>: Non-standard extension
|
1650
|
-
|
1699
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1700
|
+
const_iterator nth(size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
1651
1701
|
{
|
1652
1702
|
BOOST_ASSERT(this->m_holder.m_size >= n);
|
1653
1703
|
return const_iterator(this->m_holder.start()+n);
|
@@ -1663,7 +1713,8 @@ private:
|
|
1663
1713
|
//! <b>Complexity</b>: Constant.
|
1664
1714
|
//!
|
1665
1715
|
//! <b>Note</b>: Non-standard extension
|
1666
|
-
|
1716
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1717
|
+
size_type index_of(iterator p) BOOST_NOEXCEPT_OR_NOTHROW
|
1667
1718
|
{
|
1668
1719
|
//Range check assert done in priv_index_of
|
1669
1720
|
return this->priv_index_of(vector_iterator_get_ptr(p));
|
@@ -1679,7 +1730,8 @@ private:
|
|
1679
1730
|
//! <b>Complexity</b>: Constant.
|
1680
1731
|
//!
|
1681
1732
|
//! <b>Note</b>: Non-standard extension
|
1682
|
-
|
1733
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE
|
1734
|
+
size_type index_of(const_iterator p) const BOOST_NOEXCEPT_OR_NOTHROW
|
1683
1735
|
{
|
1684
1736
|
//Range check assert done in priv_index_of
|
1685
1737
|
return this->priv_index_of(vector_iterator_get_ptr(p));
|
@@ -1690,10 +1742,10 @@ private:
|
|
1690
1742
|
//! <b>Effects</b>: Returns a reference to the nth element
|
1691
1743
|
//! from the beginning of the container.
|
1692
1744
|
//!
|
1693
|
-
//! <b>Throws</b>:
|
1745
|
+
//! <b>Throws</b>: range_error if n >= size()
|
1694
1746
|
//!
|
1695
1747
|
//! <b>Complexity</b>: Constant.
|
1696
|
-
reference at(size_type n)
|
1748
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE reference at(size_type n)
|
1697
1749
|
{
|
1698
1750
|
this->priv_throw_if_out_of_range(n);
|
1699
1751
|
return this->m_holder.start()[n];
|
@@ -1704,10 +1756,10 @@ private:
|
|
1704
1756
|
//! <b>Effects</b>: Returns a const reference to the nth element
|
1705
1757
|
//! from the beginning of the container.
|
1706
1758
|
//!
|
1707
|
-
//! <b>Throws</b>:
|
1759
|
+
//! <b>Throws</b>: range_error if n >= size()
|
1708
1760
|
//!
|
1709
1761
|
//! <b>Complexity</b>: Constant.
|
1710
|
-
const_reference at(size_type n) const
|
1762
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const_reference at(size_type n) const
|
1711
1763
|
{
|
1712
1764
|
this->priv_throw_if_out_of_range(n);
|
1713
1765
|
return this->m_holder.start()[n];
|
@@ -1725,7 +1777,7 @@ private:
|
|
1725
1777
|
//! <b>Throws</b>: Nothing.
|
1726
1778
|
//!
|
1727
1779
|
//! <b>Complexity</b>: Constant.
|
1728
|
-
T* data() BOOST_NOEXCEPT_OR_NOTHROW
|
1780
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE T* data() BOOST_NOEXCEPT_OR_NOTHROW
|
1729
1781
|
{ return this->priv_raw_begin(); }
|
1730
1782
|
|
1731
1783
|
//! <b>Returns</b>: A pointer such that [data(),data() + size()) is a valid range.
|
@@ -1734,7 +1786,7 @@ private:
|
|
1734
1786
|
//! <b>Throws</b>: Nothing.
|
1735
1787
|
//!
|
1736
1788
|
//! <b>Complexity</b>: Constant.
|
1737
|
-
const T * data() const BOOST_NOEXCEPT_OR_NOTHROW
|
1789
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE const T * data() const BOOST_NOEXCEPT_OR_NOTHROW
|
1738
1790
|
{ return this->priv_raw_begin(); }
|
1739
1791
|
|
1740
1792
|
//////////////////////////////////////////////
|
@@ -1756,17 +1808,17 @@ private:
|
|
1756
1808
|
template<class ...Args>
|
1757
1809
|
BOOST_CONTAINER_FORCEINLINE reference emplace_back(BOOST_FWD_REF(Args)...args)
|
1758
1810
|
{
|
1811
|
+
T* const p = this->priv_raw_end();
|
1759
1812
|
if (BOOST_LIKELY(this->room_enough())){
|
1760
1813
|
//There is more memory, just construct a new object at the end
|
1761
|
-
T* const p = this->priv_raw_end();
|
1762
1814
|
allocator_traits_type::construct(this->m_holder.alloc(), p, ::boost::forward<Args>(args)...);
|
1763
1815
|
++this->m_holder.m_size;
|
1764
1816
|
return *p;
|
1765
1817
|
}
|
1766
1818
|
else{
|
1767
|
-
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...>
|
1768
|
-
return *this->
|
1769
|
-
(
|
1819
|
+
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
|
1820
|
+
return *this->priv_insert_forward_range_no_capacity
|
1821
|
+
(p, 1, proxy_t(::boost::forward<Args>(args)...), alloc_version());
|
1770
1822
|
}
|
1771
1823
|
}
|
1772
1824
|
|
@@ -1801,13 +1853,13 @@ private:
|
|
1801
1853
|
//! <b>Complexity</b>: If position is end(), amortized constant time
|
1802
1854
|
//! Linear time otherwise.
|
1803
1855
|
template<class ...Args>
|
1804
|
-
iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
|
1856
|
+
BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator position, BOOST_FWD_REF(Args) ...args)
|
1805
1857
|
{
|
1806
1858
|
BOOST_ASSERT(this->priv_in_range_or_end(position));
|
1807
1859
|
//Just call more general insert(pos, size, value) and return iterator
|
1808
|
-
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...>
|
1809
|
-
return this->
|
1810
|
-
,
|
1860
|
+
typedef dtl::insert_emplace_proxy<allocator_type, T*, Args...> proxy_t;
|
1861
|
+
return this->priv_insert_forward_range( vector_iterator_get_ptr(position), 1
|
1862
|
+
, proxy_t(::boost::forward<Args>(args)...));
|
1811
1863
|
}
|
1812
1864
|
|
1813
1865
|
#else // !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
|
@@ -1816,17 +1868,17 @@ private:
|
|
1816
1868
|
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
|
1817
1869
|
BOOST_CONTAINER_FORCEINLINE reference emplace_back(BOOST_MOVE_UREF##N)\
|
1818
1870
|
{\
|
1871
|
+
T* const p = this->priv_raw_end();\
|
1819
1872
|
if (BOOST_LIKELY(this->room_enough())){\
|
1820
|
-
T* const p = this->priv_raw_end();\
|
1821
1873
|
allocator_traits_type::construct (this->m_holder.alloc()\
|
1822
1874
|
, this->priv_raw_end() BOOST_MOVE_I##N BOOST_MOVE_FWD##N);\
|
1823
1875
|
++this->m_holder.m_size;\
|
1824
1876
|
return *p;\
|
1825
1877
|
}\
|
1826
1878
|
else{\
|
1827
|
-
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N>
|
1828
|
-
return *this->
|
1829
|
-
(
|
1879
|
+
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N> proxy_t;\
|
1880
|
+
return *this->priv_insert_forward_range_no_capacity\
|
1881
|
+
( p, 1, proxy_t(BOOST_MOVE_FWD##N), alloc_version());\
|
1830
1882
|
}\
|
1831
1883
|
}\
|
1832
1884
|
\
|
@@ -1843,11 +1895,11 @@ private:
|
|
1843
1895
|
}\
|
1844
1896
|
\
|
1845
1897
|
BOOST_MOVE_TMPL_LT##N BOOST_MOVE_CLASS##N BOOST_MOVE_GT##N \
|
1846
|
-
iterator emplace(const_iterator pos BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
|
1898
|
+
BOOST_CONTAINER_FORCEINLINE iterator emplace(const_iterator pos BOOST_MOVE_I##N BOOST_MOVE_UREF##N)\
|
1847
1899
|
{\
|
1848
1900
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));\
|
1849
|
-
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N>
|
1850
|
-
return this->
|
1901
|
+
typedef dtl::insert_emplace_proxy_arg##N<allocator_type, T* BOOST_MOVE_I##N BOOST_MOVE_TARG##N> proxy_t;\
|
1902
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), 1, proxy_t(BOOST_MOVE_FWD##N));\
|
1851
1903
|
}\
|
1852
1904
|
//
|
1853
1905
|
BOOST_MOVE_ITERATE_0TO9(BOOST_CONTAINER_VECTOR_EMPLACE_CODE)
|
@@ -1909,11 +1961,11 @@ private:
|
|
1909
1961
|
//! <b>Throws</b>: If memory allocation throws or T's copy/move constructor throws.
|
1910
1962
|
//!
|
1911
1963
|
//! <b>Complexity</b>: Linear to n.
|
1912
|
-
iterator insert(const_iterator p, size_type n, const T& x)
|
1964
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator p, size_type n, const T& x)
|
1913
1965
|
{
|
1914
1966
|
BOOST_ASSERT(this->priv_in_range_or_end(p));
|
1915
1967
|
dtl::insert_n_copies_proxy<allocator_type, T*> proxy(x);
|
1916
|
-
return this->
|
1968
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(p), n, proxy);
|
1917
1969
|
}
|
1918
1970
|
|
1919
1971
|
//! <b>Requires</b>: p must be a valid iterator of *this.
|
@@ -1949,7 +2001,7 @@ private:
|
|
1949
2001
|
|
1950
2002
|
#if !defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1951
2003
|
template <class FwdIt>
|
1952
|
-
iterator insert(const_iterator pos, FwdIt first, FwdIt last
|
2004
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator pos, FwdIt first, FwdIt last
|
1953
2005
|
, typename dtl::disable_if_or
|
1954
2006
|
< void
|
1955
2007
|
, dtl::is_convertible<FwdIt, size_type>
|
@@ -1958,8 +2010,13 @@ private:
|
|
1958
2010
|
)
|
1959
2011
|
{
|
1960
2012
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
2013
|
+
const typename iterator_traits<FwdIt>::size_type sz = boost::container::iterator_distance(first, last);
|
2014
|
+
if (sz > size_type(-1)){
|
2015
|
+
boost::container::throw_length_error("vector::insert, FwdIt's max length reached");
|
2016
|
+
}
|
2017
|
+
|
1961
2018
|
dtl::insert_range_proxy<allocator_type, FwdIt, T*> proxy(first);
|
1962
|
-
return this->
|
2019
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), static_cast<size_type>(sz), proxy);
|
1963
2020
|
}
|
1964
2021
|
#endif
|
1965
2022
|
|
@@ -1980,14 +2037,14 @@ private:
|
|
1980
2037
|
//! a non-standard extension.
|
1981
2038
|
#if !defined(BOOST_CONTAINER_DOXYGEN_INVOKED)
|
1982
2039
|
template <class InIt>
|
1983
|
-
iterator insert(const_iterator pos, size_type num, InIt first, InIt last)
|
2040
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator pos, size_type num, InIt first, InIt last)
|
1984
2041
|
{
|
1985
2042
|
BOOST_ASSERT(this->priv_in_range_or_end(pos));
|
1986
2043
|
BOOST_ASSERT(dtl::is_input_iterator<InIt>::value ||
|
1987
2044
|
num == static_cast<size_type>(boost::container::iterator_distance(first, last)));
|
1988
2045
|
(void)last;
|
1989
2046
|
dtl::insert_range_proxy<allocator_type, InIt, T*> proxy(first);
|
1990
|
-
return this->
|
2047
|
+
return this->priv_insert_forward_range(vector_iterator_get_ptr(pos), num, proxy);
|
1991
2048
|
}
|
1992
2049
|
#endif
|
1993
2050
|
|
@@ -1999,7 +2056,7 @@ private:
|
|
1999
2056
|
//! <b>Returns</b>: an iterator to the first inserted element or position if first == last.
|
2000
2057
|
//!
|
2001
2058
|
//! <b>Complexity</b>: Linear to the range [il.begin(), il.end()).
|
2002
|
-
iterator insert(const_iterator position, std::initializer_list<value_type> il)
|
2059
|
+
BOOST_CONTAINER_FORCEINLINE iterator insert(const_iterator position, std::initializer_list<value_type> il)
|
2003
2060
|
{
|
2004
2061
|
//Assertion done in insert()
|
2005
2062
|
return this->insert(position, il.begin(), il.end());
|
@@ -2011,11 +2068,12 @@ private:
|
|
2011
2068
|
//! <b>Throws</b>: Nothing.
|
2012
2069
|
//!
|
2013
2070
|
//! <b>Complexity</b>: Constant time.
|
2014
|
-
void pop_back() BOOST_NOEXCEPT_OR_NOTHROW
|
2071
|
+
BOOST_CONTAINER_FORCEINLINE void pop_back() BOOST_NOEXCEPT_OR_NOTHROW
|
2015
2072
|
{
|
2016
2073
|
BOOST_ASSERT(!this->empty());
|
2017
2074
|
//Destroy last element
|
2018
|
-
this->
|
2075
|
+
allocator_traits_type::destroy(this->get_stored_allocator(), this->priv_raw_end() - 1);
|
2076
|
+
--this->m_holder.m_size;
|
2019
2077
|
}
|
2020
2078
|
|
2021
2079
|
//! <b>Effects</b>: Erases the element at position pos.
|
@@ -2029,10 +2087,16 @@ private:
|
|
2029
2087
|
BOOST_ASSERT(this->priv_in_range(position));
|
2030
2088
|
const pointer p = vector_iterator_get_ptr(position);
|
2031
2089
|
T *const pos_ptr = boost::movelib::to_raw_pointer(p);
|
2032
|
-
T *const
|
2033
|
-
|
2090
|
+
T *const end_ptr = this->priv_raw_end();
|
2091
|
+
|
2034
2092
|
//Move elements forward and destroy last
|
2035
|
-
|
2093
|
+
(void)::boost::container::move(pos_ptr + 1, end_ptr, pos_ptr);
|
2094
|
+
|
2095
|
+
T *const last_ptr = end_ptr-1;
|
2096
|
+
if(!value_traits::trivial_dctr_after_move || pos_ptr == last_ptr){
|
2097
|
+
allocator_traits_type::destroy(this->get_stored_allocator(), last_ptr);
|
2098
|
+
}
|
2099
|
+
--this->m_holder.m_size;
|
2036
2100
|
return iterator(p);
|
2037
2101
|
}
|
2038
2102
|
|
@@ -2044,15 +2108,19 @@ private:
|
|
2044
2108
|
//! plus linear to the elements between pos and the last element.
|
2045
2109
|
iterator erase(const_iterator first, const_iterator last)
|
2046
2110
|
{
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
2050
|
-
|
2111
|
+
BOOST_ASSERT(this->priv_in_range_or_end(first));
|
2112
|
+
BOOST_ASSERT(this->priv_in_range_or_end(last));
|
2113
|
+
BOOST_ASSERT(first <= last);
|
2114
|
+
if(first != last){
|
2051
2115
|
T* const old_end_ptr = this->priv_raw_end();
|
2052
2116
|
T* const first_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(first));
|
2053
2117
|
T* const last_ptr = boost::movelib::to_raw_pointer(vector_iterator_get_ptr(last));
|
2054
|
-
T* const
|
2055
|
-
|
2118
|
+
T* const new_last_ptr = boost::movelib::to_raw_pointer(boost::container::move(last_ptr, old_end_ptr, first_ptr));
|
2119
|
+
const size_type n = static_cast<size_type>(old_end_ptr - new_last_ptr);
|
2120
|
+
if(!value_traits::trivial_dctr_after_move || old_end_ptr == last_ptr){
|
2121
|
+
boost::container::destroy_alloc_n(this->get_stored_allocator(), new_last_ptr, n);
|
2122
|
+
}
|
2123
|
+
this->m_holder.dec_stored_size(n);
|
2056
2124
|
}
|
2057
2125
|
return iterator(vector_iterator_get_ptr(first));
|
2058
2126
|
}
|
@@ -2102,43 +2170,44 @@ private:
|
|
2102
2170
|
//! <b>Effects</b>: Returns true if x and y are equal
|
2103
2171
|
//!
|
2104
2172
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2105
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator==(const vector& x, const vector& y)
|
2173
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator==(const vector& x, const vector& y)
|
2106
2174
|
{ return x.size() == y.size() && ::boost::container::algo_equal(x.begin(), x.end(), y.begin()); }
|
2107
2175
|
|
2108
2176
|
//! <b>Effects</b>: Returns true if x and y are unequal
|
2109
2177
|
//!
|
2110
2178
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2111
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const vector& x, const vector& y)
|
2179
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const vector& x, const vector& y)
|
2112
2180
|
{ return !(x == y); }
|
2113
2181
|
|
2114
2182
|
//! <b>Effects</b>: Returns true if x is less than y
|
2115
2183
|
//!
|
2116
2184
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2117
|
-
friend bool operator<(const vector& x, const vector& y)
|
2185
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD friend bool operator<(const vector& x, const vector& y)
|
2118
2186
|
{ return boost::container::algo_lexicographical_compare(x.begin(), x.end(), y.begin(), y.end()); }
|
2119
2187
|
|
2120
2188
|
//! <b>Effects</b>: Returns true if x is greater than y
|
2121
2189
|
//!
|
2122
2190
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2123
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator>(const vector& x, const vector& y)
|
2191
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator>(const vector& x, const vector& y)
|
2124
2192
|
{ return y < x; }
|
2125
2193
|
|
2126
2194
|
//! <b>Effects</b>: Returns true if x is equal or less than y
|
2127
2195
|
//!
|
2128
2196
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2129
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator<=(const vector& x, const vector& y)
|
2197
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator<=(const vector& x, const vector& y)
|
2130
2198
|
{ return !(y < x); }
|
2131
2199
|
|
2132
2200
|
//! <b>Effects</b>: Returns true if x is equal or greater than y
|
2133
2201
|
//!
|
2134
2202
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
2135
|
-
BOOST_CONTAINER_FORCEINLINE friend bool operator>=(const vector& x, const vector& y)
|
2203
|
+
BOOST_CONTAINER_ATTRIBUTE_NODISCARD BOOST_CONTAINER_FORCEINLINE friend bool operator>=(const vector& x, const vector& y)
|
2136
2204
|
{ return !(x < y); }
|
2137
2205
|
|
2138
2206
|
//! <b>Effects</b>: x.swap(y)
|
2139
2207
|
//!
|
2140
2208
|
//! <b>Complexity</b>: Constant.
|
2141
2209
|
BOOST_CONTAINER_FORCEINLINE friend void swap(vector& x, vector& y)
|
2210
|
+
BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT(x.swap(y)))
|
2142
2211
|
{ x.swap(y); }
|
2143
2212
|
|
2144
2213
|
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
@@ -2245,14 +2314,14 @@ private:
|
|
2245
2314
|
else{
|
2246
2315
|
//Hole was just filled, disable exception rollback and change vector size
|
2247
2316
|
past_hole_values_destroyer.release();
|
2248
|
-
this->m_holder.
|
2317
|
+
this->m_holder.inc_stored_size(element_count);
|
2249
2318
|
}
|
2250
2319
|
}
|
2251
2320
|
else{
|
2252
2321
|
if(old_hole_size){
|
2253
2322
|
//Hole was just filled by priv_insert_ordered_at_shift_range, disable exception rollback and change vector size
|
2254
2323
|
past_hole_values_destroyer.release();
|
2255
|
-
this->m_holder.
|
2324
|
+
this->m_holder.inc_stored_size(element_count);
|
2256
2325
|
}
|
2257
2326
|
//Insert the new value in the already constructed range
|
2258
2327
|
begin_ptr[pos + insertions_left - 1] = position_value.get_val();
|
@@ -2353,7 +2422,7 @@ private:
|
|
2353
2422
|
if (old_cap > 0) {
|
2354
2423
|
this->m_holder.deallocate(old_p, old_cap);
|
2355
2424
|
}
|
2356
|
-
|
2425
|
+
m_holder.set_stored_size(old_size + added);
|
2357
2426
|
this->m_holder.start(new_storage);
|
2358
2427
|
this->m_holder.capacity(new_cap);
|
2359
2428
|
new_buffer_deallocator.release();
|
@@ -2361,12 +2430,12 @@ private:
|
|
2361
2430
|
}
|
2362
2431
|
|
2363
2432
|
BOOST_CONTAINER_FORCEINLINE bool room_enough() const
|
2364
|
-
{ return this->m_holder.m_size
|
2433
|
+
{ return this->m_holder.m_size != this->m_holder.capacity(); }
|
2365
2434
|
|
2366
2435
|
BOOST_CONTAINER_FORCEINLINE pointer back_ptr() const
|
2367
2436
|
{ return this->m_holder.start() + this->m_holder.m_size; }
|
2368
2437
|
|
2369
|
-
size_type priv_index_of(pointer p) const
|
2438
|
+
BOOST_CONTAINER_FORCEINLINE size_type priv_index_of(pointer p) const
|
2370
2439
|
{
|
2371
2440
|
BOOST_ASSERT(this->m_holder.start() <= p);
|
2372
2441
|
BOOST_ASSERT(p <= (this->m_holder.start()+this->size()));
|
@@ -2387,7 +2456,7 @@ private:
|
|
2387
2456
|
const size_type this_sz = m_holder.m_size;
|
2388
2457
|
const size_type other_sz = static_cast<size_type>(x.m_holder.m_size);
|
2389
2458
|
boost::container::move_assign_range_alloc_n(this->m_holder.alloc(), other_start, other_sz, this_start, this_sz);
|
2390
|
-
|
2459
|
+
m_holder.set_stored_size(other_sz);
|
2391
2460
|
//Not emptying the source container seems to be confusing for users as drop-in
|
2392
2461
|
//replacement for non-static vectors, so clear it.
|
2393
2462
|
x.clear();
|
@@ -2445,7 +2514,7 @@ private:
|
|
2445
2514
|
const size_type this_sz = m_holder.m_size;
|
2446
2515
|
const size_type other_sz = static_cast<size_type>(x.m_holder.m_size);
|
2447
2516
|
boost::container::copy_assign_range_alloc_n(this->m_holder.alloc(), other_start, other_sz, this_start, this_sz);
|
2448
|
-
|
2517
|
+
m_holder.set_stored_size(other_sz);
|
2449
2518
|
}
|
2450
2519
|
|
2451
2520
|
template<class OtherA>
|
@@ -2469,7 +2538,7 @@ private:
|
|
2469
2538
|
}
|
2470
2539
|
|
2471
2540
|
template<class Vector> //Template it to avoid it in explicit instantiations
|
2472
|
-
void priv_swap(Vector &x, dtl::true_type) //version_0
|
2541
|
+
BOOST_CONTAINER_FORCEINLINE void priv_swap(Vector &x, dtl::true_type) //version_0
|
2473
2542
|
{ this->m_holder.deep_swap(x.m_holder); }
|
2474
2543
|
|
2475
2544
|
template<class Vector> //Template it to avoid it in explicit instantiations
|
@@ -2506,26 +2575,29 @@ private:
|
|
2506
2575
|
dtl::swap_alloc(this->m_holder.alloc(), x.m_holder.alloc(), dtl::bool_<propagate_alloc>());
|
2507
2576
|
}
|
2508
2577
|
|
2509
|
-
void
|
2578
|
+
BOOST_CONTAINER_FORCEINLINE void priv_move_to_new_buffer(size_type, version_0)
|
2510
2579
|
{ alloc_holder_t::on_capacity_overflow(); }
|
2511
2580
|
|
2512
|
-
dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*> priv_dummy_empty_proxy()
|
2581
|
+
BOOST_CONTAINER_FORCEINLINE dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*> priv_dummy_empty_proxy()
|
2513
2582
|
{
|
2514
2583
|
return dtl::insert_range_proxy<allocator_type, boost::move_iterator<T*>, T*>
|
2515
2584
|
(::boost::make_move_iterator((T *)0));
|
2516
2585
|
}
|
2517
2586
|
|
2518
|
-
void
|
2587
|
+
BOOST_CONTAINER_FORCEINLINE void priv_move_to_new_buffer(size_type new_cap, version_1)
|
2519
2588
|
{
|
2520
2589
|
//There is not enough memory, allocate a new buffer
|
2521
2590
|
//Pass the hint so that allocators can take advantage of this.
|
2522
2591
|
pointer const p = this->m_holder.allocate(new_cap);
|
2592
|
+
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2593
|
+
++this->num_alloc;
|
2594
|
+
#endif
|
2523
2595
|
//We will reuse insert code, so create a dummy input iterator
|
2524
|
-
this->
|
2596
|
+
this->priv_insert_forward_range_new_allocation
|
2525
2597
|
( boost::movelib::to_raw_pointer(p), new_cap, this->priv_raw_end(), 0, this->priv_dummy_empty_proxy());
|
2526
2598
|
}
|
2527
2599
|
|
2528
|
-
void
|
2600
|
+
void priv_move_to_new_buffer(size_type new_cap, version_2)
|
2529
2601
|
{
|
2530
2602
|
//There is not enough memory, allocate a new
|
2531
2603
|
//buffer or expand the old one.
|
@@ -2549,38 +2621,24 @@ private:
|
|
2549
2621
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2550
2622
|
++this->num_expand_bwd;
|
2551
2623
|
#endif
|
2552
|
-
this->
|
2624
|
+
this->priv_insert_forward_range_expand_backwards
|
2553
2625
|
( new_mem , real_cap, ins_pos, 0, this->priv_dummy_empty_proxy());
|
2554
2626
|
}
|
2555
2627
|
else{ //New buffer
|
2556
2628
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2557
2629
|
++this->num_alloc;
|
2558
2630
|
#endif
|
2559
|
-
this->
|
2631
|
+
this->priv_insert_forward_range_new_allocation
|
2560
2632
|
( new_mem, real_cap, ins_pos, 0, this->priv_dummy_empty_proxy());
|
2561
2633
|
}
|
2562
2634
|
}
|
2563
2635
|
}
|
2564
2636
|
|
2565
|
-
void priv_destroy_last(const bool moved = false) BOOST_NOEXCEPT_OR_NOTHROW
|
2566
|
-
{
|
2567
|
-
(void)moved;
|
2568
|
-
const bool skip_destructor = value_traits::trivial_dctr || (value_traits::trivial_dctr_after_move && moved);
|
2569
|
-
if(!skip_destructor){
|
2570
|
-
value_type* const p = this->priv_raw_end() - 1;
|
2571
|
-
allocator_traits_type::destroy(this->get_stored_allocator(), p);
|
2572
|
-
}
|
2573
|
-
--this->m_holder.m_size;
|
2574
|
-
}
|
2575
|
-
|
2576
2637
|
void priv_destroy_last_n(const size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
2577
2638
|
{
|
2578
2639
|
BOOST_ASSERT(n <= this->m_holder.m_size);
|
2579
|
-
|
2580
|
-
|
2581
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), destroy_pos, n);
|
2582
|
-
}
|
2583
|
-
this->m_holder.m_size -= n;
|
2640
|
+
boost::container::destroy_alloc_n(this->get_stored_allocator(), this->priv_raw_end() - n, n);
|
2641
|
+
this->m_holder.dec_stored_size(n);
|
2584
2642
|
}
|
2585
2643
|
|
2586
2644
|
template<class InpIt>
|
@@ -2588,7 +2646,7 @@ private:
|
|
2588
2646
|
{
|
2589
2647
|
T* const old_end_pos = this->priv_raw_end();
|
2590
2648
|
T* const new_end_pos = boost::container::uninitialized_copy_alloc(this->m_holder.alloc(), first, last, old_end_pos);
|
2591
|
-
this->m_holder.
|
2649
|
+
this->m_holder.inc_stored_size(static_cast<size_type>(new_end_pos - old_end_pos));
|
2592
2650
|
}
|
2593
2651
|
|
2594
2652
|
void priv_destroy_all() BOOST_NOEXCEPT_OR_NOTHROW
|
@@ -2599,35 +2657,24 @@ private:
|
|
2599
2657
|
}
|
2600
2658
|
|
2601
2659
|
template<class U>
|
2602
|
-
iterator priv_insert(const const_iterator &p, BOOST_FWD_REF(U)
|
2660
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const const_iterator &p, BOOST_FWD_REF(U) u)
|
2603
2661
|
{
|
2604
|
-
|
2605
|
-
return this->priv_forward_range_insert
|
2606
|
-
( vector_iterator_get_ptr(p), 1, dtl::get_insert_value_proxy<T*, allocator_type>(::boost::forward<U>(x)));
|
2662
|
+
return this->emplace(p, ::boost::forward<U>(u));
|
2607
2663
|
}
|
2608
2664
|
|
2609
|
-
BOOST_CONTAINER_FORCEINLINE dtl::insert_copy_proxy<allocator_type, T*> priv_single_insert_proxy(const T &x)
|
2610
|
-
{ return dtl::insert_copy_proxy<allocator_type, T*> (x); }
|
2611
|
-
|
2612
|
-
BOOST_CONTAINER_FORCEINLINE dtl::insert_move_proxy<allocator_type, T*> priv_single_insert_proxy(BOOST_RV_REF(T) x)
|
2613
|
-
{ return dtl::insert_move_proxy<allocator_type, T*> (x); }
|
2614
|
-
|
2615
2665
|
template <class U>
|
2616
|
-
void priv_push_back(BOOST_FWD_REF(U) u)
|
2666
|
+
BOOST_CONTAINER_FORCEINLINE void priv_push_back(BOOST_FWD_REF(U) u)
|
2617
2667
|
{
|
2618
|
-
|
2619
|
-
//There is more memory, just construct a new object at the end
|
2620
|
-
allocator_traits_type::construct
|
2621
|
-
( this->m_holder.alloc(), this->priv_raw_end(), ::boost::forward<U>(u) );
|
2622
|
-
++this->m_holder.m_size;
|
2623
|
-
}
|
2624
|
-
else{
|
2625
|
-
this->priv_forward_range_insert_no_capacity
|
2626
|
-
( this->back_ptr(), 1
|
2627
|
-
, this->priv_single_insert_proxy(::boost::forward<U>(u)), alloc_version());
|
2628
|
-
}
|
2668
|
+
this->emplace_back(::boost::forward<U>(u));
|
2629
2669
|
}
|
2630
2670
|
|
2671
|
+
//Overload to support compiler errors that instantiate too much
|
2672
|
+
BOOST_CONTAINER_FORCEINLINE void priv_push_back(::boost::move_detail::nat)
|
2673
|
+
{}
|
2674
|
+
|
2675
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert(const_iterator, ::boost::move_detail::nat)
|
2676
|
+
{ return iterator(); }
|
2677
|
+
|
2631
2678
|
BOOST_CONTAINER_FORCEINLINE dtl::insert_n_copies_proxy<allocator_type, T*> priv_resize_proxy(const T &x)
|
2632
2679
|
{ return dtl::insert_n_copies_proxy<allocator_type, T*>(x); }
|
2633
2680
|
|
@@ -2637,20 +2684,6 @@ private:
|
|
2637
2684
|
BOOST_CONTAINER_FORCEINLINE dtl::insert_value_initialized_n_proxy<allocator_type, T*> priv_resize_proxy(value_init_t)
|
2638
2685
|
{ return dtl::insert_value_initialized_n_proxy<allocator_type, T*>(); }
|
2639
2686
|
|
2640
|
-
template <class U>
|
2641
|
-
void priv_resize(size_type new_size, const U& u)
|
2642
|
-
{
|
2643
|
-
const size_type sz = this->size();
|
2644
|
-
if (new_size < sz){
|
2645
|
-
//Destroy last elements
|
2646
|
-
this->priv_destroy_last_n(sz - new_size);
|
2647
|
-
}
|
2648
|
-
else{
|
2649
|
-
const size_type n = new_size - this->size();
|
2650
|
-
this->priv_forward_range_insert_at_end(n, this->priv_resize_proxy(u), alloc_version());
|
2651
|
-
}
|
2652
|
-
}
|
2653
|
-
|
2654
2687
|
BOOST_CONTAINER_FORCEINLINE void priv_shrink_to_fit(version_0) BOOST_NOEXCEPT_OR_NOTHROW
|
2655
2688
|
{}
|
2656
2689
|
|
@@ -2666,17 +2699,7 @@ private:
|
|
2666
2699
|
this->m_holder.m_capacity = 0;
|
2667
2700
|
}
|
2668
2701
|
else if(sz < cp){
|
2669
|
-
|
2670
|
-
//Pass the hint so that allocators can take advantage of this.
|
2671
|
-
pointer const p = this->m_holder.allocate(sz);
|
2672
|
-
|
2673
|
-
//We will reuse insert code, so create a dummy input iterator
|
2674
|
-
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2675
|
-
++this->num_alloc;
|
2676
|
-
#endif
|
2677
|
-
this->priv_forward_range_insert_new_allocation
|
2678
|
-
( boost::movelib::to_raw_pointer(p), sz
|
2679
|
-
, this->priv_raw_begin(), 0, this->priv_dummy_empty_proxy());
|
2702
|
+
this->priv_move_to_new_buffer(sz, alloc_version());
|
2680
2703
|
}
|
2681
2704
|
}
|
2682
2705
|
}
|
@@ -2707,20 +2730,18 @@ private:
|
|
2707
2730
|
}
|
2708
2731
|
|
2709
2732
|
template <class InsertionProxy>
|
2710
|
-
iterator
|
2711
|
-
(
|
2733
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert_forward_range_no_capacity
|
2734
|
+
(T * const, const size_type, const InsertionProxy , version_0)
|
2712
2735
|
{
|
2713
|
-
alloc_holder_t::on_capacity_overflow();
|
2714
|
-
return iterator(pos);
|
2736
|
+
return alloc_holder_t::on_capacity_overflow(), iterator();
|
2715
2737
|
}
|
2716
2738
|
|
2717
2739
|
template <class InsertionProxy>
|
2718
|
-
iterator
|
2719
|
-
(const
|
2740
|
+
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
|
2741
|
+
(T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_1)
|
2720
2742
|
{
|
2721
2743
|
//Check if we have enough memory or try to expand current memory
|
2722
|
-
const size_type n_pos =
|
2723
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2744
|
+
const size_type n_pos = static_cast<size_type>(raw_pos - this->priv_raw_begin());
|
2724
2745
|
|
2725
2746
|
const size_type new_cap = this->m_holder.template next_capacity<growth_factor_type>(n);
|
2726
2747
|
//Pass the hint so that allocators can take advantage of this.
|
@@ -2728,17 +2749,15 @@ private:
|
|
2728
2749
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2729
2750
|
++this->num_alloc;
|
2730
2751
|
#endif
|
2731
|
-
this->
|
2732
|
-
( new_buf, new_cap, raw_pos, n, insert_range_proxy);
|
2752
|
+
this->priv_insert_forward_range_new_allocation(new_buf, new_cap, raw_pos, n, insert_range_proxy);
|
2733
2753
|
return iterator(this->m_holder.start() + n_pos);
|
2734
2754
|
}
|
2735
2755
|
|
2736
2756
|
template <class InsertionProxy>
|
2737
|
-
iterator
|
2738
|
-
(const
|
2757
|
+
BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity
|
2758
|
+
(T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_2)
|
2739
2759
|
{
|
2740
2760
|
//Check if we have enough memory or try to expand current memory
|
2741
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2742
2761
|
const size_type n_pos = raw_pos - this->priv_raw_begin();
|
2743
2762
|
|
2744
2763
|
//There is not enough memory, allocate a new
|
@@ -2757,14 +2776,15 @@ private:
|
|
2757
2776
|
#endif
|
2758
2777
|
this->m_holder.capacity(real_cap);
|
2759
2778
|
//Expand forward
|
2760
|
-
this->
|
2779
|
+
this->priv_insert_forward_range_expand_forward
|
2780
|
+
(raw_pos, n, insert_range_proxy, dtl::bool_<dtl::is_single_value_proxy<InsertionProxy>::value>());
|
2761
2781
|
}
|
2762
2782
|
//Backwards (and possibly forward) expansion
|
2763
2783
|
else{
|
2764
2784
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2765
2785
|
++this->num_expand_bwd;
|
2766
2786
|
#endif
|
2767
|
-
this->
|
2787
|
+
this->priv_insert_forward_range_expand_backwards
|
2768
2788
|
(boost::movelib::to_raw_pointer(ret), real_cap, raw_pos, n, insert_range_proxy);
|
2769
2789
|
}
|
2770
2790
|
}
|
@@ -2773,7 +2793,7 @@ private:
|
|
2773
2793
|
#ifdef BOOST_CONTAINER_VECTOR_ALLOC_STATS
|
2774
2794
|
++this->num_alloc;
|
2775
2795
|
#endif
|
2776
|
-
this->
|
2796
|
+
this->priv_insert_forward_range_new_allocation
|
2777
2797
|
( boost::movelib::to_raw_pointer(ret), real_cap, raw_pos, n, insert_range_proxy);
|
2778
2798
|
}
|
2779
2799
|
|
@@ -2781,46 +2801,53 @@ private:
|
|
2781
2801
|
}
|
2782
2802
|
|
2783
2803
|
template <class InsertionProxy>
|
2784
|
-
iterator
|
2804
|
+
BOOST_CONTAINER_FORCEINLINE iterator priv_insert_forward_range
|
2785
2805
|
(const pointer &pos, const size_type n, const InsertionProxy insert_range_proxy)
|
2786
2806
|
{
|
2787
2807
|
BOOST_ASSERT(this->m_holder.capacity() >= this->m_holder.m_size);
|
2808
|
+
T *const p = boost::movelib::to_raw_pointer(pos);
|
2788
2809
|
//Check if we have enough memory or try to expand current memory
|
2789
|
-
|
2790
|
-
|
2791
|
-
|
2792
|
-
|
2793
|
-
return
|
2810
|
+
if (BOOST_LIKELY(n <= (this->m_holder.capacity() - this->m_holder.m_size))){
|
2811
|
+
//Expand forward
|
2812
|
+
this->priv_insert_forward_range_expand_forward
|
2813
|
+
(p, n, insert_range_proxy, dtl::bool_<dtl::is_single_value_proxy<InsertionProxy>::value>());
|
2814
|
+
return iterator(pos);
|
2794
2815
|
}
|
2795
2816
|
else{
|
2796
|
-
|
2797
|
-
T *const raw_pos = boost::movelib::to_raw_pointer(pos);
|
2798
|
-
const size_type n_pos = raw_pos - this->priv_raw_begin();
|
2799
|
-
this->priv_forward_range_insert_expand_forward(raw_pos, n, insert_range_proxy);
|
2800
|
-
return iterator(this->m_holder.start() + n_pos);
|
2817
|
+
return this->priv_insert_forward_range_no_capacity(p, n, insert_range_proxy, alloc_version());
|
2801
2818
|
}
|
2802
2819
|
}
|
2803
2820
|
|
2804
|
-
template <class
|
2805
|
-
|
2806
|
-
(const size_type n, const InsertionProxy insert_range_proxy, version_0)
|
2821
|
+
template <class U>
|
2822
|
+
void priv_resize(const size_type new_size, const U &u, version_0)
|
2807
2823
|
{
|
2808
|
-
|
2809
|
-
|
2810
|
-
|
2811
|
-
if (n > remaining){
|
2824
|
+
const size_type sz = this->m_holder.m_size;
|
2825
|
+
if (new_size > this->capacity()){
|
2812
2826
|
//This will trigger an error
|
2813
2827
|
alloc_holder_t::on_capacity_overflow();
|
2814
2828
|
}
|
2815
|
-
|
2816
|
-
|
2829
|
+
else if (new_size < sz){
|
2830
|
+
//Destroy last elements
|
2831
|
+
this->priv_destroy_last_n(sz - new_size);
|
2832
|
+
}
|
2833
|
+
else{
|
2834
|
+
T* const old_finish = this->priv_raw_end();
|
2835
|
+
this->priv_resize_proxy(u).uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, new_size - sz);
|
2836
|
+
this->m_holder.set_stored_size(new_size);
|
2837
|
+
}
|
2817
2838
|
}
|
2818
2839
|
|
2819
|
-
template <class
|
2820
|
-
|
2821
|
-
(const size_type n, const InsertionProxy insert_range_proxy, AllocVersion)
|
2840
|
+
template <class U, class AllocVersion>
|
2841
|
+
void priv_resize(const size_type new_size, const U &u, AllocVersion)
|
2822
2842
|
{
|
2823
|
-
|
2843
|
+
const size_type sz = this->m_holder.m_size;
|
2844
|
+
if (new_size < sz){
|
2845
|
+
//Destroy last elements
|
2846
|
+
this->priv_destroy_last_n(sz - new_size);
|
2847
|
+
}
|
2848
|
+
else {
|
2849
|
+
this->priv_insert_forward_range(this->back_ptr(), new_size - sz, this->priv_resize_proxy(u));
|
2850
|
+
}
|
2824
2851
|
}
|
2825
2852
|
|
2826
2853
|
//Takes the range pointed by [first_pos, last_pos) and shifts it to the right
|
@@ -2916,103 +2943,69 @@ private:
|
|
2916
2943
|
BOOST_CONTAINER_FORCEINLINE T* priv_raw_end() const
|
2917
2944
|
{ return this->priv_raw_begin() + this->m_holder.m_size; }
|
2918
2945
|
|
2919
|
-
template <class InsertionProxy>
|
2920
|
-
void
|
2921
|
-
|
2922
|
-
T* const old_finish = this->priv_raw_end();
|
2923
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n);
|
2924
|
-
this->m_holder.m_size += n;
|
2925
|
-
}
|
2926
|
-
|
2927
|
-
template <class InsertionProxy>
|
2928
|
-
void priv_forward_range_insert_expand_forward(T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
2946
|
+
template <class InsertionProxy> //inline single-element version as it is significantly smaller
|
2947
|
+
BOOST_CONTAINER_FORCEINLINE void priv_insert_forward_range_expand_forward
|
2948
|
+
(T* const raw_pos, const size_type, InsertionProxy insert_range_proxy, dtl::true_type)
|
2929
2949
|
{
|
2930
|
-
|
2931
|
-
if(BOOST_UNLIKELY(!n)) return;
|
2950
|
+
BOOST_ASSERT(this->room_enough());
|
2932
2951
|
//There is enough memory
|
2933
2952
|
T* const old_finish = this->priv_raw_end();
|
2934
|
-
|
2953
|
+
allocator_type & a = this->m_holder.alloc();
|
2935
2954
|
|
2936
|
-
if (
|
2937
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
2938
|
-
this->m_holder.m_size
|
2955
|
+
if (old_finish == raw_pos){
|
2956
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, old_finish, 1);
|
2957
|
+
++this->m_holder.m_size;
|
2939
2958
|
}
|
2940
|
-
else
|
2959
|
+
else{
|
2941
2960
|
//New elements can be just copied.
|
2942
2961
|
//Move to uninitialized memory last objects
|
2943
|
-
|
2944
|
-
|
2945
|
-
|
2962
|
+
T * const before_old_finish = old_finish-1;
|
2963
|
+
|
2964
|
+
allocator_traits_type::construct(a, old_finish, ::boost::move(*before_old_finish));
|
2965
|
+
++this->m_holder.m_size;
|
2946
2966
|
//Copy previous to last objects to the initialized end
|
2947
|
-
boost::container::move_backward(
|
2948
|
-
//Insert new objects in the
|
2949
|
-
insert_range_proxy.copy_n_and_update(
|
2950
|
-
}
|
2951
|
-
else {
|
2952
|
-
//The new elements don't fit in the [pos, end()) range.
|
2953
|
-
|
2954
|
-
//Copy old [pos, end()) elements to the uninitialized memory (a gap is created)
|
2955
|
-
::boost::container::uninitialized_move_alloc(this->m_holder.alloc(), pos, old_finish, pos + n);
|
2956
|
-
BOOST_TRY{
|
2957
|
-
//Copy first new elements in pos (gap is still there)
|
2958
|
-
insert_range_proxy.copy_n_and_update(this->m_holder.alloc(), pos, elems_after);
|
2959
|
-
//Copy to the beginning of the unallocated zone the last new elements (the gap is closed).
|
2960
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n - elems_after);
|
2961
|
-
this->m_holder.m_size += n;
|
2962
|
-
}
|
2963
|
-
BOOST_CATCH(...){
|
2964
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), pos + n, elems_after);
|
2965
|
-
BOOST_RETHROW
|
2966
|
-
}
|
2967
|
-
BOOST_CATCH_END
|
2967
|
+
boost::container::move_backward(raw_pos, before_old_finish, old_finish);
|
2968
|
+
//Insert new objects in the raw_pos
|
2969
|
+
insert_range_proxy.copy_n_and_update(a, raw_pos, 1);
|
2968
2970
|
}
|
2969
2971
|
}
|
2970
2972
|
|
2971
2973
|
template <class InsertionProxy>
|
2972
|
-
void
|
2974
|
+
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)
|
2975
|
+
{
|
2976
|
+
//There is enough memory
|
2977
|
+
boost::container::expand_forward_and_insert_alloc
|
2978
|
+
( this->m_holder.alloc(), raw_pos, this->priv_raw_end(), n, insert_range_proxy);
|
2979
|
+
this->m_holder.inc_stored_size(n);
|
2980
|
+
}
|
2981
|
+
|
2982
|
+
template <class InsertionProxy>
|
2983
|
+
void priv_insert_forward_range_new_allocation
|
2973
2984
|
(T* const new_start, size_type new_cap, T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
2974
2985
|
{
|
2975
2986
|
//n can be zero, if we want to reallocate!
|
2976
|
-
|
2977
|
-
T *
|
2978
|
-
|
2979
|
-
typename value_traits::ArrayDeallocator new_buffer_deallocator(new_start,
|
2980
|
-
|
2981
|
-
|
2982
|
-
|
2983
|
-
|
2984
|
-
|
2985
|
-
if(
|
2986
|
-
|
2987
|
-
(this->m_holder.
|
2988
|
-
new_values_destroyer.increment_size(new_finish - old_finish);
|
2989
|
-
}
|
2990
|
-
//Initialize new objects, starting from previous point
|
2991
|
-
old_finish = new_finish;
|
2992
|
-
insert_range_proxy.uninitialized_copy_n_and_update(this->m_holder.alloc(), old_finish, n);
|
2993
|
-
new_finish += n;
|
2994
|
-
new_values_destroyer.increment_size(new_finish - old_finish);
|
2995
|
-
//Initialize from the rest of the old buffer,
|
2996
|
-
//starting from previous point
|
2997
|
-
if(old_buffer){
|
2998
|
-
new_finish = ::boost::container::uninitialized_move_alloc
|
2999
|
-
(this->m_holder.alloc(), pos, old_buffer + this->m_holder.m_size, new_finish);
|
3000
|
-
//Destroy and deallocate old elements
|
3001
|
-
//If there is allocated memory, destroy and deallocate
|
3002
|
-
if(!value_traits::trivial_dctr_after_move)
|
3003
|
-
boost::container::destroy_alloc_n(this->get_stored_allocator(), old_buffer, this->m_holder.m_size);
|
2987
|
+
allocator_type &a = this->m_holder.alloc();
|
2988
|
+
T * const raw_old_buffer = this->priv_raw_begin();
|
2989
|
+
|
2990
|
+
typename value_traits::ArrayDeallocator new_buffer_deallocator(new_start, a, new_cap);
|
2991
|
+
boost::container::uninitialized_move_and_insert_alloc
|
2992
|
+
(a, raw_old_buffer, pos, this->priv_raw_end(), new_start, n, insert_range_proxy);
|
2993
|
+
new_buffer_deallocator.release();
|
2994
|
+
|
2995
|
+
//Destroy and deallocate old elements
|
2996
|
+
if(raw_old_buffer){
|
2997
|
+
BOOST_IF_CONSTEXPR(!has_trivial_destructor_after_move<value_type>::value)
|
2998
|
+
boost::container::destroy_alloc_n(a, raw_old_buffer, this->m_holder.m_size);
|
3004
2999
|
this->m_holder.deallocate(this->m_holder.start(), this->m_holder.capacity());
|
3005
3000
|
}
|
3001
|
+
|
3006
3002
|
this->m_holder.start(new_start);
|
3007
|
-
this->m_holder.
|
3003
|
+
this->m_holder.inc_stored_size(n);
|
3008
3004
|
this->m_holder.capacity(new_cap);
|
3009
|
-
//All construction successful, disable rollbacks
|
3010
|
-
new_values_destroyer.release();
|
3011
|
-
new_buffer_deallocator.release();
|
3012
3005
|
}
|
3013
3006
|
|
3014
3007
|
template <class InsertionProxy>
|
3015
|
-
void
|
3008
|
+
void priv_insert_forward_range_expand_backwards
|
3016
3009
|
(T* const new_start, const size_type new_capacity,
|
3017
3010
|
T* const pos, const size_type n, InsertionProxy insert_range_proxy)
|
3018
3011
|
{
|
@@ -3021,28 +3014,31 @@ private:
|
|
3021
3014
|
T* const old_start = this->priv_raw_begin();
|
3022
3015
|
const size_type old_size = this->m_holder.m_size;
|
3023
3016
|
T* const old_finish = old_start + old_size;
|
3017
|
+
allocator_type &a = this->m_holder.alloc();
|
3018
|
+
|
3019
|
+
//Update the vector buffer information to a safe state
|
3020
|
+
this->m_holder.start(new_start);
|
3021
|
+
this->m_holder.capacity(new_capacity);
|
3022
|
+
this->m_holder.m_size = 0;
|
3024
3023
|
|
3025
3024
|
//We can have 8 possibilities:
|
3026
3025
|
const size_type elemsbefore = static_cast<size_type>(pos - old_start);
|
3027
3026
|
const size_type s_before = static_cast<size_type>(old_start - new_start);
|
3028
3027
|
const size_type before_plus_new = elemsbefore + n;
|
3029
3028
|
|
3030
|
-
|
3031
|
-
this->m_holder.start(new_start);
|
3032
|
-
this->m_holder.capacity(new_capacity);
|
3033
|
-
this->m_holder.m_size = 0;
|
3029
|
+
typedef typename value_traits::ArrayDestructor array_destructor_t;
|
3034
3030
|
|
3035
3031
|
//If anything goes wrong, this object will destroy
|
3036
3032
|
//all the old objects to fulfill previous vector state
|
3037
|
-
|
3033
|
+
array_destructor_t old_values_destroyer(old_start, a, old_size);
|
3038
3034
|
//Check if s_before is big enough to hold the beginning of old data + new data
|
3039
3035
|
if(s_before >= before_plus_new){
|
3040
3036
|
//Copy first old values before pos, after that the new objects
|
3041
3037
|
T *const new_elem_pos =
|
3042
|
-
::boost::container::uninitialized_move_alloc(
|
3043
|
-
this->m_holder.
|
3044
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3045
|
-
this->m_holder.
|
3038
|
+
::boost::container::uninitialized_move_alloc(a, old_start, pos, new_start);
|
3039
|
+
this->m_holder.set_stored_size(elemsbefore);
|
3040
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, new_elem_pos, n);
|
3041
|
+
this->m_holder.set_stored_size(before_plus_new);
|
3046
3042
|
const size_type new_size = old_size + n;
|
3047
3043
|
//Check if s_before is so big that even copying the old data + new data
|
3048
3044
|
//there is a gap between the new data and the old data
|
@@ -3059,15 +3055,14 @@ private:
|
|
3059
3055
|
//
|
3060
3056
|
//Now initialize the rest of memory with the last old values
|
3061
3057
|
if(before_plus_new != new_size){ //Special case to avoid operations in back insertion
|
3062
|
-
::boost::container::uninitialized_move_alloc
|
3063
|
-
(this->m_holder.alloc(), pos, old_finish, new_start + before_plus_new);
|
3058
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, new_start + before_plus_new);
|
3064
3059
|
//All new elements correctly constructed, avoid new element destruction
|
3065
|
-
this->m_holder.
|
3060
|
+
this->m_holder.set_stored_size(new_size);
|
3066
3061
|
}
|
3067
3062
|
//Old values destroyed automatically with "old_values_destroyer"
|
3068
3063
|
//when "old_values_destroyer" goes out of scope unless the have trivial
|
3069
3064
|
//destructor after move.
|
3070
|
-
|
3065
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move)
|
3071
3066
|
old_values_destroyer.release();
|
3072
3067
|
}
|
3073
3068
|
//s_before is so big that divides old_end
|
@@ -3084,30 +3079,29 @@ private:
|
|
3084
3079
|
//
|
3085
3080
|
//Now initialize the rest of memory with the last old values
|
3086
3081
|
//All new elements correctly constructed, avoid new element destruction
|
3087
|
-
|
3088
|
-
|
3082
|
+
BOOST_IF_CONSTEXPR(!value_traits::trivial_dctr){
|
3083
|
+
const size_type raw_gap = s_before - before_plus_new;
|
3089
3084
|
//Now initialize the rest of s_before memory with the
|
3090
3085
|
//first of elements after new values
|
3091
|
-
::boost::container::uninitialized_move_alloc_n
|
3092
|
-
(this->m_holder.alloc(), pos, raw_gap, new_start + before_plus_new);
|
3086
|
+
::boost::container::uninitialized_move_alloc_n(a, pos, raw_gap, new_start + before_plus_new);
|
3093
3087
|
//Now we have a contiguous buffer so program trailing element destruction
|
3094
3088
|
//and update size to the final size.
|
3095
3089
|
old_values_destroyer.shrink_forward(new_size-s_before);
|
3096
|
-
this->m_holder.
|
3090
|
+
this->m_holder.set_stored_size(new_size);
|
3097
3091
|
//Now move remaining last objects in the old buffer begin
|
3098
3092
|
T * const remaining_pos = pos + raw_gap;
|
3099
3093
|
if(remaining_pos != old_start){ //Make sure data has to be moved
|
3100
3094
|
::boost::container::move(remaining_pos, old_finish, old_start);
|
3101
3095
|
}
|
3102
3096
|
//Once moved, avoid calling the destructors if trivial after move
|
3103
|
-
|
3097
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move){
|
3104
3098
|
old_values_destroyer.release();
|
3105
3099
|
}
|
3106
3100
|
}
|
3107
3101
|
else{ //If trivial destructor, we can uninitialized copy + copy in a single uninitialized copy
|
3108
3102
|
::boost::container::uninitialized_move_alloc_n
|
3109
|
-
(
|
3110
|
-
this->m_holder.
|
3103
|
+
(a, pos, static_cast<size_type>(old_finish - pos), new_start + before_plus_new);
|
3104
|
+
this->m_holder.set_stored_size(new_size);
|
3111
3105
|
old_values_destroyer.release();
|
3112
3106
|
}
|
3113
3107
|
}
|
@@ -3161,8 +3155,7 @@ private:
|
|
3161
3155
|
//|___________|_____|_________|_____________________|
|
3162
3156
|
//
|
3163
3157
|
//Copy the first part of old_begin to raw_mem
|
3164
|
-
::boost::container::uninitialized_move_alloc_n
|
3165
|
-
(this->m_holder.alloc(), old_start, s_before, new_start);
|
3158
|
+
::boost::container::uninitialized_move_alloc_n(a, old_start, s_before, new_start);
|
3166
3159
|
//The buffer is all constructed until old_end,
|
3167
3160
|
//so program trailing destruction and assign final size
|
3168
3161
|
//if !do_after, s_before+n otherwise.
|
@@ -3174,17 +3167,18 @@ private:
|
|
3174
3167
|
}
|
3175
3168
|
else{
|
3176
3169
|
new_1st_range = n;
|
3177
|
-
|
3170
|
+
BOOST_IF_CONSTEXPR(value_traits::trivial_dctr_after_move){
|
3178
3171
|
old_values_destroyer.release();
|
3172
|
+
}
|
3179
3173
|
else{
|
3180
3174
|
old_values_destroyer.shrink_forward(old_size - (s_before - n));
|
3181
3175
|
}
|
3182
3176
|
}
|
3183
|
-
this->m_holder.
|
3177
|
+
this->m_holder.set_stored_size(old_size + new_1st_range);
|
3184
3178
|
//Now copy the second part of old_begin overwriting itself
|
3185
3179
|
T *const next = ::boost::container::move(old_start + s_before, pos, old_start);
|
3186
3180
|
//Now copy the new_beg elements
|
3187
|
-
insert_range_proxy.copy_n_and_update(
|
3181
|
+
insert_range_proxy.copy_n_and_update(a, next, new_1st_range);
|
3188
3182
|
|
3189
3183
|
//If there is no after work and the last old part needs to be moved to front, do it
|
3190
3184
|
if(!do_after && (n != s_before)){
|
@@ -3220,33 +3214,37 @@ private:
|
|
3220
3214
|
//
|
3221
3215
|
//First copy whole old_begin and part of new to raw_mem
|
3222
3216
|
T * const new_pos = ::boost::container::uninitialized_move_alloc
|
3223
|
-
(
|
3224
|
-
this->m_holder.
|
3217
|
+
(a, old_start, pos, new_start);
|
3218
|
+
this->m_holder.set_stored_size(elemsbefore);
|
3225
3219
|
const size_type mid_n = s_before - elemsbefore;
|
3226
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3220
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, new_pos, mid_n);
|
3227
3221
|
//The buffer is all constructed until old_end,
|
3228
3222
|
//release destroyer
|
3229
|
-
this->m_holder.
|
3223
|
+
this->m_holder.set_stored_size(old_size + s_before);
|
3230
3224
|
old_values_destroyer.release();
|
3231
3225
|
|
3232
3226
|
if(do_after){
|
3233
3227
|
//Copy new_beg part
|
3234
|
-
insert_range_proxy.copy_n_and_update(
|
3228
|
+
insert_range_proxy.copy_n_and_update(a, old_start, elemsbefore);
|
3235
3229
|
}
|
3236
3230
|
else{
|
3237
3231
|
//Copy all new elements
|
3238
3232
|
const size_type rest_new = n - mid_n;
|
3239
|
-
insert_range_proxy.copy_n_and_update(
|
3233
|
+
insert_range_proxy.copy_n_and_update(a, old_start, rest_new);
|
3234
|
+
|
3240
3235
|
T* const move_start = old_start + rest_new;
|
3241
3236
|
//Displace old_end, but make sure data has to be moved
|
3242
3237
|
T* const move_end = move_start != pos ? ::boost::container::move(pos, old_finish, move_start)
|
3243
3238
|
: old_finish;
|
3239
|
+
(void)move_end; //To avoid warnings of unused initialization for move_end in case
|
3240
|
+
//trivial_dctr_after_move is true
|
3244
3241
|
//Destroy remaining moved elements from old_end except if they
|
3245
3242
|
//have trivial destructor after being moved
|
3246
|
-
size_type n_destroy = s_before - n;
|
3247
|
-
|
3248
|
-
boost::container::destroy_alloc_n(
|
3249
|
-
|
3243
|
+
const size_type n_destroy = s_before - n;
|
3244
|
+
BOOST_IF_CONSTEXPR(!value_traits::trivial_dctr_after_move){
|
3245
|
+
boost::container::destroy_alloc_n(a, move_end, n_destroy);
|
3246
|
+
}
|
3247
|
+
this->m_holder.dec_stored_size(n_destroy);
|
3250
3248
|
}
|
3251
3249
|
}
|
3252
3250
|
|
@@ -3288,14 +3286,13 @@ private:
|
|
3288
3286
|
//
|
3289
3287
|
//First copy the part of old_end raw_mem
|
3290
3288
|
T* finish_n = old_finish - n_after;
|
3291
|
-
::boost::container::uninitialized_move_alloc
|
3292
|
-
|
3293
|
-
this->m_holder.m_size += n_after;
|
3289
|
+
::boost::container::uninitialized_move_alloc(a, finish_n, old_finish, old_finish);
|
3290
|
+
this->m_holder.inc_stored_size(n_after);
|
3294
3291
|
//Displace the rest of old_end to the new position
|
3295
3292
|
boost::container::move_backward(pos, finish_n, old_finish);
|
3296
3293
|
//Now overwrite with new_end
|
3297
3294
|
//The new_end part is [first + (n - n_after), last)
|
3298
|
-
insert_range_proxy.copy_n_and_update(
|
3295
|
+
insert_range_proxy.copy_n_and_update(a, pos, n_after);
|
3299
3296
|
}
|
3300
3297
|
else {
|
3301
3298
|
//The raw_mem from end will divide new_end part
|
@@ -3309,23 +3306,20 @@ private:
|
|
3309
3306
|
// _____________________________________________________________
|
3310
3307
|
//| old_begin + new_beg | new_end |old_end | raw_mem |
|
3311
3308
|
//|__________________________|_______________|________|_________|
|
3312
|
-
//
|
3313
3309
|
|
3314
|
-
const size_type mid_last_dist = n_after - elemsafter;
|
3315
3310
|
//First initialize data in raw memory
|
3311
|
+
const size_type mid_last_dist = n_after - elemsafter;
|
3316
3312
|
|
3317
3313
|
//Copy to the old_end part to the uninitialized zone leaving a gap.
|
3318
|
-
::boost::container::uninitialized_move_alloc
|
3319
|
-
(this->m_holder.alloc(), pos, old_finish, old_finish + mid_last_dist);
|
3314
|
+
::boost::container::uninitialized_move_alloc(a, pos, old_finish, old_finish + mid_last_dist);
|
3320
3315
|
|
3321
|
-
|
3322
|
-
(old_finish + mid_last_dist, this->m_holder.alloc(), old_finish - pos);
|
3316
|
+
array_destructor_t old_end_destroyer(old_finish + mid_last_dist, a, static_cast<size_type>(old_finish - pos));
|
3323
3317
|
|
3324
3318
|
//Copy the first part to the already constructed old_end zone
|
3325
|
-
insert_range_proxy.copy_n_and_update(
|
3319
|
+
insert_range_proxy.copy_n_and_update(a, pos, elemsafter);
|
3326
3320
|
//Copy the rest to the uninitialized zone filling the gap
|
3327
|
-
insert_range_proxy.uninitialized_copy_n_and_update(
|
3328
|
-
this->m_holder.
|
3321
|
+
insert_range_proxy.uninitialized_copy_n_and_update(a, old_finish, mid_last_dist);
|
3322
|
+
this->m_holder.inc_stored_size(n_after);
|
3329
3323
|
old_end_destroyer.release();
|
3330
3324
|
}
|
3331
3325
|
}
|
@@ -3394,6 +3388,20 @@ struct has_trivial_destructor_after_move<boost::container::vector<T, Allocator,
|
|
3394
3388
|
|
3395
3389
|
}
|
3396
3390
|
|
3391
|
+
//See comments on vec_iterator::element_type to know why is this needed
|
3392
|
+
#ifdef BOOST_GNU_STDLIB
|
3393
|
+
|
3394
|
+
BOOST_MOVE_STD_NS_BEG
|
3395
|
+
|
3396
|
+
template <class Pointer, bool IsConst>
|
3397
|
+
struct pointer_traits< boost::container::vec_iterator<Pointer, IsConst> >
|
3398
|
+
: public boost::intrusive::pointer_traits< boost::container::vec_iterator<Pointer, IsConst> >
|
3399
|
+
{};
|
3400
|
+
|
3401
|
+
BOOST_MOVE_STD_NS_END
|
3402
|
+
|
3403
|
+
#endif //BOOST_GNU_STDLIB
|
3404
|
+
|
3397
3405
|
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
3398
3406
|
|
3399
3407
|
#include <boost/container/detail/config_end.hpp>
|