passenger 6.0.15 → 6.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +46 -2
- data/build/integration_tests.rb +6 -6
- data/build/ruby_tests.rb +1 -1
- data/build/test_basics.rb +0 -1
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Core/SpawningKit/PipeWatcher.h +18 -3
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +686 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +81 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +68 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +46 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +14 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +30 -305
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +98 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +81 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +19 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +4 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +22 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +447 -142
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +57 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +51 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +41 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +52 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +39 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +39 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +6 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +146 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +35 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +89 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +66 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp +1134 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +130 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +377 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +168 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +149 -203
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +256 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +76 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +40 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +34 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +28 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +21 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +40 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +27 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +104 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +70 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +38 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +27 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +11 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +23 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +80 -95
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +738 -34
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +38 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +1150 -1213
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +104 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +31 -331
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +461 -566
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +32 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +16 -16
- data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +45 -45
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +37 -38
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +145 -90
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +11 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +106 -25
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/int_float_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +38 -43
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +22 -8
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +37 -7
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa.hpp +1921 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +66 -82
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +732 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +586 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +166 -66
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +145 -28
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h +143 -261
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json.h +763 -947
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +1477 -1487
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +1 -1
- data/src/ruby_native_extension/extconf.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/binary_compatibility.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +5 -5
- data/src/ruby_supportlib/phusion_passenger.rb +5 -5
- metadata +36 -19
- data/src/cxx_supportlib/vendor-modified/boost/align/align.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of.hpp +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of_forward.hpp +0 -20
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of_cxx11.hpp +0 -23
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/element_type.hpp +0 -91
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/integral_constant.hpp +0 -53
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/min_size.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +0 -196
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +0 -709
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -361
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
@@ -19,6 +19,7 @@
|
|
19
19
|
#include <boost/functional/hash.hpp>
|
20
20
|
#include <boost/move/move.hpp>
|
21
21
|
#include <boost/unordered/detail/set.hpp>
|
22
|
+
#include <boost/unordered/detail/type_traits.hpp>
|
22
23
|
|
23
24
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
24
25
|
#include <initializer_list>
|
@@ -121,6 +122,9 @@ namespace boost {
|
|
121
122
|
|
122
123
|
explicit unordered_set(size_type, const hasher&, const allocator_type&);
|
123
124
|
|
125
|
+
template <class InputIterator>
|
126
|
+
unordered_set(InputIterator, InputIterator, const allocator_type&);
|
127
|
+
|
124
128
|
template <class InputIt>
|
125
129
|
unordered_set(InputIt, InputIt, size_type, const allocator_type&);
|
126
130
|
|
@@ -129,6 +133,8 @@ namespace boost {
|
|
129
133
|
InputIt, InputIt, size_type, const hasher&, const allocator_type&);
|
130
134
|
|
131
135
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
136
|
+
unordered_set(std::initializer_list<value_type>, const allocator_type&);
|
137
|
+
|
132
138
|
unordered_set(
|
133
139
|
std::initializer_list<value_type>, size_type, const allocator_type&);
|
134
140
|
|
@@ -616,41 +622,70 @@ namespace boost {
|
|
616
622
|
class Pred =
|
617
623
|
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
618
624
|
class Allocator = std::allocator<
|
619
|
-
typename std::iterator_traits<InputIterator>::value_type
|
625
|
+
typename std::iterator_traits<InputIterator>::value_type>,
|
626
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
627
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
628
|
+
class = boost::enable_if_t<detail::is_pred_v<Pred> >,
|
629
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
620
630
|
unordered_set(InputIterator, InputIterator,
|
621
631
|
std::size_t = boost::unordered::detail::default_bucket_count,
|
622
632
|
Hash = Hash(), Pred = Pred(), Allocator = Allocator())
|
623
|
-
->unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
633
|
+
-> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
624
634
|
Hash, Pred, Allocator>;
|
625
635
|
|
626
636
|
template <class T, class Hash = boost::hash<T>,
|
627
|
-
class Pred = std::equal_to<T>, class Allocator = std::allocator<T
|
637
|
+
class Pred = std::equal_to<T>, class Allocator = std::allocator<T>,
|
638
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
639
|
+
class = boost::enable_if_t<detail::is_pred_v<Pred> >,
|
640
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
628
641
|
unordered_set(std::initializer_list<T>,
|
629
642
|
std::size_t = boost::unordered::detail::default_bucket_count,
|
630
643
|
Hash = Hash(), Pred = Pred(), Allocator = Allocator())
|
631
|
-
->unordered_set<T, Hash, Pred, Allocator>;
|
644
|
+
-> unordered_set<T, Hash, Pred, Allocator>;
|
632
645
|
|
633
|
-
template <class InputIterator, class Allocator
|
646
|
+
template <class InputIterator, class Allocator,
|
647
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
648
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
634
649
|
unordered_set(InputIterator, InputIterator, std::size_t, Allocator)
|
635
|
-
->unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
650
|
+
-> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
636
651
|
boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
|
637
652
|
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
638
653
|
Allocator>;
|
639
654
|
|
640
|
-
template <class InputIterator, class Hash, class Allocator
|
655
|
+
template <class InputIterator, class Hash, class Allocator,
|
656
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
657
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
658
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
641
659
|
unordered_set(InputIterator, InputIterator, std::size_t, Hash, Allocator)
|
642
|
-
->unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
660
|
+
-> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
643
661
|
Hash,
|
644
662
|
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
645
663
|
Allocator>;
|
646
664
|
|
647
|
-
template <class T, class Allocator
|
665
|
+
template <class T, class Allocator,
|
666
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
648
667
|
unordered_set(std::initializer_list<T>, std::size_t, Allocator)
|
649
|
-
->unordered_set<T, boost::hash<T>, std::equal_to<T>, Allocator>;
|
668
|
+
-> unordered_set<T, boost::hash<T>, std::equal_to<T>, Allocator>;
|
650
669
|
|
651
|
-
template <class T, class Hash, class Allocator
|
670
|
+
template <class T, class Hash, class Allocator,
|
671
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
672
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
652
673
|
unordered_set(std::initializer_list<T>, std::size_t, Hash, Allocator)
|
653
|
-
->unordered_set<T, Hash, std::equal_to<T>, Allocator>;
|
674
|
+
-> unordered_set<T, Hash, std::equal_to<T>, Allocator>;
|
675
|
+
|
676
|
+
template <class InputIterator, class Allocator,
|
677
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
678
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
679
|
+
unordered_set(InputIterator, InputIterator, Allocator)
|
680
|
+
-> unordered_set<typename std::iterator_traits<InputIterator>::value_type,
|
681
|
+
boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
|
682
|
+
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
683
|
+
Allocator>;
|
684
|
+
|
685
|
+
template <class T, class Allocator,
|
686
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
687
|
+
unordered_set(std::initializer_list<T>, Allocator)
|
688
|
+
-> unordered_set<T, boost::hash<T>, std::equal_to<T>, Allocator>;
|
654
689
|
|
655
690
|
#endif
|
656
691
|
|
@@ -739,6 +774,9 @@ namespace boost {
|
|
739
774
|
explicit unordered_multiset(
|
740
775
|
size_type, const hasher&, const allocator_type&);
|
741
776
|
|
777
|
+
template <class InputIterator>
|
778
|
+
unordered_multiset(InputIterator, InputIterator, const allocator_type&);
|
779
|
+
|
742
780
|
template <class InputIt>
|
743
781
|
unordered_multiset(InputIt, InputIt, size_type, const allocator_type&);
|
744
782
|
|
@@ -747,6 +785,9 @@ namespace boost {
|
|
747
785
|
InputIt, InputIt, size_type, const hasher&, const allocator_type&);
|
748
786
|
|
749
787
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
788
|
+
unordered_multiset(
|
789
|
+
std::initializer_list<value_type>, const allocator_type&);
|
790
|
+
|
750
791
|
unordered_multiset(
|
751
792
|
std::initializer_list<value_type>, size_type, const allocator_type&);
|
752
793
|
|
@@ -1222,52 +1263,80 @@ namespace boost {
|
|
1222
1263
|
class Pred =
|
1223
1264
|
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
1224
1265
|
class Allocator = std::allocator<
|
1225
|
-
typename std::iterator_traits<InputIterator>::value_type
|
1266
|
+
typename std::iterator_traits<InputIterator>::value_type>,
|
1267
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
1268
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
1269
|
+
class = boost::enable_if_t<detail::is_pred_v<Pred> >,
|
1270
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1226
1271
|
unordered_multiset(InputIterator, InputIterator,
|
1227
1272
|
std::size_t = boost::unordered::detail::default_bucket_count,
|
1228
1273
|
Hash = Hash(), Pred = Pred(), Allocator = Allocator())
|
1229
|
-
->unordered_multiset<
|
1274
|
+
-> unordered_multiset<
|
1230
1275
|
typename std::iterator_traits<InputIterator>::value_type, Hash, Pred,
|
1231
1276
|
Allocator>;
|
1232
1277
|
|
1233
1278
|
template <class T, class Hash = boost::hash<T>,
|
1234
|
-
class Pred = std::equal_to<T>, class Allocator = std::allocator<T
|
1279
|
+
class Pred = std::equal_to<T>, class Allocator = std::allocator<T>,
|
1280
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
1281
|
+
class = boost::enable_if_t<detail::is_pred_v<Pred> >,
|
1282
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1235
1283
|
unordered_multiset(std::initializer_list<T>,
|
1236
1284
|
std::size_t = boost::unordered::detail::default_bucket_count,
|
1237
1285
|
Hash = Hash(), Pred = Pred(), Allocator = Allocator())
|
1238
|
-
->unordered_multiset<T, Hash, Pred, Allocator>;
|
1286
|
+
-> unordered_multiset<T, Hash, Pred, Allocator>;
|
1239
1287
|
|
1240
|
-
template <class InputIterator, class Allocator
|
1288
|
+
template <class InputIterator, class Allocator,
|
1289
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
1290
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1241
1291
|
unordered_multiset(InputIterator, InputIterator, std::size_t, Allocator)
|
1242
|
-
->unordered_multiset<
|
1292
|
+
-> unordered_multiset<
|
1243
1293
|
typename std::iterator_traits<InputIterator>::value_type,
|
1244
1294
|
boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
|
1245
1295
|
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
1246
1296
|
Allocator>;
|
1247
1297
|
|
1248
|
-
template <class InputIterator, class Hash, class Allocator
|
1298
|
+
template <class InputIterator, class Hash, class Allocator,
|
1299
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
1300
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
1301
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1249
1302
|
unordered_multiset(
|
1250
1303
|
InputIterator, InputIterator, std::size_t, Hash, Allocator)
|
1251
|
-
->unordered_multiset<
|
1304
|
+
-> unordered_multiset<
|
1252
1305
|
typename std::iterator_traits<InputIterator>::value_type, Hash,
|
1253
1306
|
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
1254
1307
|
Allocator>;
|
1255
1308
|
|
1256
|
-
template <class T, class Allocator
|
1309
|
+
template <class T, class Allocator,
|
1310
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1257
1311
|
unordered_multiset(std::initializer_list<T>, std::size_t, Allocator)
|
1258
|
-
->unordered_multiset<T, boost::hash<T>, std::equal_to<T>, Allocator>;
|
1312
|
+
-> unordered_multiset<T, boost::hash<T>, std::equal_to<T>, Allocator>;
|
1259
1313
|
|
1260
|
-
template <class T, class Hash, class Allocator
|
1314
|
+
template <class T, class Hash, class Allocator,
|
1315
|
+
class = boost::enable_if_t<detail::is_hash_v<Hash> >,
|
1316
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1261
1317
|
unordered_multiset(std::initializer_list<T>, std::size_t, Hash, Allocator)
|
1262
|
-
->unordered_multiset<T, Hash, std::equal_to<T>, Allocator>;
|
1318
|
+
-> unordered_multiset<T, Hash, std::equal_to<T>, Allocator>;
|
1319
|
+
|
1320
|
+
template <class InputIterator, class Allocator,
|
1321
|
+
class = boost::enable_if_t<detail::is_input_iterator_v<InputIterator> >,
|
1322
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1323
|
+
unordered_multiset(InputIterator, InputIterator, Allocator)
|
1324
|
+
-> unordered_multiset<
|
1325
|
+
typename std::iterator_traits<InputIterator>::value_type,
|
1326
|
+
boost::hash<typename std::iterator_traits<InputIterator>::value_type>,
|
1327
|
+
std::equal_to<typename std::iterator_traits<InputIterator>::value_type>,
|
1328
|
+
Allocator>;
|
1329
|
+
|
1330
|
+
template <class T, class Allocator,
|
1331
|
+
class = boost::enable_if_t<detail::is_allocator_v<Allocator> > >
|
1332
|
+
unordered_multiset(std::initializer_list<T>, Allocator)
|
1333
|
+
-> unordered_multiset<T, boost::hash<T>, std::equal_to<T>, Allocator>;
|
1263
1334
|
|
1264
1335
|
#endif
|
1265
1336
|
|
1266
1337
|
////////////////////////////////////////////////////////////////////////////
|
1267
1338
|
template <class T, class H, class P, class A>
|
1268
1339
|
unordered_set<T, H, P, A>::unordered_set()
|
1269
|
-
: table_(boost::unordered::detail::default_bucket_count, hasher(),
|
1270
|
-
key_equal(), allocator_type())
|
1271
1340
|
{
|
1272
1341
|
}
|
1273
1342
|
|
@@ -1354,6 +1423,17 @@ namespace boost {
|
|
1354
1423
|
{
|
1355
1424
|
}
|
1356
1425
|
|
1426
|
+
template <class T, class H, class P, class A>
|
1427
|
+
template <class InputIterator>
|
1428
|
+
unordered_set<T, H, P, A>::unordered_set(
|
1429
|
+
InputIterator f, InputIterator l, const allocator_type& a)
|
1430
|
+
: table_(boost::unordered::detail::initial_size(
|
1431
|
+
f, l, detail::default_bucket_count),
|
1432
|
+
hasher(), key_equal(), a)
|
1433
|
+
{
|
1434
|
+
this->insert(f, l);
|
1435
|
+
}
|
1436
|
+
|
1357
1437
|
template <class T, class H, class P, class A>
|
1358
1438
|
template <class InputIt>
|
1359
1439
|
unordered_set<T, H, P, A>::unordered_set(
|
@@ -1376,6 +1456,16 @@ namespace boost {
|
|
1376
1456
|
|
1377
1457
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
1378
1458
|
|
1459
|
+
template <class T, class H, class P, class A>
|
1460
|
+
unordered_set<T, H, P, A>::unordered_set(
|
1461
|
+
std::initializer_list<value_type> list, const allocator_type& a)
|
1462
|
+
: table_(boost::unordered::detail::initial_size(
|
1463
|
+
list.begin(), list.end(), detail::default_bucket_count),
|
1464
|
+
hasher(), key_equal(), a)
|
1465
|
+
{
|
1466
|
+
this->insert(list.begin(), list.end());
|
1467
|
+
}
|
1468
|
+
|
1379
1469
|
template <class T, class H, class P, class A>
|
1380
1470
|
unordered_set<T, H, P, A>::unordered_set(
|
1381
1471
|
std::initializer_list<value_type> list, size_type n,
|
@@ -1586,6 +1676,10 @@ namespace boost {
|
|
1586
1676
|
template <class T, class H, class P, class A>
|
1587
1677
|
float unordered_set<T, H, P, A>::load_factor() const BOOST_NOEXCEPT
|
1588
1678
|
{
|
1679
|
+
if (table_.size_ == 0) {
|
1680
|
+
return 0.0f;
|
1681
|
+
}
|
1682
|
+
|
1589
1683
|
BOOST_ASSERT(table_.bucket_count() != 0);
|
1590
1684
|
return static_cast<float>(table_.size_) /
|
1591
1685
|
static_cast<float>(table_.bucket_count());
|
@@ -1660,8 +1754,6 @@ namespace boost {
|
|
1660
1754
|
|
1661
1755
|
template <class T, class H, class P, class A>
|
1662
1756
|
unordered_multiset<T, H, P, A>::unordered_multiset()
|
1663
|
-
: table_(boost::unordered::detail::default_bucket_count, hasher(),
|
1664
|
-
key_equal(), allocator_type())
|
1665
1757
|
{
|
1666
1758
|
}
|
1667
1759
|
|
@@ -1750,6 +1842,17 @@ namespace boost {
|
|
1750
1842
|
{
|
1751
1843
|
}
|
1752
1844
|
|
1845
|
+
template <class T, class H, class P, class A>
|
1846
|
+
template <class InputIterator>
|
1847
|
+
unordered_multiset<T, H, P, A>::unordered_multiset(
|
1848
|
+
InputIterator f, InputIterator l, const allocator_type& a)
|
1849
|
+
: table_(boost::unordered::detail::initial_size(
|
1850
|
+
f, l, detail::default_bucket_count),
|
1851
|
+
hasher(), key_equal(), a)
|
1852
|
+
{
|
1853
|
+
this->insert(f, l);
|
1854
|
+
}
|
1855
|
+
|
1753
1856
|
template <class T, class H, class P, class A>
|
1754
1857
|
template <class InputIt>
|
1755
1858
|
unordered_multiset<T, H, P, A>::unordered_multiset(
|
@@ -1772,6 +1875,16 @@ namespace boost {
|
|
1772
1875
|
|
1773
1876
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
1774
1877
|
|
1878
|
+
template <class T, class H, class P, class A>
|
1879
|
+
unordered_multiset<T, H, P, A>::unordered_multiset(
|
1880
|
+
std::initializer_list<value_type> list, const allocator_type& a)
|
1881
|
+
: table_(boost::unordered::detail::initial_size(
|
1882
|
+
list.begin(), list.end(), detail::default_bucket_count),
|
1883
|
+
hasher(), key_equal(), a)
|
1884
|
+
{
|
1885
|
+
this->insert(list.begin(), list.end());
|
1886
|
+
}
|
1887
|
+
|
1775
1888
|
template <class T, class H, class P, class A>
|
1776
1889
|
unordered_multiset<T, H, P, A>::unordered_multiset(
|
1777
1890
|
std::initializer_list<value_type> list, size_type n,
|
@@ -1986,6 +2099,10 @@ namespace boost {
|
|
1986
2099
|
template <class T, class H, class P, class A>
|
1987
2100
|
float unordered_multiset<T, H, P, A>::load_factor() const BOOST_NOEXCEPT
|
1988
2101
|
{
|
2102
|
+
if (table_.size_ == 0) {
|
2103
|
+
return 0.0f;
|
2104
|
+
}
|
2105
|
+
|
1989
2106
|
BOOST_ASSERT(table_.bucket_count() != 0);
|
1990
2107
|
return static_cast<float>(table_.size_) /
|
1991
2108
|
static_cast<float>(table_.bucket_count());
|
@@ -19,7 +19,7 @@
|
|
19
19
|
// BOOST_VERSION / 100 % 1000 is the minor version
|
20
20
|
// BOOST_VERSION / 100000 is the major version
|
21
21
|
|
22
|
-
#define BOOST_VERSION
|
22
|
+
#define BOOST_VERSION 108100
|
23
23
|
|
24
24
|
//
|
25
25
|
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
|
@@ -27,6 +27,6 @@
|
|
27
27
|
// number, y is the minor version number, and z is the patch level if not 0.
|
28
28
|
// This is used by <config/auto_link.hpp> to select which library version to link to.
|
29
29
|
|
30
|
-
#define BOOST_LIB_VERSION "
|
30
|
+
#define BOOST_LIB_VERSION "1_81"
|
31
31
|
|
32
32
|
#endif
|