passenger 6.2.1 → 6.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +37 -15
- data/build/cxx_tests.rb +2 -0
- data/build/support/cxx_dependency_map.rb +3 -63
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Shared/ApiServerUtils.h +1 -1
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/apache2_module/Hooks.cpp +13 -0
- data/src/apache2_module/Utils.h +14 -0
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/FileTools/FileManip.cpp +27 -3
- data/src/cxx_supportlib/InstanceDirectory.h +30 -3
- data/src/cxx_supportlib/ServerKit/Errors.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpRequest.h +1 -1
- data/src/cxx_supportlib/ServerKit/llerrors.h +3 -3
- data/src/cxx_supportlib/ServerKit/llversion.h +1 -1
- data/src/cxx_supportlib/{ServerKit/llhttp_api.c → vendor-copy/llhttp/api.c} +30 -23
- data/src/cxx_supportlib/{ServerKit → vendor-copy/llhttp}/llhttp.c +1756 -1645
- data/src/cxx_supportlib/{ServerKit → vendor-copy/llhttp}/llhttp.h +35 -13
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/classification.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/trim_all.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/assert.hpp +20 -13
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/thread_pause.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/debug.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx23.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +57 -53
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +34 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +176 -2287
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +186 -70
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/aligned_allocation.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/bit_utilities.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +18 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +20 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/deque_impl.hpp +2744 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +202 -104
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dlmalloc.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +161 -85
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_constructible.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +18 -14
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +256 -41
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/operator_new_helpers.hpp +75 -24
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +1 -56
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +16 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/range_utils.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +124 -69
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +109 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +168 -162
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/nest.hpp +2978 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/pmr/nest.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_all_of.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_any_of.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_copy.hpp +229 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_copy_if.hpp +270 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_copy_n.hpp +308 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_count.hpp +101 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_count_if.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_equal.hpp +268 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_fill.hpp +101 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_fill_n.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_if.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_if_not.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_last.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_last_if.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_last_if_not.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_for_each.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_generate.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_generate_n.hpp +162 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_is_partitioned.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_is_sorted.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_is_sorted_until.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_iterator_traits.hpp +382 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_merge.hpp +428 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_mismatch.hpp +350 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_none_of.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_partition.hpp +296 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_partition_copy.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_partition_point.hpp +116 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove_copy.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove_copy_if.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove_if.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_replace.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_replace_if.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_reverse.hpp +245 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_reverse_copy.hpp +229 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_search.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_search_n.hpp +476 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_difference.hpp +300 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_intersection.hpp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_symmetric_difference.hpp +306 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_union.hpp +294 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_stable_partition.hpp +153 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_swap_ranges.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_transform.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/wrapped_iterator.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +642 -417
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +141 -30
- data/src/cxx_supportlib/vendor-modified/boost/container/hub.hpp +2426 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +65 -57
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +247 -68
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +39 -33
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +156 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/hub.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/segtor.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/segtor.hpp +905 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +148 -35
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +59 -52
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +632 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +66 -60
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +46 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +612 -317
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator.hpp +54 -111
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator_construction.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator_fwd.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +233 -116
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +17 -10
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/encoder.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/error_info_impl.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/requires_cxx11.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +211 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +29 -174
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +18 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +20 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +42 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +58 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/buffer_view.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/config.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +15 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +23 -11
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/{detail → lexical_cast/detail}/lcast_precision.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +15 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +48 -46
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/move_helpers.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +76 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/traits.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +58 -37
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +17 -9
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_common_defs.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_factory_support.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_nonmember_interface.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +108 -83
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +39 -39
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_select_implementation.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_swap.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/union_optional.hpp +724 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +93 -220
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_fwd.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/binomial_distribution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/system/api_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +30 -28
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_helpers.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/shared_mutex.hpp +16 -16
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +196 -6
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +191 -6
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map.hpp +196 -5
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set.hpp +192 -5
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +52 -16
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/ranges_support.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/unordered_printers.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +121 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +118 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +338 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +121 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +118 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +333 -1
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h +276 -143
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json.h +1262 -771
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +1704 -1586
- data/src/nginx_module/ContentHandler.c +35 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +6 -6
- data/src/ruby_supportlib/phusion_passenger/utils/json.rb +25 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +12 -1
- data/src/ruby_supportlib/phusion_passenger.rb +1 -1
- metadata +73 -8
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_utility.hpp +0 -41
- /data/src/cxx_supportlib/{ServerKit/llhttp_http.c → vendor-copy/llhttp/http.c} +0 -0
|
@@ -346,17 +346,17 @@ class stable_vector_iterator
|
|
|
346
346
|
inline stable_vector_iterator & operator=(const stable_vector_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
|
|
347
347
|
{ m_pn = other.node_pointer(); return *this; }
|
|
348
348
|
|
|
349
|
-
|
|
349
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
350
350
|
node_ptr node_pointer() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
351
351
|
{ return node_ptr_traits::static_cast_from(m_pn); }
|
|
352
352
|
|
|
353
353
|
public:
|
|
354
354
|
//Pointer like operators
|
|
355
|
-
|
|
355
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
356
356
|
reference operator*() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
357
357
|
{ return node_pointer()->get_data(); }
|
|
358
358
|
|
|
359
|
-
|
|
359
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
360
360
|
pointer operator->() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
361
361
|
{ return ptr_traits::pointer_to(this->operator*()); }
|
|
362
362
|
|
|
@@ -381,7 +381,7 @@ class stable_vector_iterator
|
|
|
381
381
|
inline stable_vector_iterator operator--(int) BOOST_NOEXCEPT_OR_NOTHROW
|
|
382
382
|
{ stable_vector_iterator tmp(*this); --*this; return stable_vector_iterator(tmp); }
|
|
383
383
|
|
|
384
|
-
|
|
384
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
385
385
|
reference operator[](difference_type off) const BOOST_NOEXCEPT_OR_NOTHROW
|
|
386
386
|
{ return node_ptr_traits::static_cast_from(this->m_pn->up[off])->get_data(); }
|
|
387
387
|
|
|
@@ -392,7 +392,7 @@ class stable_vector_iterator
|
|
|
392
392
|
return *this;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
-
|
|
395
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
396
396
|
friend stable_vector_iterator operator+(const stable_vector_iterator &left, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
|
397
397
|
{
|
|
398
398
|
stable_vector_iterator tmp(left);
|
|
@@ -400,7 +400,7 @@ class stable_vector_iterator
|
|
|
400
400
|
return tmp;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
|
|
403
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
404
404
|
friend stable_vector_iterator operator+(difference_type off, const stable_vector_iterator& right) BOOST_NOEXCEPT_OR_NOTHROW
|
|
405
405
|
{
|
|
406
406
|
stable_vector_iterator tmp(right);
|
|
@@ -411,7 +411,7 @@ class stable_vector_iterator
|
|
|
411
411
|
inline stable_vector_iterator& operator-=(difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
|
412
412
|
{ *this += -off; return *this; }
|
|
413
413
|
|
|
414
|
-
|
|
414
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
415
415
|
friend stable_vector_iterator operator-(const stable_vector_iterator &left, difference_type off) BOOST_NOEXCEPT_OR_NOTHROW
|
|
416
416
|
{
|
|
417
417
|
stable_vector_iterator tmp(left);
|
|
@@ -420,32 +420,32 @@ class stable_vector_iterator
|
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
//Difference
|
|
423
|
-
|
|
423
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
424
424
|
friend difference_type operator-(const stable_vector_iterator &left, const stable_vector_iterator &right) BOOST_NOEXCEPT_OR_NOTHROW
|
|
425
425
|
{ return left.m_pn->up - right.m_pn->up; }
|
|
426
426
|
|
|
427
427
|
//Comparison operators
|
|
428
|
-
|
|
428
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
429
429
|
friend bool operator== (const stable_vector_iterator& l, const stable_vector_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
430
430
|
{ return l.m_pn == r.m_pn; }
|
|
431
431
|
|
|
432
|
-
|
|
432
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
433
433
|
friend bool operator!= (const stable_vector_iterator& l, const stable_vector_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
434
434
|
{ return l.m_pn != r.m_pn; }
|
|
435
435
|
|
|
436
|
-
|
|
436
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
437
437
|
friend bool operator< (const stable_vector_iterator& l, const stable_vector_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
438
438
|
{ return l.m_pn->up < r.m_pn->up; }
|
|
439
439
|
|
|
440
|
-
|
|
440
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
441
441
|
friend bool operator<= (const stable_vector_iterator& l, const stable_vector_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
442
442
|
{ return l.m_pn->up <= r.m_pn->up; }
|
|
443
443
|
|
|
444
|
-
|
|
444
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
445
445
|
friend bool operator> (const stable_vector_iterator& l, const stable_vector_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
446
446
|
{ return l.m_pn->up > r.m_pn->up; }
|
|
447
447
|
|
|
448
|
-
|
|
448
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
449
449
|
friend bool operator>= (const stable_vector_iterator& l, const stable_vector_iterator& r) BOOST_NOEXCEPT_OR_NOTHROW
|
|
450
450
|
{ return l.m_pn->up >= r.m_pn->up; }
|
|
451
451
|
};
|
|
@@ -582,12 +582,12 @@ class stable_vector
|
|
|
582
582
|
//
|
|
583
583
|
//////////////////////////////////////////////
|
|
584
584
|
typedef T value_type;
|
|
585
|
-
typedef typename
|
|
586
|
-
typedef typename
|
|
587
|
-
typedef typename
|
|
588
|
-
typedef typename
|
|
589
|
-
typedef typename
|
|
590
|
-
typedef typename
|
|
585
|
+
typedef typename boost::container::allocator_traits<ValueAllocator>::pointer pointer;
|
|
586
|
+
typedef typename boost::container::allocator_traits<ValueAllocator>::const_pointer const_pointer;
|
|
587
|
+
typedef typename boost::container::allocator_traits<ValueAllocator>::reference reference;
|
|
588
|
+
typedef typename boost::container::allocator_traits<ValueAllocator>::const_reference const_reference;
|
|
589
|
+
typedef typename boost::container::allocator_traits<ValueAllocator>::size_type size_type;
|
|
590
|
+
typedef typename boost::container::allocator_traits<ValueAllocator>::difference_type difference_type;
|
|
591
591
|
typedef ValueAllocator allocator_type;
|
|
592
592
|
typedef node_allocator_type stored_allocator_type;
|
|
593
593
|
typedef BOOST_CONTAINER_IMPDEF(iterator_impl) iterator;
|
|
@@ -793,7 +793,7 @@ class stable_vector
|
|
|
793
793
|
//! <b>Postcondition</b>: x == *this.
|
|
794
794
|
//!
|
|
795
795
|
//! <b>Complexity</b>: Linear to the elements x contains.
|
|
796
|
-
stable_vector(const stable_vector& x, const allocator_type &a)
|
|
796
|
+
stable_vector(const stable_vector& x, const BOOST_CONTAINER_DOC1ST(allocator_type, typename dtl::type_identity<allocator_type>::type) &a)
|
|
797
797
|
: internal_data(a), index(a)
|
|
798
798
|
{
|
|
799
799
|
stable_vector_detail::clear_on_destroy<stable_vector> cod(*this);
|
|
@@ -808,7 +808,7 @@ class stable_vector
|
|
|
808
808
|
//! <b>Throws</b>: If allocator_type's copy constructor throws.
|
|
809
809
|
//!
|
|
810
810
|
//! <b>Complexity</b>: Constant if a == x.get_allocator(), linear otherwise
|
|
811
|
-
stable_vector(BOOST_RV_REF(stable_vector) x, const allocator_type &a)
|
|
811
|
+
stable_vector(BOOST_RV_REF(stable_vector) x, const BOOST_CONTAINER_DOC1ST(allocator_type, typename dtl::type_identity<allocator_type>::type) &a)
|
|
812
812
|
: internal_data(a), index(a)
|
|
813
813
|
{
|
|
814
814
|
if(this->priv_node_alloc() == x.priv_node_alloc()){
|
|
@@ -957,7 +957,7 @@ class stable_vector
|
|
|
957
957
|
//! <b>Throws</b>: If allocator's copy constructor throws.
|
|
958
958
|
//!
|
|
959
959
|
//! <b>Complexity</b>: Constant.
|
|
960
|
-
|
|
960
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
961
961
|
allocator_type get_allocator() const
|
|
962
962
|
{ return this->priv_node_alloc(); }
|
|
963
963
|
|
|
@@ -968,7 +968,7 @@ class stable_vector
|
|
|
968
968
|
//! <b>Complexity</b>: Constant.
|
|
969
969
|
//!
|
|
970
970
|
//! <b>Note</b>: Non-standard extension.
|
|
971
|
-
|
|
971
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
972
972
|
const stored_allocator_type &get_stored_allocator() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
973
973
|
{ return this->priv_node_alloc(); }
|
|
974
974
|
|
|
@@ -979,7 +979,7 @@ class stable_vector
|
|
|
979
979
|
//! <b>Complexity</b>: Constant.
|
|
980
980
|
//!
|
|
981
981
|
//! <b>Note</b>: Non-standard extension.
|
|
982
|
-
|
|
982
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
983
983
|
stored_allocator_type &get_stored_allocator() BOOST_NOEXCEPT_OR_NOTHROW
|
|
984
984
|
{ return this->priv_node_alloc(); }
|
|
985
985
|
|
|
@@ -994,7 +994,7 @@ class stable_vector
|
|
|
994
994
|
//! <b>Throws</b>: Nothing.
|
|
995
995
|
//!
|
|
996
996
|
//! <b>Complexity</b>: Constant.
|
|
997
|
-
|
|
997
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
998
998
|
iterator begin() BOOST_NOEXCEPT_OR_NOTHROW
|
|
999
999
|
{ return (this->index.empty()) ? this->end(): iterator(node_ptr_traits::static_cast_from(this->index.front())); }
|
|
1000
1000
|
|
|
@@ -1003,7 +1003,7 @@ class stable_vector
|
|
|
1003
1003
|
//! <b>Throws</b>: Nothing.
|
|
1004
1004
|
//!
|
|
1005
1005
|
//! <b>Complexity</b>: Constant.
|
|
1006
|
-
|
|
1006
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1007
1007
|
const_iterator begin() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1008
1008
|
{ return (this->index.empty()) ? this->cend() : const_iterator(node_ptr_traits::static_cast_from(this->index.front())) ; }
|
|
1009
1009
|
|
|
@@ -1012,7 +1012,7 @@ class stable_vector
|
|
|
1012
1012
|
//! <b>Throws</b>: Nothing.
|
|
1013
1013
|
//!
|
|
1014
1014
|
//! <b>Complexity</b>: Constant.
|
|
1015
|
-
|
|
1015
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1016
1016
|
iterator end() BOOST_NOEXCEPT_OR_NOTHROW
|
|
1017
1017
|
{ return iterator(this->priv_get_end_node()); }
|
|
1018
1018
|
|
|
@@ -1021,7 +1021,7 @@ class stable_vector
|
|
|
1021
1021
|
//! <b>Throws</b>: Nothing.
|
|
1022
1022
|
//!
|
|
1023
1023
|
//! <b>Complexity</b>: Constant.
|
|
1024
|
-
|
|
1024
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1025
1025
|
const_iterator end() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1026
1026
|
{ return const_iterator(this->priv_get_end_node()); }
|
|
1027
1027
|
|
|
@@ -1031,7 +1031,7 @@ class stable_vector
|
|
|
1031
1031
|
//! <b>Throws</b>: Nothing.
|
|
1032
1032
|
//!
|
|
1033
1033
|
//! <b>Complexity</b>: Constant.
|
|
1034
|
-
|
|
1034
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1035
1035
|
reverse_iterator rbegin() BOOST_NOEXCEPT_OR_NOTHROW
|
|
1036
1036
|
{ return reverse_iterator(this->end()); }
|
|
1037
1037
|
|
|
@@ -1041,7 +1041,7 @@ class stable_vector
|
|
|
1041
1041
|
//! <b>Throws</b>: Nothing.
|
|
1042
1042
|
//!
|
|
1043
1043
|
//! <b>Complexity</b>: Constant.
|
|
1044
|
-
|
|
1044
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1045
1045
|
const_reverse_iterator rbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1046
1046
|
{ return const_reverse_iterator(this->end()); }
|
|
1047
1047
|
|
|
@@ -1051,7 +1051,7 @@ class stable_vector
|
|
|
1051
1051
|
//! <b>Throws</b>: Nothing.
|
|
1052
1052
|
//!
|
|
1053
1053
|
//! <b>Complexity</b>: Constant.
|
|
1054
|
-
|
|
1054
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1055
1055
|
reverse_iterator rend() BOOST_NOEXCEPT_OR_NOTHROW
|
|
1056
1056
|
{ return reverse_iterator(this->begin()); }
|
|
1057
1057
|
|
|
@@ -1061,7 +1061,7 @@ class stable_vector
|
|
|
1061
1061
|
//! <b>Throws</b>: Nothing.
|
|
1062
1062
|
//!
|
|
1063
1063
|
//! <b>Complexity</b>: Constant.
|
|
1064
|
-
|
|
1064
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1065
1065
|
const_reverse_iterator rend() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1066
1066
|
{ return const_reverse_iterator(this->begin()); }
|
|
1067
1067
|
|
|
@@ -1070,7 +1070,7 @@ class stable_vector
|
|
|
1070
1070
|
//! <b>Throws</b>: Nothing.
|
|
1071
1071
|
//!
|
|
1072
1072
|
//! <b>Complexity</b>: Constant.
|
|
1073
|
-
|
|
1073
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1074
1074
|
const_iterator cbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1075
1075
|
{ return this->begin(); }
|
|
1076
1076
|
|
|
@@ -1079,7 +1079,7 @@ class stable_vector
|
|
|
1079
1079
|
//! <b>Throws</b>: Nothing.
|
|
1080
1080
|
//!
|
|
1081
1081
|
//! <b>Complexity</b>: Constant.
|
|
1082
|
-
|
|
1082
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1083
1083
|
const_iterator cend() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1084
1084
|
{ return this->end(); }
|
|
1085
1085
|
|
|
@@ -1089,7 +1089,7 @@ class stable_vector
|
|
|
1089
1089
|
//! <b>Throws</b>: Nothing.
|
|
1090
1090
|
//!
|
|
1091
1091
|
//! <b>Complexity</b>: Constant.
|
|
1092
|
-
|
|
1092
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1093
1093
|
const_reverse_iterator crbegin() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1094
1094
|
{ return this->rbegin(); }
|
|
1095
1095
|
|
|
@@ -1099,7 +1099,7 @@ class stable_vector
|
|
|
1099
1099
|
//! <b>Throws</b>: Nothing.
|
|
1100
1100
|
//!
|
|
1101
1101
|
//! <b>Complexity</b>: Constant.
|
|
1102
|
-
|
|
1102
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1103
1103
|
const_reverse_iterator crend()const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1104
1104
|
{ return this->rend(); }
|
|
1105
1105
|
|
|
@@ -1114,7 +1114,7 @@ class stable_vector
|
|
|
1114
1114
|
//! <b>Throws</b>: Nothing.
|
|
1115
1115
|
//!
|
|
1116
1116
|
//! <b>Complexity</b>: Constant.
|
|
1117
|
-
|
|
1117
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1118
1118
|
bool empty() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1119
1119
|
{ return this->index.size() <= ExtraPointers; }
|
|
1120
1120
|
|
|
@@ -1123,7 +1123,7 @@ class stable_vector
|
|
|
1123
1123
|
//! <b>Throws</b>: Nothing.
|
|
1124
1124
|
//!
|
|
1125
1125
|
//! <b>Complexity</b>: Constant.
|
|
1126
|
-
|
|
1126
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1127
1127
|
size_type size() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1128
1128
|
{
|
|
1129
1129
|
const size_type index_size = this->index.size();
|
|
@@ -1135,7 +1135,7 @@ class stable_vector
|
|
|
1135
1135
|
//! <b>Throws</b>: Nothing.
|
|
1136
1136
|
//!
|
|
1137
1137
|
//! <b>Complexity</b>: Constant.
|
|
1138
|
-
|
|
1138
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1139
1139
|
size_type max_size() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1140
1140
|
{ return this->index.max_size() - ExtraPointers; }
|
|
1141
1141
|
|
|
@@ -1195,7 +1195,7 @@ class stable_vector
|
|
|
1195
1195
|
//! <b>Throws</b>: Nothing.
|
|
1196
1196
|
//!
|
|
1197
1197
|
//! <b>Complexity</b>: Constant.
|
|
1198
|
-
|
|
1198
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1199
1199
|
size_type capacity() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1200
1200
|
{
|
|
1201
1201
|
const size_type index_size = this->index.size();
|
|
@@ -1283,7 +1283,7 @@ class stable_vector
|
|
|
1283
1283
|
//! <b>Throws</b>: Nothing.
|
|
1284
1284
|
//!
|
|
1285
1285
|
//! <b>Complexity</b>: Constant.
|
|
1286
|
-
|
|
1286
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1287
1287
|
reference front() BOOST_NOEXCEPT_OR_NOTHROW
|
|
1288
1288
|
{
|
|
1289
1289
|
BOOST_ASSERT(!this->empty());
|
|
@@ -1298,7 +1298,7 @@ class stable_vector
|
|
|
1298
1298
|
//! <b>Throws</b>: Nothing.
|
|
1299
1299
|
//!
|
|
1300
1300
|
//! <b>Complexity</b>: Constant.
|
|
1301
|
-
|
|
1301
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1302
1302
|
const_reference front() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1303
1303
|
{
|
|
1304
1304
|
BOOST_ASSERT(!this->empty());
|
|
@@ -1313,7 +1313,7 @@ class stable_vector
|
|
|
1313
1313
|
//! <b>Throws</b>: Nothing.
|
|
1314
1314
|
//!
|
|
1315
1315
|
//! <b>Complexity</b>: Constant.
|
|
1316
|
-
|
|
1316
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1317
1317
|
reference back() BOOST_NOEXCEPT_OR_NOTHROW
|
|
1318
1318
|
{
|
|
1319
1319
|
BOOST_ASSERT(!this->empty());
|
|
@@ -1328,7 +1328,7 @@ class stable_vector
|
|
|
1328
1328
|
//! <b>Throws</b>: Nothing.
|
|
1329
1329
|
//!
|
|
1330
1330
|
//! <b>Complexity</b>: Constant.
|
|
1331
|
-
|
|
1331
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1332
1332
|
const_reference back() const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1333
1333
|
{
|
|
1334
1334
|
BOOST_ASSERT(!this->empty());
|
|
@@ -1343,7 +1343,7 @@ class stable_vector
|
|
|
1343
1343
|
//! <b>Throws</b>: Nothing.
|
|
1344
1344
|
//!
|
|
1345
1345
|
//! <b>Complexity</b>: Constant.
|
|
1346
|
-
|
|
1346
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1347
1347
|
reference operator[](size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
|
1348
1348
|
{
|
|
1349
1349
|
BOOST_ASSERT(this->size() > n);
|
|
@@ -1358,7 +1358,7 @@ class stable_vector
|
|
|
1358
1358
|
//! <b>Throws</b>: Nothing.
|
|
1359
1359
|
//!
|
|
1360
1360
|
//! <b>Complexity</b>: Constant.
|
|
1361
|
-
|
|
1361
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1362
1362
|
const_reference operator[](size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1363
1363
|
{
|
|
1364
1364
|
BOOST_ASSERT(this->size() > n);
|
|
@@ -1376,7 +1376,7 @@ class stable_vector
|
|
|
1376
1376
|
//! <b>Complexity</b>: Constant.
|
|
1377
1377
|
//!
|
|
1378
1378
|
//! <b>Note</b>: Non-standard extension
|
|
1379
|
-
|
|
1379
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1380
1380
|
iterator nth(size_type n) BOOST_NOEXCEPT_OR_NOTHROW
|
|
1381
1381
|
{
|
|
1382
1382
|
BOOST_ASSERT(this->size() >= n);
|
|
@@ -1394,7 +1394,7 @@ class stable_vector
|
|
|
1394
1394
|
//! <b>Complexity</b>: Constant.
|
|
1395
1395
|
//!
|
|
1396
1396
|
//! <b>Note</b>: Non-standard extension
|
|
1397
|
-
|
|
1397
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1398
1398
|
const_iterator nth(size_type n) const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1399
1399
|
{
|
|
1400
1400
|
BOOST_ASSERT(this->size() >= n);
|
|
@@ -1411,7 +1411,7 @@ class stable_vector
|
|
|
1411
1411
|
//! <b>Complexity</b>: Constant.
|
|
1412
1412
|
//!
|
|
1413
1413
|
//! <b>Note</b>: Non-standard extension
|
|
1414
|
-
|
|
1414
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1415
1415
|
size_type index_of(iterator p) BOOST_NOEXCEPT_OR_NOTHROW
|
|
1416
1416
|
{ return this->priv_index_of(p.node_pointer()); }
|
|
1417
1417
|
|
|
@@ -1425,7 +1425,7 @@ class stable_vector
|
|
|
1425
1425
|
//! <b>Complexity</b>: Constant.
|
|
1426
1426
|
//!
|
|
1427
1427
|
//! <b>Note</b>: Non-standard extension
|
|
1428
|
-
|
|
1428
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1429
1429
|
size_type index_of(const_iterator p) const BOOST_NOEXCEPT_OR_NOTHROW
|
|
1430
1430
|
{ return this->priv_index_of(p.node_pointer()); }
|
|
1431
1431
|
|
|
@@ -1437,7 +1437,7 @@ class stable_vector
|
|
|
1437
1437
|
//! <b>Throws</b>: range_error if n >= size()
|
|
1438
1438
|
//!
|
|
1439
1439
|
//! <b>Complexity</b>: Constant.
|
|
1440
|
-
|
|
1440
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1441
1441
|
reference at(size_type n)
|
|
1442
1442
|
{
|
|
1443
1443
|
if(n >= this->size()){
|
|
@@ -1454,7 +1454,7 @@ class stable_vector
|
|
|
1454
1454
|
//! <b>Throws</b>: range_error if n >= size()
|
|
1455
1455
|
//!
|
|
1456
1456
|
//! <b>Complexity</b>: Constant.
|
|
1457
|
-
|
|
1457
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1458
1458
|
const_reference at(size_type n)const
|
|
1459
1459
|
{
|
|
1460
1460
|
if(n >= this->size()){
|
|
@@ -1791,42 +1791,42 @@ class stable_vector
|
|
|
1791
1791
|
//! <b>Effects</b>: Returns true if x and y are equal
|
|
1792
1792
|
//!
|
|
1793
1793
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
|
1794
|
-
|
|
1794
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1795
1795
|
friend bool operator==(const stable_vector& x, const stable_vector& y)
|
|
1796
1796
|
{ return x.size() == y.size() && ::boost::container::algo_equal(x.begin(), x.end(), y.begin()); }
|
|
1797
1797
|
|
|
1798
1798
|
//! <b>Effects</b>: Returns true if x and y are unequal
|
|
1799
1799
|
//!
|
|
1800
1800
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
|
1801
|
-
|
|
1801
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1802
1802
|
friend bool operator!=(const stable_vector& x, const stable_vector& y)
|
|
1803
1803
|
{ return !(x == y); }
|
|
1804
1804
|
|
|
1805
1805
|
//! <b>Effects</b>: Returns true if x is less than y
|
|
1806
1806
|
//!
|
|
1807
1807
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
|
1808
|
-
|
|
1808
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1809
1809
|
friend bool operator<(const stable_vector& x, const stable_vector& y)
|
|
1810
1810
|
{ return ::boost::container::algo_lexicographical_compare(x.begin(), x.end(), y.begin(), y.end()); }
|
|
1811
1811
|
|
|
1812
1812
|
//! <b>Effects</b>: Returns true if x is greater than y
|
|
1813
1813
|
//!
|
|
1814
1814
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
|
1815
|
-
|
|
1815
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1816
1816
|
friend bool operator>(const stable_vector& x, const stable_vector& y)
|
|
1817
1817
|
{ return y < x; }
|
|
1818
1818
|
|
|
1819
1819
|
//! <b>Effects</b>: Returns true if x is equal or less than y
|
|
1820
1820
|
//!
|
|
1821
1821
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
|
1822
|
-
|
|
1822
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1823
1823
|
friend bool operator<=(const stable_vector& x, const stable_vector& y)
|
|
1824
1824
|
{ return !(y < x); }
|
|
1825
1825
|
|
|
1826
1826
|
//! <b>Effects</b>: Returns true if x is equal or greater than y
|
|
1827
1827
|
//!
|
|
1828
1828
|
//! <b>Complexity</b>: Linear to the number of elements in the container.
|
|
1829
|
-
|
|
1829
|
+
BOOST_CONTAINER_NODISCARD inline
|
|
1830
1830
|
friend bool operator>=(const stable_vector& x, const stable_vector& y)
|
|
1831
1831
|
{ return !(x < y); }
|
|
1832
1832
|
|
|
@@ -2237,10 +2237,16 @@ class stable_vector
|
|
|
2237
2237
|
|
|
2238
2238
|
#ifndef BOOST_CONTAINER_NO_CXX17_CTAD
|
|
2239
2239
|
|
|
2240
|
+
//! <b>Deduction guide</b>: allows a `stable_vector` to be constructed from the
|
|
2241
|
+
//! iterator range <code>[first, last)</code>, deducing the element type from the
|
|
2242
|
+
//! value type of `InputIterator` and using the default allocator.
|
|
2240
2243
|
template <typename InputIterator>
|
|
2241
2244
|
stable_vector(InputIterator, InputIterator) ->
|
|
2242
2245
|
stable_vector<typename iterator_traits<InputIterator>::value_type>;
|
|
2243
2246
|
|
|
2247
|
+
//! <b>Deduction guide</b>: allows a `stable_vector` to be constructed from the
|
|
2248
|
+
//! iterator range <code>[first, last)</code>, deducing the element type from the
|
|
2249
|
+
//! value type of `InputIterator` and taking the allocator type from the supplied allocator.
|
|
2244
2250
|
template <typename InputIterator, typename Allocator>
|
|
2245
2251
|
stable_vector(InputIterator, InputIterator, Allocator const&) ->
|
|
2246
2252
|
stable_vector<typename iterator_traits<InputIterator>::value_type, Allocator>;
|
|
@@ -2281,7 +2287,7 @@ template <class T, class Allocator>
|
|
|
2281
2287
|
struct has_trivial_destructor_after_move<boost::container::stable_vector<T, Allocator> >
|
|
2282
2288
|
{
|
|
2283
2289
|
typedef typename boost::container::stable_vector<T, Allocator>::allocator_type allocator_type;
|
|
2284
|
-
typedef typename
|
|
2290
|
+
typedef typename boost::container::allocator_traits<allocator_type>::pointer pointer;
|
|
2285
2291
|
BOOST_STATIC_CONSTEXPR bool value = ::boost::has_trivial_destructor_after_move<allocator_type>::value &&
|
|
2286
2292
|
::boost::has_trivial_destructor_after_move<pointer>::value;
|
|
2287
2293
|
};
|
|
@@ -608,7 +608,35 @@ public:
|
|
|
608
608
|
//!
|
|
609
609
|
//! @par Complexity
|
|
610
610
|
//! Constant O(1).
|
|
611
|
-
void push_back(
|
|
611
|
+
void push_back(value_type &&value);
|
|
612
|
+
|
|
613
|
+
//! @pre <tt>size() < capacity()</tt>. Otherwise, the behavior is undefined.
|
|
614
|
+
//!
|
|
615
|
+
//! @brief Adds a copy of value at the end.
|
|
616
|
+
//!
|
|
617
|
+
//! @param value The value used to copy construct the new element.
|
|
618
|
+
//!
|
|
619
|
+
//! @par Throws
|
|
620
|
+
//! @li If T's copy constructor throws.
|
|
621
|
+
//! @li If \c throw_on_overflow<true> option is set and the container runs out of capacity.
|
|
622
|
+
//!
|
|
623
|
+
//! @par Complexity
|
|
624
|
+
//! Constant O(1).
|
|
625
|
+
void unchecked_push_back(value_type const& value);
|
|
626
|
+
|
|
627
|
+
//! @pre <tt>size() < capacity()</tt>. Otherwise, the behavior is undefined.
|
|
628
|
+
//!
|
|
629
|
+
//! @brief Moves value to the end.
|
|
630
|
+
//!
|
|
631
|
+
//! @param value The value to move construct the new element.
|
|
632
|
+
//!
|
|
633
|
+
//! @par Throws
|
|
634
|
+
//! @li If T's move constructor throws.
|
|
635
|
+
//! @li If \c throw_on_overflow<true> option is set and the container runs out of capacity.
|
|
636
|
+
//!
|
|
637
|
+
//! @par Complexity
|
|
638
|
+
//! Constant O(1).
|
|
639
|
+
void unchecked_push_back(value_type &&value);
|
|
612
640
|
|
|
613
641
|
//! @pre <tt>!empty()</tt>
|
|
614
642
|
//!
|
|
@@ -805,6 +833,23 @@ public:
|
|
|
805
833
|
template<class ...Args>
|
|
806
834
|
reference emplace_back(Args &&...args);
|
|
807
835
|
|
|
836
|
+
//! @pre <tt>size() < capacity()</tt>. Otherwise, the behavior is undefined.
|
|
837
|
+
//!
|
|
838
|
+
//! @brief Inserts a T constructed with
|
|
839
|
+
//! \c std::forward<Args>(args)... in the end of the container.
|
|
840
|
+
//!
|
|
841
|
+
//! @return A reference to the created object.
|
|
842
|
+
//!
|
|
843
|
+
//! @param args The arguments of the constructor of the new element which will be created at the end of the container.
|
|
844
|
+
//!
|
|
845
|
+
//! @par Throws
|
|
846
|
+
//! @li If in-place constructor throws
|
|
847
|
+
//!
|
|
848
|
+
//! @par Complexity
|
|
849
|
+
//! Constant O(1).
|
|
850
|
+
template<class ...Args>
|
|
851
|
+
reference unchecked_emplace_back(Args &&...args);
|
|
852
|
+
|
|
808
853
|
//! @pre
|
|
809
854
|
//! @li \c p must be a valid iterator of \c *this in range <tt>[begin(), end()]</tt>
|
|
810
855
|
//! @li <tt>size() < capacity()</tt>
|