passenger 5.0.24 → 5.0.25
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.editorconfig +8 -18
- data/CHANGELOG +20 -0
- data/build/cplusplus_support.rb +3 -3
- data/build/cxx_dependency_map.rb +148 -96
- data/build/cxx_tests.rb +24 -12
- data/build/packaging.rb +1 -2
- data/dev/copy_boost_headers +32 -9
- data/resources/templates/standalone/config.erb +2 -0
- data/resources/templates/standalone/footer.erb +3 -0
- data/resources/templates/standalone/server.erb +7 -0
- data/src/agent/Core/ApplicationPool/Pool/Miscellaneous.cpp +2 -2
- data/src/agent/Core/SpawningKit/DirectSpawner.h +3 -0
- data/src/agent/Core/UnionStation/Transaction.h +1 -15
- data/src/agent/README.md +15 -3
- data/src/agent/UstRouter/Controller.h +95 -90
- data/src/agent/UstRouter/FileSink.h +3 -2
- data/src/agent/UstRouter/LogSink.h +5 -6
- data/src/agent/UstRouter/RemoteSender.h +41 -12
- data/src/agent/UstRouter/RemoteSink.h +3 -2
- data/src/agent/UstRouter/Transaction.h +198 -66
- data/src/apache2_module/Configuration.cpp +57 -2
- data/src/apache2_module/Configuration.h +3 -1
- data/src/apache2_module/Configuration.hpp +3 -1
- data/src/apache2_module/Hooks.cpp +4 -2
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/MemoryKit/palloc.h +1 -0
- data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +1 -0
- data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +4 -3
- data/src/cxx_supportlib/ServerKit/Server.h +1 -0
- data/src/cxx_supportlib/Utils/BufferedIO.h +21 -4
- data/src/cxx_supportlib/Utils/IOUtils.cpp +62 -12
- data/src/cxx_supportlib/Utils/StrIntUtils.cpp +3 -3
- data/src/cxx_supportlib/Utils/StrIntUtils.h +2 -2
- data/src/cxx_supportlib/WatchdogLauncher.cpp +13 -1
- data/src/cxx_supportlib/WatchdogLauncher.h +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/classification.hpp +312 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/concept.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/classification.hpp +353 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_all.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_format_store.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/find_iterator.hpp +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/finder.hpp +1 -8
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/finder_regex.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/formatter_regex.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/predicate.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/trim.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/detail/util.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/erase.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find.hpp +334 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_format.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/find_iterator.hpp +388 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/finder.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/iter_find.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/join.hpp +145 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/predicate.hpp +475 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/predicate_facade.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/regex.hpp +646 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/regex_find_format.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/replace.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/sequence_traits.hpp +0 -73
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/split.hpp +163 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/std/list_traits.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/std/rope_traits.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/std/slist_traits.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/std/string_traits.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/std_containers_traits.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/trim.hpp +398 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/trim_all.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/align.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/address.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/align.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/aligned_storage.hpp +1 -164
- data/src/cxx_supportlib/vendor-modified/boost/assert.hpp +33 -84
- data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +83 -231
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/capabilities.hpp +161 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_template.hpp +774 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_alpha.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_arm.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_atomic.hpp +134 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_ppc.hpp +36 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sparc.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_sync.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_gcc_x86.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_linux_arm.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_arm.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/caps_msvc_x86.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +57 -36
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +297 -16
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/link.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lockpool.hpp +30 -76
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_fwd.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_cas_based.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_emulated.hpp +161 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_extending_cas_based.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_alpha.hpp +876 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm.hpp +973 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp +395 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc.hpp +802 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_sparc.hpp +240 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_sync.hpp +270 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86.hpp +514 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp +616 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_linux_arm.hpp +178 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_arm.hpp +824 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_common.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_msvc_x86.hpp +928 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +91 -32
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_type.hpp +280 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind.hpp +18 -1
- data/src/cxx_supportlib/vendor-modified/boost/bind/apply.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/arg.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +507 -2
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind_mf_cc.hpp +214 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/make_adaptable.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn_vw.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/placeholders.hpp +29 -36
- data/src/cxx_supportlib/vendor-modified/boost/bind/protect.hpp +304 -0
- data/src/cxx_supportlib/vendor-modified/boost/checked_delete.hpp +13 -65
- data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +9 -13
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/concept/assert.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/concept_def.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/concept/detail/general.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/concept/usage.hpp +0 -8
- data/src/cxx_supportlib/vendor-modified/boost/concept_check.hpp +25 -26
- data/src/cxx_supportlib/vendor-modified/boost/config.hpp +9 -12
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +17 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/borland.hpp +36 -6
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +135 -14
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/codegear.hpp +41 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +48 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/cray.hpp +33 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/digitalmars.hpp +36 -16
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +121 -87
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc_xml.hpp +39 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/hp_acc.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/intel.hpp +327 -64
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/metrowerks.hpp +44 -10
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/mpw.hpp +38 -4
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/nvcc.hpp +0 -12
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pathscale.hpp +36 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/pgi.hpp +37 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +63 -23
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/vacpp.hpp +44 -13
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +102 -128
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +258 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/cloudabi.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/haiku.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/linux.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/macos.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/solaris.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/select_compiler_config.hpp +43 -7
- data/src/cxx_supportlib/vendor-modified/boost/config/select_platform_config.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/select_stdlib_config.hpp +28 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +58 -15
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcomo.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +129 -14
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/modena.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/msl.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/roguewave.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/sgi.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/stlport.hpp +13 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/vacpp.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/suffix.hpp +159 -85
- data/src/cxx_supportlib/vendor-modified/boost/config/user.hpp +15 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +351 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +371 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +283 -213
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +195 -51
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +840 -625
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +24 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/addressof.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +289 -181
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +314 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocation_type.hpp +11 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/allocator_version_traits.hpp +24 -25
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/auto_link.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_list.hpp +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/block_slist.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +16 -14
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/construct_in_place.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +1142 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +61 -48
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +293 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dlmalloc.hpp +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +335 -408
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/function_detector.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/hash_table.hpp +383 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator_to_raw_pointer.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +300 -83
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/min_max.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/minimal_char_traits_header.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +45 -118
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/multiallocation_chain.hpp +22 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +288 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_alloc_holder.hpp +115 -109
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +33 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +62 -89
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +102 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_resource.hpp +191 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/singleton.hpp +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/to_raw_pointer.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/transform_iterator.hpp +17 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +646 -595
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/type_traits.hpp +44 -184
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/value_init.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/variadic_templates_tools.hpp +9 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/version_type.hpp +23 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +50 -15
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +627 -287
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +608 -657
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +395 -376
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +616 -625
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/deque.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/flat_map.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/flat_set.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/list.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/map.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +101 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/pool_options.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/set.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/slist.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/small_vector.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/stable_vector.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/string.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/synchronized_pool_resource.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/unsynchronized_pool_resource.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/vector.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +423 -1019
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator_fwd.hpp +23 -35
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +520 -626
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +416 -407
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +574 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +711 -470
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +314 -145
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +477 -282
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +63 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator_fwd.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +1660 -945
- data/src/cxx_supportlib/vendor-modified/boost/core/addressof.hpp +162 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/checked_delete.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/demangle.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/enable_if.hpp +128 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/explicit_operator_bool.hpp +154 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/is_same.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test_trait.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/no_exceptions_support.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/noncopyable.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/null_deleter.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ref.hpp +301 -0
- data/src/cxx_supportlib/vendor-modified/boost/{detail/scoped_enum_emulation.hpp → core/scoped_enum.hpp} +19 -164
- data/src/cxx_supportlib/vendor-modified/boost/core/swap.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/typeinfo.hpp +151 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/underlying_type.hpp +79 -0
- data/src/cxx_supportlib/vendor-modified/boost/cstdint.hpp +132 -95
- data/src/cxx_supportlib/vendor-modified/boost/current_function.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/date_time/adjust_functors.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/c_local_time_adjustor.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/c_time.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/constrained_value.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_clock_device.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_defs.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_duration_types.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_facet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_format_simple.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_formatting.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_formatting_limited.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_formatting_locales.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generator_formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generator_parser.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_generators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_names_put.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date_parsing.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_rules.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/dst_transition_generators.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/filetime_functions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/format_date_parser.hpp +11 -7
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/conversion.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_calendar.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_day.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_day_of_year.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_duration_types.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_facet.hpp +352 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_month.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_serialize.hpp +517 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_weekday.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_year.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_ymd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/gregorian.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/gregorian_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/gregorian_types.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/date_time/int_adapter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/conversion.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/custom_time_zone.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/date_duration_operators.hpp +115 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/dst_transition_day_rules.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +528 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_time.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_time_io.hpp +184 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_time_types.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/posix_time_zone.hpp +474 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/tz_database.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time_adjustor.hpp +218 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_timezone_defs.hpp +193 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/locale_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/microsec_time_clock.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/parse_format_base.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period_parser.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/conversion.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/date_duration_operators.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_duration.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_io.hpp +1 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_legacy_io.hpp +153 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/posix_time_system.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/ptime.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +212 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_period.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_serialize.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_defs.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/string_convert.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/string_parse_tree.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/strings_from_facet.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_clock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_defs.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_duration.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_formatting_streams.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_iterator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_resolution_traits.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_counted.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_system_split.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_base.hpp +99 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_zone_names.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/tz_db_base.hpp +396 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/wrapping_int.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/year_month_day.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +139 -0
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/detail/endian.hpp +3 -118
- data/src/cxx_supportlib/vendor-modified/boost/detail/fenv.hpp +30 -3
- data/src/cxx_supportlib/vendor-modified/boost/detail/indirect_traits.hpp +0 -283
- data/src/cxx_supportlib/vendor-modified/boost/detail/iterator.hpp +9 -477
- data/src/cxx_supportlib/vendor-modified/boost/detail/no_exceptions_support.hpp +12 -82
- data/src/cxx_supportlib/vendor-modified/boost/detail/reference_content.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/detail/sp_typeinfo.hpp +8 -107
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/clone_current_exception.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/exception_ptr.hpp +8 -3
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +7 -9
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +11 -12
- data/src/cxx_supportlib/vendor-modified/boost/function/detail/gen_maybe_include.pl +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function0.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function1.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function10.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function2.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function3.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function4.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function5.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function6.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function7.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function8.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function9.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/function_base.hpp +6 -24
- data/src/cxx_supportlib/vendor-modified/boost/function/function_fwd.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +35 -30
- data/src/cxx_supportlib/vendor-modified/boost/function/function_typeof.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/function/gen_function_N.pl +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash/detail/float_functions.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash/detail/hash_float.hpp +22 -28
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash/detail/limits.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash/extensions.hpp +5 -66
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash/hash.hpp +77 -48
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash/hash_fwd.hpp +3 -7
- data/src/cxx_supportlib/vendor-modified/boost/functional/hash_fwd.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/get_pointer.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer.hpp +25 -24
- data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_ct.hpp +102 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer_fwd.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/integer_traits.hpp +1 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +47 -55
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +655 -2197
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set_hook.hpp +16 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +376 -1605
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +329 -601
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +982 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set_hook.hpp +17 -27
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +2101 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/{detail/tree_algorithms.hpp → bstree_algorithms.hpp} +973 -684
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +121 -66
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +30 -28
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +22 -15
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/algo_type.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/algorithm.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +48 -61
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/array_initializer.hpp +95 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/assert.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/avltree_node.hpp +19 -24
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +184 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +104 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +2 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_end.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/default_header_holder.hpp +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +235 -39
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/empty_node_checker.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/equal_to_value.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/exception_disposer.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/function_detector.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +107 -95
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/get_value_traits.hpp +222 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/has_member_function_callable_with.hpp +279 -296
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +122 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hook_traits.hpp +186 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iiterator.hpp +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/is_stateful_value_traits.hpp +9 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +99 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_iterator.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/list_node.hpp +14 -139
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +295 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/minimal_less_equal_header.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/minimal_pair_header.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/mpl.hpp +160 -337
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_holder.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_to_value.hpp +130 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/parent_from_member.hpp +34 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/pointer_element.hpp +168 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/rbtree_node.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/reverse_iterator.hpp +144 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/simple_disposers.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/size_holder.hpp +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_iterator.hpp +124 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/slist_node.hpp +14 -117
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/std_fwd.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/to_raw_pointer.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/transform_iterator.hpp +18 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_iterator.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_node.hpp +13 -133
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/tree_value_compare.hpp +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/uncast.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +22 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +2006 -1615
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/intrusive_fwd.hpp +450 -229
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +17 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/link_mode.hpp +21 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +253 -282
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +17 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +21 -7
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/options.hpp +94 -648
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +374 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +16 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_rebind.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +97 -44
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/priority_compare.hpp +29 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +366 -1592
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +297 -639
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +619 -2187
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +16 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +661 -2252
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +468 -1493
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +163 -594
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +326 -307
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +16 -21
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +686 -2238
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +425 -1575
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +422 -703
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +440 -1122
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +158 -406
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +558 -2257
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +476 -1611
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +36 -27
- data/src/cxx_supportlib/vendor-modified/boost/iterator.hpp +3 -42
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +4 -13
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +15 -22
- data/src/cxx_supportlib/vendor-modified/boost/iterator/interoperable.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +59 -64
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_categories.hpp +77 -50
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +13 -22
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +318 -212
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_traits.hpp +17 -49
- data/src/cxx_supportlib/vendor-modified/boost/iterator/{detail/minimum_category.hpp → minimum_category.hpp} +24 -45
- data/src/cxx_supportlib/vendor-modified/boost/iterator/reverse_iterator.hpp +10 -5
- data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +29 -2649
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +101 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +498 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +787 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +194 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +197 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +294 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +212 -0
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/c_regex_traits.cpp +24 -11
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cpp_regex_traits.cpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/cregex.cpp +40 -40
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/posix_api.cpp +14 -17
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_raw_buffer.cpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_traits_defaults.cpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wc_regex_traits.cpp +24 -11
- data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +11 -14
- data/src/cxx_supportlib/vendor-modified/boost/libs/system/src/error_code.cpp +3 -420
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/future.cpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once.cpp +3 -5
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +173 -77
- data/src/cxx_supportlib/vendor-modified/boost/math/policies/policy.hpp +83 -33
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/detail/fp_traits.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/fpclassify.hpp +42 -12
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/math_fwd.hpp +196 -18
- data/src/cxx_supportlib/vendor-modified/boost/math/special_functions/sign.hpp +52 -8
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/config.hpp +111 -13
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/promotion.hpp +40 -8
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/real_cast.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/math/tools/user.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +9 -5
- data/src/cxx_supportlib/vendor-modified/boost/move/adl_move_swap.hpp +233 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/algorithm.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +223 -54
- data/src/cxx_supportlib/vendor-modified/boost/move/default_delete.hpp +201 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +6 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_end.hpp +2 -10
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/fwd_macros.hpp +661 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +468 -62
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/move_helpers.hpp +206 -129
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +1078 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +591 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/iterator.hpp +33 -19
- data/src/cxx_supportlib/vendor-modified/boost/move/make_unique.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/move.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/traits.hpp +30 -95
- data/src/cxx_supportlib/vendor-modified/boost/move/unique_ptr.hpp +871 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/utility.hpp +53 -98
- data/src/cxx_supportlib/vendor-modified/boost/move/utility_core.hpp +317 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/O1_size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/O1_size_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/accumulate.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/advance.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/advance_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/alias.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/always.hpp +6 -7
- data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/apply.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/apply_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/apply_wrap.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/arg.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/arg_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/arithmetic.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/as_sequence.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/assert.hpp +6 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/at.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/at_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/O1_size_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/adl_barrier.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/advance_backward.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/advance_forward.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/apply_1st.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/arg_typedef.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/arithmetic_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/arity.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/arity_spec.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/at_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/back_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/basic_bind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/begin_end_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/clear_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/common_name_wknd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/comparison_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/adl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/arrays.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bcc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/bind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/compiler.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ctps.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dependent_nttp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dmc_ambiguous_ctps.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/dtp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/eti.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/forwarding.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/gcc.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/gpu.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/has_apply.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/has_xxx.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/integral.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/intel.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/lambda.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/msvc.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/msvc_typename.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/nttp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/operators.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/overload_resolution.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/pp_counter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/preprocessor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/static_constant.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/ttp.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/typeof.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/use_preprocessed.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/config/workaround.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/contains_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/count_args.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/count_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/empty_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/erase_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/erase_key_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/filter_iter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_impl_body.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/fold_pred.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/front_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/full_lambda.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_apply.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_begin.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_key_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_rebind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/has_type.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/include_preprocessed.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/insert_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/insert_range_impl.hpp +22 -19
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/inserter_algorithm.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/integral_wrapper.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/is_msvc_eti_arg.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/iter_apply.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/iter_fold_if_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/iter_fold_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/iter_push_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/joint_iter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_arity_param.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_no_ctps.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_spec.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/lambda_support.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/largest_int.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/logical_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/msvc_dtw.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/msvc_eti_base.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/msvc_is_class.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/msvc_never_true.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/msvc_type.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/na.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/na_assert.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/na_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/na_spec.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/nested_type_wknd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/nttp_decl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/numeric_cast_utils.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/numeric_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/order_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/overload_names.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/partition_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/pop_back_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/pop_front_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/add.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/def_params_tail.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/default_params.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/enum.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/ext_params.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/filter_params.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/is_seq.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/params.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/partial_spec_params.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/range.hpp +11 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/repeat.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/sub.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/token_equal.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/preprocessor/tuple.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/ptr_to_ref.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/push_back_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/push_front_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/O1_size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/empty.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/range_c/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/reverse_fold_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/reverse_fold_impl_body.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/reverse_iter_fold_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/sequence_wrapper.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/shift_op.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/single_element_iter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/size_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/sort_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/static_cast.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/template_arity_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/test.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/test/assert.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/test/data.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/test/test_case.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/traits_lambda_spec.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/transform_iter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/type_wrapper.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/unwrap.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/value_wknd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/yes_no.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/back_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/back_inserter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/base.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/begin.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/begin_end.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/begin_end_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bind.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bind_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitwise.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bitxor.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bool.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/bool_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/clear.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/clear_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/comparison.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/contains.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/contains_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/copy.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/copy_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/count.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/count_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/count_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/deque.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/deref.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/distance.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/distance_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/divides.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/empty.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/empty_base.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/mpl/empty_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/empty_sequence.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/end.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/equal.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/equal_to.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/erase.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/erase_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/erase_key.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/erase_key_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/eval_if.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/filter_view.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/find.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/find_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/fold.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/for_each.hpp +11 -4
- data/src/cxx_supportlib/vendor-modified/boost/mpl/front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/front_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/front_inserter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/greater.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/greater_equal.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_key.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_key_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/has_xxx.hpp +12 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/identity.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/index_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/index_of.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/inherit.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/inherit_linearly.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/insert.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/insert_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/insert_range.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/insert_range_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/inserter.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/int.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/int_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/integral_c_tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/is_placeholder.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/is_sequence.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/iter_fold.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/iter_fold_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/iterator_category.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/iterator_range.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/iterator_tags.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/joint_view.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/key_type.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/key_type_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/lambda.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/lambda_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/less.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/less_equal.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/limits/arity.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/limits/list.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/limits/map.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/limits/set.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/limits/unrolling.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/limits/vector.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/O1_size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/begin_end.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/clear.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/empty.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/include_preprocessed.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/item.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/numbered.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/numbered_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/pop_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/push_back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/push_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/aux_/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list0_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list10.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list10_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list20.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list20_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list30.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list30_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list40.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list40_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list50.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list/list50_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/list_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/logical.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/long.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/long_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/lower_bound.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/at_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/begin_end_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/clear_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/contains_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/empty_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/erase_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/erase_key_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/has_key_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/include_preprocessed.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/insert_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/insert_range_impl.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/item.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/key_type_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/map0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/numbered.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/size_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/aux_/value_type_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/map0.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/map10.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/map20.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/map30.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/map40.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/map/map50.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/math/fixed_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/math/is_even.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/math/rational_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/max.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/max_element.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/min.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/min_element.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/min_max.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/minus.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/modulus.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiplies.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiset/aux_/count_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiset/aux_/insert_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiset/aux_/item.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiset/aux_/multiset0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiset/aux_/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/multiset/multiset0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/negate.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/next.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/next_prior.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/not.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/not_equal_to.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/numeric_cast.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/mpl/order.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/order_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/pair.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/pair_view.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/partition.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/placeholders.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/plus.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/pop_back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/pop_back_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/pop_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/pop_front_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/print.hpp +7 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/prior.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/protect.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/push_back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/push_back_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/push_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/push_front_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/quote.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/range_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/remove.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/remove_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/replace.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/replace_if.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/reverse.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/reverse_fold.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/reverse_iter_fold.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/same_as.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/sequence_tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/sequence_tag_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/at_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/begin_end_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/clear_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/empty_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/erase_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/erase_key_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/has_key_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/include_preprocessed.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/insert_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/insert_range_impl.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/item.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/key_type_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/numbered.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/numbered_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/set0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/size_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/aux_/value_type_impl.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set0.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set0_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set10.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set10_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set20.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set20_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set30.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set30_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set40.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set40_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set50.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set/set50_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/set_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/shift_left.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/shift_right.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/single_view.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/size_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/size_t.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/size_t_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/sizeof.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/sort.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/stable_partition.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/string.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/mpl/switch.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/times.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/transform.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/transform_view.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/unique.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/unpack_args.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/upper_bound.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/value_type.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/value_type_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/O1_size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/at.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/begin_end.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/clear.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/empty.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/include_preprocessed.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/item.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/numbered.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/numbered_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/pop_back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/pop_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/push_back.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/push_front.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/size.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/tag.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/aux_/vector0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector0.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector0_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector10.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector10_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector20.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector20_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector30.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector30_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector40.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector40_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector50.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector/vector50_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/vector_c.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/void.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/void_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/mpl/zip_view.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/next_prior.hpp +118 -4
- data/src/cxx_supportlib/vendor-modified/boost/noncopyable.hpp +12 -43
- data/src/cxx_supportlib/vendor-modified/boost/none.hpp +32 -1
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +18 -2
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +9 -37
- data/src/cxx_supportlib/vendor-modified/boost/optional/bad_optional_access.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +660 -84
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_fwd.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +94 -0
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/arg_list.hpp +4 -27
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/cast.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/parenthesized_type.hpp +0 -84
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/set.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/tagged_argument.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/parameter/aux_/unwrap_cv_reference.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/parameter/binding.hpp +2 -28
- data/src/cxx_supportlib/vendor-modified/boost/parameter/keyword.hpp +0 -30
- data/src/cxx_supportlib/vendor-modified/boost/parameter/name.hpp +5 -15
- data/src/cxx_supportlib/vendor-modified/boost/parameter/preprocessor.hpp +6 -107
- data/src/cxx_supportlib/vendor-modified/boost/parameter/value_type.hpp +2 -28
- data/src/cxx_supportlib/vendor-modified/boost/pool/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/predef.h +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture.h +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/alpha.h +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/arm.h +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/blackfin.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/convex.h +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ia64.h +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/m68k.h +82 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/mips.h +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/parisc.h +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/ppc.h +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/pyramid.h +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/rs6k.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sparc.h +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/superh.h +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys370.h +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/sys390.h +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86.h +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/32.h +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/x86/64.h +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/architecture/z.h +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler.h +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/borland.h +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/clang.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/comeau.h +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/compaq.h +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/diab.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/digitalmars.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/dignus.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/edg.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ekopath.h +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc.h +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/gcc_xml.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/greenhills.h +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/hp_acc.h +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/iar.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/ibm.h +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/intel.h +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/kai.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/llvm.h +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metaware.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/metrowerks.h +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/microtec.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/mpw.h +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/palm.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/pgi.h +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sgi_mipspro.h +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/sunpro.h +76 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/tendra.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/visualc.h +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/compiler/watcom.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/_cassert.h +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/_exception.h +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/comp_detected.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/endian_compat.h +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/os_detected.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/platform_detected.h +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/test.h +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/detail/test_def.h +71 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware.h +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd.h +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm.h +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/arm/versions.h +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc.h +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/ppc/versions.h +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86.h +123 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86/versions.h +129 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd.h +87 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/hardware/simd/x86_amd/versions.h +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/language.h +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/objc.h +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdc.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/language/stdcpp.h +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library.h +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c.h +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/_prefix.h +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/gnu.h +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/uc.h +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/vms.h +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/c/zos.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std.h +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/_prefix.h +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/cxx.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/dinkumware.h +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/libcomo.h +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/modena.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/msl.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/roguewave.h +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/sgi.h +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stdcpp3.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/stlport.h +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/library/std/vacpp.h +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/make.h +89 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os.h +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/aix.h +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/amigaos.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/android.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/beos.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd.h +103 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/bsdi.h +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/dragonfly.h +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/free.h +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/net.h +84 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/bsd/open.h +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/cygwin.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/haiku.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/hpux.h +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/ios.h +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/irix.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/linux.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/macos.h +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/os400.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/qnxnto.h +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/solaris.h +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/unix.h +76 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/vms.h +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/os/windows.h +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other.h +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/other/endian.h +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform.h +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/mingw.h +69 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_desktop.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_phone.h +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_runtime.h +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/platform/windows_store.h +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/version.h +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/predef/version_number.h +53 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/arithmetic/dec.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/detail/get_data.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/push_back.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/push_front.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_list.hpp +17 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp +16 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_tuple.hpp +12 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/config/config.hpp +11 -12
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/detail/is_empty.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/empty.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/identity.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty.hpp +17 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_or_1.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/facilities/is_empty_variadic.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/library.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_array.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/list/to_tuple.hpp +27 -4
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/detail/is_begin_parens.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/is_begin_parens.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/repetition/for.hpp +19 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/binary_transform.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/detail/is_empty.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each.hpp +57 -10
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/for_each_i.hpp +58 -10
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/replace.hpp +18 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/rest_n.hpp +19 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/size.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/seq/variadic_seq_to_seq.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/detail/is_single_return.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/eat.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/elem.hpp +12 -2
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/insert.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_back.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/pop_front.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_back.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/push_front.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/rem.hpp +18 -3
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/remove.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/replace.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/reverse.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_array.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_list.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/to_seq.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/detail/is_single_return.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/algorithm/equal.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/as_literal.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/begin.hpp +5 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +35 -15
- data/src/cxx_supportlib/vendor-modified/boost/range/config.hpp +9 -7
- data/src/cxx_supportlib/vendor-modified/boost/range/const_iterator.hpp +39 -30
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/common.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/extract_optional_type.hpp +21 -25
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/has_member_size.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/implementation_help.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/detail/msvc_has_iterator_workaround.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/difference_type.hpp +20 -2
- data/src/cxx_supportlib/vendor-modified/boost/range/distance.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/empty.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/end.hpp +5 -13
- data/src/cxx_supportlib/vendor-modified/boost/range/functions.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/has_range_iterator.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/iterator.hpp +36 -34
- data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +481 -251
- data/src/cxx_supportlib/vendor-modified/boost/range/mutable_iterator.hpp +41 -29
- data/src/cxx_supportlib/vendor-modified/boost/range/range_fwd.hpp +63 -0
- data/src/cxx_supportlib/vendor-modified/boost/range/rbegin.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/rend.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/range/reverse_iterator.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/range/size.hpp +30 -6
- data/src/cxx_supportlib/vendor-modified/boost/range/size_type.hpp +18 -12
- data/src/cxx_supportlib/vendor-modified/boost/range/value_type.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/abs.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/gcd.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/lcm.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/mpl/sign.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/ratio/detail/overflow_helpers.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio.hpp +63 -3
- data/src/cxx_supportlib/vendor-modified/boost/ratio/ratio_fwd.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/ref.hpp +12 -184
- data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +51 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/mfc.hpp +30 -34
- data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/static_mutex.hpp +10 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +11 -5
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +18 -19
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +25 -38
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +211 -14
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +161 -106
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/fileiter.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/instances.hpp +24 -21
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/iterator_traits.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +24 -19
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +46 -20
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +38 -14
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +206 -31
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +122 -16
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_grep.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_match.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_replace.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_search.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_split.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +6 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +23 -3
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/sub_match.hpp +75 -71
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_iterator.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.hpp +6 -15
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +43 -41
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +103 -172
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/array_allocator.hpp +318 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/array_count_impl.hpp +67 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/array_traits.hpp +16 -9
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/array_utility.hpp +106 -70
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +36 -59
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_nt.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/{atomic_count_pthreads.hpp → atomic_count_pt.hpp} +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_std_atomic.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/operator_bool.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +116 -10
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +15 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_clang.hpp +140 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +16 -15
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +137 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +21 -4
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_disable_deprecated.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_forward.hpp +13 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_if_array.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_nullptr_t.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +83 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/yield_k.hpp +30 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +80 -169
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +121 -118
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +54 -12
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +4 -19
- data/src/cxx_supportlib/vendor-modified/boost/swap.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/system/config.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.ipp +467 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/barrier.hpp +222 -36
- data/src/cxx_supportlib/vendor-modified/boost/thread/caller_context.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/completion_latch.hpp +4 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_adaptor.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_base.hpp +202 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/deque_views.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_adaptor.hpp +209 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_base.hpp +202 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_op_status.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/queue_views.hpp +155 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_bounded_queue.hpp +725 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_deque.hpp +327 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_priority_queue.hpp +369 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_queue.hpp +335 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/sync_timed_queue.hpp +466 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/deque.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/devector.hpp +102 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/functional.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/list.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/allocator_arg.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/allocator_traits.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/config.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/default_delete.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/pointer_traits.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/scoped_allocator.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/shared_ptr.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/memory/unique_ptr.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/queue.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/tuple.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/csbl/vector.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/cv_status.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/config.hpp +32 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/counter.hpp +17 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/delete.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/function_wrapper.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoke.hpp +373 -120
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/invoker.hpp +762 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/is_convertible.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/memory.hpp +11 -119
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/move.hpp +116 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/nullary_function.hpp +234 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +41 -16
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_group.hpp +4 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/variadic_footer.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/variadic_header.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/exceptional_ptr.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/exceptions.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/executor.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/basic_thread_pool.hpp +318 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/detail/priority_executor_base.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/detail/scheduled_executor_base.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor.hpp +148 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/executor_adaptor.hpp +136 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/generic_executor_ref.hpp +213 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/inline_executor.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/loop_executor.hpp +205 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduled_thread_pool.hpp +48 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduler.hpp +271 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/scheduling_adaptor.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor.hpp +216 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/serial_executor_cont.hpp +170 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/thread_executor.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/executors/work.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/config/inline_namespace.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/exception_list.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v1/exception_list.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v1/inline_namespace.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/inline_namespace.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +316 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/task_region.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/externally_locked.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +3327 -1705
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/future_error.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/{future_error_code.hpp → futures/future_error_code.hpp} +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/future_status.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/is_future_type.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/launch.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_all.hpp +74 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/futures/wait_for_any.hpp +161 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/latch.hpp +43 -15
- data/src/cxx_supportlib/vendor-modified/boost/thread/lock_types.hpp +45 -41
- data/src/cxx_supportlib/vendor-modified/boost/thread/lockable_adapter.hpp +28 -28
- data/src/cxx_supportlib/vendor-modified/boost/thread/once.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/ostream_buffer.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/poly_lockable.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable.hpp +101 -56
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/condition_variable_fwd.hpp +141 -47
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/mutex.hpp +20 -13
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/recursive_mutex.hpp +11 -8
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/thread_data.hpp +39 -10
- data/src/cxx_supportlib/vendor-modified/boost/thread/scoped_thread.hpp +15 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/shared_mutex.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/sync_bounded_queue.hpp +2 -580
- data/src/cxx_supportlib/vendor-modified/boost/thread/sync_queue.hpp +2 -502
- data/src/cxx_supportlib/vendor-modified/boost/thread/synchronized_value.hpp +78 -11
- data/src/cxx_supportlib/vendor-modified/boost/thread/testable_mutex.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/thread_pool.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/tss.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/thread/user_scheduler.hpp +202 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/thread.hpp +73 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/with_lock_guard.hpp +234 -0
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +7 -5
- data/src/cxx_supportlib/vendor-modified/boost/token_functions.hpp +3 -17
- data/src/cxx_supportlib/vendor-modified/boost/token_iterator.hpp +14 -14
- data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +14 -5
- data/src/cxx_supportlib/vendor-modified/boost/tuple/tuple.hpp +1 -24
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_const.hpp +9 -10
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_cv.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_lvalue_reference.hpp +8 -7
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_pointer.hpp +6 -17
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_reference.hpp +14 -62
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_rvalue_reference.hpp +5 -7
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/add_volatile.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/aligned_storage.hpp +134 -9
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/alignment_of.hpp +9 -18
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/{detail/wrap.hpp → alignment_traits.hpp} +7 -10
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/arithmetic_traits.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/array_traits.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/broken_compiler_spec.hpp +9 -105
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/common_type.hpp +118 -131
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/conditional.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/config.hpp +5 -60
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/copy_cv.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/decay.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/declval.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/bool_trait_def.hpp +9 -26
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/bool_trait_undef.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/common_arithmetic_type.hpp +212 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/common_type_impl.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/composite_member_pointer_type.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/composite_pointer_type.hpp +153 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/config.hpp +72 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_binary_operator.hpp +12 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_postfix_operator.hpp +12 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/has_prefix_operator.hpp +14 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/ice_and.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/ice_eq.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/ice_not.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/ice_or.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +13 -57
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_tester.hpp +13 -218
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +13 -107
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_tester.hpp +15 -974
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/mp_defer.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/template_arity_spec.hpp +6 -21
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/extent.hpp +138 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/floating_point_promotion.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/function_traits.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_bit_and.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_bit_and_assign.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_bit_or.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_bit_or_assign.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_bit_xor.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_bit_xor_assign.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_complement.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_dereference.hpp +31 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_divides.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_divides_assign.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_equal_to.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_greater.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_greater_equal.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_left_shift.hpp +19 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_left_shift_assign.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_less.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_less_equal.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_logical_and.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_logical_not.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_logical_or.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_minus_assign.hpp +65 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_modulus.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_modulus_assign.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_multiplies.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_multiplies_assign.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_negate.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_new_operator.hpp +147 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_not_equal_to.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_assign.hpp +57 -18
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_constructor.hpp +43 -24
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_copy.hpp +52 -23
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_nothrow_destructor.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_operator.hpp +51 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_plus.hpp +54 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_plus_assign.hpp +66 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_post_decrement.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_post_increment.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_pre_decrement.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_pre_increment.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_right_shift.hpp +19 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_right_shift_assign.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_assign.hpp +23 -29
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_constructor.hpp +31 -25
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_copy.hpp +34 -36
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_destructor.hpp +21 -22
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_move_assign.hpp +40 -25
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_trivial_move_constructor.hpp +45 -25
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_unary_minus.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_unary_plus.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/has_virtual_destructor.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +86 -33
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_promotion.hpp +181 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +116 -41
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_abstract.hpp +6 -10
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_arithmetic.hpp +3 -32
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_array.hpp +12 -60
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_assignable.hpp +76 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_and_derived.hpp +9 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_of.hpp +8 -20
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_base_of_tr1.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_class.hpp +17 -43
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complex.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_compound.hpp +2 -24
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_const.hpp +8 -127
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_constructible.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_convertible.hpp +94 -98
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_copy_assignable.hpp +141 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_copy_constructible.hpp +187 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_default_constructible.hpp +64 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_destructible.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_empty.hpp +8 -117
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_enum.hpp +19 -42
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_final.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_float.hpp +2 -9
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_floating_point.hpp +12 -9
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_function.hpp +9 -18
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_fundamental.hpp +2 -21
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_integral.hpp +43 -37
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_lvalue_reference.hpp +8 -76
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_function_pointer.hpp +18 -34
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_object_pointer.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_member_pointer.hpp +8 -79
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_move_assignable.hpp +32 -35
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_nothrow_move_constructible.hpp +43 -41
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_object.hpp +7 -32
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pod.hpp +14 -101
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_pointer.hpp +12 -127
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_polymorphic.hpp +122 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_reference.hpp +6 -21
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_rvalue_reference.hpp +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_same.hpp +4 -66
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_scalar.hpp +3 -31
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_signed.hpp +83 -60
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_stateless.hpp +8 -23
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_union.hpp +6 -32
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_unsigned.hpp +85 -57
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_virtual_base_of.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_void.hpp +7 -19
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_volatile.hpp +8 -115
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/make_signed.hpp +35 -57
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/make_unsigned.hpp +34 -57
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/promote.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/rank.hpp +86 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/reference_traits.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_all_extents.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_bounds.hpp +4 -31
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_const.hpp +8 -65
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_cv.hpp +13 -57
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_extent.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_pointer.hpp +8 -23
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_reference.hpp +5 -21
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/remove_volatile.hpp +7 -61
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_identity.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/type_with_alignment.hpp +101 -239
- data/src/cxx_supportlib/vendor-modified/boost/typeof/dmc/typeof_impl.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode.hpp +61 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/encode_decode_params.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/incr_registration_group.hpp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/int_encoding.hpp +118 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/integral_template_param.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/modifiers.hpp +121 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/msvc/typeof_impl.hpp +283 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/pointers_data_members.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_functions_iterate.hpp +135 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_fundamental.hpp +62 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/register_mem_functions.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/bitset.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/complex.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/deque.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/fstream.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/functional.hpp +55 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/iostream.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/istream.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/iterator.hpp +58 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/list.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/locale.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/map.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/memory.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/ostream.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/queue.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/set.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/sstream.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/stack.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/streambuf.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/string.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/utility.hpp +15 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/valarray.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/std/vector.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_encoding.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/template_template_param.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_encoding.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/type_template_param.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/typeof_impl.hpp +186 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/unsupported.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector.hpp +166 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector100.hpp +321 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector150.hpp +471 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector200.hpp +621 -0
- data/src/cxx_supportlib/vendor-modified/boost/typeof/vector50.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/allocate.hpp +42 -34
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/buckets.hpp +108 -56
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/equivalent.hpp +30 -24
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/extract_key.hpp +21 -16
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/table.hpp +45 -33
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/unique.hpp +21 -15
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/util.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +11 -6
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set_fwd.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered_map.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered_set.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/utility.hpp +21 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/addressof.hpp +11 -96
- data/src/cxx_supportlib/vendor-modified/boost/utility/base_from_member.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/binary.hpp +708 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/declval.hpp +5 -41
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_iterate.hpp +18 -5
- data/src/cxx_supportlib/vendor-modified/boost/utility/empty_deleter.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/enable_if.hpp +10 -112
- data/src/cxx_supportlib/vendor-modified/boost/utility/explicit_operator_bool.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/identity_type.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/in_place_factory.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +25 -9
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref.hpp +536 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_ref_fwd.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/swap.hpp +10 -48
- data/src/cxx_supportlib/vendor-modified/boost/utility/typed_in_place_factory.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/value_init.hpp +281 -0
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/visit_each.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/modp_b64.cpp +3 -1
- data/src/nginx_module/Configuration.c +157 -6
- data/src/nginx_module/Configuration.h +3 -1
- data/src/nginx_module/ContentHandler.c +2 -1
- data/src/nginx_module/ngx_http_passenger_module.c +27 -46
- data/src/nodejs_supportlib/phusion_passenger/log_express.js +1 -1
- data/src/ruby_supportlib/phusion_passenger.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/rack_handler.rb +102 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +20 -3
- data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +36 -3
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/standalone/start_command/nginx_engine.rb +3 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/LICENSE.md +1 -1
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core.rb +7 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/api.rb +28 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/request_reporter/misc.rb +4 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/spec_helper.rb +18 -0
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/transaction.rb +1 -10
- data/src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/version_data.rb +4 -4
- metadata +609 -62
- data/src/agent/UstRouter/DataStoreId.h +0 -184
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/output.0 +0 -15374
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/output.1 +0 -15374
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/output.2 +0 -15374
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/requests +0 -568
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/traces.0 +0 -3104
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/traces.1 +0 -3104
- data/src/cxx_supportlib/vendor-copy/libuv/autom4te.cache/traces.2 +0 -699
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/base.hpp +0 -585
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas32strong.hpp +0 -885
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas32weak.hpp +0 -947
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas64strong.hpp +0 -443
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc-alpha.hpp +0 -368
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc-armv6plus.hpp +0 -252
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc-cas.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc-ppc.hpp +0 -2850
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc-sparcv9.hpp +0 -1259
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc-x86.hpp +0 -1766
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/generic-cas.hpp +0 -206
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/linux-arm.hpp +0 -189
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type-classification.hpp +0 -45
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithms.hpp +0 -84
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/memory_util.hpp +0 -83
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/preprocessor.hpp +0 -232
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/utilities.hpp +0 -1141
- data/src/cxx_supportlib/vendor-modified/boost/detail/is_incrementable.hpp +0 -134
- data/src/cxx_supportlib/vendor-modified/boost/detail/is_xxx.hpp +0 -61
- data/src/cxx_supportlib/vendor-modified/boost/detail/limits.hpp +0 -449
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/attribute_noreturn.hpp +0 -17
- data/src/cxx_supportlib/vendor-modified/boost/indirect_reference.hpp +0 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/clear_on_destructor_base.hpp +0 -36
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/memory_util.hpp +0 -288
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/preprocessor.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/utilities.hpp +0 -858
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set_hook.hpp +0 -292
- data/src/cxx_supportlib/vendor-modified/boost/libs/atomic/lockpool.cpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/libs/system/src/local_free_on_destruction.hpp +0 -40
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/timeconv.inl +0 -151
- data/src/cxx_supportlib/vendor-modified/boost/math/common_factor_ct.hpp +0 -180
- data/src/cxx_supportlib/vendor-modified/boost/math_fwd.hpp +0 -108
- data/src/cxx_supportlib/vendor-modified/boost/parameter.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/pointee.hpp +0 -74
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/allocate_array_helper.hpp +0 -169
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/array_deleter.hpp +0 -124
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/make_array_helper.hpp +0 -157
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/async_func.hpp +0 -571
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/common_type_imp.hpp +0 -333
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/cv_traits_impl.hpp +0 -97
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/false_result.hpp +0 -28
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/size_t_trait_def.hpp +0 -60
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/size_t_trait_undef.hpp +0 -16
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/type_trait_def.hpp +0 -67
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/type_trait_undef.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/units/detail/utility.hpp +0 -104
@@ -1,7 +1,7 @@
|
|
1
1
|
/////////////////////////////////////////////////////////////////////////////
|
2
2
|
//
|
3
3
|
// (C) Copyright Olaf Krzikalla 2004-2006.
|
4
|
-
// (C) Copyright Ion Gaztanaga 2006-
|
4
|
+
// (C) Copyright Ion Gaztanaga 2006-2013
|
5
5
|
//
|
6
6
|
// Distributed under the Boost Software License, Version 1.0.
|
7
7
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
@@ -16,31 +16,26 @@
|
|
16
16
|
|
17
17
|
#include <boost/intrusive/detail/config_begin.hpp>
|
18
18
|
#include <boost/intrusive/intrusive_fwd.hpp>
|
19
|
-
|
19
|
+
|
20
20
|
#include <boost/intrusive/detail/slist_node.hpp>
|
21
21
|
#include <boost/intrusive/circular_slist_algorithms.hpp>
|
22
22
|
#include <boost/intrusive/link_mode.hpp>
|
23
23
|
#include <boost/intrusive/options.hpp>
|
24
24
|
#include <boost/intrusive/detail/generic_hook.hpp>
|
25
25
|
|
26
|
+
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
27
|
+
# pragma once
|
28
|
+
#endif
|
29
|
+
|
26
30
|
namespace boost {
|
27
31
|
namespace intrusive {
|
28
32
|
|
29
|
-
/// @cond
|
30
|
-
template<class VoidPointer>
|
31
|
-
struct get_slist_node_algo
|
32
|
-
{
|
33
|
-
typedef circular_slist_algorithms<slist_node_traits<VoidPointer> > type;
|
34
|
-
};
|
35
|
-
|
36
|
-
/// @endcond
|
37
|
-
|
38
33
|
//! Helper metafunction to define a \c slist_base_hook that yields to the same
|
39
34
|
//! type when the same options (either explicitly or implicitly) are used.
|
40
35
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
41
36
|
template<class ...Options>
|
42
37
|
#else
|
43
|
-
template<class O1 =
|
38
|
+
template<class O1 = void, class O2 = void, class O3 = void>
|
44
39
|
#endif
|
45
40
|
struct make_slist_base_hook
|
46
41
|
{
|
@@ -54,11 +49,11 @@ struct make_slist_base_hook
|
|
54
49
|
#endif
|
55
50
|
>::type packed_options;
|
56
51
|
|
57
|
-
typedef
|
58
|
-
<
|
52
|
+
typedef generic_hook
|
53
|
+
< circular_slist_algorithms<slist_node_traits<typename packed_options::void_pointer> >
|
59
54
|
, typename packed_options::tag
|
60
55
|
, packed_options::link_mode
|
61
|
-
,
|
56
|
+
, SlistBaseHookId
|
62
57
|
> implementation_defined;
|
63
58
|
/// @endcond
|
64
59
|
typedef implementation_defined type;
|
@@ -80,7 +75,7 @@ struct make_slist_base_hook
|
|
80
75
|
//! \c auto_unlink or \c safe_link).
|
81
76
|
//!
|
82
77
|
//! \c void_pointer<> is the pointer type that will be used internally in the hook
|
83
|
-
//! and the
|
78
|
+
//! and the container configured to use this hook.
|
84
79
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
85
80
|
template<class ...Options>
|
86
81
|
#else
|
@@ -168,7 +163,7 @@ class slist_base_hook
|
|
168
163
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
169
164
|
template<class ...Options>
|
170
165
|
#else
|
171
|
-
template<class O1 =
|
166
|
+
template<class O1 = void, class O2 = void, class O3 = void>
|
172
167
|
#endif
|
173
168
|
struct make_slist_member_hook
|
174
169
|
{
|
@@ -182,11 +177,11 @@ struct make_slist_member_hook
|
|
182
177
|
#endif
|
183
178
|
>::type packed_options;
|
184
179
|
|
185
|
-
typedef
|
186
|
-
<
|
180
|
+
typedef generic_hook
|
181
|
+
< circular_slist_algorithms<slist_node_traits<typename packed_options::void_pointer> >
|
187
182
|
, member_tag
|
188
183
|
, packed_options::link_mode
|
189
|
-
,
|
184
|
+
, NoBaseHookId
|
190
185
|
> implementation_defined;
|
191
186
|
/// @endcond
|
192
187
|
typedef implementation_defined type;
|
@@ -203,7 +198,7 @@ struct make_slist_member_hook
|
|
203
198
|
//! \c auto_unlink or \c safe_link).
|
204
199
|
//!
|
205
200
|
//! \c void_pointer<> is the pointer type that will be used internally in the hook
|
206
|
-
//! and the
|
201
|
+
//! and the container configured to use this hook.
|
207
202
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
208
203
|
template<class ...Options>
|
209
204
|
#else
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/////////////////////////////////////////////////////////////////////////////
|
2
2
|
//
|
3
|
-
// (C) Copyright Ion Gaztanaga 2007-
|
3
|
+
// (C) Copyright Ion Gaztanaga 2007-2014
|
4
4
|
//
|
5
5
|
// Distributed under the Boost Software License, Version 1.0.
|
6
6
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
@@ -16,8 +16,12 @@
|
|
16
16
|
#include <boost/intrusive/intrusive_fwd.hpp>
|
17
17
|
#include <boost/intrusive/splaytree.hpp>
|
18
18
|
#include <boost/intrusive/detail/mpl.hpp>
|
19
|
-
#include <boost/move/
|
20
|
-
#include <
|
19
|
+
#include <boost/move/utility_core.hpp>
|
20
|
+
#include <boost/static_assert.hpp>
|
21
|
+
|
22
|
+
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
23
|
+
# pragma once
|
24
|
+
#endif
|
21
25
|
|
22
26
|
namespace boost {
|
23
27
|
namespace intrusive {
|
@@ -36,14 +40,15 @@ namespace intrusive {
|
|
36
40
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
37
41
|
template<class T, class ...Options>
|
38
42
|
#else
|
39
|
-
template<class
|
43
|
+
template<class ValueTraits, class VoidOrKeyOfValue, class Compare, class SizeType, bool ConstantTimeSize, typename HeaderHolder>
|
40
44
|
#endif
|
41
45
|
class splay_set_impl
|
46
|
+
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
47
|
+
: public splaytree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, ConstantTimeSize, HeaderHolder>
|
48
|
+
#endif
|
42
49
|
{
|
43
50
|
/// @cond
|
44
|
-
typedef splaytree_impl<
|
45
|
-
//! This class is
|
46
|
-
//! movable
|
51
|
+
typedef splaytree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, ConstantTimeSize, HeaderHolder> tree_type;
|
47
52
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(splay_set_impl)
|
48
53
|
|
49
54
|
typedef tree_type implementation_defined;
|
@@ -51,6 +56,8 @@ class splay_set_impl
|
|
51
56
|
|
52
57
|
public:
|
53
58
|
typedef typename implementation_defined::value_type value_type;
|
59
|
+
typedef typename implementation_defined::key_type key_type;
|
60
|
+
typedef typename implementation_defined::key_of_value key_of_value;
|
54
61
|
typedef typename implementation_defined::value_traits value_traits;
|
55
62
|
typedef typename implementation_defined::pointer pointer;
|
56
63
|
typedef typename implementation_defined::const_pointer const_pointer;
|
@@ -71,1235 +78,418 @@ class splay_set_impl
|
|
71
78
|
typedef typename implementation_defined::const_node_ptr const_node_ptr;
|
72
79
|
typedef typename implementation_defined::node_algorithms node_algorithms;
|
73
80
|
|
74
|
-
static const bool constant_time_size =
|
75
|
-
|
76
|
-
/// @cond
|
77
|
-
private:
|
78
|
-
tree_type tree_;
|
79
|
-
/// @endcond
|
81
|
+
static const bool constant_time_size = tree_type::constant_time_size;
|
80
82
|
|
81
83
|
public:
|
82
|
-
//!
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
87
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
88
|
-
//! or the copy constructor of the value_compare object throws.
|
89
|
-
explicit splay_set_impl( const value_compare &cmp = value_compare()
|
90
|
-
, const value_traits &v_traits = value_traits())
|
91
|
-
: tree_(cmp, v_traits)
|
84
|
+
//! @copydoc ::boost::intrusive::splaytree::splaytree(const key_compare &,const value_traits &)
|
85
|
+
explicit splay_set_impl( const key_compare &cmp = key_compare()
|
86
|
+
, const value_traits &v_traits = value_traits())
|
87
|
+
: tree_type(cmp, v_traits)
|
92
88
|
{}
|
93
89
|
|
94
|
-
//!
|
95
|
-
//! cmp must be a comparison function that induces a strict weak ordering.
|
96
|
-
//!
|
97
|
-
//! <b>Effects</b>: Constructs an empty splay_set and inserts elements from
|
98
|
-
//! [b, e).
|
99
|
-
//!
|
100
|
-
//! <b>Complexity</b>: Linear in N if [b, e) is already sorted using
|
101
|
-
//! comp and otherwise amortized N * log N, where N is std::distance(last, first).
|
102
|
-
//!
|
103
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
104
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
105
|
-
//! or the copy constructor/operator() of the value_compare object throws.
|
90
|
+
//! @copydoc ::boost::intrusive::splaytree::splaytree(bool,Iterator,Iterator,const key_compare &,const value_traits &)
|
106
91
|
template<class Iterator>
|
107
92
|
splay_set_impl( Iterator b, Iterator e
|
108
|
-
, const
|
93
|
+
, const key_compare &cmp = key_compare()
|
109
94
|
, const value_traits &v_traits = value_traits())
|
110
|
-
:
|
95
|
+
: tree_type(true, b, e, cmp, v_traits)
|
111
96
|
{}
|
112
97
|
|
113
|
-
//!
|
114
|
-
//!
|
98
|
+
//! @copydoc ::boost::intrusive::splaytree::splaytree(splaytree &&)
|
115
99
|
splay_set_impl(BOOST_RV_REF(splay_set_impl) x)
|
116
|
-
:
|
100
|
+
: tree_type(BOOST_MOVE_BASE(tree_type, x))
|
117
101
|
{}
|
118
102
|
|
119
|
-
//!
|
120
|
-
//!
|
103
|
+
//! @copydoc ::boost::intrusive::splaytree::operator=(splaytree &&)
|
121
104
|
splay_set_impl& operator=(BOOST_RV_REF(splay_set_impl) x)
|
122
|
-
{
|
123
|
-
|
124
|
-
|
125
|
-
//!
|
126
|
-
|
127
|
-
|
128
|
-
//!
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
105
|
+
{ return static_cast<splay_set_impl&>(tree_type::operator=(BOOST_MOVE_BASE(tree_type, x))); }
|
106
|
+
|
107
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
108
|
+
//! @copydoc ::boost::intrusive::splaytree::~splaytree()
|
109
|
+
~splay_set_impl();
|
110
|
+
|
111
|
+
//! @copydoc ::boost::intrusive::splaytree::begin()
|
112
|
+
iterator begin();
|
113
|
+
|
114
|
+
//! @copydoc ::boost::intrusive::splaytree::begin()const
|
115
|
+
const_iterator begin() const;
|
116
|
+
|
117
|
+
//! @copydoc ::boost::intrusive::splaytree::cbegin()const
|
118
|
+
const_iterator cbegin() const;
|
119
|
+
|
120
|
+
//! @copydoc ::boost::intrusive::splaytree::end()
|
121
|
+
iterator end();
|
122
|
+
|
123
|
+
//! @copydoc ::boost::intrusive::splaytree::end()const
|
124
|
+
const_iterator end() const;
|
125
|
+
|
126
|
+
//! @copydoc ::boost::intrusive::splaytree::cend()const
|
127
|
+
const_iterator cend() const;
|
128
|
+
|
129
|
+
//! @copydoc ::boost::intrusive::splaytree::rbegin()
|
130
|
+
reverse_iterator rbegin();
|
133
131
|
|
134
|
-
//!
|
135
|
-
|
136
|
-
|
137
|
-
//!
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
//!
|
144
|
-
|
145
|
-
|
146
|
-
//!
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
//!
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
//!
|
159
|
-
|
160
|
-
|
161
|
-
//!
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
//!
|
168
|
-
|
169
|
-
|
170
|
-
//!
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
//!
|
177
|
-
//!
|
178
|
-
//! <b>Throws</b>: Nothing.
|
179
|
-
const_iterator cend() const
|
180
|
-
{ return tree_.cend(); }
|
181
|
-
|
182
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning of the
|
183
|
-
//! reversed splay_set.
|
184
|
-
//!
|
185
|
-
//! <b>Complexity</b>: Constant.
|
186
|
-
//!
|
187
|
-
//! <b>Throws</b>: Nothing.
|
188
|
-
reverse_iterator rbegin()
|
189
|
-
{ return tree_.rbegin(); }
|
190
|
-
|
191
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
192
|
-
//! of the reversed splay_set.
|
193
|
-
//!
|
194
|
-
//! <b>Complexity</b>: Constant.
|
195
|
-
//!
|
196
|
-
//! <b>Throws</b>: Nothing.
|
197
|
-
const_reverse_iterator rbegin() const
|
198
|
-
{ return tree_.rbegin(); }
|
199
|
-
|
200
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
201
|
-
//! of the reversed splay_set.
|
202
|
-
//!
|
203
|
-
//! <b>Complexity</b>: Constant.
|
204
|
-
//!
|
205
|
-
//! <b>Throws</b>: Nothing.
|
206
|
-
const_reverse_iterator crbegin() const
|
207
|
-
{ return tree_.crbegin(); }
|
208
|
-
|
209
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
210
|
-
//! of the reversed splay_set.
|
211
|
-
//!
|
212
|
-
//! <b>Complexity</b>: Constant.
|
213
|
-
//!
|
214
|
-
//! <b>Throws</b>: Nothing.
|
215
|
-
reverse_iterator rend()
|
216
|
-
{ return tree_.rend(); }
|
217
|
-
|
218
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
219
|
-
//! of the reversed splay_set.
|
220
|
-
//!
|
221
|
-
//! <b>Complexity</b>: Constant.
|
222
|
-
//!
|
223
|
-
//! <b>Throws</b>: Nothing.
|
224
|
-
const_reverse_iterator rend() const
|
225
|
-
{ return tree_.rend(); }
|
226
|
-
|
227
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
228
|
-
//! of the reversed splay_set.
|
229
|
-
//!
|
230
|
-
//! <b>Complexity</b>: Constant.
|
231
|
-
//!
|
232
|
-
//! <b>Throws</b>: Nothing.
|
233
|
-
const_reverse_iterator crend() const
|
234
|
-
{ return tree_.crend(); }
|
235
|
-
|
236
|
-
//! <b>Precondition</b>: end_iterator must be a valid end iterator
|
237
|
-
//! of splay_set.
|
238
|
-
//!
|
239
|
-
//! <b>Effects</b>: Returns a const reference to the splay_set associated to the end iterator
|
240
|
-
//!
|
241
|
-
//! <b>Throws</b>: Nothing.
|
242
|
-
//!
|
243
|
-
//! <b>Complexity</b>: Constant.
|
244
|
-
static splay_set_impl &container_from_end_iterator(iterator end_iterator)
|
245
|
-
{
|
246
|
-
return *detail::parent_from_member<splay_set_impl, tree_type>
|
247
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
248
|
-
, &splay_set_impl::tree_);
|
249
|
-
}
|
250
|
-
|
251
|
-
//! <b>Precondition</b>: end_iterator must be a valid end const_iterator
|
252
|
-
//! of splay_set.
|
253
|
-
//!
|
254
|
-
//! <b>Effects</b>: Returns a const reference to the splay_set associated to the end iterator
|
255
|
-
//!
|
256
|
-
//! <b>Throws</b>: Nothing.
|
257
|
-
//!
|
258
|
-
//! <b>Complexity</b>: Constant.
|
259
|
-
static const splay_set_impl &container_from_end_iterator(const_iterator end_iterator)
|
260
|
-
{
|
261
|
-
return *detail::parent_from_member<splay_set_impl, tree_type>
|
262
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
263
|
-
, &splay_set_impl::tree_);
|
264
|
-
}
|
265
|
-
|
266
|
-
//! <b>Precondition</b>: it must be a valid iterator of set.
|
267
|
-
//!
|
268
|
-
//! <b>Effects</b>: Returns a reference to the set associated to the iterator
|
269
|
-
//!
|
270
|
-
//! <b>Throws</b>: Nothing.
|
271
|
-
//!
|
272
|
-
//! <b>Complexity</b>: Constant.
|
273
|
-
static splay_set_impl &container_from_iterator(iterator it)
|
274
|
-
{
|
275
|
-
return *detail::parent_from_member<splay_set_impl, tree_type>
|
276
|
-
( &tree_type::container_from_iterator(it)
|
277
|
-
, &splay_set_impl::tree_);
|
278
|
-
}
|
279
|
-
|
280
|
-
//! <b>Precondition</b>: it must be a valid const_iterator of set.
|
281
|
-
//!
|
282
|
-
//! <b>Effects</b>: Returns a const reference to the set associated to the iterator
|
283
|
-
//!
|
284
|
-
//! <b>Throws</b>: Nothing.
|
285
|
-
//!
|
286
|
-
//! <b>Complexity</b>: Logarithmic.
|
287
|
-
static const splay_set_impl &container_from_iterator(const_iterator it)
|
288
|
-
{
|
289
|
-
return *detail::parent_from_member<splay_set_impl, tree_type>
|
290
|
-
( &tree_type::container_from_iterator(it)
|
291
|
-
, &splay_set_impl::tree_);
|
292
|
-
}
|
293
|
-
|
294
|
-
//! <b>Effects</b>: Returns the key_compare object used by the splay_set.
|
295
|
-
//!
|
296
|
-
//! <b>Complexity</b>: Constant.
|
297
|
-
//!
|
298
|
-
//! <b>Throws</b>: If key_compare copy-constructor throws.
|
299
|
-
key_compare key_comp() const
|
300
|
-
{ return tree_.value_comp(); }
|
301
|
-
|
302
|
-
//! <b>Effects</b>: Returns the value_compare object used by the splay_set.
|
303
|
-
//!
|
304
|
-
//! <b>Complexity</b>: Constant.
|
305
|
-
//!
|
306
|
-
//! <b>Throws</b>: If value_compare copy-constructor throws.
|
307
|
-
value_compare value_comp() const
|
308
|
-
{ return tree_.value_comp(); }
|
309
|
-
|
310
|
-
//! <b>Effects</b>: Returns true if the container is empty.
|
311
|
-
//!
|
312
|
-
//! <b>Complexity</b>: Constant.
|
313
|
-
//!
|
314
|
-
//! <b>Throws</b>: Nothing.
|
315
|
-
bool empty() const
|
316
|
-
{ return tree_.empty(); }
|
317
|
-
|
318
|
-
//! <b>Effects</b>: Returns the number of elements stored in the splay_set.
|
319
|
-
//!
|
320
|
-
//! <b>Complexity</b>: Linear to elements contained in *this if,
|
321
|
-
//! constant-time size option is enabled. Constant-time otherwise.
|
322
|
-
//!
|
323
|
-
//! <b>Throws</b>: Nothing.
|
324
|
-
size_type size() const
|
325
|
-
{ return tree_.size(); }
|
326
|
-
|
327
|
-
//! <b>Effects</b>: Swaps the contents of two splay_sets.
|
328
|
-
//!
|
329
|
-
//! <b>Complexity</b>: Constant.
|
330
|
-
//!
|
331
|
-
//! <b>Throws</b>: If the swap() call for the comparison functor
|
332
|
-
//! found using ADL throws. Strong guarantee.
|
333
|
-
void swap(splay_set_impl& other)
|
334
|
-
{ tree_.swap(other.tree_); }
|
335
|
-
|
336
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
337
|
-
//! Cloner should yield to nodes equivalent to the original nodes.
|
338
|
-
//!
|
339
|
-
//! <b>Effects</b>: Erases all the elements from *this
|
340
|
-
//! calling Disposer::operator()(pointer), clones all the
|
341
|
-
//! elements from src calling Cloner::operator()(const_reference )
|
342
|
-
//! and inserts them on *this. Copies the predicate from the source container.
|
343
|
-
//!
|
344
|
-
//! If cloner throws, all cloned elements are unlinked and disposed
|
345
|
-
//! calling Disposer::operator()(pointer).
|
346
|
-
//!
|
347
|
-
//! <b>Complexity</b>: Linear to erased plus inserted elements.
|
348
|
-
//!
|
349
|
-
//! <b>Throws</b>: If cloner throws or predicate copy assignment throws. Basic guarantee.
|
132
|
+
//! @copydoc ::boost::intrusive::splaytree::rbegin()const
|
133
|
+
const_reverse_iterator rbegin() const;
|
134
|
+
|
135
|
+
//! @copydoc ::boost::intrusive::splaytree::crbegin()const
|
136
|
+
const_reverse_iterator crbegin() const;
|
137
|
+
|
138
|
+
//! @copydoc ::boost::intrusive::splaytree::rend()
|
139
|
+
reverse_iterator rend();
|
140
|
+
|
141
|
+
//! @copydoc ::boost::intrusive::splaytree::rend()const
|
142
|
+
const_reverse_iterator rend() const;
|
143
|
+
|
144
|
+
//! @copydoc ::boost::intrusive::splaytree::crend()const
|
145
|
+
const_reverse_iterator crend() const;
|
146
|
+
|
147
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_end_iterator(iterator)
|
148
|
+
static splay_set_impl &container_from_end_iterator(iterator end_iterator);
|
149
|
+
|
150
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_end_iterator(const_iterator)
|
151
|
+
static const splay_set_impl &container_from_end_iterator(const_iterator end_iterator);
|
152
|
+
|
153
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_iterator(iterator)
|
154
|
+
static splay_set_impl &container_from_iterator(iterator it);
|
155
|
+
|
156
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_iterator(const_iterator)
|
157
|
+
static const splay_set_impl &container_from_iterator(const_iterator it);
|
158
|
+
|
159
|
+
//! @copydoc ::boost::intrusive::splaytree::key_comp()const
|
160
|
+
key_compare key_comp() const;
|
161
|
+
|
162
|
+
//! @copydoc ::boost::intrusive::splaytree::value_comp()const
|
163
|
+
value_compare value_comp() const;
|
164
|
+
|
165
|
+
//! @copydoc ::boost::intrusive::splaytree::empty()const
|
166
|
+
bool empty() const;
|
167
|
+
|
168
|
+
//! @copydoc ::boost::intrusive::splaytree::size()const
|
169
|
+
size_type size() const;
|
170
|
+
|
171
|
+
//! @copydoc ::boost::intrusive::splaytree::swap
|
172
|
+
void swap(splay_set_impl& other);
|
173
|
+
|
174
|
+
//! @copydoc ::boost::intrusive::splaytree::clone_from(const splaytree&,Cloner,Disposer)
|
350
175
|
template <class Cloner, class Disposer>
|
351
|
-
void clone_from(const splay_set_impl &src, Cloner cloner, Disposer disposer)
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
//!
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
//!
|
365
|
-
//!
|
366
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Strong guarantee.
|
367
|
-
//!
|
368
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
369
|
-
//! No copy-constructors are called.
|
176
|
+
void clone_from(const splay_set_impl &src, Cloner cloner, Disposer disposer);
|
177
|
+
|
178
|
+
#else
|
179
|
+
|
180
|
+
using tree_type::clone_from;
|
181
|
+
|
182
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
183
|
+
|
184
|
+
//! @copydoc ::boost::intrusive::splaytree::clone_from(splaytree&&,Cloner,Disposer)
|
185
|
+
template <class Cloner, class Disposer>
|
186
|
+
void clone_from(BOOST_RV_REF(splay_set_impl) src, Cloner cloner, Disposer disposer)
|
187
|
+
{ tree_type::clone_from(BOOST_MOVE_BASE(tree_type, src), cloner, disposer); }
|
188
|
+
|
189
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_unique(reference)
|
370
190
|
std::pair<iterator, bool> insert(reference value)
|
371
|
-
{ return
|
372
|
-
|
373
|
-
//!
|
374
|
-
//!
|
375
|
-
//! <b>Effects</b>: Tries to to insert x into the splay_set, using "hint"
|
376
|
-
//! as a hint to where it will be inserted.
|
377
|
-
//!
|
378
|
-
//! <b>Returns</b>: An iterator that points to the position where the
|
379
|
-
//! new element was inserted into the splay_set.
|
380
|
-
//!
|
381
|
-
//! <b>Complexity</b>: Amortized logarithmic in general, but it's amortized
|
382
|
-
//! constant time if t is inserted immediately before hint.
|
383
|
-
//!
|
384
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Strong guarantee.
|
385
|
-
//!
|
386
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
387
|
-
//! No copy-constructors are called.
|
191
|
+
{ return tree_type::insert_unique(value); }
|
192
|
+
|
193
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_unique(const_iterator,reference)
|
388
194
|
iterator insert(const_iterator hint, reference value)
|
389
|
-
{ return
|
390
|
-
|
391
|
-
//!
|
392
|
-
|
393
|
-
//! key_value_comp compares an arbitrary key with the contained values.
|
394
|
-
//!
|
395
|
-
//! <b>Effects</b>: Checks if a value can be inserted in the splay_set, using
|
396
|
-
//! a user provided key instead of the value itself.
|
397
|
-
//!
|
398
|
-
//! <b>Returns</b>: If there is an equivalent value
|
399
|
-
//! returns a pair containing an iterator to the already present value
|
400
|
-
//! and false. If the value can be inserted returns true in the returned
|
401
|
-
//! pair boolean and fills "commit_data" that is meant to be used with
|
402
|
-
//! the "insert_commit" function.
|
403
|
-
//!
|
404
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
405
|
-
//!
|
406
|
-
//! <b>Throws</b>: If the key_value_comp ordering function throws. Strong guarantee.
|
407
|
-
//!
|
408
|
-
//! <b>Notes</b>: This function is used to improve performance when constructing
|
409
|
-
//! a value_type is expensive: if there is an equivalent value
|
410
|
-
//! the constructed object must be discarded. Many times, the part of the
|
411
|
-
//! node that is used to impose the order is much cheaper to construct
|
412
|
-
//! than the value_type and this function offers the possibility to use that
|
413
|
-
//! part to check if the insertion will be successful.
|
414
|
-
//!
|
415
|
-
//! If the check is successful, the user can construct the value_type and use
|
416
|
-
//! "insert_commit" to insert the object in constant-time. This gives a total
|
417
|
-
//! logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).
|
418
|
-
//!
|
419
|
-
//! "commit_data" remains valid for a subsequent "insert_commit" only if no more
|
420
|
-
//! objects are inserted or erased from the splay_set.
|
421
|
-
template<class KeyType, class KeyValueCompare>
|
195
|
+
{ return tree_type::insert_unique(hint, value); }
|
196
|
+
|
197
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_unique_check(const KeyType&,KeyTypeKeyCompare,insert_commit_data&)
|
198
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
422
199
|
std::pair<iterator, bool> insert_check
|
423
|
-
(const KeyType &key,
|
424
|
-
{ return
|
425
|
-
|
426
|
-
//!
|
427
|
-
|
428
|
-
//! key_value_comp compares an arbitrary key with the contained values.
|
429
|
-
//!
|
430
|
-
//! <b>Effects</b>: Checks if a value can be inserted in the splay_set, using
|
431
|
-
//! a user provided key instead of the value itself, using "hint"
|
432
|
-
//! as a hint to where it will be inserted.
|
433
|
-
//!
|
434
|
-
//! <b>Returns</b>: If there is an equivalent value
|
435
|
-
//! returns a pair containing an iterator to the already present value
|
436
|
-
//! and false. If the value can be inserted returns true in the returned
|
437
|
-
//! pair boolean and fills "commit_data" that is meant to be used with
|
438
|
-
//! the "insert_commit" function.
|
439
|
-
//!
|
440
|
-
//! <b>Complexity</b>: Amortized logarithmic in general, but it's amortized
|
441
|
-
//! constant time if t is inserted immediately before hint.
|
442
|
-
//!
|
443
|
-
//! <b>Throws</b>: If the key_value_comp ordering function throws. Strong guarantee.
|
444
|
-
//!
|
445
|
-
//! <b>Notes</b>: This function is used to improve performance when constructing
|
446
|
-
//! a value_type is expensive: if there is an equivalent value
|
447
|
-
//! the constructed object must be discarded. Many times, the part of the
|
448
|
-
//! constructing that is used to impose the order is much cheaper to construct
|
449
|
-
//! than the value_type and this function offers the possibility to use that key
|
450
|
-
//! to check if the insertion will be successful.
|
451
|
-
//!
|
452
|
-
//! If the check is successful, the user can construct the value_type and use
|
453
|
-
//! "insert_commit" to insert the object in constant-time. This can give a total
|
454
|
-
//! constant-time complexity to the insertion: check(O(1)) + commit(O(1)).
|
455
|
-
//!
|
456
|
-
//! "commit_data" remains valid for a subsequent "insert_commit" only if no more
|
457
|
-
//! objects are inserted or erased from the splay_set.
|
458
|
-
template<class KeyType, class KeyValueCompare>
|
200
|
+
(const KeyType &key, KeyTypeKeyCompare comp, insert_commit_data &commit_data)
|
201
|
+
{ return tree_type::insert_unique_check(key, comp, commit_data); }
|
202
|
+
|
203
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_unique_check(const_iterator,const KeyType&,KeyTypeKeyCompare,insert_commit_data&)
|
204
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
459
205
|
std::pair<iterator, bool> insert_check
|
460
206
|
(const_iterator hint, const KeyType &key
|
461
|
-
,
|
462
|
-
{ return
|
463
|
-
|
464
|
-
//!
|
465
|
-
//! must have been obtained from a previous call to "insert_check".
|
466
|
-
//! No objects should have been inserted or erased from the splay_set between
|
467
|
-
//! the "insert_check" that filled "commit_data" and the call to "insert_commit".
|
468
|
-
//!
|
469
|
-
//! <b>Effects</b>: Inserts the value in the splay_set using the information obtained
|
470
|
-
//! from the "commit_data" that a previous "insert_check" filled.
|
471
|
-
//!
|
472
|
-
//! <b>Returns</b>: An iterator to the newly inserted object.
|
473
|
-
//!
|
474
|
-
//! <b>Complexity</b>: Constant time.
|
475
|
-
//!
|
476
|
-
//! <b>Throws</b>: Nothing.
|
477
|
-
//!
|
478
|
-
//! <b>Notes</b>: This function has only sense if a "insert_check" has been
|
479
|
-
//! previously executed to fill "commit_data". No value should be inserted or
|
480
|
-
//! erased between the "insert_check" and "insert_commit" calls.
|
481
|
-
iterator insert_commit(reference value, const insert_commit_data &commit_data)
|
482
|
-
{ return tree_.insert_unique_commit(value, commit_data); }
|
483
|
-
|
484
|
-
//! <b>Requires</b>: Dereferencing iterator must yield an lvalue
|
485
|
-
//! of type value_type.
|
486
|
-
//!
|
487
|
-
//! <b>Effects</b>: Inserts a range into the splay_set.
|
488
|
-
//!
|
489
|
-
//! <b>Complexity</b>: Insert range is amortized O(N * log(N)), where N is the
|
490
|
-
//! size of the range. However, it is linear in N if the range is already sorted
|
491
|
-
//! by value_comp().
|
492
|
-
//!
|
493
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
494
|
-
//!
|
495
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
496
|
-
//! No copy-constructors are called.
|
207
|
+
,KeyTypeKeyCompare comp, insert_commit_data &commit_data)
|
208
|
+
{ return tree_type::insert_unique_check(hint, key, comp, commit_data); }
|
209
|
+
|
210
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_unique(Iterator,Iterator)
|
497
211
|
template<class Iterator>
|
498
212
|
void insert(Iterator b, Iterator e)
|
499
|
-
{
|
500
|
-
|
501
|
-
//!
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
//!
|
507
|
-
|
508
|
-
|
509
|
-
//!
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
//!
|
516
|
-
|
517
|
-
|
518
|
-
//!
|
519
|
-
|
520
|
-
|
521
|
-
//!
|
522
|
-
|
523
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
524
|
-
//! to the erased elements. No destructors are called.
|
525
|
-
iterator erase(const_iterator b, const_iterator e)
|
526
|
-
{ return tree_.erase(b, e); }
|
527
|
-
|
528
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
529
|
-
//!
|
530
|
-
//! <b>Returns</b>: The number of erased elements.
|
531
|
-
//!
|
532
|
-
//! <b>Complexity</b>: Amortized O(log(size()) + this->count(value)).
|
533
|
-
//!
|
534
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
535
|
-
//!
|
536
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
537
|
-
//! to the erased elements. No destructors are called.
|
538
|
-
size_type erase(const_reference value)
|
539
|
-
{ return tree_.erase(value); }
|
540
|
-
|
541
|
-
//! <b>Effects</b>: Erases all the elements that compare equal with
|
542
|
-
//! the given key and the given comparison functor.
|
543
|
-
//!
|
544
|
-
//! <b>Returns</b>: The number of erased elements.
|
545
|
-
//!
|
546
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(key, comp)).
|
547
|
-
//!
|
548
|
-
//! <b>Throws</b>: If the comp ordering function throws. Basic guarantee.
|
549
|
-
//!
|
550
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
551
|
-
//! to the erased elements. No destructors are called.
|
552
|
-
template<class KeyType, class KeyValueCompare>
|
553
|
-
size_type erase(const KeyType& key, KeyValueCompare comp
|
554
|
-
/// @cond
|
555
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
556
|
-
/// @endcond
|
557
|
-
)
|
558
|
-
{ return tree_.erase(key, comp); }
|
559
|
-
|
560
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
561
|
-
//!
|
562
|
-
//! <b>Effects</b>: Erases the element pointed to by pos.
|
563
|
-
//! Disposer::operator()(pointer) is called for the removed element.
|
564
|
-
//!
|
565
|
-
//! <b>Complexity</b>: Average complexity for erase element is constant time.
|
566
|
-
//!
|
567
|
-
//! <b>Returns</b>: An iterator to the element after the erased element.
|
568
|
-
//!
|
569
|
-
//! <b>Throws</b>: Nothing.
|
570
|
-
//!
|
571
|
-
//! <b>Note</b>: Invalidates the iterators
|
572
|
-
//! to the erased elements.
|
573
|
-
template<class Disposer>
|
574
|
-
iterator erase_and_dispose(const_iterator i, Disposer disposer)
|
575
|
-
{ return tree_.erase_and_dispose(i, disposer); }
|
213
|
+
{ tree_type::insert_unique(b, e); }
|
214
|
+
|
215
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_unique_commit
|
216
|
+
iterator insert_commit(reference value, const insert_commit_data &commit_data)
|
217
|
+
{ return tree_type::insert_unique_commit(value, commit_data); }
|
218
|
+
|
219
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
220
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_before
|
221
|
+
iterator insert_before(const_iterator pos, reference value);
|
222
|
+
|
223
|
+
//! @copydoc ::boost::intrusive::splaytree::push_back
|
224
|
+
void push_back(reference value);
|
225
|
+
|
226
|
+
//! @copydoc ::boost::intrusive::splaytree::push_front
|
227
|
+
void push_front(reference value);
|
228
|
+
|
229
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const_iterator)
|
230
|
+
iterator erase(const_iterator i);
|
231
|
+
|
232
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const_iterator,const_iterator)
|
233
|
+
iterator erase(const_iterator b, const_iterator e);
|
234
|
+
|
235
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const key_type &)
|
236
|
+
size_type erase(const key_type &key);
|
576
237
|
|
577
|
-
|
238
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const KeyType&,KeyTypeKeyCompare)
|
239
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
240
|
+
size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
|
241
|
+
|
242
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const_iterator,Disposer)
|
578
243
|
template<class Disposer>
|
579
|
-
iterator erase_and_dispose(
|
580
|
-
{ return this->erase_and_dispose(const_iterator(i), disposer); }
|
581
|
-
#endif
|
244
|
+
iterator erase_and_dispose(const_iterator i, Disposer disposer);
|
582
245
|
|
583
|
-
//!
|
584
|
-
//!
|
585
|
-
//! <b>Effects</b>: Erases the range pointed to by b end e.
|
586
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
587
|
-
//!
|
588
|
-
//! <b>Complexity</b>: Average complexity for erase range is at most
|
589
|
-
//! O(log(size() + N)), where N is the number of elements in the range.
|
590
|
-
//!
|
591
|
-
//! <b>Returns</b>: An iterator to the element after the erased elements.
|
592
|
-
//!
|
593
|
-
//! <b>Throws</b>: Nothing.
|
594
|
-
//!
|
595
|
-
//! <b>Note</b>: Invalidates the iterators
|
596
|
-
//! to the erased elements.
|
246
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const_iterator,const_iterator,Disposer)
|
597
247
|
template<class Disposer>
|
598
|
-
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer)
|
599
|
-
|
600
|
-
|
601
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
602
|
-
//!
|
603
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
604
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
605
|
-
//!
|
606
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
607
|
-
//!
|
608
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(value)). Basic guarantee.
|
609
|
-
//!
|
610
|
-
//! <b>Throws</b>: Nothing.
|
611
|
-
//!
|
612
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
613
|
-
//! to the erased elements. No destructors are called.
|
248
|
+
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer);
|
249
|
+
|
250
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const key_type &, Disposer)
|
614
251
|
template<class Disposer>
|
615
|
-
size_type erase_and_dispose(
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
//!
|
622
|
-
|
623
|
-
|
624
|
-
//!
|
625
|
-
//!
|
626
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(key, comp)).
|
627
|
-
//!
|
628
|
-
//! <b>Throws</b>: If comp ordering function throws. Basic guarantee.
|
629
|
-
//!
|
630
|
-
//! <b>Note</b>: Invalidates the iterators
|
631
|
-
//! to the erased elements.
|
632
|
-
template<class KeyType, class KeyValueCompare, class Disposer>
|
633
|
-
size_type erase_and_dispose(const KeyType& key, KeyValueCompare comp, Disposer disposer
|
634
|
-
/// @cond
|
635
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
636
|
-
/// @endcond
|
637
|
-
)
|
638
|
-
{ return tree_.erase_and_dispose(key, comp, disposer); }
|
639
|
-
|
640
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
641
|
-
//!
|
642
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
643
|
-
//! if it's a safe-mode or auto-unlink value_type. Constant time otherwise.
|
644
|
-
//!
|
645
|
-
//! <b>Throws</b>: Nothing.
|
646
|
-
//!
|
647
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
648
|
-
//! to the erased elements. No destructors are called.
|
649
|
-
void clear()
|
650
|
-
{ return tree_.clear(); }
|
651
|
-
|
652
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
653
|
-
//!
|
654
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
655
|
-
//!
|
656
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
657
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
658
|
-
//!
|
659
|
-
//! <b>Throws</b>: Nothing.
|
660
|
-
//!
|
661
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
662
|
-
//! to the erased elements. No destructors are called.
|
252
|
+
size_type erase_and_dispose(const key_type &key, Disposer disposer);
|
253
|
+
|
254
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const KeyType&,KeyTypeKeyCompare,Disposer)
|
255
|
+
template<class KeyType, class KeyTypeKeyCompare, class Disposer>
|
256
|
+
size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
|
257
|
+
|
258
|
+
//! @copydoc ::boost::intrusive::splaytree::clear
|
259
|
+
void clear();
|
260
|
+
|
261
|
+
//! @copydoc ::boost::intrusive::splaytree::clear_and_dispose
|
663
262
|
template<class Disposer>
|
664
|
-
void clear_and_dispose(Disposer disposer)
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
//!
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
//!
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
//!
|
680
|
-
|
681
|
-
|
682
|
-
//!
|
683
|
-
template<class KeyType, class
|
684
|
-
size_type count(const KeyType& key,
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
//!
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
//!
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
//!
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
//!
|
708
|
-
|
709
|
-
|
710
|
-
//!
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
//!
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
//!
|
722
|
-
|
723
|
-
|
724
|
-
//!
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
//!
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
//!
|
740
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
741
|
-
const_iterator lower_bound_dont_splay(const_reference value) const
|
742
|
-
{ return tree_.lower_bound_dont_splay(value); }
|
743
|
-
|
744
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
745
|
-
//! value_compare. Usually key is the part of the value_type
|
746
|
-
//! that is used in the ordering functor.
|
747
|
-
//!
|
748
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
749
|
-
//! key according to the comparison functor is not less than k or
|
750
|
-
//! end() if that element does not exist.
|
751
|
-
//!
|
752
|
-
//! <b>Complexity</b>: Logarithmic.
|
753
|
-
//!
|
754
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
755
|
-
//!
|
756
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
757
|
-
//! is expensive and the value_type can be compared with a cheaper
|
758
|
-
//! key type. Usually this key is part of the value_type.
|
759
|
-
template<class KeyType, class KeyValueCompare>
|
760
|
-
const_iterator lower_bound_dont_splay(const KeyType& key, KeyValueCompare comp) const
|
761
|
-
{ return tree_.lower_bound_dont_splay(key, comp); }
|
762
|
-
|
763
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
764
|
-
//! key is greater than k or end() if that element does not exist.
|
765
|
-
//!
|
766
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
767
|
-
//!
|
768
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
769
|
-
iterator upper_bound(const_reference value)
|
770
|
-
{ return tree_.upper_bound(value); }
|
771
|
-
|
772
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
773
|
-
//! value_compare. Usually key is the part of the value_type
|
774
|
-
//! that is used in the ordering functor.
|
775
|
-
//!
|
776
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
777
|
-
//! key according to the comparison functor is greater than key or
|
778
|
-
//! end() if that element does not exist.
|
779
|
-
//!
|
780
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
781
|
-
//!
|
782
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
783
|
-
//!
|
784
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
785
|
-
//! is expensive and the value_type can be compared with a cheaper
|
786
|
-
//! key type. Usually this key is part of the value_type.
|
787
|
-
template<class KeyType, class KeyValueCompare>
|
788
|
-
iterator upper_bound(const KeyType& key, KeyValueCompare comp)
|
789
|
-
{ return tree_.upper_bound(key, comp); }
|
790
|
-
|
791
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
792
|
-
//! key is greater than k or end() if that element does not exist.
|
793
|
-
//!
|
794
|
-
//! <b>Complexity</b>: Logarithmic.
|
795
|
-
//!
|
796
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
797
|
-
const_iterator upper_bound_dont_splay(const_reference value) const
|
798
|
-
{ return tree_.upper_bound_dont_splay(value); }
|
799
|
-
|
800
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
801
|
-
//! value_compare. Usually key is the part of the value_type
|
802
|
-
//! that is used in the ordering functor.
|
803
|
-
//!
|
804
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
805
|
-
//! key according to the comparison functor is greater than key or
|
806
|
-
//! end() if that element does not exist.
|
807
|
-
//!
|
808
|
-
//! <b>Complexity</b>: Logarithmic.
|
809
|
-
//!
|
810
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
811
|
-
//!
|
812
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
813
|
-
//! is expensive and the value_type can be compared with a cheaper
|
814
|
-
//! key type. Usually this key is part of the value_type.
|
815
|
-
template<class KeyType, class KeyValueCompare>
|
816
|
-
const_iterator upper_bound_dont_splay(const KeyType& key, KeyValueCompare comp) const
|
817
|
-
{ return tree_.upper_bound_dont_splay(key, comp); }
|
818
|
-
|
819
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose value is
|
820
|
-
//! "value" or end() if that element does not exist.
|
821
|
-
//!
|
822
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
823
|
-
//!
|
824
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
825
|
-
iterator find(const_reference value)
|
826
|
-
{ return tree_.find(value); }
|
827
|
-
|
828
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
829
|
-
//! value_compare. Usually key is the part of the value_type
|
830
|
-
//! that is used in the ordering functor.
|
831
|
-
//!
|
832
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose key is
|
833
|
-
//! "key" according to the comparison functor or end() if that element
|
834
|
-
//! does not exist.
|
835
|
-
//!
|
836
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
837
|
-
//!
|
838
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
839
|
-
//!
|
840
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
841
|
-
//! is expensive and the value_type can be compared with a cheaper
|
842
|
-
//! key type. Usually this key is part of the value_type.
|
843
|
-
template<class KeyType, class KeyValueCompare>
|
844
|
-
iterator find(const KeyType& key, KeyValueCompare comp)
|
845
|
-
{ return tree_.find(key, comp); }
|
846
|
-
|
847
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose value is
|
848
|
-
//! "value" or end() if that element does not exist.
|
849
|
-
//!
|
850
|
-
//! <b>Complexity</b>: Logarithmic.
|
851
|
-
//!
|
852
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
853
|
-
const_iterator find_dont_splay(const_reference value) const
|
854
|
-
{ return tree_.find_dont_splay(value); }
|
855
|
-
|
856
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
857
|
-
//! value_compare. Usually key is the part of the value_type
|
858
|
-
//! that is used in the ordering functor.
|
859
|
-
//!
|
860
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose key is
|
861
|
-
//! "key" according to the comparison functor or end() if that element
|
862
|
-
//! does not exist.
|
863
|
-
//!
|
864
|
-
//! <b>Complexity</b>: Logarithmic.
|
865
|
-
//!
|
866
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
867
|
-
//!
|
868
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
869
|
-
//! is expensive and the value_type can be compared with a cheaper
|
870
|
-
//! key type. Usually this key is part of the value_type.
|
871
|
-
template<class KeyType, class KeyValueCompare>
|
872
|
-
const_iterator find_dont_splay(const KeyType& key, KeyValueCompare comp) const
|
873
|
-
{ return tree_.find_dont_splay(key, comp); }
|
874
|
-
|
875
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
876
|
-
//! an empty range that indicates the position where those elements would be
|
877
|
-
//! if they there is no elements with key k.
|
878
|
-
//!
|
879
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
880
|
-
//!
|
881
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
882
|
-
std::pair<iterator,iterator> equal_range(const_reference value)
|
883
|
-
{ return tree_.equal_range(value); }
|
884
|
-
|
885
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
886
|
-
//! value_compare. Usually key is the part of the value_type
|
887
|
-
//! that is used in the ordering functor.
|
888
|
-
//!
|
889
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
890
|
-
//! according to the comparison functor or an empty range
|
891
|
-
//! that indicates the position where those elements would be
|
892
|
-
//! if they there is no elements with key k.
|
893
|
-
//!
|
894
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
895
|
-
//!
|
896
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
897
|
-
//!
|
898
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
899
|
-
//! is expensive and the value_type can be compared with a cheaper
|
900
|
-
//! key type. Usually this key is part of the value_type.
|
901
|
-
template<class KeyType, class KeyValueCompare>
|
902
|
-
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyValueCompare comp)
|
903
|
-
{ return tree_.equal_range(key, comp); }
|
904
|
-
|
905
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
906
|
-
//! an empty range that indicates the position where those elements would be
|
907
|
-
//! if they there is no elements with key k.
|
908
|
-
//!
|
909
|
-
//! <b>Complexity</b>: Logarithmic.
|
910
|
-
//!
|
911
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
263
|
+
void clear_and_dispose(Disposer disposer);
|
264
|
+
|
265
|
+
#endif // #ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
266
|
+
|
267
|
+
//! @copydoc ::boost::intrusive::splaytree::count(const key_type &)const
|
268
|
+
size_type count(const key_type &key) const
|
269
|
+
{ return static_cast<size_type>(this->tree_type::find(key) != this->tree_type::cend()); }
|
270
|
+
|
271
|
+
//! @copydoc ::boost::intrusive::splaytree::count(const KeyType&,KeyTypeKeyCompare)const
|
272
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
273
|
+
size_type count(const KeyType& key, KeyTypeKeyCompare comp) const
|
274
|
+
{ return static_cast<size_type>(this->tree_type::find(key, comp) != this->tree_type::cend()); }
|
275
|
+
|
276
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
277
|
+
|
278
|
+
//! @copydoc ::boost::intrusive::splaytree::count(const key_type &)const
|
279
|
+
size_type count(const key_type &key) const;
|
280
|
+
|
281
|
+
//! @copydoc ::boost::intrusive::splaytree::count(const KeyType&,KeyTypeKeyCompare)const
|
282
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
283
|
+
size_type count(const KeyType& key, KeyTypeKeyCompare comp) const;
|
284
|
+
|
285
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const key_type &)
|
286
|
+
iterator lower_bound(const key_type &key);
|
287
|
+
|
288
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const KeyType&,KeyTypeKeyCompare)
|
289
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
290
|
+
iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
291
|
+
|
292
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const key_type &)const
|
293
|
+
const_iterator lower_bound(const key_type &key) const;
|
294
|
+
|
295
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const KeyType&,KeyTypeKeyCompare)const
|
296
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
297
|
+
const_iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
298
|
+
|
299
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const key_type &)
|
300
|
+
iterator upper_bound(const key_type &key);
|
301
|
+
|
302
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const KeyType&,KeyTypeKeyCompare)
|
303
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
304
|
+
iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
305
|
+
|
306
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const key_type &)const
|
307
|
+
const_iterator upper_bound(const key_type &key) const;
|
308
|
+
|
309
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const KeyType&,KeyTypeKeyCompare)const
|
310
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
311
|
+
const_iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
312
|
+
|
313
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const key_type &)
|
314
|
+
iterator find(const key_type &key);
|
315
|
+
|
316
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const KeyType&,KeyTypeKeyCompare)
|
317
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
318
|
+
iterator find(const KeyType& key, KeyTypeKeyCompare comp);
|
319
|
+
|
320
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const key_type &)const
|
321
|
+
const_iterator find(const key_type &key) const;
|
322
|
+
|
323
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const KeyType&,KeyTypeKeyCompare)const
|
324
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
325
|
+
const_iterator find(const KeyType& key, KeyTypeKeyCompare comp) const;
|
326
|
+
|
327
|
+
#endif // #ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
328
|
+
|
329
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const key_type &)
|
330
|
+
std::pair<iterator,iterator> equal_range(const key_type &key)
|
331
|
+
{ return this->tree_type::lower_bound_range(key); }
|
332
|
+
|
333
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const KeyType&,KeyTypeKeyCompare)
|
334
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
335
|
+
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyTypeKeyCompare comp)
|
336
|
+
{ return this->tree_type::equal_range(key, comp); }
|
337
|
+
|
338
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const key_type &)const
|
912
339
|
std::pair<const_iterator, const_iterator>
|
913
|
-
|
914
|
-
{ return
|
915
|
-
|
916
|
-
//!
|
917
|
-
|
918
|
-
//! that is used in the ordering functor.
|
919
|
-
//!
|
920
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
921
|
-
//! according to the comparison functor or an empty range
|
922
|
-
//! that indicates the position where those elements would be
|
923
|
-
//! if they there is no elements with key k.
|
924
|
-
//!
|
925
|
-
//! <b>Complexity</b>: Logarithmic.
|
926
|
-
//!
|
927
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
928
|
-
//!
|
929
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
930
|
-
//! is expensive and the value_type can be compared with a cheaper
|
931
|
-
//! key type. Usually this key is part of the value_type.
|
932
|
-
template<class KeyType, class KeyValueCompare>
|
340
|
+
equal_range(const key_type &key) const
|
341
|
+
{ return this->tree_type::lower_bound_range(key); }
|
342
|
+
|
343
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const KeyType&,KeyTypeKeyCompare)const
|
344
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
933
345
|
std::pair<const_iterator, const_iterator>
|
934
|
-
|
935
|
-
{ return
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
//!
|
940
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
941
|
-
//!
|
942
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
943
|
-
//!
|
944
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
945
|
-
//!
|
946
|
-
//! <b>Complexity</b>: Logarithmic.
|
947
|
-
//!
|
948
|
-
//! <b>Throws</b>: If the predicate throws.
|
949
|
-
//!
|
950
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
951
|
-
//! and lower_bound for lower_value and upper_value.
|
346
|
+
equal_range(const KeyType& key, KeyTypeKeyCompare comp) const
|
347
|
+
{ return this->tree_type::equal_range(key, comp); }
|
348
|
+
|
349
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
350
|
+
|
351
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const key_type&,const key_type&,bool,bool)
|
952
352
|
std::pair<iterator,iterator> bounded_range
|
953
|
-
(
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
//! ordering compatible with the strict weak ordering used to create the
|
958
|
-
//! the tree.
|
959
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
960
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
961
|
-
//!
|
962
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
963
|
-
//!
|
964
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
965
|
-
//!
|
966
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
967
|
-
//!
|
968
|
-
//! <b>Complexity</b>: Logarithmic.
|
969
|
-
//!
|
970
|
-
//! <b>Throws</b>: If "comp" throws.
|
971
|
-
//!
|
972
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
973
|
-
//! and lower_bound for lower_key and upper_key.
|
974
|
-
template<class KeyType, class KeyValueCompare>
|
353
|
+
(const key_type &lower_key, const key_type &upper_key, bool left_closed, bool right_closed);
|
354
|
+
|
355
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)
|
356
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
975
357
|
std::pair<iterator,iterator> bounded_range
|
976
|
-
(const KeyType& lower_key, const KeyType& upper_key,
|
977
|
-
{ return tree_.bounded_range(lower_key, upper_key, comp, left_closed, right_closed); }
|
978
|
-
|
979
|
-
//! <b>Requires</b>: 'lower_value' must not be greater than 'upper_value'. If
|
980
|
-
//! 'lower_value' == 'upper_value', ('left_closed' || 'right_closed') must be false.
|
981
|
-
//!
|
982
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
983
|
-
//!
|
984
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
985
|
-
//!
|
986
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
987
|
-
//!
|
988
|
-
//! <b>Complexity</b>: Logarithmic.
|
989
|
-
//!
|
990
|
-
//! <b>Throws</b>: If the predicate throws.
|
991
|
-
//!
|
992
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
993
|
-
//! and lower_bound for lower_value and upper_value.
|
994
|
-
std::pair<const_iterator, const_iterator>
|
995
|
-
bounded_range_dont_splay_dont_splay
|
996
|
-
(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed) const
|
997
|
-
{ return tree_.bounded_range_dont_splay(lower_value, upper_value, left_closed, right_closed); }
|
998
|
-
|
999
|
-
//! <b>Requires</b>: KeyValueCompare is a function object that induces a strict weak
|
1000
|
-
//! ordering compatible with the strict weak ordering used to create the
|
1001
|
-
//! the tree.
|
1002
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
1003
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
1004
|
-
//!
|
1005
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
1006
|
-
//!
|
1007
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
1008
|
-
//!
|
1009
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
1010
|
-
//!
|
1011
|
-
//! <b>Complexity</b>: Logarithmic.
|
1012
|
-
//!
|
1013
|
-
//! <b>Throws</b>: If "comp" throws.
|
1014
|
-
//!
|
1015
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
1016
|
-
//! and lower_bound for lower_key and upper_key.
|
1017
|
-
template<class KeyType, class KeyValueCompare>
|
1018
|
-
std::pair<const_iterator, const_iterator>
|
1019
|
-
bounded_range_dont_splay
|
1020
|
-
(const KeyType& lower_key, const KeyType& upper_key, KeyValueCompare comp, bool left_closed, bool right_closed) const
|
1021
|
-
{ return tree_.bounded_range_dont_splay(lower_key, upper_key, comp, left_closed, right_closed); }
|
1022
|
-
|
1023
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a splay_set of
|
1024
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1025
|
-
//!
|
1026
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the splay_set
|
1027
|
-
//! that points to the value
|
1028
|
-
//!
|
1029
|
-
//! <b>Complexity</b>: Constant.
|
1030
|
-
//!
|
1031
|
-
//! <b>Throws</b>: Nothing.
|
1032
|
-
//!
|
1033
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
1034
|
-
//! is stateless.
|
1035
|
-
static iterator s_iterator_to(reference value)
|
1036
|
-
{ return tree_type::s_iterator_to(value); }
|
1037
|
-
|
1038
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a splay_set of
|
1039
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1040
|
-
//!
|
1041
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
1042
|
-
//! splay_set that points to the value
|
1043
|
-
//!
|
1044
|
-
//! <b>Complexity</b>: Constant.
|
1045
|
-
//!
|
1046
|
-
//! <b>Throws</b>: Nothing.
|
1047
|
-
//!
|
1048
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
1049
|
-
//! is stateless.
|
1050
|
-
static const_iterator s_iterator_to(const_reference value)
|
1051
|
-
{ return tree_type::s_iterator_to(value); }
|
1052
|
-
|
1053
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a splay_set of
|
1054
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1055
|
-
//!
|
1056
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the splay_set
|
1057
|
-
//! that points to the value
|
1058
|
-
//!
|
1059
|
-
//! <b>Complexity</b>: Constant.
|
1060
|
-
//!
|
1061
|
-
//! <b>Throws</b>: Nothing.
|
1062
|
-
iterator iterator_to(reference value)
|
1063
|
-
{ return tree_.iterator_to(value); }
|
1064
|
-
|
1065
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a splay_set of
|
1066
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1067
|
-
//!
|
1068
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
1069
|
-
//! splay_set that points to the value
|
1070
|
-
//!
|
1071
|
-
//! <b>Complexity</b>: Constant.
|
1072
|
-
//!
|
1073
|
-
//! <b>Throws</b>: Nothing.
|
1074
|
-
const_iterator iterator_to(const_reference value) const
|
1075
|
-
{ return tree_.iterator_to(value); }
|
1076
|
-
|
1077
|
-
//! <b>Requires</b>: value shall not be in a splay_set/multisplay_set.
|
1078
|
-
//!
|
1079
|
-
//! <b>Effects</b>: init_node puts the hook of a value in a well-known default
|
1080
|
-
//! state.
|
1081
|
-
//!
|
1082
|
-
//! <b>Throws</b>: Nothing.
|
1083
|
-
//!
|
1084
|
-
//! <b>Complexity</b>: Constant time.
|
1085
|
-
//!
|
1086
|
-
//! <b>Note</b>: This function puts the hook in the well-known default state
|
1087
|
-
//! used by auto_unlink and safe hooks.
|
1088
|
-
static void init_node(reference value)
|
1089
|
-
{ tree_type::init_node(value); }
|
1090
|
-
|
1091
|
-
//! <b>Effects</b>: Unlinks the leftmost node from the tree.
|
1092
|
-
//!
|
1093
|
-
//! <b>Complexity</b>: Average complexity is constant time.
|
1094
|
-
//!
|
1095
|
-
//! <b>Throws</b>: Nothing.
|
1096
|
-
//!
|
1097
|
-
//! <b>Notes</b>: This function breaks the tree and the tree can
|
1098
|
-
//! only be used for more unlink_leftmost_without_rebalance calls.
|
1099
|
-
//! This function is normally used to achieve a step by step
|
1100
|
-
//! controlled destruction of the tree.
|
1101
|
-
pointer unlink_leftmost_without_rebalance()
|
1102
|
-
{ return tree_.unlink_leftmost_without_rebalance(); }
|
1103
|
-
|
1104
|
-
//! <b>Requires</b>: replace_this must be a valid iterator of *this
|
1105
|
-
//! and with_this must not be inserted in any tree.
|
1106
|
-
//!
|
1107
|
-
//! <b>Effects</b>: Replaces replace_this in its position in the
|
1108
|
-
//! tree with with_this. The tree does not need to be rebalanced.
|
1109
|
-
//!
|
1110
|
-
//! <b>Complexity</b>: Constant.
|
1111
|
-
//!
|
1112
|
-
//! <b>Throws</b>: Nothing.
|
1113
|
-
//!
|
1114
|
-
//! <b>Note</b>: This function will break container ordering invariants if
|
1115
|
-
//! with_this is not equivalent to *replace_this according to the
|
1116
|
-
//! ordering rules. This function is faster than erasing and inserting
|
1117
|
-
//! the node, since no rebalancing or comparison is needed.
|
1118
|
-
void replace_node(iterator replace_this, reference with_this)
|
1119
|
-
{ tree_.replace_node(replace_this, with_this); }
|
1120
|
-
|
1121
|
-
//! <b>Requires</b>: i must be a valid iterator of *this.
|
1122
|
-
//!
|
1123
|
-
//! <b>Effects</b>: Rearranges the splay set so that the element pointed by i
|
1124
|
-
//! is placed as the root of the tree, improving future searches of this value.
|
1125
|
-
//!
|
1126
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
1127
|
-
//!
|
1128
|
-
//! <b>Throws</b>: Nothing.
|
1129
|
-
void splay_up(iterator i)
|
1130
|
-
{ tree_.splay_up(i); }
|
1131
|
-
|
1132
|
-
//! <b>Effects</b>: Rearranges the splay set so that if *this stores an element
|
1133
|
-
//! with a key equivalent to value the element is placed as the root of the
|
1134
|
-
//! tree. If the element is not present returns the last node compared with the key.
|
1135
|
-
//! If the tree is empty, end() is returned.
|
1136
|
-
//!
|
1137
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
1138
|
-
//!
|
1139
|
-
//! <b>Returns</b>: An iterator to the new root of the tree, end() if the tree is empty.
|
1140
|
-
//!
|
1141
|
-
//! <b>Throws</b>: If the comparison functor throws.
|
1142
|
-
template<class KeyType, class KeyNodePtrCompare>
|
1143
|
-
iterator splay_down(const KeyType &key, KeyNodePtrCompare comp)
|
1144
|
-
{ return tree_.splay_down(key, comp); }
|
1145
|
-
|
1146
|
-
//! <b>Effects</b>: Rearranges the splay set so that if *this stores an element
|
1147
|
-
//! with a key equivalent to value the element is placed as the root of the
|
1148
|
-
//! tree.
|
1149
|
-
//!
|
1150
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
1151
|
-
//!
|
1152
|
-
//! <b>Returns</b>: An iterator to the new root of the tree, end() if the tree is empty.
|
1153
|
-
//!
|
1154
|
-
//! <b>Throws</b>: If the predicate throws.
|
1155
|
-
iterator splay_down(const value_type &value)
|
1156
|
-
{ return tree_.splay_down(value); }
|
1157
|
-
|
1158
|
-
//! <b>Effects</b>: Rebalances the tree.
|
1159
|
-
//!
|
1160
|
-
//! <b>Throws</b>: Nothing.
|
1161
|
-
//!
|
1162
|
-
//! <b>Complexity</b>: Linear.
|
1163
|
-
void rebalance()
|
1164
|
-
{ tree_.rebalance(); }
|
1165
|
-
|
1166
|
-
//! <b>Requires</b>: old_root is a node of a tree.
|
1167
|
-
//!
|
1168
|
-
//! <b>Effects</b>: Rebalances the subtree rooted at old_root.
|
1169
|
-
//!
|
1170
|
-
//! <b>Returns</b>: The new root of the subtree.
|
1171
|
-
//!
|
1172
|
-
//! <b>Throws</b>: Nothing.
|
1173
|
-
//!
|
1174
|
-
//! <b>Complexity</b>: Linear to the elements in the subtree.
|
1175
|
-
iterator rebalance_subtree(iterator root)
|
1176
|
-
{ return tree_.rebalance_subtree(root); }
|
358
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed);
|
1177
359
|
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
360
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const key_type&,const key_type&,bool,bool)const
|
361
|
+
std::pair<const_iterator, const_iterator> bounded_range
|
362
|
+
(const key_type &lower_key, const key_type &upper_key, bool left_closed, bool right_closed) const;
|
1181
363
|
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
364
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)const
|
365
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
366
|
+
std::pair<const_iterator, const_iterator> bounded_range
|
367
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed) const;
|
368
|
+
|
369
|
+
//! @copydoc ::boost::intrusive::splaytree::s_iterator_to(reference)
|
370
|
+
static iterator s_iterator_to(reference value);
|
371
|
+
|
372
|
+
//! @copydoc ::boost::intrusive::splaytree::s_iterator_to(const_reference)
|
373
|
+
static const_iterator s_iterator_to(const_reference value);
|
374
|
+
|
375
|
+
//! @copydoc ::boost::intrusive::splaytree::iterator_to(reference)
|
376
|
+
iterator iterator_to(reference value);
|
377
|
+
|
378
|
+
//! @copydoc ::boost::intrusive::splaytree::iterator_to(const_reference)const
|
379
|
+
const_iterator iterator_to(const_reference value) const;
|
380
|
+
|
381
|
+
//! @copydoc ::boost::intrusive::splaytree::init_node(reference)
|
382
|
+
static void init_node(reference value);
|
383
|
+
|
384
|
+
//! @copydoc ::boost::intrusive::splaytree::unlink_leftmost_without_rebalance
|
385
|
+
pointer unlink_leftmost_without_rebalance();
|
386
|
+
|
387
|
+
//! @copydoc ::boost::intrusive::splaytree::replace_node
|
388
|
+
void replace_node(iterator replace_this, reference with_this);
|
389
|
+
|
390
|
+
//! @copydoc ::boost::intrusive::splaytree::remove_node
|
391
|
+
void remove_node(reference value);
|
392
|
+
|
393
|
+
//! @copydoc ::boost::intrusive::splaytree::splay_up(iterator)
|
394
|
+
void splay_up(iterator i);
|
395
|
+
|
396
|
+
//! @copydoc ::boost::intrusive::splaytree::splay_down(const KeyType&,KeyTypeKeyCompare)
|
397
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
398
|
+
iterator splay_down(const KeyType &key, KeyTypeKeyCompare comp);
|
399
|
+
|
400
|
+
//! @copydoc ::boost::intrusive::splaytree::splay_down(const key_type &key)
|
401
|
+
iterator splay_down(const key_type &key);
|
402
|
+
|
403
|
+
//! @copydoc ::boost::intrusive::splaytree::rebalance
|
404
|
+
void rebalance();
|
405
|
+
|
406
|
+
//! @copydoc ::boost::intrusive::splaytree::rebalance_subtree
|
407
|
+
iterator rebalance_subtree(iterator root);
|
408
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
1185
409
|
};
|
1186
410
|
|
1187
411
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
412
|
+
|
1188
413
|
template<class T, class ...Options>
|
1189
|
-
|
1190
|
-
template<class Config>
|
1191
|
-
#endif
|
1192
|
-
inline bool operator!=
|
1193
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1194
|
-
(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y)
|
1195
|
-
#else
|
1196
|
-
(const splay_set_impl<Config> &x, const splay_set_impl<Config> &y)
|
1197
|
-
#endif
|
1198
|
-
{ return !(x == y); }
|
414
|
+
bool operator!= (const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y);
|
1199
415
|
|
1200
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1201
416
|
template<class T, class ...Options>
|
1202
|
-
|
1203
|
-
template<class Config>
|
1204
|
-
#endif
|
1205
|
-
inline bool operator>
|
1206
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1207
|
-
(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y)
|
1208
|
-
#else
|
1209
|
-
(const splay_set_impl<Config> &x, const splay_set_impl<Config> &y)
|
1210
|
-
#endif
|
1211
|
-
{ return y < x; }
|
417
|
+
bool operator>(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y);
|
1212
418
|
|
1213
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1214
419
|
template<class T, class ...Options>
|
1215
|
-
|
1216
|
-
template<class Config>
|
1217
|
-
#endif
|
1218
|
-
inline bool operator<=
|
1219
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1220
|
-
(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y)
|
1221
|
-
#else
|
1222
|
-
(const splay_set_impl<Config> &x, const splay_set_impl<Config> &y)
|
1223
|
-
#endif
|
1224
|
-
{ return !(y < x); }
|
420
|
+
bool operator<=(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y);
|
1225
421
|
|
1226
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1227
422
|
template<class T, class ...Options>
|
1228
|
-
|
1229
|
-
template<class Config>
|
1230
|
-
#endif
|
1231
|
-
inline bool operator>=
|
1232
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1233
|
-
(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y)
|
1234
|
-
#else
|
1235
|
-
(const splay_set_impl<Config> &x, const splay_set_impl<Config> &y)
|
1236
|
-
#endif
|
1237
|
-
{ return !(x < y); }
|
423
|
+
bool operator>=(const splay_set_impl<T, Options...> &x, const splay_set_impl<T, Options...> &y);
|
1238
424
|
|
1239
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1240
425
|
template<class T, class ...Options>
|
1241
|
-
|
1242
|
-
|
1243
|
-
#endif
|
1244
|
-
inline void swap
|
1245
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1246
|
-
(splay_set_impl<T, Options...> &x, splay_set_impl<T, Options...> &y)
|
1247
|
-
#else
|
1248
|
-
(splay_set_impl<Config> &x, splay_set_impl<Config> &y)
|
1249
|
-
#endif
|
1250
|
-
{ x.swap(y); }
|
426
|
+
void swap(splay_set_impl<T, Options...> &x, splay_set_impl<T, Options...> &y);
|
427
|
+
|
428
|
+
#endif //#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1251
429
|
|
1252
430
|
//! Helper metafunction to define a \c splay_set that yields to the same type when the
|
1253
431
|
//! same options (either explicitly or implicitly) are used.
|
1254
432
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
1255
433
|
template<class T, class ...Options>
|
1256
434
|
#else
|
1257
|
-
template<class T, class O1 =
|
1258
|
-
, class O3 =
|
435
|
+
template<class T, class O1 = void, class O2 = void
|
436
|
+
, class O3 = void, class O4 = void
|
437
|
+
, class O5 = void, class O6 = void>
|
1259
438
|
#endif
|
1260
439
|
struct make_splay_set
|
1261
440
|
{
|
1262
441
|
/// @cond
|
442
|
+
typedef typename pack_options
|
443
|
+
< splaytree_defaults,
|
444
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
445
|
+
O1, O2, O3, O4, O5, O6
|
446
|
+
#else
|
447
|
+
Options...
|
448
|
+
#endif
|
449
|
+
>::type packed_options;
|
450
|
+
|
451
|
+
typedef typename detail::get_value_traits
|
452
|
+
<T, typename packed_options::proto_value_traits>::type value_traits;
|
453
|
+
|
1263
454
|
typedef splay_set_impl
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
> implementation_defined;
|
455
|
+
< value_traits
|
456
|
+
, typename packed_options::key_of_value
|
457
|
+
, typename packed_options::compare
|
458
|
+
, typename packed_options::size_type
|
459
|
+
, packed_options::constant_time_size
|
460
|
+
, typename packed_options::header_holder_type
|
461
|
+
> implementation_defined;
|
1272
462
|
/// @endcond
|
1273
463
|
typedef implementation_defined type;
|
1274
464
|
};
|
1275
465
|
|
1276
466
|
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
1277
467
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
1278
|
-
template<class T, class O1, class O2, class O3, class O4>
|
468
|
+
template<class T, class O1, class O2, class O3, class O4, class O5, class O6>
|
1279
469
|
#else
|
1280
470
|
template<class T, class ...Options>
|
1281
471
|
#endif
|
1282
472
|
class splay_set
|
1283
473
|
: public make_splay_set<T,
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
474
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
475
|
+
O1, O2, O3, O4, O5, O6
|
476
|
+
#else
|
477
|
+
Options...
|
478
|
+
#endif
|
479
|
+
>::type
|
1290
480
|
{
|
1291
481
|
typedef typename make_splay_set
|
1292
482
|
<T,
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
483
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
484
|
+
O1, O2, O3, O4, O5, O6
|
485
|
+
#else
|
486
|
+
Options...
|
487
|
+
#endif
|
1298
488
|
>::type Base;
|
1299
|
-
BOOST_MOVABLE_BUT_NOT_COPYABLE(splay_set)
|
1300
489
|
|
490
|
+
BOOST_MOVABLE_BUT_NOT_COPYABLE(splay_set)
|
1301
491
|
public:
|
1302
|
-
typedef typename Base::
|
492
|
+
typedef typename Base::key_compare key_compare;
|
1303
493
|
typedef typename Base::value_traits value_traits;
|
1304
494
|
typedef typename Base::iterator iterator;
|
1305
495
|
typedef typename Base::const_iterator const_iterator;
|
@@ -1307,14 +497,14 @@ class splay_set
|
|
1307
497
|
//Assert if passed value traits are compatible with the type
|
1308
498
|
BOOST_STATIC_ASSERT((detail::is_same<typename value_traits::value_type, T>::value));
|
1309
499
|
|
1310
|
-
splay_set( const
|
1311
|
-
|
500
|
+
explicit splay_set( const key_compare &cmp = key_compare()
|
501
|
+
, const value_traits &v_traits = value_traits())
|
1312
502
|
: Base(cmp, v_traits)
|
1313
503
|
{}
|
1314
504
|
|
1315
505
|
template<class Iterator>
|
1316
506
|
splay_set( Iterator b, Iterator e
|
1317
|
-
, const
|
507
|
+
, const key_compare &cmp = key_compare()
|
1318
508
|
, const value_traits &v_traits = value_traits())
|
1319
509
|
: Base(b, e, cmp, v_traits)
|
1320
510
|
{}
|
@@ -1324,7 +514,15 @@ class splay_set
|
|
1324
514
|
{}
|
1325
515
|
|
1326
516
|
splay_set& operator=(BOOST_RV_REF(splay_set) x)
|
1327
|
-
{ this->Base::operator=(::boost::move(static_cast<Base&>(x)));
|
517
|
+
{ return static_cast<splay_set &>(this->Base::operator=(::boost::move(static_cast<Base&>(x)))); }
|
518
|
+
|
519
|
+
template <class Cloner, class Disposer>
|
520
|
+
void clone_from(const splay_set &src, Cloner cloner, Disposer disposer)
|
521
|
+
{ Base::clone_from(src, cloner, disposer); }
|
522
|
+
|
523
|
+
template <class Cloner, class Disposer>
|
524
|
+
void clone_from(BOOST_RV_REF(splay_set) src, Cloner cloner, Disposer disposer)
|
525
|
+
{ Base::clone_from(BOOST_MOVE_BASE(Base, src), cloner, disposer); }
|
1328
526
|
|
1329
527
|
static splay_set &container_from_end_iterator(iterator end_iterator)
|
1330
528
|
{ return static_cast<splay_set &>(Base::container_from_end_iterator(end_iterator)); }
|
@@ -1355,20 +553,24 @@ class splay_set
|
|
1355
553
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1356
554
|
template<class T, class ...Options>
|
1357
555
|
#else
|
1358
|
-
template<class
|
556
|
+
template<class ValueTraits, class VoidOrKeyOfValue, class Compare, class SizeType, bool ConstantTimeSize, typename HeaderHolder>
|
1359
557
|
#endif
|
1360
558
|
class splay_multiset_impl
|
559
|
+
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
560
|
+
: public splaytree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, ConstantTimeSize, HeaderHolder>
|
561
|
+
#endif
|
1361
562
|
{
|
1362
563
|
/// @cond
|
1363
|
-
typedef splaytree_impl<
|
564
|
+
typedef splaytree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, ConstantTimeSize, HeaderHolder> tree_type;
|
1364
565
|
|
1365
|
-
//Movable
|
1366
566
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(splay_multiset_impl)
|
1367
567
|
typedef tree_type implementation_defined;
|
1368
568
|
/// @endcond
|
1369
569
|
|
1370
570
|
public:
|
1371
571
|
typedef typename implementation_defined::value_type value_type;
|
572
|
+
typedef typename implementation_defined::key_type key_type;
|
573
|
+
typedef typename implementation_defined::key_of_value key_of_value;
|
1372
574
|
typedef typename implementation_defined::value_traits value_traits;
|
1373
575
|
typedef typename implementation_defined::pointer pointer;
|
1374
576
|
typedef typename implementation_defined::const_pointer const_pointer;
|
@@ -1389,1111 +591,349 @@ class splay_multiset_impl
|
|
1389
591
|
typedef typename implementation_defined::const_node_ptr const_node_ptr;
|
1390
592
|
typedef typename implementation_defined::node_algorithms node_algorithms;
|
1391
593
|
|
1392
|
-
static const bool constant_time_size =
|
1393
|
-
|
1394
|
-
/// @cond
|
1395
|
-
private:
|
1396
|
-
tree_type tree_;
|
1397
|
-
/// @endcond
|
594
|
+
static const bool constant_time_size = tree_type::constant_time_size;
|
1398
595
|
|
1399
596
|
public:
|
1400
|
-
//!
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
1405
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
1406
|
-
//! or the copy constructor/operator() of the value_compare object throws.
|
1407
|
-
explicit splay_multiset_impl( const value_compare &cmp = value_compare()
|
1408
|
-
, const value_traits &v_traits = value_traits())
|
1409
|
-
: tree_(cmp, v_traits)
|
597
|
+
//! @copydoc ::boost::intrusive::splaytree::splaytree(const key_compare &,const value_traits &)
|
598
|
+
explicit splay_multiset_impl( const key_compare &cmp = key_compare()
|
599
|
+
, const value_traits &v_traits = value_traits())
|
600
|
+
: tree_type(cmp, v_traits)
|
1410
601
|
{}
|
1411
602
|
|
1412
|
-
//!
|
1413
|
-
//! cmp must be a comparison function that induces a strict weak ordering.
|
1414
|
-
//!
|
1415
|
-
//! <b>Effects</b>: Constructs an empty splay_multiset and inserts elements from
|
1416
|
-
//! [b, e).
|
1417
|
-
//!
|
1418
|
-
//! <b>Complexity</b>: Linear in N if [b, e) is already sorted using
|
1419
|
-
//! comp and otherwise amortized N * log N, where N is the distance between first and last.
|
1420
|
-
//!
|
1421
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
1422
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
1423
|
-
//! or the copy constructor/operator() of the value_compare object throws.
|
603
|
+
//! @copydoc ::boost::intrusive::splaytree::splaytree(bool,Iterator,Iterator,const key_compare &,const value_traits &)
|
1424
604
|
template<class Iterator>
|
1425
605
|
splay_multiset_impl( Iterator b, Iterator e
|
1426
|
-
, const
|
606
|
+
, const key_compare &cmp = key_compare()
|
1427
607
|
, const value_traits &v_traits = value_traits())
|
1428
|
-
:
|
608
|
+
: tree_type(false, b, e, cmp, v_traits)
|
1429
609
|
{}
|
1430
610
|
|
1431
|
-
//!
|
1432
|
-
//!
|
611
|
+
//! @copydoc ::boost::intrusive::splaytree::splaytree(splaytree &&)
|
1433
612
|
splay_multiset_impl(BOOST_RV_REF(splay_multiset_impl) x)
|
1434
|
-
:
|
613
|
+
: tree_type(::boost::move(static_cast<tree_type&>(x)))
|
1435
614
|
{}
|
1436
615
|
|
1437
|
-
//!
|
1438
|
-
//!
|
616
|
+
//! @copydoc ::boost::intrusive::splaytree::operator=(splaytree &&)
|
1439
617
|
splay_multiset_impl& operator=(BOOST_RV_REF(splay_multiset_impl) x)
|
1440
|
-
{
|
1441
|
-
|
1442
|
-
|
1443
|
-
//!
|
1444
|
-
|
1445
|
-
|
1446
|
-
//!
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
618
|
+
{ return static_cast<splay_multiset_impl&>(tree_type::operator=(::boost::move(static_cast<tree_type&>(x)))); }
|
619
|
+
|
620
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
621
|
+
//! @copydoc ::boost::intrusive::splaytree::~splaytree()
|
622
|
+
~splay_multiset_impl();
|
623
|
+
|
624
|
+
//! @copydoc ::boost::intrusive::splaytree::begin()
|
625
|
+
iterator begin();
|
626
|
+
|
627
|
+
//! @copydoc ::boost::intrusive::splaytree::begin()const
|
628
|
+
const_iterator begin() const;
|
629
|
+
|
630
|
+
//! @copydoc ::boost::intrusive::splaytree::cbegin()const
|
631
|
+
const_iterator cbegin() const;
|
632
|
+
|
633
|
+
//! @copydoc ::boost::intrusive::splaytree::end()
|
634
|
+
iterator end();
|
635
|
+
|
636
|
+
//! @copydoc ::boost::intrusive::splaytree::end()const
|
637
|
+
const_iterator end() const;
|
638
|
+
|
639
|
+
//! @copydoc ::boost::intrusive::splaytree::cend()const
|
640
|
+
const_iterator cend() const;
|
641
|
+
|
642
|
+
//! @copydoc ::boost::intrusive::splaytree::rbegin()
|
643
|
+
reverse_iterator rbegin();
|
644
|
+
|
645
|
+
//! @copydoc ::boost::intrusive::splaytree::rbegin()const
|
646
|
+
const_reverse_iterator rbegin() const;
|
647
|
+
|
648
|
+
//! @copydoc ::boost::intrusive::splaytree::crbegin()const
|
649
|
+
const_reverse_iterator crbegin() const;
|
650
|
+
|
651
|
+
//! @copydoc ::boost::intrusive::splaytree::rend()
|
652
|
+
reverse_iterator rend();
|
653
|
+
|
654
|
+
//! @copydoc ::boost::intrusive::splaytree::rend()const
|
655
|
+
const_reverse_iterator rend() const;
|
656
|
+
|
657
|
+
//! @copydoc ::boost::intrusive::splaytree::crend()const
|
658
|
+
const_reverse_iterator crend() const;
|
659
|
+
|
660
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_end_iterator(iterator)
|
661
|
+
static splay_multiset_impl &container_from_end_iterator(iterator end_iterator);
|
662
|
+
|
663
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_end_iterator(const_iterator)
|
664
|
+
static const splay_multiset_impl &container_from_end_iterator(const_iterator end_iterator);
|
665
|
+
|
666
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_iterator(iterator)
|
667
|
+
static splay_multiset_impl &container_from_iterator(iterator it);
|
668
|
+
|
669
|
+
//! @copydoc ::boost::intrusive::splaytree::container_from_iterator(const_iterator)
|
670
|
+
static const splay_multiset_impl &container_from_iterator(const_iterator it);
|
671
|
+
|
672
|
+
//! @copydoc ::boost::intrusive::splaytree::key_comp()const
|
673
|
+
key_compare key_comp() const;
|
674
|
+
|
675
|
+
//! @copydoc ::boost::intrusive::splaytree::value_comp()const
|
676
|
+
value_compare value_comp() const;
|
677
|
+
|
678
|
+
//! @copydoc ::boost::intrusive::splaytree::empty()const
|
679
|
+
bool empty() const;
|
680
|
+
|
681
|
+
//! @copydoc ::boost::intrusive::splaytree::size()const
|
682
|
+
size_type size() const;
|
1451
683
|
|
1452
|
-
//!
|
1453
|
-
|
1454
|
-
|
1455
|
-
//!
|
1456
|
-
//! <b>Throws</b>: Nothing.
|
1457
|
-
iterator begin()
|
1458
|
-
{ return tree_.begin(); }
|
1459
|
-
|
1460
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the beginning of the splay_multiset.
|
1461
|
-
//!
|
1462
|
-
//! <b>Complexity</b>: Constant.
|
1463
|
-
//!
|
1464
|
-
//! <b>Throws</b>: Nothing.
|
1465
|
-
const_iterator begin() const
|
1466
|
-
{ return tree_.begin(); }
|
1467
|
-
|
1468
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the beginning of the splay_multiset.
|
1469
|
-
//!
|
1470
|
-
//! <b>Complexity</b>: Constant.
|
1471
|
-
//!
|
1472
|
-
//! <b>Throws</b>: Nothing.
|
1473
|
-
const_iterator cbegin() const
|
1474
|
-
{ return tree_.cbegin(); }
|
1475
|
-
|
1476
|
-
//! <b>Effects</b>: Returns an iterator pointing to the end of the splay_multiset.
|
1477
|
-
//!
|
1478
|
-
//! <b>Complexity</b>: Constant.
|
1479
|
-
//!
|
1480
|
-
//! <b>Throws</b>: Nothing.
|
1481
|
-
iterator end()
|
1482
|
-
{ return tree_.end(); }
|
1483
|
-
|
1484
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the end of the splay_multiset.
|
1485
|
-
//!
|
1486
|
-
//! <b>Complexity</b>: Constant.
|
1487
|
-
//!
|
1488
|
-
//! <b>Throws</b>: Nothing.
|
1489
|
-
const_iterator end() const
|
1490
|
-
{ return tree_.end(); }
|
1491
|
-
|
1492
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the end of the splay_multiset.
|
1493
|
-
//!
|
1494
|
-
//! <b>Complexity</b>: Constant.
|
1495
|
-
//!
|
1496
|
-
//! <b>Throws</b>: Nothing.
|
1497
|
-
const_iterator cend() const
|
1498
|
-
{ return tree_.cend(); }
|
1499
|
-
|
1500
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning of the
|
1501
|
-
//! reversed splay_multiset.
|
1502
|
-
//!
|
1503
|
-
//! <b>Complexity</b>: Constant.
|
1504
|
-
//!
|
1505
|
-
//! <b>Throws</b>: Nothing.
|
1506
|
-
reverse_iterator rbegin()
|
1507
|
-
{ return tree_.rbegin(); }
|
1508
|
-
|
1509
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1510
|
-
//! of the reversed splay_multiset.
|
1511
|
-
//!
|
1512
|
-
//! <b>Complexity</b>: Constant.
|
1513
|
-
//!
|
1514
|
-
//! <b>Throws</b>: Nothing.
|
1515
|
-
const_reverse_iterator rbegin() const
|
1516
|
-
{ return tree_.rbegin(); }
|
1517
|
-
|
1518
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1519
|
-
//! of the reversed splay_multiset.
|
1520
|
-
//!
|
1521
|
-
//! <b>Complexity</b>: Constant.
|
1522
|
-
//!
|
1523
|
-
//! <b>Throws</b>: Nothing.
|
1524
|
-
const_reverse_iterator crbegin() const
|
1525
|
-
{ return tree_.crbegin(); }
|
1526
|
-
|
1527
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
1528
|
-
//! of the reversed splay_multiset.
|
1529
|
-
//!
|
1530
|
-
//! <b>Complexity</b>: Constant.
|
1531
|
-
//!
|
1532
|
-
//! <b>Throws</b>: Nothing.
|
1533
|
-
reverse_iterator rend()
|
1534
|
-
{ return tree_.rend(); }
|
1535
|
-
|
1536
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
1537
|
-
//! of the reversed splay_multiset.
|
1538
|
-
//!
|
1539
|
-
//! <b>Complexity</b>: Constant.
|
1540
|
-
//!
|
1541
|
-
//! <b>Throws</b>: Nothing.
|
1542
|
-
const_reverse_iterator rend() const
|
1543
|
-
{ return tree_.rend(); }
|
1544
|
-
|
1545
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
1546
|
-
//! of the reversed splay_multiset.
|
1547
|
-
//!
|
1548
|
-
//! <b>Complexity</b>: Constant.
|
1549
|
-
//!
|
1550
|
-
//! <b>Throws</b>: Nothing.
|
1551
|
-
const_reverse_iterator crend() const
|
1552
|
-
{ return tree_.crend(); }
|
1553
|
-
|
1554
|
-
//! <b>Precondition</b>: end_iterator must be a valid end iterator
|
1555
|
-
//! of splay_multiset.
|
1556
|
-
//!
|
1557
|
-
//! <b>Effects</b>: Returns a const reference to the splay_multiset associated to the end iterator
|
1558
|
-
//!
|
1559
|
-
//! <b>Throws</b>: Nothing.
|
1560
|
-
//!
|
1561
|
-
//! <b>Complexity</b>: Constant.
|
1562
|
-
static splay_multiset_impl &container_from_end_iterator(iterator end_iterator)
|
1563
|
-
{
|
1564
|
-
return *detail::parent_from_member<splay_multiset_impl, tree_type>
|
1565
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
1566
|
-
, &splay_multiset_impl::tree_);
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
//! <b>Precondition</b>: end_iterator must be a valid end const_iterator
|
1570
|
-
//! of splay_multiset.
|
1571
|
-
//!
|
1572
|
-
//! <b>Effects</b>: Returns a const reference to the splay_multiset associated to the end iterator
|
1573
|
-
//!
|
1574
|
-
//! <b>Throws</b>: Nothing.
|
1575
|
-
//!
|
1576
|
-
//! <b>Complexity</b>: Constant.
|
1577
|
-
static const splay_multiset_impl &container_from_end_iterator(const_iterator end_iterator)
|
1578
|
-
{
|
1579
|
-
return *detail::parent_from_member<splay_multiset_impl, tree_type>
|
1580
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
1581
|
-
, &splay_multiset_impl::tree_);
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
//! <b>Precondition</b>: it must be a valid iterator of multiset.
|
1585
|
-
//!
|
1586
|
-
//! <b>Effects</b>: Returns a const reference to the multiset associated to the iterator
|
1587
|
-
//!
|
1588
|
-
//! <b>Throws</b>: Nothing.
|
1589
|
-
//!
|
1590
|
-
//! <b>Complexity</b>: Logarithmic.
|
1591
|
-
static splay_multiset_impl &container_from_iterator(iterator it)
|
1592
|
-
{
|
1593
|
-
return *detail::parent_from_member<splay_multiset_impl, tree_type>
|
1594
|
-
( &tree_type::container_from_iterator(it)
|
1595
|
-
, &splay_multiset_impl::tree_);
|
1596
|
-
}
|
1597
|
-
|
1598
|
-
//! <b>Precondition</b>: it must be a valid const_iterator of multiset.
|
1599
|
-
//!
|
1600
|
-
//! <b>Effects</b>: Returns a const reference to the multiset associated to the iterator
|
1601
|
-
//!
|
1602
|
-
//! <b>Throws</b>: Nothing.
|
1603
|
-
//!
|
1604
|
-
//! <b>Complexity</b>: Constant.
|
1605
|
-
static const splay_multiset_impl &container_from_iterator(const_iterator it)
|
1606
|
-
{
|
1607
|
-
return *detail::parent_from_member<splay_multiset_impl, tree_type>
|
1608
|
-
( &tree_type::container_from_iterator(it)
|
1609
|
-
, &splay_multiset_impl::tree_);
|
1610
|
-
}
|
1611
|
-
|
1612
|
-
//! <b>Effects</b>: Returns the key_compare object used by the splay_multiset.
|
1613
|
-
//!
|
1614
|
-
//! <b>Complexity</b>: Constant.
|
1615
|
-
//!
|
1616
|
-
//! <b>Throws</b>: If key_compare copy-constructor throws.
|
1617
|
-
key_compare key_comp() const
|
1618
|
-
{ return tree_.value_comp(); }
|
1619
|
-
|
1620
|
-
//! <b>Effects</b>: Returns the value_compare object used by the splay_multiset.
|
1621
|
-
//!
|
1622
|
-
//! <b>Complexity</b>: Constant.
|
1623
|
-
//!
|
1624
|
-
//! <b>Throws</b>: If value_compare copy-constructor throws.
|
1625
|
-
value_compare value_comp() const
|
1626
|
-
{ return tree_.value_comp(); }
|
1627
|
-
|
1628
|
-
//! <b>Effects</b>: Returns true if the container is empty.
|
1629
|
-
//!
|
1630
|
-
//! <b>Complexity</b>: Constant.
|
1631
|
-
//!
|
1632
|
-
//! <b>Throws</b>: Nothing.
|
1633
|
-
bool empty() const
|
1634
|
-
{ return tree_.empty(); }
|
1635
|
-
|
1636
|
-
//! <b>Effects</b>: Returns the number of elements stored in the splay_multiset.
|
1637
|
-
//!
|
1638
|
-
//! <b>Complexity</b>: Linear to elements contained in *this if,
|
1639
|
-
//! constant-time size option is enabled. Constant-time otherwise.
|
1640
|
-
//!
|
1641
|
-
//! <b>Throws</b>: Nothing.
|
1642
|
-
size_type size() const
|
1643
|
-
{ return tree_.size(); }
|
1644
|
-
|
1645
|
-
//! <b>Effects</b>: Swaps the contents of two splay_multisets.
|
1646
|
-
//!
|
1647
|
-
//! <b>Complexity</b>: Constant.
|
1648
|
-
//!
|
1649
|
-
//! <b>Throws</b>: If the swap() call for the comparison functor
|
1650
|
-
//! found using ADL throws. Strong guarantee.
|
1651
|
-
void swap(splay_multiset_impl& other)
|
1652
|
-
{ tree_.swap(other.tree_); }
|
1653
|
-
|
1654
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1655
|
-
//! Cloner should yield to nodes equivalent to the original nodes.
|
1656
|
-
//!
|
1657
|
-
//! <b>Effects</b>: Erases all the elements from *this
|
1658
|
-
//! calling Disposer::operator()(pointer), clones all the
|
1659
|
-
//! elements from src calling Cloner::operator()(const_reference )
|
1660
|
-
//! and inserts them on *this. Copies the predicate from the source container.
|
1661
|
-
//!
|
1662
|
-
//! If cloner throws, all cloned elements are unlinked and disposed
|
1663
|
-
//! calling Disposer::operator()(pointer).
|
1664
|
-
//!
|
1665
|
-
//! <b>Complexity</b>: Linear to erased plus inserted elements.
|
1666
|
-
//!
|
1667
|
-
//! <b>Throws</b>: If cloner throws or predicate copy assignment throws. Basic guarantee.
|
684
|
+
//! @copydoc ::boost::intrusive::splaytree::swap
|
685
|
+
void swap(splay_multiset_impl& other);
|
686
|
+
|
687
|
+
//! @copydoc ::boost::intrusive::splaytree::clone_from(const splaytree&,Cloner,Disposer)
|
1668
688
|
template <class Cloner, class Disposer>
|
1669
|
-
void clone_from(const splay_multiset_impl &src, Cloner cloner, Disposer disposer)
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
//!
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
//!
|
1683
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
1684
|
-
//! No copy-constructors are called.
|
689
|
+
void clone_from(const splay_multiset_impl &src, Cloner cloner, Disposer disposer);
|
690
|
+
|
691
|
+
#else
|
692
|
+
|
693
|
+
using tree_type::clone_from;
|
694
|
+
|
695
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
696
|
+
|
697
|
+
//! @copydoc ::boost::intrusive::splaytree::clone_from(splaytree&&,Cloner,Disposer)
|
698
|
+
template <class Cloner, class Disposer>
|
699
|
+
void clone_from(BOOST_RV_REF(splay_multiset_impl) src, Cloner cloner, Disposer disposer)
|
700
|
+
{ tree_type::clone_from(BOOST_MOVE_BASE(tree_type, src), cloner, disposer); }
|
701
|
+
|
702
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_equal(reference)
|
1685
703
|
iterator insert(reference value)
|
1686
|
-
{ return
|
1687
|
-
|
1688
|
-
//!
|
1689
|
-
//!
|
1690
|
-
//! <b>Effects</b>: Inserts x into the splay_multiset, using pos as a hint to
|
1691
|
-
//! where it will be inserted.
|
1692
|
-
//!
|
1693
|
-
//! <b>Returns</b>: An iterator that points to the position where the new
|
1694
|
-
//! element was inserted.
|
1695
|
-
//!
|
1696
|
-
//! <b>Complexity</b>: Amortized logarithmic in general, but it is amortized
|
1697
|
-
//! constant time if t is inserted immediately before hint.
|
1698
|
-
//!
|
1699
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Strong guarantee.
|
1700
|
-
//!
|
1701
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
1702
|
-
//! No copy-constructors are called.
|
704
|
+
{ return tree_type::insert_equal(value); }
|
705
|
+
|
706
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_equal(const_iterator,reference)
|
1703
707
|
iterator insert(const_iterator hint, reference value)
|
1704
|
-
{ return
|
1705
|
-
|
1706
|
-
//!
|
1707
|
-
//! of type value_type.
|
1708
|
-
//!
|
1709
|
-
//! <b>Effects</b>: Inserts a range into the splay_multiset.
|
1710
|
-
//!
|
1711
|
-
//! <b>Returns</b>: An iterator that points to the position where the new
|
1712
|
-
//! element was inserted.
|
1713
|
-
//!
|
1714
|
-
//! <b>Complexity</b>: Insert range is amortized O(N * log(N)), where N is the
|
1715
|
-
//! size of the range. However, it is linear in N if the range is already sorted
|
1716
|
-
//! by value_comp().
|
1717
|
-
//!
|
1718
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
1719
|
-
//!
|
1720
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
1721
|
-
//! No copy-constructors are called.
|
708
|
+
{ return tree_type::insert_equal(hint, value); }
|
709
|
+
|
710
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_equal(Iterator,Iterator)
|
1722
711
|
template<class Iterator>
|
1723
712
|
void insert(Iterator b, Iterator e)
|
1724
|
-
{
|
1725
|
-
|
1726
|
-
|
1727
|
-
//!
|
1728
|
-
|
1729
|
-
|
1730
|
-
//!
|
1731
|
-
|
1732
|
-
|
1733
|
-
//!
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
//!
|
1740
|
-
|
1741
|
-
|
1742
|
-
//!
|
1743
|
-
|
1744
|
-
|
1745
|
-
//!
|
1746
|
-
|
1747
|
-
|
1748
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1749
|
-
//! to the erased elements. No destructors are called.
|
1750
|
-
iterator erase(const_iterator b, const_iterator e)
|
1751
|
-
{ return tree_.erase(b, e); }
|
1752
|
-
|
1753
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
1754
|
-
//!
|
1755
|
-
//! <b>Returns</b>: The number of erased elements.
|
1756
|
-
//!
|
1757
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(value)).
|
1758
|
-
//!
|
1759
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
1760
|
-
//!
|
1761
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1762
|
-
//! to the erased elements. No destructors are called.
|
1763
|
-
size_type erase(const_reference value)
|
1764
|
-
{ return tree_.erase(value); }
|
1765
|
-
|
1766
|
-
//! <b>Effects</b>: Erases all the elements that compare equal with
|
1767
|
-
//! the given key and the given comparison functor.
|
1768
|
-
//!
|
1769
|
-
//! <b>Returns</b>: The number of erased elements.
|
1770
|
-
//!
|
1771
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(key, comp)).
|
1772
|
-
//!
|
1773
|
-
//! <b>Throws</b>: If comp ordering function throws. Basic guarantee.
|
1774
|
-
//!
|
1775
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1776
|
-
//! to the erased elements. No destructors are called.
|
1777
|
-
template<class KeyType, class KeyValueCompare>
|
1778
|
-
size_type erase(const KeyType& key, KeyValueCompare comp
|
1779
|
-
/// @cond
|
1780
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
1781
|
-
/// @endcond
|
1782
|
-
)
|
1783
|
-
{ return tree_.erase(key, comp); }
|
1784
|
-
|
1785
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1786
|
-
//!
|
1787
|
-
//! <b>Returns</b>: An iterator to the element after the erased element.
|
1788
|
-
//!
|
1789
|
-
//! <b>Effects</b>: Erases the element pointed to by pos.
|
1790
|
-
//! Disposer::operator()(pointer) is called for the removed element.
|
1791
|
-
//!
|
1792
|
-
//! <b>Complexity</b>: Average complexity for erase element is constant time.
|
1793
|
-
//!
|
1794
|
-
//! <b>Throws</b>: Nothing.
|
1795
|
-
//!
|
1796
|
-
//! <b>Note</b>: Invalidates the iterators
|
1797
|
-
//! to the erased elements.
|
1798
|
-
template<class Disposer>
|
1799
|
-
iterator erase_and_dispose(const_iterator i, Disposer disposer)
|
1800
|
-
{ return tree_.erase_and_dispose(i, disposer); }
|
713
|
+
{ tree_type::insert_equal(b, e); }
|
714
|
+
|
715
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
716
|
+
//! @copydoc ::boost::intrusive::splaytree::insert_before
|
717
|
+
iterator insert_before(const_iterator pos, reference value);
|
718
|
+
|
719
|
+
//! @copydoc ::boost::intrusive::splaytree::push_back
|
720
|
+
void push_back(reference value);
|
721
|
+
|
722
|
+
//! @copydoc ::boost::intrusive::splaytree::push_front
|
723
|
+
void push_front(reference value);
|
724
|
+
|
725
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const_iterator)
|
726
|
+
iterator erase(const_iterator i);
|
727
|
+
|
728
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const_iterator,const_iterator)
|
729
|
+
iterator erase(const_iterator b, const_iterator e);
|
730
|
+
|
731
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const key_type&)
|
732
|
+
size_type erase(const key_type &key);
|
733
|
+
|
734
|
+
//! @copydoc ::boost::intrusive::splaytree::erase(const KeyType&,KeyTypeKeyCompare)
|
735
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
736
|
+
size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
|
1801
737
|
|
1802
|
-
|
738
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const_iterator,Disposer)
|
1803
739
|
template<class Disposer>
|
1804
|
-
iterator erase_and_dispose(
|
1805
|
-
{ return this->erase_and_dispose(const_iterator(i), disposer); }
|
1806
|
-
#endif
|
740
|
+
iterator erase_and_dispose(const_iterator i, Disposer disposer);
|
1807
741
|
|
1808
|
-
//!
|
1809
|
-
//!
|
1810
|
-
//! <b>Returns</b>: An iterator to the element after the erased elements.
|
1811
|
-
//!
|
1812
|
-
//! <b>Effects</b>: Erases the range pointed to by b end e.
|
1813
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
1814
|
-
//!
|
1815
|
-
//! <b>Complexity</b>: Average complexity for erase range is amortized
|
1816
|
-
//! O(log(size() + N)), where N is the number of elements in the range.
|
1817
|
-
//!
|
1818
|
-
//! <b>Throws</b>: Nothing.
|
1819
|
-
//!
|
1820
|
-
//! <b>Note</b>: Invalidates the iterators
|
1821
|
-
//! to the erased elements.
|
742
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const_iterator,const_iterator,Disposer)
|
1822
743
|
template<class Disposer>
|
1823
|
-
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer)
|
1824
|
-
|
1825
|
-
|
1826
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1827
|
-
//!
|
1828
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
1829
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
1830
|
-
//!
|
1831
|
-
//! <b>Returns</b>: The number of erased elements.
|
1832
|
-
//!
|
1833
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(value)).
|
1834
|
-
//!
|
1835
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
1836
|
-
//!
|
1837
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1838
|
-
//! to the erased elements. No destructors are called.
|
744
|
+
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer);
|
745
|
+
|
746
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const key_type&, Disposer)
|
1839
747
|
template<class Disposer>
|
1840
|
-
size_type erase_and_dispose(
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
//!
|
1847
|
-
|
1848
|
-
|
1849
|
-
//!
|
1850
|
-
//!
|
1851
|
-
//! <b>Complexity</b>: Amortized O(log(size() + this->count(key, comp)).
|
1852
|
-
//!
|
1853
|
-
//! <b>Throws</b>: If comp ordering function throws. Basic guarantee.
|
1854
|
-
//!
|
1855
|
-
//! <b>Note</b>: Invalidates the iterators
|
1856
|
-
//! to the erased elements.
|
1857
|
-
template<class KeyType, class KeyValueCompare, class Disposer>
|
1858
|
-
size_type erase_and_dispose(const KeyType& key, KeyValueCompare comp, Disposer disposer
|
1859
|
-
/// @cond
|
1860
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
1861
|
-
/// @endcond
|
1862
|
-
)
|
1863
|
-
{ return tree_.erase_and_dispose(key, comp, disposer); }
|
1864
|
-
|
1865
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
1866
|
-
//!
|
1867
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
1868
|
-
//! if it's a safe-mode or auto-unlink value_type. Constant time otherwise.
|
1869
|
-
//!
|
1870
|
-
//! <b>Throws</b>: Nothing.
|
1871
|
-
//!
|
1872
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1873
|
-
//! to the erased elements. No destructors are called.
|
1874
|
-
void clear()
|
1875
|
-
{ return tree_.clear(); }
|
1876
|
-
|
1877
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1878
|
-
//!
|
1879
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
1880
|
-
//!
|
1881
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
1882
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
1883
|
-
//!
|
1884
|
-
//! <b>Throws</b>: Nothing.
|
1885
|
-
//!
|
1886
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1887
|
-
//! to the erased elements. No destructors are called.
|
748
|
+
size_type erase_and_dispose(const key_type &key, Disposer disposer);
|
749
|
+
|
750
|
+
//! @copydoc ::boost::intrusive::splaytree::erase_and_dispose(const KeyType&,KeyTypeKeyCompare,Disposer)
|
751
|
+
template<class KeyType, class KeyTypeKeyCompare, class Disposer>
|
752
|
+
size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
|
753
|
+
|
754
|
+
//! @copydoc ::boost::intrusive::splaytree::clear
|
755
|
+
void clear();
|
756
|
+
|
757
|
+
//! @copydoc ::boost::intrusive::splaytree::clear_and_dispose
|
1888
758
|
template<class Disposer>
|
1889
|
-
void clear_and_dispose(Disposer disposer)
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
//!
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
//!
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
//!
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
//!
|
1913
|
-
|
1914
|
-
|
1915
|
-
//!
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
//!
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
//!
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
//!
|
1934
|
-
|
1935
|
-
|
1936
|
-
//!
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1942
|
-
|
1943
|
-
//!
|
1944
|
-
|
1945
|
-
|
1946
|
-
|
1947
|
-
//!
|
1948
|
-
//!
|
1949
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
1950
|
-
//!
|
1951
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
1952
|
-
//!
|
1953
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
1954
|
-
//! is expensive and the value_type can be compared with a cheaper
|
1955
|
-
//! key type. Usually this key is part of the value_type.
|
1956
|
-
template<class KeyType, class KeyValueCompare>
|
1957
|
-
iterator lower_bound(const KeyType& key, KeyValueCompare comp)
|
1958
|
-
{ return tree_.lower_bound(key, comp); }
|
1959
|
-
|
1960
|
-
//! <b>Effects</b>: Returns a const iterator to the first element whose
|
1961
|
-
//! key is not less than k or end() if that element does not exist.
|
1962
|
-
//!
|
1963
|
-
//! <b>Complexity</b>: Logarithmic.
|
1964
|
-
//!
|
1965
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
1966
|
-
const_iterator lower_bound_dont_splay(const_reference value) const
|
1967
|
-
{ return tree_.lower_bound_dont_splay(value); }
|
1968
|
-
|
1969
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
1970
|
-
//! value_compare. Usually key is the part of the value_type
|
1971
|
-
//! that is used in the ordering functor.
|
1972
|
-
//!
|
1973
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
1974
|
-
//! key according to the comparison functor is not less than k or
|
1975
|
-
//! end() if that element does not exist.
|
1976
|
-
//!
|
1977
|
-
//! <b>Complexity</b>: Logarithmic.
|
1978
|
-
//!
|
1979
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
1980
|
-
//!
|
1981
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
1982
|
-
//! is expensive and the value_type can be compared with a cheaper
|
1983
|
-
//! key type. Usually this key is part of the value_type.
|
1984
|
-
template<class KeyType, class KeyValueCompare>
|
1985
|
-
const_iterator lower_bound_dont_splay(const KeyType& key, KeyValueCompare comp) const
|
1986
|
-
{ return tree_.lower_bound_dont_splay(key, comp); }
|
1987
|
-
|
1988
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
1989
|
-
//! key is greater than k or end() if that element does not exist.
|
1990
|
-
//!
|
1991
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
1992
|
-
//!
|
1993
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
1994
|
-
iterator upper_bound(const_reference value)
|
1995
|
-
{ return tree_.upper_bound(value); }
|
1996
|
-
|
1997
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
1998
|
-
//! value_compare. Usually key is the part of the value_type
|
1999
|
-
//! that is used in the ordering functor.
|
2000
|
-
//!
|
2001
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
2002
|
-
//! key according to the comparison functor is greater than key or
|
2003
|
-
//! end() if that element does not exist.
|
2004
|
-
//!
|
2005
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2006
|
-
//!
|
2007
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2008
|
-
//!
|
2009
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2010
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2011
|
-
//! key type. Usually this key is part of the value_type.
|
2012
|
-
template<class KeyType, class KeyValueCompare>
|
2013
|
-
iterator upper_bound(const KeyType& key, KeyValueCompare comp)
|
2014
|
-
{ return tree_.upper_bound(key, comp); }
|
2015
|
-
|
2016
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
2017
|
-
//! key is greater than k or end() if that element does not exist.
|
2018
|
-
//!
|
2019
|
-
//! <b>Complexity</b>: Logarithmic.
|
2020
|
-
//!
|
2021
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2022
|
-
const_iterator upper_bound_dont_splay(const_reference value) const
|
2023
|
-
{ return tree_.upper_bound_dont_splay(value); }
|
2024
|
-
|
2025
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2026
|
-
//! value_compare. Usually key is the part of the value_type
|
2027
|
-
//! that is used in the ordering functor.
|
2028
|
-
//!
|
2029
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
2030
|
-
//! key according to the comparison functor is greater than key or
|
2031
|
-
//! end() if that element does not exist.
|
2032
|
-
//!
|
2033
|
-
//! <b>Complexity</b>: Logarithmic.
|
2034
|
-
//!
|
2035
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2036
|
-
//!
|
2037
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2038
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2039
|
-
//! key type. Usually this key is part of the value_type.
|
2040
|
-
template<class KeyType, class KeyValueCompare>
|
2041
|
-
const_iterator upper_bound_dont_splay(const KeyType& key, KeyValueCompare comp) const
|
2042
|
-
{ return tree_.upper_bound_dont_splay(key, comp); }
|
2043
|
-
|
2044
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose value is
|
2045
|
-
//! "value" or end() if that element does not exist.
|
2046
|
-
//!
|
2047
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2048
|
-
//!
|
2049
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2050
|
-
iterator find(const_reference value)
|
2051
|
-
{ return tree_.find(value); }
|
2052
|
-
|
2053
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2054
|
-
//! value_compare. Usually key is the part of the value_type
|
2055
|
-
//! that is used in the ordering functor.
|
2056
|
-
//!
|
2057
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose key is
|
2058
|
-
//! "key" according to the comparison functor or end() if that element
|
2059
|
-
//! does not exist.
|
2060
|
-
//!
|
2061
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2062
|
-
//!
|
2063
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2064
|
-
//!
|
2065
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2066
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2067
|
-
//! key type. Usually this key is part of the value_type.
|
2068
|
-
template<class KeyType, class KeyValueCompare>
|
2069
|
-
iterator find(const KeyType& key, KeyValueCompare comp)
|
2070
|
-
{ return tree_.find(key, comp); }
|
2071
|
-
|
2072
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose value is
|
2073
|
-
//! "value" or end() if that element does not exist.
|
2074
|
-
//!
|
2075
|
-
//! <b>Complexity</b>: Logarithmic.
|
2076
|
-
//!
|
2077
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2078
|
-
const_iterator find_dont_splay(const_reference value) const
|
2079
|
-
{ return tree_.find_dont_splay(value); }
|
2080
|
-
|
2081
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2082
|
-
//! value_compare. Usually key is the part of the value_type
|
2083
|
-
//! that is used in the ordering functor.
|
2084
|
-
//!
|
2085
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose key is
|
2086
|
-
//! "key" according to the comparison functor or end() if that element
|
2087
|
-
//! does not exist.
|
2088
|
-
//!
|
2089
|
-
//! <b>Complexity</b>: Logarithmic.
|
2090
|
-
//!
|
2091
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2092
|
-
//!
|
2093
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2094
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2095
|
-
//! key type. Usually this key is part of the value_type.
|
2096
|
-
template<class KeyType, class KeyValueCompare>
|
2097
|
-
const_iterator find_dont_splay(const KeyType& key, KeyValueCompare comp) const
|
2098
|
-
{ return tree_.find_dont_splay(key, comp); }
|
2099
|
-
|
2100
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
2101
|
-
//! an empty range that indicates the position where those elements would be
|
2102
|
-
//! if they there is no elements with key k.
|
2103
|
-
//!
|
2104
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2105
|
-
//!
|
2106
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2107
|
-
std::pair<iterator,iterator> equal_range(const_reference value)
|
2108
|
-
{ return tree_.equal_range(value); }
|
2109
|
-
|
2110
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2111
|
-
//! value_compare. Usually key is the part of the value_type
|
2112
|
-
//! that is used in the ordering functor.
|
2113
|
-
//!
|
2114
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
2115
|
-
//! according to the comparison functor or an empty range
|
2116
|
-
//! that indicates the position where those elements would be
|
2117
|
-
//! if they there is no elements with key k.
|
2118
|
-
//!
|
2119
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2120
|
-
//!
|
2121
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2122
|
-
//!
|
2123
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2124
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2125
|
-
//! key type. Usually this key is part of the value_type.
|
2126
|
-
template<class KeyType, class KeyValueCompare>
|
2127
|
-
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyValueCompare comp)
|
2128
|
-
{ return tree_.equal_range(key, comp); }
|
2129
|
-
|
2130
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
2131
|
-
//! an empty range that indicates the position where those elements would be
|
2132
|
-
//! if they there is no elements with key k.
|
2133
|
-
//!
|
2134
|
-
//! <b>Complexity</b>: Logarithmic.
|
2135
|
-
//!
|
2136
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
759
|
+
void clear_and_dispose(Disposer disposer);
|
760
|
+
|
761
|
+
//! @copydoc ::boost::intrusive::splaytree::count(const key_type&)
|
762
|
+
size_type count(const key_type&);
|
763
|
+
|
764
|
+
//! @copydoc ::boost::intrusive::splaytree::count(const KeyType&,KeyTypeKeyCompare)const
|
765
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
766
|
+
size_type count(const KeyType& key, KeyTypeKeyCompare comp);
|
767
|
+
|
768
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const key_type&)
|
769
|
+
iterator lower_bound(const key_type &key);
|
770
|
+
|
771
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const KeyType&,KeyTypeKeyCompare)
|
772
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
773
|
+
iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
774
|
+
|
775
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const key_type&)const
|
776
|
+
const_iterator lower_bound(const key_type &key) const;
|
777
|
+
|
778
|
+
//! @copydoc ::boost::intrusive::splaytree::lower_bound(const KeyType&,KeyTypeKeyCompare)const
|
779
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
780
|
+
const_iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
781
|
+
|
782
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const key_type&)
|
783
|
+
iterator upper_bound(const key_type &key);
|
784
|
+
|
785
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const KeyType&,KeyTypeKeyCompare)
|
786
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
787
|
+
iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
788
|
+
|
789
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const key_type&)const
|
790
|
+
const_iterator upper_bound(const key_type &key) const;
|
791
|
+
|
792
|
+
//! @copydoc ::boost::intrusive::splaytree::upper_bound(const KeyType&,KeyTypeKeyCompare)const
|
793
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
794
|
+
const_iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
795
|
+
|
796
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const key_type&)
|
797
|
+
iterator find(const key_type &key);
|
798
|
+
|
799
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const KeyType&,KeyTypeKeyCompare)
|
800
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
801
|
+
iterator find(const KeyType& key, KeyTypeKeyCompare comp);
|
802
|
+
|
803
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const key_type&)const
|
804
|
+
const_iterator find(const key_type &key) const;
|
805
|
+
|
806
|
+
//! @copydoc ::boost::intrusive::splaytree::find(const KeyType&,KeyTypeKeyCompare)const
|
807
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
808
|
+
const_iterator find(const KeyType& key, KeyTypeKeyCompare comp) const;
|
809
|
+
|
810
|
+
//! @copydoc ::boost::intrusive::splaytree::equal_range(const key_type&)
|
811
|
+
std::pair<iterator,iterator> equal_range(const key_type &key);
|
812
|
+
|
813
|
+
//! @copydoc ::boost::intrusive::splaytree::equal_range(const KeyType&,KeyTypeKeyCompare)
|
814
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
815
|
+
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyTypeKeyCompare comp);
|
816
|
+
|
817
|
+
//! @copydoc ::boost::intrusive::splaytree::equal_range(const key_type&)const
|
2137
818
|
std::pair<const_iterator, const_iterator>
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
//! value_compare. Usually key is the part of the value_type
|
2143
|
-
//! that is used in the ordering functor.
|
2144
|
-
//!
|
2145
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
2146
|
-
//! according to the comparison functor or an empty range
|
2147
|
-
//! that indicates the position where those elements would be
|
2148
|
-
//! if they there is no elements with key k.
|
2149
|
-
//!
|
2150
|
-
//! <b>Complexity</b>: Logarithmic.
|
2151
|
-
//!
|
2152
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2153
|
-
//!
|
2154
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2155
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2156
|
-
//! key type. Usually this key is part of the value_type.
|
2157
|
-
template<class KeyType, class KeyValueCompare>
|
819
|
+
equal_range(const key_type &key) const;
|
820
|
+
|
821
|
+
//! @copydoc ::boost::intrusive::splaytree::equal_range(const KeyType&,KeyTypeKeyCompare)const
|
822
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
2158
823
|
std::pair<const_iterator, const_iterator>
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
//! <b>Requires</b>: 'lower_value' must not be greater than 'upper_value'. If
|
2163
|
-
//! 'lower_value' == 'upper_value', ('left_closed' || 'right_closed') must be false.
|
2164
|
-
//!
|
2165
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2166
|
-
//!
|
2167
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
2168
|
-
//!
|
2169
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
2170
|
-
//!
|
2171
|
-
//! <b>Complexity</b>: Logarithmic.
|
2172
|
-
//!
|
2173
|
-
//! <b>Throws</b>: If the predicate throws.
|
2174
|
-
//!
|
2175
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2176
|
-
//! and lower_bound for lower_value and upper_value.
|
824
|
+
equal_range(const KeyType& key, KeyTypeKeyCompare comp) const;
|
825
|
+
|
826
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const key_type&, const key_type&,bool,bool)
|
2177
827
|
std::pair<iterator,iterator> bounded_range
|
2178
|
-
(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed)
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
//! ordering compatible with the strict weak ordering used to create the
|
2183
|
-
//! the tree.
|
2184
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
2185
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
2186
|
-
//!
|
2187
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2188
|
-
//!
|
2189
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
2190
|
-
//!
|
2191
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
2192
|
-
//!
|
2193
|
-
//! <b>Complexity</b>: Logarithmic.
|
2194
|
-
//!
|
2195
|
-
//! <b>Throws</b>: If "comp" throws.
|
2196
|
-
//!
|
2197
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2198
|
-
//! and lower_bound for lower_key and upper_key.
|
2199
|
-
template<class KeyType, class KeyValueCompare>
|
828
|
+
(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed);
|
829
|
+
|
830
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)
|
831
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
2200
832
|
std::pair<iterator,iterator> bounded_range
|
2201
|
-
(const KeyType& lower_key, const KeyType& upper_key,
|
2202
|
-
{ return tree_.bounded_range(lower_key, upper_key, comp, left_closed, right_closed); }
|
2203
|
-
|
2204
|
-
//! <b>Requires</b>: 'lower_value' must not be greater than 'upper_value'. If
|
2205
|
-
//! 'lower_value' == 'upper_value', ('left_closed' || 'right_closed') must be false.
|
2206
|
-
//!
|
2207
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2208
|
-
//!
|
2209
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
2210
|
-
//!
|
2211
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
2212
|
-
//!
|
2213
|
-
//! <b>Complexity</b>: Logarithmic.
|
2214
|
-
//!
|
2215
|
-
//! <b>Throws</b>: If the predicate throws.
|
2216
|
-
//!
|
2217
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2218
|
-
//! and lower_bound for lower_value and upper_value.
|
2219
|
-
std::pair<const_iterator, const_iterator>
|
2220
|
-
bounded_range_dont_splay
|
2221
|
-
(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed) const
|
2222
|
-
{ return tree_.bounded_range_dont_splay(lower_value, upper_value, left_closed, right_closed); }
|
2223
|
-
|
2224
|
-
//! <b>Requires</b>: KeyValueCompare is a function object that induces a strict weak
|
2225
|
-
//! ordering compatible with the strict weak ordering used to create the
|
2226
|
-
//! the tree.
|
2227
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
2228
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
2229
|
-
//!
|
2230
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2231
|
-
//!
|
2232
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
2233
|
-
//!
|
2234
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
2235
|
-
//!
|
2236
|
-
//! <b>Complexity</b>: Logarithmic.
|
2237
|
-
//!
|
2238
|
-
//! <b>Throws</b>: If "comp" throws.
|
2239
|
-
//!
|
2240
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2241
|
-
//! and lower_bound for lower_key and upper_key.
|
2242
|
-
template<class KeyType, class KeyValueCompare>
|
2243
|
-
std::pair<const_iterator, const_iterator>
|
2244
|
-
bounded_range_dont_splay
|
2245
|
-
(const KeyType& lower_key, const KeyType& upper_key, KeyValueCompare comp, bool left_closed, bool right_closed) const
|
2246
|
-
{ return tree_.bounded_range_dont_splay(lower_key, upper_key, comp, left_closed, right_closed); }
|
2247
|
-
|
2248
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a set of
|
2249
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2250
|
-
//!
|
2251
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the set
|
2252
|
-
//! that points to the value
|
2253
|
-
//!
|
2254
|
-
//! <b>Complexity</b>: Constant.
|
2255
|
-
//!
|
2256
|
-
//! <b>Throws</b>: Nothing.
|
2257
|
-
//!
|
2258
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
2259
|
-
//! is stateless.
|
2260
|
-
static iterator s_iterator_to(reference value)
|
2261
|
-
{ return tree_type::s_iterator_to(value); }
|
2262
|
-
|
2263
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a set of
|
2264
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2265
|
-
//!
|
2266
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
2267
|
-
//! set that points to the value
|
2268
|
-
//!
|
2269
|
-
//! <b>Complexity</b>: Constant.
|
2270
|
-
//!
|
2271
|
-
//! <b>Throws</b>: Nothing.
|
2272
|
-
//!
|
2273
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
2274
|
-
//! is stateless.
|
2275
|
-
static const_iterator s_iterator_to(const_reference value)
|
2276
|
-
{ return tree_type::s_iterator_to(value); }
|
2277
|
-
|
2278
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a set of
|
2279
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2280
|
-
//!
|
2281
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the set
|
2282
|
-
//! that points to the value
|
2283
|
-
//!
|
2284
|
-
//! <b>Complexity</b>: Constant.
|
2285
|
-
//!
|
2286
|
-
//! <b>Throws</b>: Nothing.
|
2287
|
-
iterator iterator_to(reference value)
|
2288
|
-
{ return tree_.iterator_to(value); }
|
2289
|
-
|
2290
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a set of
|
2291
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2292
|
-
//!
|
2293
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
2294
|
-
//! set that points to the value
|
2295
|
-
//!
|
2296
|
-
//! <b>Complexity</b>: Constant.
|
2297
|
-
//!
|
2298
|
-
//! <b>Throws</b>: Nothing.
|
2299
|
-
const_iterator iterator_to(const_reference value) const
|
2300
|
-
{ return tree_.iterator_to(value); }
|
2301
|
-
|
2302
|
-
//! <b>Requires</b>: value shall not be in a set/splay_multiset.
|
2303
|
-
//!
|
2304
|
-
//! <b>Effects</b>: init_node puts the hook of a value in a well-known default
|
2305
|
-
//! state.
|
2306
|
-
//!
|
2307
|
-
//! <b>Throws</b>: Nothing.
|
2308
|
-
//!
|
2309
|
-
//! <b>Complexity</b>: Constant time.
|
2310
|
-
//!
|
2311
|
-
//! <b>Note</b>: This function puts the hook in the well-known default state
|
2312
|
-
//! used by auto_unlink and safe hooks.
|
2313
|
-
static void init_node(reference value)
|
2314
|
-
{ tree_type::init_node(value); }
|
2315
|
-
|
2316
|
-
//! <b>Effects</b>: Unlinks the leftmost node from the tree.
|
2317
|
-
//!
|
2318
|
-
//! <b>Complexity</b>: Average complexity is constant time.
|
2319
|
-
//!
|
2320
|
-
//! <b>Throws</b>: Nothing.
|
2321
|
-
//!
|
2322
|
-
//! <b>Notes</b>: This function breaks the tree and the tree can
|
2323
|
-
//! only be used for more unlink_leftmost_without_rebalance calls.
|
2324
|
-
//! This function is normally used to achieve a step by step
|
2325
|
-
//! controlled destruction of the tree.
|
2326
|
-
pointer unlink_leftmost_without_rebalance()
|
2327
|
-
{ return tree_.unlink_leftmost_without_rebalance(); }
|
2328
|
-
|
2329
|
-
//! <b>Requires</b>: replace_this must be a valid iterator of *this
|
2330
|
-
//! and with_this must not be inserted in any tree.
|
2331
|
-
//!
|
2332
|
-
//! <b>Effects</b>: Replaces replace_this in its position in the
|
2333
|
-
//! tree with with_this. The tree does not need to be rebalanced.
|
2334
|
-
//!
|
2335
|
-
//! <b>Complexity</b>: Constant.
|
2336
|
-
//!
|
2337
|
-
//! <b>Throws</b>: Nothing.
|
2338
|
-
//!
|
2339
|
-
//! <b>Note</b>: This function will break container ordering invariants if
|
2340
|
-
//! with_this is not equivalent to *replace_this according to the
|
2341
|
-
//! ordering rules. This function is faster than erasing and inserting
|
2342
|
-
//! the node, since no rebalancing or comparison is needed.
|
2343
|
-
void replace_node(iterator replace_this, reference with_this)
|
2344
|
-
{ tree_.replace_node(replace_this, with_this); }
|
2345
|
-
|
2346
|
-
//! <b>Requires</b>: i must be a valid iterator of *this.
|
2347
|
-
//!
|
2348
|
-
//! <b>Effects</b>: Rearranges the splay set so that the element pointed by i
|
2349
|
-
//! is placed as the root of the tree, improving future searches of this value.
|
2350
|
-
//!
|
2351
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2352
|
-
//!
|
2353
|
-
//! <b>Throws</b>: Nothing.
|
2354
|
-
void splay_up(iterator i)
|
2355
|
-
{ tree_.splay_up(i); }
|
2356
|
-
|
2357
|
-
//! <b>Effects</b>: Rearranges the splay set so that if *this stores an element
|
2358
|
-
//! with a key equivalent to value the element is placed as the root of the
|
2359
|
-
//! tree. If the element is not present returns the last node compared with the key.
|
2360
|
-
//! If the tree is empty, end() is returned.
|
2361
|
-
//!
|
2362
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2363
|
-
//!
|
2364
|
-
//! <b>Returns</b>: An iterator to the new root of the tree, end() if the tree is empty.
|
2365
|
-
//!
|
2366
|
-
//! <b>Throws</b>: If the comparison functor throws.
|
2367
|
-
template<class KeyType, class KeyNodePtrCompare>
|
2368
|
-
iterator splay_down(const KeyType &key, KeyNodePtrCompare comp)
|
2369
|
-
{ return tree_.splay_down(key, comp); }
|
2370
|
-
|
2371
|
-
//! <b>Effects</b>: Rearranges the splay set so that if *this stores an element
|
2372
|
-
//! with a key equivalent to value the element is placed as the root of the
|
2373
|
-
//! tree.
|
2374
|
-
//!
|
2375
|
-
//! <b>Complexity</b>: Amortized logarithmic.
|
2376
|
-
//!
|
2377
|
-
//! <b>Returns</b>: An iterator to the new root of the tree, end() if the tree is empty.
|
2378
|
-
//!
|
2379
|
-
//! <b>Throws</b>: If the predicate throws.
|
2380
|
-
iterator splay_down(const value_type &value)
|
2381
|
-
{ return tree_.splay_down(value); }
|
2382
|
-
|
2383
|
-
//! <b>Effects</b>: Rebalances the tree.
|
2384
|
-
//!
|
2385
|
-
//! <b>Throws</b>: Nothing.
|
2386
|
-
//!
|
2387
|
-
//! <b>Complexity</b>: Linear.
|
2388
|
-
void rebalance()
|
2389
|
-
{ tree_.rebalance(); }
|
2390
|
-
|
2391
|
-
//! <b>Requires</b>: old_root is a node of a tree.
|
2392
|
-
//!
|
2393
|
-
//! <b>Effects</b>: Rebalances the subtree rooted at old_root.
|
2394
|
-
//!
|
2395
|
-
//! <b>Returns</b>: The new root of the subtree.
|
2396
|
-
//!
|
2397
|
-
//! <b>Throws</b>: Nothing.
|
2398
|
-
//!
|
2399
|
-
//! <b>Complexity</b>: Linear to the elements in the subtree.
|
2400
|
-
iterator rebalance_subtree(iterator root)
|
2401
|
-
{ return tree_.rebalance_subtree(root); }
|
833
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed);
|
2402
834
|
|
2403
|
-
|
2404
|
-
|
2405
|
-
|
835
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const key_type&, const key_type&,bool,bool)const
|
836
|
+
std::pair<const_iterator, const_iterator> bounded_range
|
837
|
+
(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed) const;
|
2406
838
|
|
2407
|
-
|
2408
|
-
|
2409
|
-
|
839
|
+
//! @copydoc ::boost::intrusive::splaytree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)const
|
840
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
841
|
+
std::pair<const_iterator, const_iterator> bounded_range
|
842
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed) const;
|
843
|
+
|
844
|
+
//! @copydoc ::boost::intrusive::splaytree::s_iterator_to(reference)
|
845
|
+
static iterator s_iterator_to(reference value);
|
846
|
+
|
847
|
+
//! @copydoc ::boost::intrusive::splaytree::s_iterator_to(const_reference)
|
848
|
+
static const_iterator s_iterator_to(const_reference value);
|
849
|
+
|
850
|
+
//! @copydoc ::boost::intrusive::splaytree::iterator_to(reference)
|
851
|
+
iterator iterator_to(reference value);
|
852
|
+
|
853
|
+
//! @copydoc ::boost::intrusive::splaytree::iterator_to(const_reference)const
|
854
|
+
const_iterator iterator_to(const_reference value) const;
|
855
|
+
|
856
|
+
//! @copydoc ::boost::intrusive::splaytree::init_node(reference)
|
857
|
+
static void init_node(reference value);
|
858
|
+
|
859
|
+
//! @copydoc ::boost::intrusive::splaytree::unlink_leftmost_without_rebalance
|
860
|
+
pointer unlink_leftmost_without_rebalance();
|
861
|
+
|
862
|
+
//! @copydoc ::boost::intrusive::splaytree::replace_node
|
863
|
+
void replace_node(iterator replace_this, reference with_this);
|
864
|
+
|
865
|
+
//! @copydoc ::boost::intrusive::splaytree::remove_node
|
866
|
+
void remove_node(reference value);
|
867
|
+
|
868
|
+
//! @copydoc ::boost::intrusive::splaytree::splay_up(iterator)
|
869
|
+
void splay_up(iterator i);
|
870
|
+
|
871
|
+
//! @copydoc ::boost::intrusive::splaytree::splay_down(const KeyType&,KeyTypeKeyCompare)
|
872
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
873
|
+
iterator splay_down(const KeyType &key, KeyTypeKeyCompare comp);
|
874
|
+
|
875
|
+
//! @copydoc ::boost::intrusive::splaytree::splay_down(const key_type &key)
|
876
|
+
iterator splay_down(const key_type &key);
|
877
|
+
|
878
|
+
//! @copydoc ::boost::intrusive::splaytree::rebalance
|
879
|
+
void rebalance();
|
880
|
+
|
881
|
+
//! @copydoc ::boost::intrusive::splaytree::rebalance_subtree
|
882
|
+
iterator rebalance_subtree(iterator root);
|
883
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
2410
884
|
};
|
2411
885
|
|
2412
886
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
887
|
+
|
2413
888
|
template<class T, class ...Options>
|
2414
|
-
|
2415
|
-
template<class Config>
|
2416
|
-
#endif
|
2417
|
-
inline bool operator!=
|
2418
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2419
|
-
(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y)
|
2420
|
-
#else
|
2421
|
-
(const splay_multiset_impl<Config> &x, const splay_multiset_impl<Config> &y)
|
2422
|
-
#endif
|
2423
|
-
{ return !(x == y); }
|
889
|
+
bool operator!= (const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y);
|
2424
890
|
|
2425
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2426
891
|
template<class T, class ...Options>
|
2427
|
-
|
2428
|
-
template<class Config>
|
2429
|
-
#endif
|
2430
|
-
inline bool operator>
|
2431
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2432
|
-
(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y)
|
2433
|
-
#else
|
2434
|
-
(const splay_multiset_impl<Config> &x, const splay_multiset_impl<Config> &y)
|
2435
|
-
#endif
|
2436
|
-
{ return y < x; }
|
892
|
+
bool operator>(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y);
|
2437
893
|
|
2438
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2439
894
|
template<class T, class ...Options>
|
2440
|
-
|
2441
|
-
template<class Config>
|
2442
|
-
#endif
|
2443
|
-
inline bool operator<=
|
2444
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2445
|
-
(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y)
|
2446
|
-
#else
|
2447
|
-
(const splay_multiset_impl<Config> &x, const splay_multiset_impl<Config> &y)
|
2448
|
-
#endif
|
2449
|
-
{ return !(y < x); }
|
895
|
+
bool operator<=(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y);
|
2450
896
|
|
2451
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2452
897
|
template<class T, class ...Options>
|
2453
|
-
|
2454
|
-
template<class Config>
|
2455
|
-
#endif
|
2456
|
-
inline bool operator>=
|
2457
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2458
|
-
(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y)
|
2459
|
-
#else
|
2460
|
-
(const splay_multiset_impl<Config> &x, const splay_multiset_impl<Config> &y)
|
2461
|
-
#endif
|
2462
|
-
{ return !(x < y); }
|
898
|
+
bool operator>=(const splay_multiset_impl<T, Options...> &x, const splay_multiset_impl<T, Options...> &y);
|
2463
899
|
|
2464
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2465
900
|
template<class T, class ...Options>
|
2466
|
-
|
2467
|
-
|
2468
|
-
#endif
|
2469
|
-
inline void swap
|
2470
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2471
|
-
(splay_multiset_impl<T, Options...> &x, splay_multiset_impl<T, Options...> &y)
|
2472
|
-
#else
|
2473
|
-
(splay_multiset_impl<Config> &x, splay_multiset_impl<Config> &y)
|
2474
|
-
#endif
|
2475
|
-
{ x.swap(y); }
|
901
|
+
void swap(splay_multiset_impl<T, Options...> &x, splay_multiset_impl<T, Options...> &y);
|
902
|
+
|
903
|
+
#endif //#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2476
904
|
|
2477
905
|
//! Helper metafunction to define a \c splay_multiset that yields to the same type when the
|
2478
906
|
//! same options (either explicitly or implicitly) are used.
|
2479
907
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
2480
908
|
template<class T, class ...Options>
|
2481
909
|
#else
|
2482
|
-
template<class T, class O1 =
|
2483
|
-
, class O3 =
|
910
|
+
template<class T, class O1 = void, class O2 = void
|
911
|
+
, class O3 = void, class O4 = void
|
912
|
+
, class O5 = void, class O6 = void>
|
2484
913
|
#endif
|
2485
914
|
struct make_splay_multiset
|
2486
915
|
{
|
2487
916
|
/// @cond
|
917
|
+
typedef typename pack_options
|
918
|
+
< splaytree_defaults,
|
919
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
920
|
+
O1, O2, O3, O4, O5, O6
|
921
|
+
#else
|
922
|
+
Options...
|
923
|
+
#endif
|
924
|
+
>::type packed_options;
|
925
|
+
|
926
|
+
typedef typename detail::get_value_traits
|
927
|
+
<T, typename packed_options::proto_value_traits>::type value_traits;
|
928
|
+
|
2488
929
|
typedef splay_multiset_impl
|
2489
|
-
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
|
2494
|
-
|
2495
|
-
|
2496
|
-
> implementation_defined;
|
930
|
+
< value_traits
|
931
|
+
, typename packed_options::key_of_value
|
932
|
+
, typename packed_options::compare
|
933
|
+
, typename packed_options::size_type
|
934
|
+
, packed_options::constant_time_size
|
935
|
+
, typename packed_options::header_holder_type
|
936
|
+
> implementation_defined;
|
2497
937
|
/// @endcond
|
2498
938
|
typedef implementation_defined type;
|
2499
939
|
};
|
@@ -2501,31 +941,31 @@ struct make_splay_multiset
|
|
2501
941
|
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
2502
942
|
|
2503
943
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
2504
|
-
template<class T, class O1, class O2, class O3, class O4>
|
944
|
+
template<class T, class O1, class O2, class O3, class O4, class O5, class O6>
|
2505
945
|
#else
|
2506
946
|
template<class T, class ...Options>
|
2507
947
|
#endif
|
2508
948
|
class splay_multiset
|
2509
949
|
: public make_splay_multiset<T,
|
2510
|
-
|
2511
|
-
|
2512
|
-
|
2513
|
-
|
2514
|
-
|
950
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
951
|
+
O1, O2, O3, O4, O5, O6
|
952
|
+
#else
|
953
|
+
Options...
|
954
|
+
#endif
|
2515
955
|
>::type
|
2516
956
|
{
|
2517
|
-
typedef typename make_splay_multiset
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
|
2523
|
-
#endif
|
957
|
+
typedef typename make_splay_multiset<T,
|
958
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
959
|
+
O1, O2, O3, O4, O5, O6
|
960
|
+
#else
|
961
|
+
Options...
|
962
|
+
#endif
|
2524
963
|
>::type Base;
|
964
|
+
|
2525
965
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(splay_multiset)
|
2526
966
|
|
2527
967
|
public:
|
2528
|
-
typedef typename Base::
|
968
|
+
typedef typename Base::key_compare key_compare;
|
2529
969
|
typedef typename Base::value_traits value_traits;
|
2530
970
|
typedef typename Base::iterator iterator;
|
2531
971
|
typedef typename Base::const_iterator const_iterator;
|
@@ -2533,14 +973,14 @@ class splay_multiset
|
|
2533
973
|
//Assert if passed value traits are compatible with the type
|
2534
974
|
BOOST_STATIC_ASSERT((detail::is_same<typename value_traits::value_type, T>::value));
|
2535
975
|
|
2536
|
-
splay_multiset( const
|
2537
|
-
|
976
|
+
explicit splay_multiset( const key_compare &cmp = key_compare()
|
977
|
+
, const value_traits &v_traits = value_traits())
|
2538
978
|
: Base(cmp, v_traits)
|
2539
979
|
{}
|
2540
980
|
|
2541
981
|
template<class Iterator>
|
2542
982
|
splay_multiset( Iterator b, Iterator e
|
2543
|
-
, const
|
983
|
+
, const key_compare &cmp = key_compare()
|
2544
984
|
, const value_traits &v_traits = value_traits())
|
2545
985
|
: Base(b, e, cmp, v_traits)
|
2546
986
|
{}
|
@@ -2550,7 +990,15 @@ class splay_multiset
|
|
2550
990
|
{}
|
2551
991
|
|
2552
992
|
splay_multiset& operator=(BOOST_RV_REF(splay_multiset) x)
|
2553
|
-
{ this->Base::operator=(::boost::move(static_cast<Base&>(x)));
|
993
|
+
{ return static_cast<splay_multiset &>(this->Base::operator=(::boost::move(static_cast<Base&>(x)))); }
|
994
|
+
|
995
|
+
template <class Cloner, class Disposer>
|
996
|
+
void clone_from(const splay_multiset &src, Cloner cloner, Disposer disposer)
|
997
|
+
{ Base::clone_from(src, cloner, disposer); }
|
998
|
+
|
999
|
+
template <class Cloner, class Disposer>
|
1000
|
+
void clone_from(BOOST_RV_REF(splay_multiset) src, Cloner cloner, Disposer disposer)
|
1001
|
+
{ Base::clone_from(BOOST_MOVE_BASE(Base, src), cloner, disposer); }
|
2554
1002
|
|
2555
1003
|
static splay_multiset &container_from_end_iterator(iterator end_iterator)
|
2556
1004
|
{ return static_cast<splay_multiset &>(Base::container_from_end_iterator(end_iterator)); }
|