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,29 +16,25 @@
|
|
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/rbtree_node.hpp>
|
21
21
|
#include <boost/intrusive/rbtree_algorithms.hpp>
|
22
22
|
#include <boost/intrusive/options.hpp>
|
23
23
|
#include <boost/intrusive/detail/generic_hook.hpp>
|
24
24
|
|
25
|
+
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
26
|
+
# pragma once
|
27
|
+
#endif
|
28
|
+
|
25
29
|
namespace boost {
|
26
30
|
namespace intrusive {
|
27
31
|
|
28
|
-
/// @cond
|
29
|
-
template<class VoidPointer, bool OptimizeSize = false>
|
30
|
-
struct get_set_node_algo
|
31
|
-
{
|
32
|
-
typedef rbtree_algorithms<rbtree_node_traits<VoidPointer, OptimizeSize> > type;
|
33
|
-
};
|
34
|
-
/// @endcond
|
35
|
-
|
36
32
|
//! Helper metafunction to define a \c set_base_hook that yields to the same
|
37
33
|
//! type when the same options (either explicitly or implicitly) are used.
|
38
34
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
39
35
|
template<class ...Options>
|
40
36
|
#else
|
41
|
-
template<class O1 =
|
37
|
+
template<class O1 = void, class O2 = void, class O3 = void, class O4 = void>
|
42
38
|
#endif
|
43
39
|
struct make_set_base_hook
|
44
40
|
{
|
@@ -52,12 +48,11 @@ struct make_set_base_hook
|
|
52
48
|
#endif
|
53
49
|
>::type packed_options;
|
54
50
|
|
55
|
-
typedef
|
56
|
-
<
|
57
|
-
,packed_options::optimize_size>
|
51
|
+
typedef generic_hook
|
52
|
+
< rbtree_algorithms<rbtree_node_traits<typename packed_options::void_pointer, packed_options::optimize_size> >
|
58
53
|
, typename packed_options::tag
|
59
54
|
, packed_options::link_mode
|
60
|
-
,
|
55
|
+
, RbTreeBaseHookId
|
61
56
|
> implementation_defined;
|
62
57
|
/// @endcond
|
63
58
|
typedef implementation_defined type;
|
@@ -76,7 +71,7 @@ struct make_set_base_hook
|
|
76
71
|
//! unique tag.
|
77
72
|
//!
|
78
73
|
//! \c void_pointer<> is the pointer type that will be used internally in the hook
|
79
|
-
//! and the
|
74
|
+
//! and the container configured to use this hook.
|
80
75
|
//!
|
81
76
|
//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
|
82
77
|
//! \c auto_unlink or \c safe_link).
|
@@ -170,7 +165,7 @@ class set_base_hook
|
|
170
165
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
171
166
|
template<class ...Options>
|
172
167
|
#else
|
173
|
-
template<class O1 =
|
168
|
+
template<class O1 = void, class O2 = void, class O3 = void, class O4 = void>
|
174
169
|
#endif
|
175
170
|
struct make_set_member_hook
|
176
171
|
{
|
@@ -184,12 +179,11 @@ struct make_set_member_hook
|
|
184
179
|
#endif
|
185
180
|
>::type packed_options;
|
186
181
|
|
187
|
-
typedef
|
188
|
-
<
|
189
|
-
,packed_options::optimize_size>
|
182
|
+
typedef generic_hook
|
183
|
+
< rbtree_algorithms<rbtree_node_traits<typename packed_options::void_pointer, packed_options::optimize_size> >
|
190
184
|
, member_tag
|
191
185
|
, packed_options::link_mode
|
192
|
-
,
|
186
|
+
, NoBaseHookId
|
193
187
|
> implementation_defined;
|
194
188
|
/// @endcond
|
195
189
|
typedef implementation_defined type;
|
@@ -203,7 +197,7 @@ struct make_set_member_hook
|
|
203
197
|
//! \c link_mode<> and \c optimize_size<>.
|
204
198
|
//!
|
205
199
|
//! \c void_pointer<> is the pointer type that will be used internally in the hook
|
206
|
-
//! and the
|
200
|
+
//! and the container configured to use this hook.
|
207
201
|
//!
|
208
202
|
//! \c link_mode<> will specify the linking mode of the hook (\c normal_link,
|
209
203
|
//! \c auto_unlink or \c safe_link).
|
@@ -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
|
@@ -14,16 +14,20 @@
|
|
14
14
|
|
15
15
|
#include <boost/intrusive/detail/config_begin.hpp>
|
16
16
|
#include <boost/intrusive/intrusive_fwd.hpp>
|
17
|
-
#include <boost/intrusive/sgtree.hpp>
|
18
17
|
#include <boost/intrusive/detail/mpl.hpp>
|
19
|
-
#include <boost/
|
20
|
-
#include <
|
18
|
+
#include <boost/intrusive/sgtree.hpp>
|
19
|
+
#include <boost/static_assert.hpp>
|
20
|
+
#include <boost/move/utility_core.hpp>
|
21
|
+
|
22
|
+
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
23
|
+
# pragma once
|
24
|
+
#endif
|
21
25
|
|
22
26
|
namespace boost {
|
23
27
|
namespace intrusive {
|
24
28
|
|
25
29
|
//! The class template sg_set is an intrusive container, that mimics most of
|
26
|
-
//! the interface of std::
|
30
|
+
//! the interface of std::sg_set as described in the C++ standard.
|
27
31
|
//!
|
28
32
|
//! The template parameter \c T is the type to be managed by the container.
|
29
33
|
//! The user can specify additional options and if no options are provided
|
@@ -31,19 +35,20 @@ namespace intrusive {
|
|
31
35
|
//!
|
32
36
|
//! The container supports the following options:
|
33
37
|
//! \c base_hook<>/member_hook<>/value_traits<>,
|
34
|
-
//! \c
|
38
|
+
//! \c floating_point<>, \c size_type<> and
|
35
39
|
//! \c compare<>.
|
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 FloatingPoint, typename HeaderHolder>
|
40
44
|
#endif
|
41
45
|
class sg_set_impl
|
46
|
+
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
47
|
+
: public sgtree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, FloatingPoint, HeaderHolder>
|
48
|
+
#endif
|
42
49
|
{
|
43
50
|
/// @cond
|
44
|
-
typedef sgtree_impl<
|
45
|
-
//! This class is
|
46
|
-
//! movable
|
51
|
+
typedef sgtree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, FloatingPoint, HeaderHolder> tree_type;
|
47
52
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(sg_set_impl)
|
48
53
|
|
49
54
|
typedef tree_type implementation_defined;
|
@@ -51,6 +56,8 @@ class sg_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,1250 +78,408 @@ class sg_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
|
-
|
75
|
-
private:
|
76
|
-
tree_type tree_;
|
77
|
-
/// @endcond
|
81
|
+
static const bool constant_time_size = tree_type::constant_time_size;
|
78
82
|
|
79
83
|
public:
|
80
|
-
//!
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
85
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
86
|
-
//! or the copy constructor of the value_compare object throws.
|
87
|
-
explicit sg_set_impl( const value_compare &cmp = value_compare()
|
88
|
-
, const value_traits &v_traits = value_traits())
|
89
|
-
: tree_(cmp, v_traits)
|
84
|
+
//! @copydoc ::boost::intrusive::sgtree::sgtree(const key_compare &,const value_traits &)
|
85
|
+
explicit sg_set_impl( const key_compare &cmp = key_compare()
|
86
|
+
, const value_traits &v_traits = value_traits())
|
87
|
+
: tree_type(cmp, v_traits)
|
90
88
|
{}
|
91
89
|
|
92
|
-
//!
|
93
|
-
//! cmp must be a comparison function that induces a strict weak ordering.
|
94
|
-
//!
|
95
|
-
//! <b>Effects</b>: Constructs an empty sg_set and inserts elements from
|
96
|
-
//! [b, e).
|
97
|
-
//!
|
98
|
-
//! <b>Complexity</b>: Linear in N if [b, e) is already sorted using
|
99
|
-
//! comp and otherwise N * log N, where N is std::distance(last, first).
|
100
|
-
//!
|
101
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
102
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
103
|
-
//! or the copy constructor/operator() of the value_compare object throws.
|
90
|
+
//! @copydoc ::boost::intrusive::sgtree::sgtree(bool,Iterator,Iterator,const key_compare &,const value_traits &)
|
104
91
|
template<class Iterator>
|
105
92
|
sg_set_impl( Iterator b, Iterator e
|
106
|
-
, const
|
93
|
+
, const key_compare &cmp = key_compare()
|
107
94
|
, const value_traits &v_traits = value_traits())
|
108
|
-
:
|
95
|
+
: tree_type(true, b, e, cmp, v_traits)
|
109
96
|
{}
|
110
97
|
|
111
|
-
//!
|
112
|
-
//!
|
98
|
+
//! @copydoc ::boost::intrusive::sgtree::sgtree(sgtree &&)
|
113
99
|
sg_set_impl(BOOST_RV_REF(sg_set_impl) x)
|
114
|
-
:
|
100
|
+
: tree_type(BOOST_MOVE_BASE(tree_type, x))
|
115
101
|
{}
|
116
102
|
|
117
|
-
//!
|
118
|
-
//!
|
103
|
+
//! @copydoc ::boost::intrusive::sgtree::operator=(sgtree &&)
|
119
104
|
sg_set_impl& operator=(BOOST_RV_REF(sg_set_impl) x)
|
120
|
-
{
|
121
|
-
|
122
|
-
|
123
|
-
//!
|
124
|
-
|
125
|
-
|
126
|
-
//!
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
105
|
+
{ return static_cast<sg_set_impl&>(tree_type::operator=(BOOST_MOVE_BASE(tree_type, x))); }
|
106
|
+
|
107
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
108
|
+
//! @copydoc ::boost::intrusive::sgtree::~sgtree()
|
109
|
+
~sg_set_impl();
|
110
|
+
|
111
|
+
//! @copydoc ::boost::intrusive::sgtree::begin()
|
112
|
+
iterator begin();
|
113
|
+
|
114
|
+
//! @copydoc ::boost::intrusive::sgtree::begin()const
|
115
|
+
const_iterator begin() const;
|
116
|
+
|
117
|
+
//! @copydoc ::boost::intrusive::sgtree::cbegin()const
|
118
|
+
const_iterator cbegin() const;
|
119
|
+
|
120
|
+
//! @copydoc ::boost::intrusive::sgtree::end()
|
121
|
+
iterator end();
|
122
|
+
|
123
|
+
//! @copydoc ::boost::intrusive::sgtree::end()const
|
124
|
+
const_iterator end() const;
|
125
|
+
|
126
|
+
//! @copydoc ::boost::intrusive::sgtree::cend()const
|
127
|
+
const_iterator cend() const;
|
128
|
+
|
129
|
+
//! @copydoc ::boost::intrusive::sgtree::rbegin()
|
130
|
+
reverse_iterator rbegin();
|
131
|
+
|
132
|
+
//! @copydoc ::boost::intrusive::sgtree::rbegin()const
|
133
|
+
const_reverse_iterator rbegin() const;
|
131
134
|
|
132
|
-
//!
|
133
|
-
|
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
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the end of the sg_set.
|
173
|
-
//!
|
174
|
-
//! <b>Complexity</b>: Constant.
|
175
|
-
//!
|
176
|
-
//! <b>Throws</b>: Nothing.
|
177
|
-
const_iterator cend() const
|
178
|
-
{ return tree_.cend(); }
|
179
|
-
|
180
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning of the
|
181
|
-
//! reversed sg_set.
|
182
|
-
//!
|
183
|
-
//! <b>Complexity</b>: Constant.
|
184
|
-
//!
|
185
|
-
//! <b>Throws</b>: Nothing.
|
186
|
-
reverse_iterator rbegin()
|
187
|
-
{ return tree_.rbegin(); }
|
188
|
-
|
189
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
190
|
-
//! of the reversed sg_set.
|
191
|
-
//!
|
192
|
-
//! <b>Complexity</b>: Constant.
|
193
|
-
//!
|
194
|
-
//! <b>Throws</b>: Nothing.
|
195
|
-
const_reverse_iterator rbegin() const
|
196
|
-
{ return tree_.rbegin(); }
|
197
|
-
|
198
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
199
|
-
//! of the reversed sg_set.
|
200
|
-
//!
|
201
|
-
//! <b>Complexity</b>: Constant.
|
202
|
-
//!
|
203
|
-
//! <b>Throws</b>: Nothing.
|
204
|
-
const_reverse_iterator crbegin() const
|
205
|
-
{ return tree_.crbegin(); }
|
206
|
-
|
207
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
208
|
-
//! of the reversed sg_set.
|
209
|
-
//!
|
210
|
-
//! <b>Complexity</b>: Constant.
|
211
|
-
//!
|
212
|
-
//! <b>Throws</b>: Nothing.
|
213
|
-
reverse_iterator rend()
|
214
|
-
{ return tree_.rend(); }
|
215
|
-
|
216
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
217
|
-
//! of the reversed sg_set.
|
218
|
-
//!
|
219
|
-
//! <b>Complexity</b>: Constant.
|
220
|
-
//!
|
221
|
-
//! <b>Throws</b>: Nothing.
|
222
|
-
const_reverse_iterator rend() const
|
223
|
-
{ return tree_.rend(); }
|
224
|
-
|
225
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
226
|
-
//! of the reversed sg_set.
|
227
|
-
//!
|
228
|
-
//! <b>Complexity</b>: Constant.
|
229
|
-
//!
|
230
|
-
//! <b>Throws</b>: Nothing.
|
231
|
-
const_reverse_iterator crend() const
|
232
|
-
{ return tree_.crend(); }
|
233
|
-
|
234
|
-
//! <b>Precondition</b>: end_iterator must be a valid end iterator
|
235
|
-
//! of sg_set.
|
236
|
-
//!
|
237
|
-
//! <b>Effects</b>: Returns a const reference to the sg_set associated to the end iterator
|
238
|
-
//!
|
239
|
-
//! <b>Throws</b>: Nothing.
|
240
|
-
//!
|
241
|
-
//! <b>Complexity</b>: Constant.
|
242
|
-
static sg_set_impl &container_from_end_iterator(iterator end_iterator)
|
243
|
-
{
|
244
|
-
return *detail::parent_from_member<sg_set_impl, tree_type>
|
245
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
246
|
-
, &sg_set_impl::tree_);
|
247
|
-
}
|
248
|
-
|
249
|
-
//! <b>Precondition</b>: end_iterator must be a valid end const_iterator
|
250
|
-
//! of sg_set.
|
251
|
-
//!
|
252
|
-
//! <b>Effects</b>: Returns a const reference to the sg_set associated to the end iterator
|
253
|
-
//!
|
254
|
-
//! <b>Throws</b>: Nothing.
|
255
|
-
//!
|
256
|
-
//! <b>Complexity</b>: Constant.
|
257
|
-
static const sg_set_impl &container_from_end_iterator(const_iterator end_iterator)
|
258
|
-
{
|
259
|
-
return *detail::parent_from_member<sg_set_impl, tree_type>
|
260
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
261
|
-
, &sg_set_impl::tree_);
|
262
|
-
}
|
263
|
-
|
264
|
-
//! <b>Precondition</b>: it must be a valid iterator of set.
|
265
|
-
//!
|
266
|
-
//! <b>Effects</b>: Returns a reference to the set associated to the iterator
|
267
|
-
//!
|
268
|
-
//! <b>Throws</b>: Nothing.
|
269
|
-
//!
|
270
|
-
//! <b>Complexity</b>: Logarithmic.
|
271
|
-
static sg_set_impl &container_from_iterator(iterator it)
|
272
|
-
{
|
273
|
-
return *detail::parent_from_member<sg_set_impl, tree_type>
|
274
|
-
( &tree_type::container_from_iterator(it)
|
275
|
-
, &sg_set_impl::tree_);
|
276
|
-
}
|
277
|
-
|
278
|
-
//! <b>Precondition</b>: it must be a valid const_iterator of set.
|
279
|
-
//!
|
280
|
-
//! <b>Effects</b>: Returns a const reference to the set associated to the iterator
|
281
|
-
//!
|
282
|
-
//! <b>Throws</b>: Nothing.
|
283
|
-
//!
|
284
|
-
//! <b>Complexity</b>: Logarithmic.
|
285
|
-
static const sg_set_impl &container_from_iterator(const_iterator it)
|
286
|
-
{
|
287
|
-
return *detail::parent_from_member<sg_set_impl, tree_type>
|
288
|
-
( &tree_type::container_from_iterator(it)
|
289
|
-
, &sg_set_impl::tree_);
|
290
|
-
}
|
291
|
-
|
292
|
-
//! <b>Effects</b>: Returns the key_compare object used by the sg_set.
|
293
|
-
//!
|
294
|
-
//! <b>Complexity</b>: Constant.
|
295
|
-
//!
|
296
|
-
//! <b>Throws</b>: If key_compare copy-constructor throws.
|
297
|
-
key_compare key_comp() const
|
298
|
-
{ return tree_.value_comp(); }
|
299
|
-
|
300
|
-
//! <b>Effects</b>: Returns the value_compare object used by the sg_set.
|
301
|
-
//!
|
302
|
-
//! <b>Complexity</b>: Constant.
|
303
|
-
//!
|
304
|
-
//! <b>Throws</b>: If value_compare copy-constructor throws.
|
305
|
-
value_compare value_comp() const
|
306
|
-
{ return tree_.value_comp(); }
|
307
|
-
|
308
|
-
//! <b>Effects</b>: Returns true if the container is empty.
|
309
|
-
//!
|
310
|
-
//! <b>Complexity</b>: Constant.
|
311
|
-
//!
|
312
|
-
//! <b>Throws</b>: Nothing.
|
313
|
-
bool empty() const
|
314
|
-
{ return tree_.empty(); }
|
315
|
-
|
316
|
-
//! <b>Effects</b>: Returns the number of elements stored in the sg_set.
|
317
|
-
//!
|
318
|
-
//! <b>Complexity</b>: Linear to elements contained in *this if,
|
319
|
-
//! constant-time size option is enabled. Constant-time otherwise.
|
320
|
-
//!
|
321
|
-
//! <b>Throws</b>: Nothing.
|
322
|
-
size_type size() const
|
323
|
-
{ return tree_.size(); }
|
324
|
-
|
325
|
-
//! <b>Effects</b>: Swaps the contents of two sets.
|
326
|
-
//!
|
327
|
-
//! <b>Complexity</b>: Constant.
|
328
|
-
//!
|
329
|
-
//! <b>Throws</b>: If the swap() call for the comparison functor
|
330
|
-
//! found using ADL throws. Strong guarantee.
|
331
|
-
void swap(sg_set_impl& other)
|
332
|
-
{ tree_.swap(other.tree_); }
|
333
|
-
|
334
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
335
|
-
//! Cloner should yield to nodes equivalent to the original nodes.
|
336
|
-
//!
|
337
|
-
//! <b>Effects</b>: Erases all the elements from *this
|
338
|
-
//! calling Disposer::operator()(pointer), clones all the
|
339
|
-
//! elements from src calling Cloner::operator()(const_reference )
|
340
|
-
//! and inserts them on *this. Copies the predicate from the source container.
|
341
|
-
//!
|
342
|
-
//! If cloner throws, all cloned elements are unlinked and disposed
|
343
|
-
//! calling Disposer::operator()(pointer).
|
344
|
-
//!
|
345
|
-
//! <b>Complexity</b>: Linear to erased plus inserted elements.
|
346
|
-
//!
|
347
|
-
//! <b>Throws</b>: If cloner throws or predicate copy assignment throws. Basic guarantee.
|
135
|
+
//! @copydoc ::boost::intrusive::sgtree::crbegin()const
|
136
|
+
const_reverse_iterator crbegin() const;
|
137
|
+
|
138
|
+
//! @copydoc ::boost::intrusive::sgtree::rend()
|
139
|
+
reverse_iterator rend();
|
140
|
+
|
141
|
+
//! @copydoc ::boost::intrusive::sgtree::rend()const
|
142
|
+
const_reverse_iterator rend() const;
|
143
|
+
|
144
|
+
//! @copydoc ::boost::intrusive::sgtree::crend()const
|
145
|
+
const_reverse_iterator crend() const;
|
146
|
+
|
147
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_end_iterator(iterator)
|
148
|
+
static sg_set_impl &container_from_end_iterator(iterator end_iterator);
|
149
|
+
|
150
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_end_iterator(const_iterator)
|
151
|
+
static const sg_set_impl &container_from_end_iterator(const_iterator end_iterator);
|
152
|
+
|
153
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_iterator(iterator)
|
154
|
+
static sg_set_impl &container_from_iterator(iterator it);
|
155
|
+
|
156
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_iterator(const_iterator)
|
157
|
+
static const sg_set_impl &container_from_iterator(const_iterator it);
|
158
|
+
|
159
|
+
//! @copydoc ::boost::intrusive::sgtree::key_comp()const
|
160
|
+
key_compare key_comp() const;
|
161
|
+
|
162
|
+
//! @copydoc ::boost::intrusive::sgtree::value_comp()const
|
163
|
+
value_compare value_comp() const;
|
164
|
+
|
165
|
+
//! @copydoc ::boost::intrusive::sgtree::empty()const
|
166
|
+
bool empty() const;
|
167
|
+
|
168
|
+
//! @copydoc ::boost::intrusive::sgtree::size()const
|
169
|
+
size_type size() const;
|
170
|
+
|
171
|
+
//! @copydoc ::boost::intrusive::sgtree::swap
|
172
|
+
void swap(sg_set_impl& other);
|
173
|
+
|
174
|
+
//! @copydoc ::boost::intrusive::sgtree::clone_from(const sgtree&,Cloner,Disposer)
|
348
175
|
template <class Cloner, class Disposer>
|
349
|
-
void clone_from(const sg_set_impl &src, Cloner cloner, Disposer disposer)
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
//!
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
//!
|
363
|
-
//! most logarithmic.
|
364
|
-
//!
|
365
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Strong guarantee.
|
366
|
-
//!
|
367
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
368
|
-
//! No copy-constructors are called.
|
176
|
+
void clone_from(const sg_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::sgtree::clone_from(sgtree&&,Cloner,Disposer)
|
185
|
+
template <class Cloner, class Disposer>
|
186
|
+
void clone_from(BOOST_RV_REF(sg_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::sgtree::insert_unique(reference)
|
369
190
|
std::pair<iterator, bool> insert(reference value)
|
370
|
-
{ return
|
371
|
-
|
372
|
-
//!
|
373
|
-
//!
|
374
|
-
//! <b>Effects</b>: Tries to to insert x into the sg_set, using "hint"
|
375
|
-
//! as a hint to where it will be inserted.
|
376
|
-
//!
|
377
|
-
//! <b>Returns</b>: An iterator that points to the position where the
|
378
|
-
//! new element was inserted into the sg_set.
|
379
|
-
//!
|
380
|
-
//! <b>Complexity</b>: Logarithmic in general, but it's amortized
|
381
|
-
//! constant time if t is inserted immediately before hint.
|
382
|
-
//!
|
383
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Strong guarantee.
|
384
|
-
//!
|
385
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
386
|
-
//! No copy-constructors are called.
|
191
|
+
{ return tree_type::insert_unique(value); }
|
192
|
+
|
193
|
+
//! @copydoc ::boost::intrusive::sgtree::insert_unique(const_iterator,reference)
|
387
194
|
iterator insert(const_iterator hint, reference value)
|
388
|
-
{ return
|
389
|
-
|
390
|
-
//!
|
391
|
-
|
392
|
-
//! key_value_comp compares an arbitrary key with the contained values.
|
393
|
-
//!
|
394
|
-
//! <b>Effects</b>: Checks if a value can be inserted in the sg_set, using
|
395
|
-
//! a user provided key instead of the value itself.
|
396
|
-
//!
|
397
|
-
//! <b>Returns</b>: If there is an equivalent value
|
398
|
-
//! returns a pair containing an iterator to the already present value
|
399
|
-
//! and false. If the value can be inserted returns true in the returned
|
400
|
-
//! pair boolean and fills "commit_data" that is meant to be used with
|
401
|
-
//! the "insert_commit" function.
|
402
|
-
//!
|
403
|
-
//! <b>Complexity</b>: Average complexity is at most logarithmic.
|
404
|
-
//!
|
405
|
-
//! <b>Throws</b>: If the key_value_comp ordering function throws. Strong guarantee.
|
406
|
-
//!
|
407
|
-
//! <b>Notes</b>: This function is used to improve performance when constructing
|
408
|
-
//! a value_type is expensive: if there is an equivalent value
|
409
|
-
//! the constructed object must be discarded. Many times, the part of the
|
410
|
-
//! node that is used to impose the order is much cheaper to construct
|
411
|
-
//! than the value_type and this function offers the possibility to use that
|
412
|
-
//! part to check if the insertion will be successful.
|
413
|
-
//!
|
414
|
-
//! If the check is successful, the user can construct the value_type and use
|
415
|
-
//! "insert_commit" to insert the object in constant-time. This gives a total
|
416
|
-
//! logarithmic complexity to the insertion: check(O(log(N)) + commit(O(1)).
|
417
|
-
//!
|
418
|
-
//! "commit_data" remains valid for a subsequent "insert_commit" only if no more
|
419
|
-
//! objects are inserted or erased from the sg_set.
|
420
|
-
template<class KeyType, class KeyValueCompare>
|
195
|
+
{ return tree_type::insert_unique(hint, value); }
|
196
|
+
|
197
|
+
//! @copydoc ::boost::intrusive::sgtree::insert_unique_check(const KeyType&,KeyTypeKeyCompare,insert_commit_data&)
|
198
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
421
199
|
std::pair<iterator, bool> insert_check
|
422
|
-
(const KeyType &key,
|
423
|
-
{ return
|
424
|
-
|
425
|
-
//!
|
426
|
-
|
427
|
-
//! key_value_comp compares an arbitrary key with the contained values.
|
428
|
-
//!
|
429
|
-
//! <b>Effects</b>: Checks if a value can be inserted in the sg_set, using
|
430
|
-
//! a user provided key instead of the value itself, using "hint"
|
431
|
-
//! as a hint to where it will be inserted.
|
432
|
-
//!
|
433
|
-
//! <b>Returns</b>: If there is an equivalent value
|
434
|
-
//! returns a pair containing an iterator to the already present value
|
435
|
-
//! and false. If the value can be inserted returns true in the returned
|
436
|
-
//! pair boolean and fills "commit_data" that is meant to be used with
|
437
|
-
//! the "insert_commit" function.
|
438
|
-
//!
|
439
|
-
//! <b>Complexity</b>: Logarithmic in general, but it's amortized
|
440
|
-
//! constant time if t is inserted immediately before hint.
|
441
|
-
//!
|
442
|
-
//! <b>Throws</b>: If the key_value_comp ordering function throws. Strong guarantee.
|
443
|
-
//!
|
444
|
-
//! <b>Notes</b>: This function is used to improve performance when constructing
|
445
|
-
//! a value_type is expensive: if there is an equivalent value
|
446
|
-
//! the constructed object must be discarded. Many times, the part of the
|
447
|
-
//! constructing that is used to impose the order is much cheaper to construct
|
448
|
-
//! than the value_type and this function offers the possibility to use that key
|
449
|
-
//! to check if the insertion will be successful.
|
450
|
-
//!
|
451
|
-
//! If the check is successful, the user can construct the value_type and use
|
452
|
-
//! "insert_commit" to insert the object in constant-time. This can give a total
|
453
|
-
//! constant-time complexity to the insertion: check(O(1)) + commit(O(1)).
|
454
|
-
//!
|
455
|
-
//! "commit_data" remains valid for a subsequent "insert_commit" only if no more
|
456
|
-
//! objects are inserted or erased from the sg_set.
|
457
|
-
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::sgtree::insert_unique_check(const_iterator,const KeyType&,KeyTypeKeyCompare,insert_commit_data&)
|
204
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
458
205
|
std::pair<iterator, bool> insert_check
|
459
206
|
(const_iterator hint, const KeyType &key
|
460
|
-
,
|
461
|
-
{ return
|
462
|
-
|
463
|
-
//!
|
464
|
-
//! must have been obtained from a previous call to "insert_check".
|
465
|
-
//! No objects should have been inserted or erased from the sg_set between
|
466
|
-
//! the "insert_check" that filled "commit_data" and the call to "insert_commit".
|
467
|
-
//!
|
468
|
-
//! <b>Effects</b>: Inserts the value in the sg_set using the information obtained
|
469
|
-
//! from the "commit_data" that a previous "insert_check" filled.
|
470
|
-
//!
|
471
|
-
//! <b>Returns</b>: An iterator to the newly inserted object.
|
472
|
-
//!
|
473
|
-
//! <b>Complexity</b>: Constant time.
|
474
|
-
//!
|
475
|
-
//! <b>Throws</b>: Nothing.
|
476
|
-
//!
|
477
|
-
//! <b>Notes</b>: This function has only sense if a "insert_check" has been
|
478
|
-
//! previously executed to fill "commit_data". No value should be inserted or
|
479
|
-
//! erased between the "insert_check" and "insert_commit" calls.
|
480
|
-
iterator insert_commit(reference value, const insert_commit_data &commit_data)
|
481
|
-
{ return tree_.insert_unique_commit(value, commit_data); }
|
482
|
-
|
483
|
-
//! <b>Requires</b>: Dereferencing iterator must yield an lvalue
|
484
|
-
//! of type value_type.
|
485
|
-
//!
|
486
|
-
//! <b>Effects</b>: Inserts a range into the sg_set.
|
487
|
-
//!
|
488
|
-
//! <b>Complexity</b>: Insert range is in general O(N * log(N)), where N is the
|
489
|
-
//! size of the range. However, it is linear in N if the range is already sorted
|
490
|
-
//! by value_comp().
|
491
|
-
//!
|
492
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
493
|
-
//!
|
494
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
495
|
-
//! 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::sgtree::insert_unique(Iterator,Iterator)
|
496
211
|
template<class Iterator>
|
497
212
|
void insert(Iterator b, Iterator e)
|
498
|
-
{
|
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
|
-
//!
|
524
|
-
|
525
|
-
|
526
|
-
//! <b>Throws</b>: Nothing.
|
527
|
-
//!
|
528
|
-
//! <b>Note</b>: This function does not check preconditions so if value is
|
529
|
-
//! less than or equal to the greatest inserted key tree ordering invariant will be broken.
|
530
|
-
//! This function is slightly more efficient than using "insert_before".
|
531
|
-
//! This is a low-level function to be used only for performance reasons
|
532
|
-
//! by advanced users.
|
533
|
-
void push_back(reference value)
|
534
|
-
{ tree_.push_back(value); }
|
535
|
-
|
536
|
-
//! <b>Requires</b>: value must be an lvalue, and it must be less
|
537
|
-
//! than any inserted key according to the predicate.
|
538
|
-
//!
|
539
|
-
//! <b>Effects</b>: Inserts x into the tree in the first position.
|
540
|
-
//!
|
541
|
-
//! <b>Complexity</b>: Constant time.
|
542
|
-
//!
|
543
|
-
//! <b>Throws</b>: Nothing.
|
544
|
-
//!
|
545
|
-
//! <b>Note</b>: This function does not check preconditions so if value is
|
546
|
-
//! greater than or equal to the the mimum inserted key tree ordering or uniqueness
|
547
|
-
//! invariants will be broken.
|
548
|
-
//! This function is slightly more efficient than using "insert_before".
|
549
|
-
//! This is a low-level function to be used only for performance reasons
|
550
|
-
//! by advanced users.
|
551
|
-
void push_front(reference value)
|
552
|
-
{ tree_.push_front(value); }
|
553
|
-
|
554
|
-
//! <b>Effects</b>: Erases the element pointed to by pos.
|
555
|
-
//!
|
556
|
-
//! <b>Complexity</b>: Average complexity is constant time.
|
557
|
-
//!
|
558
|
-
//! <b>Returns</b>: An iterator to the element after the erased element.
|
559
|
-
//!
|
560
|
-
//! <b>Throws</b>: Nothing.
|
561
|
-
//!
|
562
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
563
|
-
//! to the erased elements. No destructors are called.
|
564
|
-
iterator erase(const_iterator i)
|
565
|
-
{ return tree_.erase(i); }
|
566
|
-
|
567
|
-
//! <b>Effects</b>: Erases the range pointed to by b end e.
|
568
|
-
//!
|
569
|
-
//! <b>Complexity</b>: Average complexity for erase range is at most
|
570
|
-
//! O(log(size() + N)), where N is the number of elements in the range.
|
571
|
-
//!
|
572
|
-
//! <b>Returns</b>: An iterator to the element after the erased elements.
|
573
|
-
//!
|
574
|
-
//! <b>Throws</b>: Nothing.
|
575
|
-
//!
|
576
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
577
|
-
//! to the erased elements. No destructors are called.
|
578
|
-
iterator erase(const_iterator b, const_iterator e)
|
579
|
-
{ return tree_.erase(b, e); }
|
580
|
-
|
581
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
582
|
-
//!
|
583
|
-
//! <b>Returns</b>: The number of erased elements.
|
584
|
-
//!
|
585
|
-
//! <b>Complexity</b>: O(log(size()) + this->count(value)).
|
586
|
-
//!
|
587
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
588
|
-
//!
|
589
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
590
|
-
//! to the erased elements. No destructors are called.
|
591
|
-
size_type erase(const_reference value)
|
592
|
-
{ return tree_.erase(value); }
|
593
|
-
|
594
|
-
//! <b>Effects</b>: Erases all the elements that compare equal with
|
595
|
-
//! the given key and the given comparison functor.
|
596
|
-
//!
|
597
|
-
//! <b>Returns</b>: The number of erased elements.
|
598
|
-
//!
|
599
|
-
//! <b>Complexity</b>: O(log(size() + this->count(key, comp)).
|
600
|
-
//!
|
601
|
-
//! <b>Throws</b>: If the comp ordering function throws. Basic guarantee.
|
602
|
-
//!
|
603
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
604
|
-
//! to the erased elements. No destructors are called.
|
605
|
-
template<class KeyType, class KeyValueCompare>
|
606
|
-
size_type erase(const KeyType& key, KeyValueCompare comp
|
607
|
-
/// @cond
|
608
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
609
|
-
/// @endcond
|
610
|
-
)
|
611
|
-
{ return tree_.erase(key, comp); }
|
612
|
-
|
613
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
614
|
-
//!
|
615
|
-
//! <b>Effects</b>: Erases the element pointed to by pos.
|
616
|
-
//! Disposer::operator()(pointer) is called for the removed element.
|
617
|
-
//!
|
618
|
-
//! <b>Complexity</b>: Average complexity for erase element is constant time.
|
619
|
-
//!
|
620
|
-
//! <b>Returns</b>: An iterator to the element after the erased element.
|
621
|
-
//!
|
622
|
-
//! <b>Throws</b>: Nothing.
|
623
|
-
//!
|
624
|
-
//! <b>Note</b>: Invalidates the iterators
|
625
|
-
//! to the erased elements.
|
626
|
-
template<class Disposer>
|
627
|
-
iterator erase_and_dispose(const_iterator i, Disposer disposer)
|
628
|
-
{ return tree_.erase_and_dispose(i, disposer); }
|
213
|
+
{ tree_type::insert_unique(b, e); }
|
214
|
+
|
215
|
+
//! @copydoc ::boost::intrusive::sgtree::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::sgtree::insert_before
|
221
|
+
iterator insert_before(const_iterator pos, reference value);
|
222
|
+
|
223
|
+
//! @copydoc ::boost::intrusive::sgtree::push_back
|
224
|
+
void push_back(reference value);
|
225
|
+
|
226
|
+
//! @copydoc ::boost::intrusive::sgtree::push_front
|
227
|
+
void push_front(reference value);
|
228
|
+
|
229
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const_iterator)
|
230
|
+
iterator erase(const_iterator i);
|
231
|
+
|
232
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const_iterator,const_iterator)
|
233
|
+
iterator erase(const_iterator b, const_iterator e);
|
234
|
+
|
235
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const key_type &)
|
236
|
+
size_type erase(const key_type &key);
|
237
|
+
|
238
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const KeyType&,KeyTypeKeyCompare)
|
239
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
240
|
+
size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
|
629
241
|
|
630
|
-
|
242
|
+
//! @copydoc ::boost::intrusive::sgtree::erase_and_dispose(const_iterator,Disposer)
|
631
243
|
template<class Disposer>
|
632
|
-
iterator erase_and_dispose(
|
633
|
-
{ return this->erase_and_dispose(const_iterator(i), disposer); }
|
634
|
-
#endif
|
244
|
+
iterator erase_and_dispose(const_iterator i, Disposer disposer);
|
635
245
|
|
636
|
-
//!
|
637
|
-
//!
|
638
|
-
//! <b>Effects</b>: Erases the range pointed to by b end e.
|
639
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
640
|
-
//!
|
641
|
-
//! <b>Complexity</b>: Average complexity for erase range is at most
|
642
|
-
//! O(log(size() + N)), where N is the number of elements in the range.
|
643
|
-
//!
|
644
|
-
//! <b>Returns</b>: An iterator to the element after the erased elements.
|
645
|
-
//!
|
646
|
-
//! <b>Throws</b>: Nothing.
|
647
|
-
//!
|
648
|
-
//! <b>Note</b>: Invalidates the iterators
|
649
|
-
//! to the erased elements.
|
246
|
+
//! @copydoc ::boost::intrusive::sgtree::erase_and_dispose(const_iterator,const_iterator,Disposer)
|
650
247
|
template<class Disposer>
|
651
|
-
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer)
|
652
|
-
|
653
|
-
|
654
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
655
|
-
//!
|
656
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
657
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
658
|
-
//!
|
659
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
660
|
-
//!
|
661
|
-
//! <b>Complexity</b>: O(log(size() + this->count(value)). Basic guarantee.
|
662
|
-
//!
|
663
|
-
//! <b>Throws</b>: Nothing.
|
664
|
-
//!
|
665
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
666
|
-
//! 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::sgtree::erase_and_dispose(const key_type &, Disposer)
|
667
251
|
template<class Disposer>
|
668
|
-
size_type erase_and_dispose(
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
//!
|
675
|
-
|
676
|
-
|
677
|
-
//!
|
678
|
-
//!
|
679
|
-
//! <b>Complexity</b>: O(log(size() + this->count(key, comp)).
|
680
|
-
//!
|
681
|
-
//! <b>Throws</b>: If comp ordering function throws. Basic guarantee.
|
682
|
-
//!
|
683
|
-
//! <b>Note</b>: Invalidates the iterators
|
684
|
-
//! to the erased elements.
|
685
|
-
template<class KeyType, class KeyValueCompare, class Disposer>
|
686
|
-
size_type erase_and_dispose(const KeyType& key, KeyValueCompare comp, Disposer disposer
|
687
|
-
/// @cond
|
688
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
689
|
-
/// @endcond
|
690
|
-
)
|
691
|
-
{ return tree_.erase_and_dispose(key, comp, disposer); }
|
692
|
-
|
693
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
694
|
-
//!
|
695
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
696
|
-
//! if it's a safe-mode or auto-unlink value_type. Constant time otherwise.
|
697
|
-
//!
|
698
|
-
//! <b>Throws</b>: Nothing.
|
699
|
-
//!
|
700
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
701
|
-
//! to the erased elements. No destructors are called.
|
702
|
-
void clear()
|
703
|
-
{ return tree_.clear(); }
|
704
|
-
|
705
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
706
|
-
//!
|
707
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
708
|
-
//!
|
709
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
710
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
711
|
-
//!
|
712
|
-
//! <b>Throws</b>: Nothing.
|
713
|
-
//!
|
714
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
715
|
-
//! 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::sgtree::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::sgtree::clear
|
259
|
+
void clear();
|
260
|
+
|
261
|
+
//! @copydoc ::boost::intrusive::sgtree::clear_and_dispose
|
716
262
|
template<class Disposer>
|
717
|
-
void clear_and_dispose(Disposer disposer)
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
//!
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
//!
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
//!
|
733
|
-
|
734
|
-
|
735
|
-
//!
|
736
|
-
template<class KeyType, class
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
//!
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
//!
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
//!
|
754
|
-
|
755
|
-
|
756
|
-
//!
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
//!
|
761
|
-
|
762
|
-
|
763
|
-
//!
|
764
|
-
template<class KeyType, class
|
765
|
-
iterator
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
//!
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
//!
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
//!
|
786
|
-
//!
|
787
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
788
|
-
//!
|
789
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
790
|
-
//! is expensive and the value_type can be compared with a cheaper
|
791
|
-
//! key type. Usually this key is part of the value_type.
|
792
|
-
template<class KeyType, class KeyValueCompare>
|
793
|
-
const_iterator lower_bound(const KeyType& key, KeyValueCompare comp) const
|
794
|
-
{ return tree_.lower_bound(key, comp); }
|
795
|
-
|
796
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
797
|
-
//! key is greater than k or end() if that element does not exist.
|
798
|
-
//!
|
799
|
-
//! <b>Complexity</b>: Logarithmic.
|
800
|
-
//!
|
801
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
802
|
-
iterator upper_bound(const_reference value)
|
803
|
-
{ return tree_.upper_bound(value); }
|
804
|
-
|
805
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
806
|
-
//! value_compare. Usually key is the part of the value_type
|
807
|
-
//! that is used in the ordering functor.
|
808
|
-
//!
|
809
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
810
|
-
//! key according to the comparison functor is greater than key or
|
811
|
-
//! end() if that element does not exist.
|
812
|
-
//!
|
813
|
-
//! <b>Complexity</b>: Logarithmic.
|
814
|
-
//!
|
815
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
816
|
-
//!
|
817
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
818
|
-
//! is expensive and the value_type can be compared with a cheaper
|
819
|
-
//! key type. Usually this key is part of the value_type.
|
820
|
-
template<class KeyType, class KeyValueCompare>
|
821
|
-
iterator upper_bound(const KeyType& key, KeyValueCompare comp)
|
822
|
-
{ return tree_.upper_bound(key, comp); }
|
823
|
-
|
824
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
825
|
-
//! key is greater than k or end() if that element does not exist.
|
826
|
-
//!
|
827
|
-
//! <b>Complexity</b>: Logarithmic.
|
828
|
-
//!
|
829
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
830
|
-
const_iterator upper_bound(const_reference value) const
|
831
|
-
{ return tree_.upper_bound(value); }
|
832
|
-
|
833
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
834
|
-
//! value_compare. Usually key is the part of the value_type
|
835
|
-
//! that is used in the ordering functor.
|
836
|
-
//!
|
837
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
838
|
-
//! key according to the comparison functor is greater than key or
|
839
|
-
//! end() if that element does not exist.
|
840
|
-
//!
|
841
|
-
//! <b>Complexity</b>: Logarithmic.
|
842
|
-
//!
|
843
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
844
|
-
//!
|
845
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
846
|
-
//! is expensive and the value_type can be compared with a cheaper
|
847
|
-
//! key type. Usually this key is part of the value_type.
|
848
|
-
template<class KeyType, class KeyValueCompare>
|
849
|
-
const_iterator upper_bound(const KeyType& key, KeyValueCompare comp) const
|
850
|
-
{ return tree_.upper_bound(key, comp); }
|
851
|
-
|
852
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose value is
|
853
|
-
//! "value" or end() if that element does not exist.
|
854
|
-
//!
|
855
|
-
//! <b>Complexity</b>: Logarithmic.
|
856
|
-
//!
|
857
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
858
|
-
iterator find(const_reference value)
|
859
|
-
{ return tree_.find(value); }
|
860
|
-
|
861
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
862
|
-
//! value_compare. Usually key is the part of the value_type
|
863
|
-
//! that is used in the ordering functor.
|
864
|
-
//!
|
865
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose key is
|
866
|
-
//! "key" according to the comparison functor or end() if that element
|
867
|
-
//! does not exist.
|
868
|
-
//!
|
869
|
-
//! <b>Complexity</b>: Logarithmic.
|
870
|
-
//!
|
871
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
872
|
-
//!
|
873
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
874
|
-
//! is expensive and the value_type can be compared with a cheaper
|
875
|
-
//! key type. Usually this key is part of the value_type.
|
876
|
-
template<class KeyType, class KeyValueCompare>
|
877
|
-
iterator find(const KeyType& key, KeyValueCompare comp)
|
878
|
-
{ return tree_.find(key, comp); }
|
879
|
-
|
880
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose value is
|
881
|
-
//! "value" or end() if that element does not exist.
|
882
|
-
//!
|
883
|
-
//! <b>Complexity</b>: Logarithmic.
|
884
|
-
//!
|
885
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
886
|
-
const_iterator find(const_reference value) const
|
887
|
-
{ return tree_.find(value); }
|
888
|
-
|
889
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
890
|
-
//! value_compare. Usually key is the part of the value_type
|
891
|
-
//! that is used in the ordering functor.
|
892
|
-
//!
|
893
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose key is
|
894
|
-
//! "key" according to the comparison functor or end() if that element
|
895
|
-
//! does not exist.
|
896
|
-
//!
|
897
|
-
//! <b>Complexity</b>: Logarithmic.
|
898
|
-
//!
|
899
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
900
|
-
//!
|
901
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
902
|
-
//! is expensive and the value_type can be compared with a cheaper
|
903
|
-
//! key type. Usually this key is part of the value_type.
|
904
|
-
template<class KeyType, class KeyValueCompare>
|
905
|
-
const_iterator find(const KeyType& key, KeyValueCompare comp) const
|
906
|
-
{ return tree_.find(key, comp); }
|
907
|
-
|
908
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
909
|
-
//! an empty range that indicates the position where those elements would be
|
910
|
-
//! if they there is no elements with key k.
|
911
|
-
//!
|
912
|
-
//! <b>Complexity</b>: Logarithmic.
|
913
|
-
//!
|
914
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
915
|
-
std::pair<iterator,iterator> equal_range(const_reference value)
|
916
|
-
{ return tree_.equal_range(value); }
|
917
|
-
|
918
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
919
|
-
//! value_compare. Usually key is the part of the value_type
|
920
|
-
//! that is used in the ordering functor.
|
921
|
-
//!
|
922
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
923
|
-
//! according to the comparison functor or an empty range
|
924
|
-
//! that indicates the position where those elements would be
|
925
|
-
//! if they there is no elements with key k.
|
926
|
-
//!
|
927
|
-
//! <b>Complexity</b>: Logarithmic.
|
928
|
-
//!
|
929
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
930
|
-
//!
|
931
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
932
|
-
//! is expensive and the value_type can be compared with a cheaper
|
933
|
-
//! key type. Usually this key is part of the value_type.
|
934
|
-
template<class KeyType, class KeyValueCompare>
|
935
|
-
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyValueCompare comp)
|
936
|
-
{ return tree_.equal_range(key, comp); }
|
937
|
-
|
938
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
939
|
-
//! an empty range that indicates the position where those elements would be
|
940
|
-
//! if they there is no elements with key k.
|
941
|
-
//!
|
942
|
-
//! <b>Complexity</b>: Logarithmic.
|
943
|
-
//!
|
944
|
-
//! <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::sgtree::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::sgtree::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::sgtree::lower_bound(const key_type &)
|
279
|
+
iterator lower_bound(const key_type &key);
|
280
|
+
|
281
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const KeyType&,KeyTypeKeyCompare)
|
282
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
283
|
+
iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
284
|
+
|
285
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const key_type &)const
|
286
|
+
const_iterator lower_bound(const key_type &key) const;
|
287
|
+
|
288
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const KeyType&,KeyTypeKeyCompare)const
|
289
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
290
|
+
const_iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
291
|
+
|
292
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const key_type &)
|
293
|
+
iterator upper_bound(const key_type &key);
|
294
|
+
|
295
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const KeyType&,KeyTypeKeyCompare)
|
296
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
297
|
+
iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
298
|
+
|
299
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const key_type &)const
|
300
|
+
const_iterator upper_bound(const key_type &key) const;
|
301
|
+
|
302
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const KeyType&,KeyTypeKeyCompare)const
|
303
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
304
|
+
const_iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
305
|
+
|
306
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const key_type &)
|
307
|
+
iterator find(const key_type &key);
|
308
|
+
|
309
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const KeyType&,KeyTypeKeyCompare)
|
310
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
311
|
+
iterator find(const KeyType& key, KeyTypeKeyCompare comp);
|
312
|
+
|
313
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const key_type &)const
|
314
|
+
const_iterator find(const key_type &key) const;
|
315
|
+
|
316
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const KeyType&,KeyTypeKeyCompare)const
|
317
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
318
|
+
const_iterator find(const KeyType& key, KeyTypeKeyCompare comp) const;
|
319
|
+
|
320
|
+
#endif // #ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
321
|
+
|
322
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const key_type &)
|
323
|
+
std::pair<iterator,iterator> equal_range(const key_type &key)
|
324
|
+
{ return this->tree_type::lower_bound_range(key); }
|
325
|
+
|
326
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const KeyType&,KeyTypeKeyCompare)
|
327
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
328
|
+
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyTypeKeyCompare comp)
|
329
|
+
{ return this->tree_type::equal_range(key, comp); }
|
330
|
+
|
331
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const key_type &)const
|
945
332
|
std::pair<const_iterator, const_iterator>
|
946
|
-
equal_range(
|
947
|
-
{ return
|
948
|
-
|
949
|
-
//!
|
950
|
-
|
951
|
-
//! that is used in the ordering functor.
|
952
|
-
//!
|
953
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
954
|
-
//! according to the comparison functor or an empty range
|
955
|
-
//! that indicates the position where those elements would be
|
956
|
-
//! if they there is no elements with key k.
|
957
|
-
//!
|
958
|
-
//! <b>Complexity</b>: Logarithmic.
|
959
|
-
//!
|
960
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
961
|
-
//!
|
962
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
963
|
-
//! is expensive and the value_type can be compared with a cheaper
|
964
|
-
//! key type. Usually this key is part of the value_type.
|
965
|
-
template<class KeyType, class KeyValueCompare>
|
333
|
+
equal_range(const key_type &key) const
|
334
|
+
{ return this->tree_type::lower_bound_range(key); }
|
335
|
+
|
336
|
+
//! @copydoc ::boost::intrusive::rbtree::equal_range(const KeyType&,KeyTypeKeyCompare)const
|
337
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
966
338
|
std::pair<const_iterator, const_iterator>
|
967
|
-
equal_range(const KeyType& key,
|
968
|
-
{ return
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
//!
|
973
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
974
|
-
//!
|
975
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
976
|
-
//!
|
977
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
978
|
-
//!
|
979
|
-
//! <b>Complexity</b>: Logarithmic.
|
980
|
-
//!
|
981
|
-
//! <b>Throws</b>: If the predicate throws.
|
982
|
-
//!
|
983
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
984
|
-
//! and lower_bound for lower_value and upper_value.
|
339
|
+
equal_range(const KeyType& key, KeyTypeKeyCompare comp) const
|
340
|
+
{ return this->tree_type::equal_range(key, comp); }
|
341
|
+
|
342
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
343
|
+
|
344
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const key_type &,const key_type &,bool,bool)
|
985
345
|
std::pair<iterator,iterator> bounded_range
|
986
|
-
(
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
//! ordering compatible with the strict weak ordering used to create the
|
991
|
-
//! the tree.
|
992
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
993
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
994
|
-
//!
|
995
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
996
|
-
//!
|
997
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
998
|
-
//!
|
999
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
1000
|
-
//!
|
1001
|
-
//! <b>Complexity</b>: Logarithmic.
|
1002
|
-
//!
|
1003
|
-
//! <b>Throws</b>: If "comp" throws.
|
1004
|
-
//!
|
1005
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
1006
|
-
//! and lower_bound for lower_key and upper_key.
|
1007
|
-
template<class KeyType, class KeyValueCompare>
|
346
|
+
(const key_type &lower_key, const key_type &upper_key, bool left_closed, bool right_closed);
|
347
|
+
|
348
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)
|
349
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
1008
350
|
std::pair<iterator,iterator> bounded_range
|
1009
|
-
(const KeyType& lower_key, const KeyType& upper_key,
|
1010
|
-
|
1011
|
-
|
1012
|
-
//! <b>Requires</b>: 'lower_value' must not be greater than 'upper_value'. If
|
1013
|
-
//! 'lower_value' == 'upper_value', ('left_closed' || 'right_closed') must be false.
|
1014
|
-
//!
|
1015
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
1016
|
-
//!
|
1017
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
1018
|
-
//!
|
1019
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
1020
|
-
//!
|
1021
|
-
//! <b>Complexity</b>: Logarithmic.
|
1022
|
-
//!
|
1023
|
-
//! <b>Throws</b>: If the predicate throws.
|
1024
|
-
//!
|
1025
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
1026
|
-
//! and lower_bound for lower_value and upper_value.
|
1027
|
-
std::pair<const_iterator, const_iterator>
|
1028
|
-
bounded_range(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed) const
|
1029
|
-
{ return tree_.bounded_range(lower_value, upper_value, left_closed, right_closed); }
|
1030
|
-
|
1031
|
-
//! <b>Requires</b>: KeyValueCompare is a function object that induces a strict weak
|
1032
|
-
//! ordering compatible with the strict weak ordering used to create the
|
1033
|
-
//! the tree.
|
1034
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
1035
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
1036
|
-
//!
|
1037
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
1038
|
-
//!
|
1039
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
1040
|
-
//!
|
1041
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
1042
|
-
//!
|
1043
|
-
//! <b>Complexity</b>: Logarithmic.
|
1044
|
-
//!
|
1045
|
-
//! <b>Throws</b>: If "comp" throws.
|
1046
|
-
//!
|
1047
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
1048
|
-
//! and lower_bound for lower_key and upper_key.
|
1049
|
-
template<class KeyType, class KeyValueCompare>
|
351
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed);
|
352
|
+
|
353
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const key_type &,const key_type &,bool,bool)const
|
1050
354
|
std::pair<const_iterator, const_iterator>
|
1051
|
-
bounded_range
|
1052
|
-
(const KeyType& lower_key, const KeyType& upper_key, KeyValueCompare comp, bool left_closed, bool right_closed) const
|
1053
|
-
{ return tree_.bounded_range(lower_key, upper_key, comp, left_closed, right_closed); }
|
1054
|
-
|
1055
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_set of
|
1056
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1057
|
-
//!
|
1058
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the sg_set
|
1059
|
-
//! that points to the value
|
1060
|
-
//!
|
1061
|
-
//! <b>Complexity</b>: Constant.
|
1062
|
-
//!
|
1063
|
-
//! <b>Throws</b>: Nothing.
|
1064
|
-
//!
|
1065
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
1066
|
-
//! is stateless.
|
1067
|
-
static iterator s_iterator_to(reference value)
|
1068
|
-
{ return tree_type::s_iterator_to(value); }
|
1069
|
-
|
1070
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_set of
|
1071
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1072
|
-
//!
|
1073
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
1074
|
-
//! sg_set that points to the value
|
1075
|
-
//!
|
1076
|
-
//! <b>Complexity</b>: Constant.
|
1077
|
-
//!
|
1078
|
-
//! <b>Throws</b>: Nothing.
|
1079
|
-
//!
|
1080
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
1081
|
-
//! is stateless.
|
1082
|
-
static const_iterator s_iterator_to(const_reference value)
|
1083
|
-
{ return tree_type::s_iterator_to(value); }
|
1084
|
-
|
1085
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_set of
|
1086
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1087
|
-
//!
|
1088
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the sg_set
|
1089
|
-
//! that points to the value
|
1090
|
-
//!
|
1091
|
-
//! <b>Complexity</b>: Constant.
|
1092
|
-
//!
|
1093
|
-
//! <b>Throws</b>: Nothing.
|
1094
|
-
iterator iterator_to(reference value)
|
1095
|
-
{ return tree_.iterator_to(value); }
|
1096
|
-
|
1097
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_set of
|
1098
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
1099
|
-
//!
|
1100
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
1101
|
-
//! sg_set that points to the value
|
1102
|
-
//!
|
1103
|
-
//! <b>Complexity</b>: Constant.
|
1104
|
-
//!
|
1105
|
-
//! <b>Throws</b>: Nothing.
|
1106
|
-
const_iterator iterator_to(const_reference value) const
|
1107
|
-
{ return tree_.iterator_to(value); }
|
1108
|
-
|
1109
|
-
//! <b>Requires</b>: value shall not be in a sg_set/sg_multiset.
|
1110
|
-
//!
|
1111
|
-
//! <b>Effects</b>: init_node puts the hook of a value in a well-known default
|
1112
|
-
//! state.
|
1113
|
-
//!
|
1114
|
-
//! <b>Throws</b>: Nothing.
|
1115
|
-
//!
|
1116
|
-
//! <b>Complexity</b>: Constant time.
|
1117
|
-
//!
|
1118
|
-
//! <b>Note</b>: This function puts the hook in the well-known default state
|
1119
|
-
//! used by auto_unlink and safe hooks.
|
1120
|
-
static void init_node(reference value)
|
1121
|
-
{ tree_type::init_node(value); }
|
1122
|
-
|
1123
|
-
//! <b>Effects</b>: Unlinks the leftmost node from the tree.
|
1124
|
-
//!
|
1125
|
-
//! <b>Complexity</b>: Average complexity is constant time.
|
1126
|
-
//!
|
1127
|
-
//! <b>Throws</b>: Nothing.
|
1128
|
-
//!
|
1129
|
-
//! <b>Notes</b>: This function breaks the tree and the tree can
|
1130
|
-
//! only be used for more unlink_leftmost_without_rebalance calls.
|
1131
|
-
//! This function is normally used to achieve a step by step
|
1132
|
-
//! controlled destruction of the tree.
|
1133
|
-
pointer unlink_leftmost_without_rebalance()
|
1134
|
-
{ return tree_.unlink_leftmost_without_rebalance(); }
|
1135
|
-
|
1136
|
-
//! <b>Requires</b>: replace_this must be a valid iterator of *this
|
1137
|
-
//! and with_this must not be inserted in any tree.
|
1138
|
-
//!
|
1139
|
-
//! <b>Effects</b>: Replaces replace_this in its position in the
|
1140
|
-
//! tree with with_this. The tree does not need to be rebalanced.
|
1141
|
-
//!
|
1142
|
-
//! <b>Complexity</b>: Constant.
|
1143
|
-
//!
|
1144
|
-
//! <b>Throws</b>: Nothing.
|
1145
|
-
//!
|
1146
|
-
//! <b>Note</b>: This function will break container ordering invariants if
|
1147
|
-
//! with_this is not equivalent to *replace_this according to the
|
1148
|
-
//! ordering rules. This function is faster than erasing and inserting
|
1149
|
-
//! the node, since no rebalancing or comparison is needed.
|
1150
|
-
void replace_node(iterator replace_this, reference with_this)
|
1151
|
-
{ tree_.replace_node(replace_this, with_this); }
|
1152
|
-
|
1153
|
-
//! <b>Effects</b>: Rebalances the tree.
|
1154
|
-
//!
|
1155
|
-
//! <b>Throws</b>: Nothing.
|
1156
|
-
//!
|
1157
|
-
//! <b>Complexity</b>: Linear.
|
1158
|
-
void rebalance()
|
1159
|
-
{ tree_.rebalance(); }
|
1160
|
-
|
1161
|
-
//! <b>Requires</b>: old_root is a node of a tree.
|
1162
|
-
//!
|
1163
|
-
//! <b>Effects</b>: Rebalances the subtree rooted at old_root.
|
1164
|
-
//!
|
1165
|
-
//! <b>Returns</b>: The new root of the subtree.
|
1166
|
-
//!
|
1167
|
-
//! <b>Throws</b>: Nothing.
|
1168
|
-
//!
|
1169
|
-
//! <b>Complexity</b>: Linear to the elements in the subtree.
|
1170
|
-
iterator rebalance_subtree(iterator root)
|
1171
|
-
{ return tree_.rebalance_subtree(root); }
|
1172
|
-
|
1173
|
-
//! <b>Returns</b>: The balance factor (alpha) used in this tree
|
1174
|
-
//!
|
1175
|
-
//! <b>Throws</b>: Nothing.
|
1176
|
-
//!
|
1177
|
-
//! <b>Complexity</b>: Constant.
|
1178
|
-
float balance_factor() const
|
1179
|
-
{ return tree_.balance_factor(); }
|
1180
|
-
|
1181
|
-
//! <b>Requires</b>: new_alpha must be a value between 0.5 and 1.0
|
1182
|
-
//!
|
1183
|
-
//! <b>Effects</b>: Establishes a new balance factor (alpha) and rebalances
|
1184
|
-
//! the tree if the new balance factor is stricter (less) than the old factor.
|
1185
|
-
//!
|
1186
|
-
//! <b>Throws</b>: Nothing.
|
1187
|
-
//!
|
1188
|
-
//! <b>Complexity</b>: Linear to the elements in the subtree.
|
1189
|
-
void balance_factor(float new_alpha)
|
1190
|
-
{ tree_.balance_factor(new_alpha); }
|
355
|
+
bounded_range(const key_type &lower_key, const key_type &upper_key, bool left_closed, bool right_closed) const;
|
1191
356
|
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
357
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)const
|
358
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
359
|
+
std::pair<const_iterator, const_iterator> bounded_range
|
360
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed) const;
|
1195
361
|
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
362
|
+
//! @copydoc ::boost::intrusive::sgtree::s_iterator_to(reference)
|
363
|
+
static iterator s_iterator_to(reference value);
|
364
|
+
|
365
|
+
//! @copydoc ::boost::intrusive::sgtree::s_iterator_to(const_reference)
|
366
|
+
static const_iterator s_iterator_to(const_reference value);
|
367
|
+
|
368
|
+
//! @copydoc ::boost::intrusive::sgtree::iterator_to(reference)
|
369
|
+
iterator iterator_to(reference value);
|
370
|
+
|
371
|
+
//! @copydoc ::boost::intrusive::sgtree::iterator_to(const_reference)const
|
372
|
+
const_iterator iterator_to(const_reference value) const;
|
373
|
+
|
374
|
+
//! @copydoc ::boost::intrusive::sgtree::init_node(reference)
|
375
|
+
static void init_node(reference value);
|
376
|
+
|
377
|
+
//! @copydoc ::boost::intrusive::sgtree::unlink_leftmost_without_rebalance
|
378
|
+
pointer unlink_leftmost_without_rebalance();
|
379
|
+
|
380
|
+
//! @copydoc ::boost::intrusive::sgtree::replace_node
|
381
|
+
void replace_node(iterator replace_this, reference with_this);
|
382
|
+
|
383
|
+
//! @copydoc ::boost::intrusive::sgtree::remove_node
|
384
|
+
void remove_node(reference value);
|
385
|
+
|
386
|
+
//! @copydoc ::boost::intrusive::sgtree::rebalance
|
387
|
+
void rebalance();
|
388
|
+
|
389
|
+
//! @copydoc ::boost::intrusive::sgtree::rebalance_subtree
|
390
|
+
iterator rebalance_subtree(iterator root);
|
391
|
+
|
392
|
+
//! @copydoc ::boost::intrusive::sgtree::balance_factor()
|
393
|
+
float balance_factor() const;
|
394
|
+
|
395
|
+
//! @copydoc ::boost::intrusive::sgtree::balance_factor(float)
|
396
|
+
void balance_factor(float new_alpha);
|
397
|
+
|
398
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
1199
399
|
};
|
1200
400
|
|
1201
401
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
402
|
+
|
1202
403
|
template<class T, class ...Options>
|
1203
|
-
|
1204
|
-
template<class Config>
|
1205
|
-
#endif
|
1206
|
-
inline bool operator!=
|
1207
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1208
|
-
(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y)
|
1209
|
-
#else
|
1210
|
-
(const sg_set_impl<Config> &x, const sg_set_impl<Config> &y)
|
1211
|
-
#endif
|
1212
|
-
{ return !(x == y); }
|
404
|
+
bool operator!= (const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y);
|
1213
405
|
|
1214
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1215
406
|
template<class T, class ...Options>
|
1216
|
-
|
1217
|
-
template<class Config>
|
1218
|
-
#endif
|
1219
|
-
inline bool operator>
|
1220
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1221
|
-
(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y)
|
1222
|
-
#else
|
1223
|
-
(const sg_set_impl<Config> &x, const sg_set_impl<Config> &y)
|
1224
|
-
#endif
|
1225
|
-
{ return y < x; }
|
407
|
+
bool operator>(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y);
|
1226
408
|
|
1227
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1228
409
|
template<class T, class ...Options>
|
1229
|
-
|
1230
|
-
template<class Config>
|
1231
|
-
#endif
|
1232
|
-
inline bool operator<=
|
1233
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1234
|
-
(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y)
|
1235
|
-
#else
|
1236
|
-
(const sg_set_impl<Config> &x, const sg_set_impl<Config> &y)
|
1237
|
-
#endif
|
1238
|
-
{ return !(y < x); }
|
410
|
+
bool operator<=(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y);
|
1239
411
|
|
1240
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1241
412
|
template<class T, class ...Options>
|
1242
|
-
|
1243
|
-
template<class Config>
|
1244
|
-
#endif
|
1245
|
-
inline bool operator>=
|
1246
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1247
|
-
(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y)
|
1248
|
-
#else
|
1249
|
-
(const sg_set_impl<Config> &x, const sg_set_impl<Config> &y)
|
1250
|
-
#endif
|
1251
|
-
{ return !(x < y); }
|
413
|
+
bool operator>=(const sg_set_impl<T, Options...> &x, const sg_set_impl<T, Options...> &y);
|
1252
414
|
|
1253
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1254
415
|
template<class T, class ...Options>
|
1255
|
-
|
1256
|
-
|
1257
|
-
#endif
|
1258
|
-
inline void swap
|
1259
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1260
|
-
(sg_set_impl<T, Options...> &x, sg_set_impl<T, Options...> &y)
|
1261
|
-
#else
|
1262
|
-
(sg_set_impl<Config> &x, sg_set_impl<Config> &y)
|
1263
|
-
#endif
|
1264
|
-
{ x.swap(y); }
|
416
|
+
void swap(sg_set_impl<T, Options...> &x, sg_set_impl<T, Options...> &y);
|
417
|
+
|
418
|
+
#endif //#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1265
419
|
|
1266
420
|
//! Helper metafunction to define a \c sg_set that yields to the same type when the
|
1267
421
|
//! same options (either explicitly or implicitly) are used.
|
1268
422
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
1269
423
|
template<class T, class ...Options>
|
1270
424
|
#else
|
1271
|
-
template<class T, class O1 =
|
1272
|
-
, class O3 =
|
425
|
+
template<class T, class O1 = void, class O2 = void
|
426
|
+
, class O3 = void, class O4 = void
|
427
|
+
, class O5 = void, class O6 = void>
|
1273
428
|
#endif
|
1274
429
|
struct make_sg_set
|
1275
430
|
{
|
1276
431
|
/// @cond
|
1277
|
-
typedef
|
1278
|
-
<
|
432
|
+
typedef typename pack_options
|
433
|
+
< sgtree_defaults,
|
1279
434
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
1280
|
-
O1, O2, O3, O4
|
435
|
+
O1, O2, O3, O4, O5, O6
|
1281
436
|
#else
|
1282
437
|
Options...
|
1283
438
|
#endif
|
1284
|
-
>::type
|
1285
|
-
|
439
|
+
>::type packed_options;
|
440
|
+
|
441
|
+
typedef typename detail::get_value_traits
|
442
|
+
<T, typename packed_options::proto_value_traits>::type value_traits;
|
443
|
+
|
444
|
+
typedef sg_set_impl
|
445
|
+
< value_traits
|
446
|
+
, typename packed_options::key_of_value
|
447
|
+
, typename packed_options::compare
|
448
|
+
, typename packed_options::size_type
|
449
|
+
, packed_options::floating_point
|
450
|
+
, typename packed_options::header_holder_type
|
451
|
+
> implementation_defined;
|
1286
452
|
/// @endcond
|
1287
453
|
typedef implementation_defined type;
|
1288
454
|
};
|
1289
455
|
|
1290
456
|
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
1291
|
-
|
1292
457
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
1293
|
-
template<class T, class O1, class O2, class O3, class O4>
|
458
|
+
template<class T, class O1, class O2, class O3, class O4, class O5, class O6>
|
1294
459
|
#else
|
1295
460
|
template<class T, class ...Options>
|
1296
461
|
#endif
|
1297
462
|
class sg_set
|
1298
463
|
: public make_sg_set<T,
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
464
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
465
|
+
O1, O2, O3, O4, O5, O6
|
466
|
+
#else
|
467
|
+
Options...
|
468
|
+
#endif
|
469
|
+
>::type
|
1305
470
|
{
|
1306
471
|
typedef typename make_sg_set
|
1307
472
|
<T,
|
1308
473
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
1309
|
-
O1, O2, O3, O4
|
474
|
+
O1, O2, O3, O4, O5, O6
|
1310
475
|
#else
|
1311
476
|
Options...
|
1312
477
|
#endif
|
1313
478
|
>::type Base;
|
1314
|
-
BOOST_MOVABLE_BUT_NOT_COPYABLE(sg_set)
|
1315
479
|
|
480
|
+
BOOST_MOVABLE_BUT_NOT_COPYABLE(sg_set)
|
1316
481
|
public:
|
1317
|
-
typedef typename Base::
|
482
|
+
typedef typename Base::key_compare key_compare;
|
1318
483
|
typedef typename Base::value_traits value_traits;
|
1319
484
|
typedef typename Base::iterator iterator;
|
1320
485
|
typedef typename Base::const_iterator const_iterator;
|
@@ -1322,24 +487,32 @@ class sg_set
|
|
1322
487
|
//Assert if passed value traits are compatible with the type
|
1323
488
|
BOOST_STATIC_ASSERT((detail::is_same<typename value_traits::value_type, T>::value));
|
1324
489
|
|
1325
|
-
sg_set( const
|
1326
|
-
|
490
|
+
explicit sg_set( const key_compare &cmp = key_compare()
|
491
|
+
, const value_traits &v_traits = value_traits())
|
1327
492
|
: Base(cmp, v_traits)
|
1328
493
|
{}
|
1329
494
|
|
1330
495
|
template<class Iterator>
|
1331
496
|
sg_set( Iterator b, Iterator e
|
1332
|
-
, const
|
497
|
+
, const key_compare &cmp = key_compare()
|
1333
498
|
, const value_traits &v_traits = value_traits())
|
1334
499
|
: Base(b, e, cmp, v_traits)
|
1335
500
|
{}
|
1336
501
|
|
1337
502
|
sg_set(BOOST_RV_REF(sg_set) x)
|
1338
|
-
: Base(
|
503
|
+
: Base(BOOST_MOVE_BASE(Base, x))
|
1339
504
|
{}
|
1340
505
|
|
1341
506
|
sg_set& operator=(BOOST_RV_REF(sg_set) x)
|
1342
|
-
{ this->Base::operator=(
|
507
|
+
{ return static_cast<sg_set &>(this->Base::operator=(BOOST_MOVE_BASE(Base, x))); }
|
508
|
+
|
509
|
+
template <class Cloner, class Disposer>
|
510
|
+
void clone_from(const sg_set &src, Cloner cloner, Disposer disposer)
|
511
|
+
{ Base::clone_from(src, cloner, disposer); }
|
512
|
+
|
513
|
+
template <class Cloner, class Disposer>
|
514
|
+
void clone_from(BOOST_RV_REF(sg_set) src, Cloner cloner, Disposer disposer)
|
515
|
+
{ Base::clone_from(BOOST_MOVE_BASE(Base, src), cloner, disposer); }
|
1343
516
|
|
1344
517
|
static sg_set &container_from_end_iterator(iterator end_iterator)
|
1345
518
|
{ return static_cast<sg_set &>(Base::container_from_end_iterator(end_iterator)); }
|
@@ -1365,25 +538,29 @@ class sg_set
|
|
1365
538
|
//!
|
1366
539
|
//! The container supports the following options:
|
1367
540
|
//! \c base_hook<>/member_hook<>/value_traits<>,
|
1368
|
-
//! \c
|
541
|
+
//! \c floating_point<>, \c size_type<> and
|
1369
542
|
//! \c compare<>.
|
1370
543
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
1371
544
|
template<class T, class ...Options>
|
1372
545
|
#else
|
1373
|
-
template<class
|
546
|
+
template<class ValueTraits, class VoidOrKeyOfValue, class Compare, class SizeType, bool FloatingPoint, typename HeaderHolder>
|
1374
547
|
#endif
|
1375
548
|
class sg_multiset_impl
|
549
|
+
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
550
|
+
: public sgtree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, FloatingPoint, HeaderHolder>
|
551
|
+
#endif
|
1376
552
|
{
|
1377
553
|
/// @cond
|
1378
|
-
typedef sgtree_impl<
|
554
|
+
typedef sgtree_impl<ValueTraits, VoidOrKeyOfValue, Compare, SizeType, FloatingPoint, HeaderHolder> tree_type;
|
1379
555
|
|
1380
|
-
//Non-copyable and non-assignable
|
1381
556
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(sg_multiset_impl)
|
1382
557
|
typedef tree_type implementation_defined;
|
1383
558
|
/// @endcond
|
1384
559
|
|
1385
560
|
public:
|
1386
561
|
typedef typename implementation_defined::value_type value_type;
|
562
|
+
typedef typename implementation_defined::key_type key_type;
|
563
|
+
typedef typename implementation_defined::key_of_value key_of_value;
|
1387
564
|
typedef typename implementation_defined::value_traits value_traits;
|
1388
565
|
typedef typename implementation_defined::pointer pointer;
|
1389
566
|
typedef typename implementation_defined::const_pointer const_pointer;
|
@@ -1404,1122 +581,346 @@ class sg_multiset_impl
|
|
1404
581
|
typedef typename implementation_defined::const_node_ptr const_node_ptr;
|
1405
582
|
typedef typename implementation_defined::node_algorithms node_algorithms;
|
1406
583
|
|
1407
|
-
|
1408
|
-
private:
|
1409
|
-
tree_type tree_;
|
1410
|
-
/// @endcond
|
584
|
+
static const bool constant_time_size = tree_type::constant_time_size;
|
1411
585
|
|
1412
586
|
public:
|
1413
|
-
//!
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
1418
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
1419
|
-
//! or the copy constructor/operator() of the value_compare object throws.
|
1420
|
-
explicit sg_multiset_impl( const value_compare &cmp = value_compare()
|
1421
|
-
, const value_traits &v_traits = value_traits())
|
1422
|
-
: tree_(cmp, v_traits)
|
587
|
+
//! @copydoc ::boost::intrusive::sgtree::sgtree(const key_compare &,const value_traits &)
|
588
|
+
explicit sg_multiset_impl( const key_compare &cmp = key_compare()
|
589
|
+
, const value_traits &v_traits = value_traits())
|
590
|
+
: tree_type(cmp, v_traits)
|
1423
591
|
{}
|
1424
592
|
|
1425
|
-
//!
|
1426
|
-
//! cmp must be a comparison function that induces a strict weak ordering.
|
1427
|
-
//!
|
1428
|
-
//! <b>Effects</b>: Constructs an empty sg_multiset and inserts elements from
|
1429
|
-
//! [b, e).
|
1430
|
-
//!
|
1431
|
-
//! <b>Complexity</b>: Linear in N if [b, e) is already sorted using
|
1432
|
-
//! comp and otherwise N * log N, where N is the distance between first and last
|
1433
|
-
//!
|
1434
|
-
//! <b>Throws</b>: If value_traits::node_traits::node
|
1435
|
-
//! constructor throws (this does not happen with predefined Boost.Intrusive hooks)
|
1436
|
-
//! or the copy constructor/operator() of the value_compare object throws.
|
593
|
+
//! @copydoc ::boost::intrusive::sgtree::sgtree(bool,Iterator,Iterator,const key_compare &,const value_traits &)
|
1437
594
|
template<class Iterator>
|
1438
595
|
sg_multiset_impl( Iterator b, Iterator e
|
1439
|
-
, const
|
596
|
+
, const key_compare &cmp = key_compare()
|
1440
597
|
, const value_traits &v_traits = value_traits())
|
1441
|
-
:
|
598
|
+
: tree_type(false, b, e, cmp, v_traits)
|
1442
599
|
{}
|
1443
600
|
|
1444
|
-
//!
|
1445
|
-
//!
|
601
|
+
//! @copydoc ::boost::intrusive::sgtree::sgtree(sgtree &&)
|
1446
602
|
sg_multiset_impl(BOOST_RV_REF(sg_multiset_impl) x)
|
1447
|
-
:
|
603
|
+
: tree_type(BOOST_MOVE_BASE(tree_type, x))
|
1448
604
|
{}
|
1449
605
|
|
1450
|
-
//!
|
1451
|
-
//!
|
606
|
+
//! @copydoc ::boost::intrusive::sgtree::operator=(sgtree &&)
|
1452
607
|
sg_multiset_impl& operator=(BOOST_RV_REF(sg_multiset_impl) x)
|
1453
|
-
{
|
1454
|
-
|
1455
|
-
|
1456
|
-
//!
|
1457
|
-
|
1458
|
-
|
1459
|
-
//!
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
608
|
+
{ return static_cast<sg_multiset_impl&>(tree_type::operator=(BOOST_MOVE_BASE(tree_type, x))); }
|
609
|
+
|
610
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
611
|
+
//! @copydoc ::boost::intrusive::sgtree::~sgtree()
|
612
|
+
~sg_multiset_impl();
|
613
|
+
|
614
|
+
//! @copydoc ::boost::intrusive::sgtree::begin()
|
615
|
+
iterator begin();
|
616
|
+
|
617
|
+
//! @copydoc ::boost::intrusive::sgtree::begin()const
|
618
|
+
const_iterator begin() const;
|
619
|
+
|
620
|
+
//! @copydoc ::boost::intrusive::sgtree::cbegin()const
|
621
|
+
const_iterator cbegin() const;
|
622
|
+
|
623
|
+
//! @copydoc ::boost::intrusive::sgtree::end()
|
624
|
+
iterator end();
|
625
|
+
|
626
|
+
//! @copydoc ::boost::intrusive::sgtree::end()const
|
627
|
+
const_iterator end() const;
|
628
|
+
|
629
|
+
//! @copydoc ::boost::intrusive::sgtree::cend()const
|
630
|
+
const_iterator cend() const;
|
631
|
+
|
632
|
+
//! @copydoc ::boost::intrusive::sgtree::rbegin()
|
633
|
+
reverse_iterator rbegin();
|
634
|
+
|
635
|
+
//! @copydoc ::boost::intrusive::sgtree::rbegin()const
|
636
|
+
const_reverse_iterator rbegin() const;
|
637
|
+
|
638
|
+
//! @copydoc ::boost::intrusive::sgtree::crbegin()const
|
639
|
+
const_reverse_iterator crbegin() const;
|
640
|
+
|
641
|
+
//! @copydoc ::boost::intrusive::sgtree::rend()
|
642
|
+
reverse_iterator rend();
|
643
|
+
|
644
|
+
//! @copydoc ::boost::intrusive::sgtree::rend()const
|
645
|
+
const_reverse_iterator rend() const;
|
646
|
+
|
647
|
+
//! @copydoc ::boost::intrusive::sgtree::crend()const
|
648
|
+
const_reverse_iterator crend() const;
|
649
|
+
|
650
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_end_iterator(iterator)
|
651
|
+
static sg_multiset_impl &container_from_end_iterator(iterator end_iterator);
|
652
|
+
|
653
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_end_iterator(const_iterator)
|
654
|
+
static const sg_multiset_impl &container_from_end_iterator(const_iterator end_iterator);
|
655
|
+
|
656
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_iterator(iterator)
|
657
|
+
static sg_multiset_impl &container_from_iterator(iterator it);
|
658
|
+
|
659
|
+
//! @copydoc ::boost::intrusive::sgtree::container_from_iterator(const_iterator)
|
660
|
+
static const sg_multiset_impl &container_from_iterator(const_iterator it);
|
661
|
+
|
662
|
+
//! @copydoc ::boost::intrusive::sgtree::key_comp()const
|
663
|
+
key_compare key_comp() const;
|
664
|
+
|
665
|
+
//! @copydoc ::boost::intrusive::sgtree::value_comp()const
|
666
|
+
value_compare value_comp() const;
|
667
|
+
|
668
|
+
//! @copydoc ::boost::intrusive::sgtree::empty()const
|
669
|
+
bool empty() const;
|
1464
670
|
|
1465
|
-
//!
|
1466
|
-
|
1467
|
-
|
1468
|
-
//!
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the beginning of the sg_multiset.
|
1474
|
-
//!
|
1475
|
-
//! <b>Complexity</b>: Constant.
|
1476
|
-
//!
|
1477
|
-
//! <b>Throws</b>: Nothing.
|
1478
|
-
const_iterator begin() const
|
1479
|
-
{ return tree_.begin(); }
|
1480
|
-
|
1481
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the beginning of the sg_multiset.
|
1482
|
-
//!
|
1483
|
-
//! <b>Complexity</b>: Constant.
|
1484
|
-
//!
|
1485
|
-
//! <b>Throws</b>: Nothing.
|
1486
|
-
const_iterator cbegin() const
|
1487
|
-
{ return tree_.cbegin(); }
|
1488
|
-
|
1489
|
-
//! <b>Effects</b>: Returns an iterator pointing to the end of the sg_multiset.
|
1490
|
-
//!
|
1491
|
-
//! <b>Complexity</b>: Constant.
|
1492
|
-
//!
|
1493
|
-
//! <b>Throws</b>: Nothing.
|
1494
|
-
iterator end()
|
1495
|
-
{ return tree_.end(); }
|
1496
|
-
|
1497
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the end of the sg_multiset.
|
1498
|
-
//!
|
1499
|
-
//! <b>Complexity</b>: Constant.
|
1500
|
-
//!
|
1501
|
-
//! <b>Throws</b>: Nothing.
|
1502
|
-
const_iterator end() const
|
1503
|
-
{ return tree_.end(); }
|
1504
|
-
|
1505
|
-
//! <b>Effects</b>: Returns a const_iterator pointing to the end of the sg_multiset.
|
1506
|
-
//!
|
1507
|
-
//! <b>Complexity</b>: Constant.
|
1508
|
-
//!
|
1509
|
-
//! <b>Throws</b>: Nothing.
|
1510
|
-
const_iterator cend() const
|
1511
|
-
{ return tree_.cend(); }
|
1512
|
-
|
1513
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the beginning of the
|
1514
|
-
//! reversed sg_multiset.
|
1515
|
-
//!
|
1516
|
-
//! <b>Complexity</b>: Constant.
|
1517
|
-
//!
|
1518
|
-
//! <b>Throws</b>: Nothing.
|
1519
|
-
reverse_iterator rbegin()
|
1520
|
-
{ return tree_.rbegin(); }
|
1521
|
-
|
1522
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1523
|
-
//! of the reversed sg_multiset.
|
1524
|
-
//!
|
1525
|
-
//! <b>Complexity</b>: Constant.
|
1526
|
-
//!
|
1527
|
-
//! <b>Throws</b>: Nothing.
|
1528
|
-
const_reverse_iterator rbegin() const
|
1529
|
-
{ return tree_.rbegin(); }
|
1530
|
-
|
1531
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the beginning
|
1532
|
-
//! of the reversed sg_multiset.
|
1533
|
-
//!
|
1534
|
-
//! <b>Complexity</b>: Constant.
|
1535
|
-
//!
|
1536
|
-
//! <b>Throws</b>: Nothing.
|
1537
|
-
const_reverse_iterator crbegin() const
|
1538
|
-
{ return tree_.crbegin(); }
|
1539
|
-
|
1540
|
-
//! <b>Effects</b>: Returns a reverse_iterator pointing to the end
|
1541
|
-
//! of the reversed sg_multiset.
|
1542
|
-
//!
|
1543
|
-
//! <b>Complexity</b>: Constant.
|
1544
|
-
//!
|
1545
|
-
//! <b>Throws</b>: Nothing.
|
1546
|
-
reverse_iterator rend()
|
1547
|
-
{ return tree_.rend(); }
|
1548
|
-
|
1549
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
1550
|
-
//! of the reversed sg_multiset.
|
1551
|
-
//!
|
1552
|
-
//! <b>Complexity</b>: Constant.
|
1553
|
-
//!
|
1554
|
-
//! <b>Throws</b>: Nothing.
|
1555
|
-
const_reverse_iterator rend() const
|
1556
|
-
{ return tree_.rend(); }
|
1557
|
-
|
1558
|
-
//! <b>Effects</b>: Returns a const_reverse_iterator pointing to the end
|
1559
|
-
//! of the reversed sg_multiset.
|
1560
|
-
//!
|
1561
|
-
//! <b>Complexity</b>: Constant.
|
1562
|
-
//!
|
1563
|
-
//! <b>Throws</b>: Nothing.
|
1564
|
-
const_reverse_iterator crend() const
|
1565
|
-
{ return tree_.crend(); }
|
1566
|
-
|
1567
|
-
//! <b>Precondition</b>: end_iterator must be a valid end iterator
|
1568
|
-
//! of sg_multiset.
|
1569
|
-
//!
|
1570
|
-
//! <b>Effects</b>: Returns a const reference to the sg_multiset associated to the end iterator
|
1571
|
-
//!
|
1572
|
-
//! <b>Throws</b>: Nothing.
|
1573
|
-
//!
|
1574
|
-
//! <b>Complexity</b>: Constant.
|
1575
|
-
static sg_multiset_impl &container_from_end_iterator(iterator end_iterator)
|
1576
|
-
{
|
1577
|
-
return *detail::parent_from_member<sg_multiset_impl, tree_type>
|
1578
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
1579
|
-
, &sg_multiset_impl::tree_);
|
1580
|
-
}
|
1581
|
-
|
1582
|
-
//! <b>Precondition</b>: end_iterator must be a valid end const_iterator
|
1583
|
-
//! of sg_multiset.
|
1584
|
-
//!
|
1585
|
-
//! <b>Effects</b>: Returns a const reference to the sg_multiset associated to the end iterator
|
1586
|
-
//!
|
1587
|
-
//! <b>Throws</b>: Nothing.
|
1588
|
-
//!
|
1589
|
-
//! <b>Complexity</b>: Constant.
|
1590
|
-
static const sg_multiset_impl &container_from_end_iterator(const_iterator end_iterator)
|
1591
|
-
{
|
1592
|
-
return *detail::parent_from_member<sg_multiset_impl, tree_type>
|
1593
|
-
( &tree_type::container_from_end_iterator(end_iterator)
|
1594
|
-
, &sg_multiset_impl::tree_);
|
1595
|
-
}
|
1596
|
-
|
1597
|
-
//! <b>Precondition</b>: it must be a valid iterator of multiset.
|
1598
|
-
//!
|
1599
|
-
//! <b>Effects</b>: Returns a const reference to the multiset associated to the iterator
|
1600
|
-
//!
|
1601
|
-
//! <b>Throws</b>: Nothing.
|
1602
|
-
//!
|
1603
|
-
//! <b>Complexity</b>: Constant.
|
1604
|
-
static sg_multiset_impl &container_from_iterator(iterator it)
|
1605
|
-
{
|
1606
|
-
return *detail::parent_from_member<sg_multiset_impl, tree_type>
|
1607
|
-
( &tree_type::container_from_iterator(it)
|
1608
|
-
, &sg_multiset_impl::tree_);
|
1609
|
-
}
|
1610
|
-
|
1611
|
-
//! <b>Precondition</b>: it must be a valid const_iterator of multiset.
|
1612
|
-
//!
|
1613
|
-
//! <b>Effects</b>: Returns a const reference to the multiset associated to the iterator
|
1614
|
-
//!
|
1615
|
-
//! <b>Throws</b>: Nothing.
|
1616
|
-
//!
|
1617
|
-
//! <b>Complexity</b>: Constant.
|
1618
|
-
static const sg_multiset_impl &container_from_iterator(const_iterator it)
|
1619
|
-
{
|
1620
|
-
return *detail::parent_from_member<sg_multiset_impl, tree_type>
|
1621
|
-
( &tree_type::container_from_iterator(it)
|
1622
|
-
, &sg_multiset_impl::tree_);
|
1623
|
-
}
|
1624
|
-
|
1625
|
-
//! <b>Effects</b>: Returns the key_compare object used by the sg_multiset.
|
1626
|
-
//!
|
1627
|
-
//! <b>Complexity</b>: Constant.
|
1628
|
-
//!
|
1629
|
-
//! <b>Throws</b>: If key_compare copy-constructor throws.
|
1630
|
-
key_compare key_comp() const
|
1631
|
-
{ return tree_.value_comp(); }
|
1632
|
-
|
1633
|
-
//! <b>Effects</b>: Returns the value_compare object used by the sg_multiset.
|
1634
|
-
//!
|
1635
|
-
//! <b>Complexity</b>: Constant.
|
1636
|
-
//!
|
1637
|
-
//! <b>Throws</b>: If value_compare copy-constructor throws.
|
1638
|
-
value_compare value_comp() const
|
1639
|
-
{ return tree_.value_comp(); }
|
1640
|
-
|
1641
|
-
//! <b>Effects</b>: Returns true if the container is empty.
|
1642
|
-
//!
|
1643
|
-
//! <b>Complexity</b>: Constant.
|
1644
|
-
//!
|
1645
|
-
//! <b>Throws</b>: Nothing.
|
1646
|
-
bool empty() const
|
1647
|
-
{ return tree_.empty(); }
|
1648
|
-
|
1649
|
-
//! <b>Effects</b>: Returns the number of elements stored in the sg_multiset.
|
1650
|
-
//!
|
1651
|
-
//! <b>Complexity</b>: Linear to elements contained in *this if,
|
1652
|
-
//! constant-time size option is enabled. Constant-time otherwise.
|
1653
|
-
//!
|
1654
|
-
//! <b>Throws</b>: Nothing.
|
1655
|
-
size_type size() const
|
1656
|
-
{ return tree_.size(); }
|
1657
|
-
|
1658
|
-
//! <b>Effects</b>: Swaps the contents of two sg_multisets.
|
1659
|
-
//!
|
1660
|
-
//! <b>Complexity</b>: Constant.
|
1661
|
-
//!
|
1662
|
-
//! <b>Throws</b>: If the swap() call for the comparison functor
|
1663
|
-
//! found using ADL throws. Strong guarantee.
|
1664
|
-
void swap(sg_multiset_impl& other)
|
1665
|
-
{ tree_.swap(other.tree_); }
|
1666
|
-
|
1667
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1668
|
-
//! Cloner should yield to nodes equivalent to the original nodes.
|
1669
|
-
//!
|
1670
|
-
//! <b>Effects</b>: Erases all the elements from *this
|
1671
|
-
//! calling Disposer::operator()(pointer), clones all the
|
1672
|
-
//! elements from src calling Cloner::operator()(const_reference )
|
1673
|
-
//! and inserts them on *this. Copies the predicate from the source container.
|
1674
|
-
//!
|
1675
|
-
//! If cloner throws, all cloned elements are unlinked and disposed
|
1676
|
-
//! calling Disposer::operator()(pointer).
|
1677
|
-
//!
|
1678
|
-
//! <b>Complexity</b>: Linear to erased plus inserted elements.
|
1679
|
-
//!
|
1680
|
-
//! <b>Throws</b>: If cloner throws or predicate copy assignment throws. Basic guarantee.
|
671
|
+
//! @copydoc ::boost::intrusive::sgtree::size()const
|
672
|
+
size_type size() const;
|
673
|
+
|
674
|
+
//! @copydoc ::boost::intrusive::sgtree::swap
|
675
|
+
void swap(sg_multiset_impl& other);
|
676
|
+
|
677
|
+
//! @copydoc ::boost::intrusive::sgtree::clone_from(const sgtree&,Cloner,Disposer)
|
1681
678
|
template <class Cloner, class Disposer>
|
1682
|
-
void clone_from(const sg_multiset_impl &src, Cloner cloner, Disposer disposer)
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
//!
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
//!
|
1696
|
-
//!
|
1697
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
1698
|
-
//! No copy-constructors are called.
|
679
|
+
void clone_from(const sg_multiset_impl &src, Cloner cloner, Disposer disposer);
|
680
|
+
|
681
|
+
#else
|
682
|
+
|
683
|
+
using tree_type::clone_from;
|
684
|
+
|
685
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
686
|
+
|
687
|
+
//! @copydoc ::boost::intrusive::sgtree::clone_from(sgtree&&,Cloner,Disposer)
|
688
|
+
template <class Cloner, class Disposer>
|
689
|
+
void clone_from(BOOST_RV_REF(sg_multiset_impl) src, Cloner cloner, Disposer disposer)
|
690
|
+
{ tree_type::clone_from(BOOST_MOVE_BASE(tree_type, src), cloner, disposer); }
|
691
|
+
|
692
|
+
//! @copydoc ::boost::intrusive::sgtree::insert_equal(reference)
|
1699
693
|
iterator insert(reference value)
|
1700
|
-
{ return
|
1701
|
-
|
1702
|
-
//!
|
1703
|
-
//!
|
1704
|
-
//! <b>Effects</b>: Inserts x into the sg_multiset, using pos as a hint to
|
1705
|
-
//! where it will be inserted.
|
1706
|
-
//!
|
1707
|
-
//! <b>Returns</b>: An iterator that points to the position where the new
|
1708
|
-
//! element was inserted.
|
1709
|
-
//!
|
1710
|
-
//! <b>Complexity</b>: Logarithmic in general, but it is amortized
|
1711
|
-
//! constant time if t is inserted immediately before hint.
|
1712
|
-
//!
|
1713
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Strong guarantee.
|
1714
|
-
//!
|
1715
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
1716
|
-
//! No copy-constructors are called.
|
694
|
+
{ return tree_type::insert_equal(value); }
|
695
|
+
|
696
|
+
//! @copydoc ::boost::intrusive::sgtree::insert_equal(const_iterator,reference)
|
1717
697
|
iterator insert(const_iterator hint, reference value)
|
1718
|
-
{ return
|
1719
|
-
|
1720
|
-
//!
|
1721
|
-
//! of type value_type.
|
1722
|
-
//!
|
1723
|
-
//! <b>Effects</b>: Inserts a range into the sg_multiset.
|
1724
|
-
//!
|
1725
|
-
//! <b>Returns</b>: An iterator that points to the position where the new
|
1726
|
-
//! element was inserted.
|
1727
|
-
//!
|
1728
|
-
//! <b>Complexity</b>: Insert range is in general O(N * log(N)), where N is the
|
1729
|
-
//! size of the range. However, it is linear in N if the range is already sorted
|
1730
|
-
//! by value_comp().
|
1731
|
-
//!
|
1732
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
1733
|
-
//!
|
1734
|
-
//! <b>Note</b>: Does not affect the validity of iterators and references.
|
1735
|
-
//! No copy-constructors are called.
|
698
|
+
{ return tree_type::insert_equal(hint, value); }
|
699
|
+
|
700
|
+
//! @copydoc ::boost::intrusive::sgtree::insert_equal(Iterator,Iterator)
|
1736
701
|
template<class Iterator>
|
1737
702
|
void insert(Iterator b, Iterator e)
|
1738
|
-
{
|
1739
|
-
|
1740
|
-
|
1741
|
-
//!
|
1742
|
-
|
1743
|
-
|
1744
|
-
//!
|
1745
|
-
|
1746
|
-
|
1747
|
-
//!
|
1748
|
-
|
1749
|
-
|
1750
|
-
//!
|
1751
|
-
|
1752
|
-
|
1753
|
-
//!
|
1754
|
-
iterator
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
//! than the greatest inserted key
|
1759
|
-
//!
|
1760
|
-
//! <b>Effects</b>: Inserts x into the tree in the last position.
|
1761
|
-
//!
|
1762
|
-
//! <b>Complexity</b>: Constant time.
|
1763
|
-
//!
|
1764
|
-
//! <b>Throws</b>: Nothing.
|
1765
|
-
//!
|
1766
|
-
//! <b>Note</b>: This function does not check preconditions so if value is
|
1767
|
-
//! less than the greatest inserted key tree ordering invariant will be broken.
|
1768
|
-
//! This function is slightly more efficient than using "insert_before".
|
1769
|
-
//! This is a low-level function to be used only for performance reasons
|
1770
|
-
//! by advanced users.
|
1771
|
-
void push_back(reference value)
|
1772
|
-
{ tree_.push_back(value); }
|
1773
|
-
|
1774
|
-
//! <b>Requires</b>: value must be an lvalue, and it must be no greater
|
1775
|
-
//! than the minimum inserted key
|
1776
|
-
//!
|
1777
|
-
//! <b>Effects</b>: Inserts x into the tree in the first position.
|
1778
|
-
//!
|
1779
|
-
//! <b>Complexity</b>: Constant time.
|
1780
|
-
//!
|
1781
|
-
//! <b>Throws</b>: Nothing.
|
1782
|
-
//!
|
1783
|
-
//! <b>Note</b>: This function does not check preconditions so if value is
|
1784
|
-
//! greater than the minimum inserted key tree ordering invariant will be broken.
|
1785
|
-
//! This function is slightly more efficient than using "insert_before".
|
1786
|
-
//! This is a low-level function to be used only for performance reasons
|
1787
|
-
//! by advanced users.
|
1788
|
-
void push_front(reference value)
|
1789
|
-
{ tree_.push_front(value); }
|
1790
|
-
|
1791
|
-
//! <b>Effects</b>: Erases the element pointed to by pos.
|
1792
|
-
//!
|
1793
|
-
//! <b>Complexity</b>: Average complexity is constant time.
|
1794
|
-
//!
|
1795
|
-
//! <b>Returns</b>: An iterator to the element after the erased element.
|
1796
|
-
//!
|
1797
|
-
//! <b>Throws</b>: Nothing.
|
1798
|
-
//!
|
1799
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1800
|
-
//! to the erased elements. No destructors are called.
|
1801
|
-
iterator erase(const_iterator i)
|
1802
|
-
{ return tree_.erase(i); }
|
1803
|
-
|
1804
|
-
//! <b>Effects</b>: Erases the range pointed to by b end e.
|
1805
|
-
//!
|
1806
|
-
//! <b>Returns</b>: An iterator to the element after the erased elements.
|
1807
|
-
//!
|
1808
|
-
//! <b>Complexity</b>: Average complexity for erase range is at most
|
1809
|
-
//! O(log(size() + N)), where N is the number of elements in the range.
|
1810
|
-
//!
|
1811
|
-
//! <b>Throws</b>: Nothing.
|
1812
|
-
//!
|
1813
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1814
|
-
//! to the erased elements. No destructors are called.
|
1815
|
-
iterator erase(const_iterator b, const_iterator e)
|
1816
|
-
{ return tree_.erase(b, e); }
|
1817
|
-
|
1818
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
1819
|
-
//!
|
1820
|
-
//! <b>Returns</b>: The number of erased elements.
|
1821
|
-
//!
|
1822
|
-
//! <b>Complexity</b>: O(log(size() + this->count(value)).
|
1823
|
-
//!
|
1824
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
1825
|
-
//!
|
1826
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1827
|
-
//! to the erased elements. No destructors are called.
|
1828
|
-
size_type erase(const_reference value)
|
1829
|
-
{ return tree_.erase(value); }
|
1830
|
-
|
1831
|
-
//! <b>Effects</b>: Erases all the elements that compare equal with
|
1832
|
-
//! the given key and the given comparison functor.
|
1833
|
-
//!
|
1834
|
-
//! <b>Returns</b>: The number of erased elements.
|
1835
|
-
//!
|
1836
|
-
//! <b>Complexity</b>: O(log(size() + this->count(key, comp)).
|
1837
|
-
//!
|
1838
|
-
//! <b>Throws</b>: If comp ordering function throws. Basic guarantee.
|
1839
|
-
//!
|
1840
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1841
|
-
//! to the erased elements. No destructors are called.
|
1842
|
-
template<class KeyType, class KeyValueCompare>
|
1843
|
-
size_type erase(const KeyType& key, KeyValueCompare comp
|
1844
|
-
/// @cond
|
1845
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
1846
|
-
/// @endcond
|
1847
|
-
)
|
1848
|
-
{ return tree_.erase(key, comp); }
|
1849
|
-
|
1850
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1851
|
-
//!
|
1852
|
-
//! <b>Returns</b>: An iterator to the element after the erased element.
|
1853
|
-
//!
|
1854
|
-
//! <b>Effects</b>: Erases the element pointed to by pos.
|
1855
|
-
//! Disposer::operator()(pointer) is called for the removed element.
|
1856
|
-
//!
|
1857
|
-
//! <b>Complexity</b>: Average complexity for erase element is constant time.
|
1858
|
-
//!
|
1859
|
-
//! <b>Throws</b>: Nothing.
|
1860
|
-
//!
|
1861
|
-
//! <b>Note</b>: Invalidates the iterators
|
1862
|
-
//! to the erased elements.
|
1863
|
-
template<class Disposer>
|
1864
|
-
iterator erase_and_dispose(const_iterator i, Disposer disposer)
|
1865
|
-
{ return tree_.erase_and_dispose(i, disposer); }
|
703
|
+
{ tree_type::insert_equal(b, e); }
|
704
|
+
|
705
|
+
#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
706
|
+
//! @copydoc ::boost::intrusive::sgtree::insert_before
|
707
|
+
iterator insert_before(const_iterator pos, reference value);
|
708
|
+
|
709
|
+
//! @copydoc ::boost::intrusive::sgtree::push_back
|
710
|
+
void push_back(reference value);
|
711
|
+
|
712
|
+
//! @copydoc ::boost::intrusive::sgtree::push_front
|
713
|
+
void push_front(reference value);
|
714
|
+
|
715
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const_iterator)
|
716
|
+
iterator erase(const_iterator i);
|
717
|
+
|
718
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const_iterator,const_iterator)
|
719
|
+
iterator erase(const_iterator b, const_iterator e);
|
720
|
+
|
721
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const key_type &)
|
722
|
+
size_type erase(const key_type &key);
|
1866
723
|
|
1867
|
-
|
724
|
+
//! @copydoc ::boost::intrusive::sgtree::erase(const KeyType&,KeyTypeKeyCompare)
|
725
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
726
|
+
size_type erase(const KeyType& key, KeyTypeKeyCompare comp);
|
727
|
+
|
728
|
+
//! @copydoc ::boost::intrusive::sgtree::erase_and_dispose(const_iterator,Disposer)
|
1868
729
|
template<class Disposer>
|
1869
|
-
iterator erase_and_dispose(
|
1870
|
-
{ return this->erase_and_dispose(const_iterator(i), disposer); }
|
1871
|
-
#endif
|
730
|
+
iterator erase_and_dispose(const_iterator i, Disposer disposer);
|
1872
731
|
|
1873
|
-
//!
|
1874
|
-
//!
|
1875
|
-
//! <b>Returns</b>: An iterator to the element after the erased elements.
|
1876
|
-
//!
|
1877
|
-
//! <b>Effects</b>: Erases the range pointed to by b end e.
|
1878
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
1879
|
-
//!
|
1880
|
-
//! <b>Complexity</b>: Average complexity for erase range is at most
|
1881
|
-
//! O(log(size() + N)), where N is the number of elements in the range.
|
1882
|
-
//!
|
1883
|
-
//! <b>Throws</b>: Nothing.
|
1884
|
-
//!
|
1885
|
-
//! <b>Note</b>: Invalidates the iterators
|
1886
|
-
//! to the erased elements.
|
732
|
+
//! @copydoc ::boost::intrusive::sgtree::erase_and_dispose(const_iterator,const_iterator,Disposer)
|
1887
733
|
template<class Disposer>
|
1888
|
-
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer)
|
1889
|
-
|
1890
|
-
|
1891
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1892
|
-
//!
|
1893
|
-
//! <b>Effects</b>: Erases all the elements with the given value.
|
1894
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
1895
|
-
//!
|
1896
|
-
//! <b>Returns</b>: The number of erased elements.
|
1897
|
-
//!
|
1898
|
-
//! <b>Complexity</b>: O(log(size() + this->count(value)).
|
1899
|
-
//!
|
1900
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws. Basic guarantee.
|
1901
|
-
//!
|
1902
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1903
|
-
//! to the erased elements. No destructors are called.
|
734
|
+
iterator erase_and_dispose(const_iterator b, const_iterator e, Disposer disposer);
|
735
|
+
|
736
|
+
//! @copydoc ::boost::intrusive::sgtree::erase_and_dispose(const key_type &, Disposer)
|
1904
737
|
template<class Disposer>
|
1905
|
-
size_type erase_and_dispose(
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
//!
|
1912
|
-
|
1913
|
-
|
1914
|
-
//!
|
1915
|
-
//!
|
1916
|
-
//! <b>Complexity</b>: O(log(size() + this->count(key, comp)).
|
1917
|
-
//!
|
1918
|
-
//! <b>Throws</b>: If comp ordering function throws. Basic guarantee.
|
1919
|
-
//!
|
1920
|
-
//! <b>Note</b>: Invalidates the iterators
|
1921
|
-
//! to the erased elements.
|
1922
|
-
template<class KeyType, class KeyValueCompare, class Disposer>
|
1923
|
-
size_type erase_and_dispose(const KeyType& key, KeyValueCompare comp, Disposer disposer
|
1924
|
-
/// @cond
|
1925
|
-
, typename detail::enable_if_c<!detail::is_convertible<KeyValueCompare, const_iterator>::value >::type * = 0
|
1926
|
-
/// @endcond
|
1927
|
-
)
|
1928
|
-
{ return tree_.erase_and_dispose(key, comp, disposer); }
|
1929
|
-
|
1930
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
1931
|
-
//!
|
1932
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
1933
|
-
//! if it's a safe-mode or auto-unlink value_type. Constant time otherwise.
|
1934
|
-
//!
|
1935
|
-
//! <b>Throws</b>: Nothing.
|
1936
|
-
//!
|
1937
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1938
|
-
//! to the erased elements. No destructors are called.
|
1939
|
-
void clear()
|
1940
|
-
{ return tree_.clear(); }
|
1941
|
-
|
1942
|
-
//! <b>Requires</b>: Disposer::operator()(pointer) shouldn't throw.
|
1943
|
-
//!
|
1944
|
-
//! <b>Effects</b>: Erases all the elements of the container.
|
1945
|
-
//!
|
1946
|
-
//! <b>Complexity</b>: Linear to the number of elements on the container.
|
1947
|
-
//! Disposer::operator()(pointer) is called for the removed elements.
|
1948
|
-
//!
|
1949
|
-
//! <b>Throws</b>: Nothing.
|
1950
|
-
//!
|
1951
|
-
//! <b>Note</b>: Invalidates the iterators (but not the references)
|
1952
|
-
//! to the erased elements. No destructors are called.
|
738
|
+
size_type erase_and_dispose(const key_type &key, Disposer disposer);
|
739
|
+
|
740
|
+
//! @copydoc ::boost::intrusive::sgtree::erase_and_dispose(const KeyType&,KeyTypeKeyCompare,Disposer)
|
741
|
+
template<class KeyType, class KeyTypeKeyCompare, class Disposer>
|
742
|
+
size_type erase_and_dispose(const KeyType& key, KeyTypeKeyCompare comp, Disposer disposer);
|
743
|
+
|
744
|
+
//! @copydoc ::boost::intrusive::sgtree::clear
|
745
|
+
void clear();
|
746
|
+
|
747
|
+
//! @copydoc ::boost::intrusive::sgtree::clear_and_dispose
|
1953
748
|
template<class Disposer>
|
1954
|
-
void clear_and_dispose(Disposer disposer)
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
1958
|
-
|
1959
|
-
//!
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
|
1964
|
-
|
1965
|
-
|
1966
|
-
//!
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1970
|
-
//!
|
1971
|
-
|
1972
|
-
|
1973
|
-
|
1974
|
-
|
1975
|
-
|
1976
|
-
|
1977
|
-
//!
|
1978
|
-
|
1979
|
-
|
1980
|
-
//!
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1987
|
-
//!
|
1988
|
-
|
1989
|
-
|
1990
|
-
|
1991
|
-
//!
|
1992
|
-
|
1993
|
-
|
1994
|
-
//!
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1998
|
-
//!
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
//!
|
2006
|
-
|
2007
|
-
|
2008
|
-
//!
|
2009
|
-
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2015
|
-
//! value_compare. Usually key is the part of the value_type
|
2016
|
-
//! that is used in the ordering functor.
|
2017
|
-
//!
|
2018
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
2019
|
-
//! key according to the comparison functor is not less than k or
|
2020
|
-
//! end() if that element does not exist.
|
2021
|
-
//!
|
2022
|
-
//! <b>Complexity</b>: Logarithmic.
|
2023
|
-
//!
|
2024
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2025
|
-
//!
|
2026
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2027
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2028
|
-
//! key type. Usually this key is part of the value_type.
|
2029
|
-
template<class KeyType, class KeyValueCompare>
|
2030
|
-
const_iterator lower_bound(const KeyType& key, KeyValueCompare comp) const
|
2031
|
-
{ return tree_.lower_bound(key, comp); }
|
2032
|
-
|
2033
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
2034
|
-
//! key is greater than k or end() if that element does not exist.
|
2035
|
-
//!
|
2036
|
-
//! <b>Complexity</b>: Logarithmic.
|
2037
|
-
//!
|
2038
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2039
|
-
iterator upper_bound(const_reference value)
|
2040
|
-
{ return tree_.upper_bound(value); }
|
2041
|
-
|
2042
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2043
|
-
//! value_compare. Usually key is the part of the value_type
|
2044
|
-
//! that is used in the ordering functor.
|
2045
|
-
//!
|
2046
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
2047
|
-
//! key according to the comparison functor is greater than key or
|
2048
|
-
//! end() if that element does not exist.
|
2049
|
-
//!
|
2050
|
-
//! <b>Complexity</b>: Logarithmic.
|
2051
|
-
//!
|
2052
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2053
|
-
//!
|
2054
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2055
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2056
|
-
//! key type. Usually this key is part of the value_type.
|
2057
|
-
template<class KeyType, class KeyValueCompare>
|
2058
|
-
iterator upper_bound(const KeyType& key, KeyValueCompare comp)
|
2059
|
-
{ return tree_.upper_bound(key, comp); }
|
2060
|
-
|
2061
|
-
//! <b>Effects</b>: Returns an iterator to the first element whose
|
2062
|
-
//! key is greater than k or end() if that element does not exist.
|
2063
|
-
//!
|
2064
|
-
//! <b>Complexity</b>: Logarithmic.
|
2065
|
-
//!
|
2066
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2067
|
-
const_iterator upper_bound(const_reference value) const
|
2068
|
-
{ return tree_.upper_bound(value); }
|
2069
|
-
|
2070
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2071
|
-
//! value_compare. Usually key is the part of the value_type
|
2072
|
-
//! that is used in the ordering functor.
|
2073
|
-
//!
|
2074
|
-
//! <b>Effects</b>: Returns a const_iterator to the first element whose
|
2075
|
-
//! key according to the comparison functor is greater than key or
|
2076
|
-
//! end() if that element does not exist.
|
2077
|
-
//!
|
2078
|
-
//! <b>Complexity</b>: Logarithmic.
|
2079
|
-
//!
|
2080
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2081
|
-
//!
|
2082
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2083
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2084
|
-
//! key type. Usually this key is part of the value_type.
|
2085
|
-
template<class KeyType, class KeyValueCompare>
|
2086
|
-
const_iterator upper_bound(const KeyType& key, KeyValueCompare comp) const
|
2087
|
-
{ return tree_.upper_bound(key, comp); }
|
2088
|
-
|
2089
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose value is
|
2090
|
-
//! "value" or end() if that element does not exist.
|
2091
|
-
//!
|
2092
|
-
//! <b>Complexity</b>: Logarithmic.
|
2093
|
-
//!
|
2094
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2095
|
-
iterator find(const_reference value)
|
2096
|
-
{ return tree_.find(value); }
|
2097
|
-
|
2098
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2099
|
-
//! value_compare. Usually key is the part of the value_type
|
2100
|
-
//! that is used in the ordering functor.
|
2101
|
-
//!
|
2102
|
-
//! <b>Effects</b>: Finds an iterator to the first element whose key is
|
2103
|
-
//! "key" according to the comparison functor or end() if that element
|
2104
|
-
//! does not exist.
|
2105
|
-
//!
|
2106
|
-
//! <b>Complexity</b>: Logarithmic.
|
2107
|
-
//!
|
2108
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2109
|
-
//!
|
2110
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2111
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2112
|
-
//! key type. Usually this key is part of the value_type.
|
2113
|
-
template<class KeyType, class KeyValueCompare>
|
2114
|
-
iterator find(const KeyType& key, KeyValueCompare comp)
|
2115
|
-
{ return tree_.find(key, comp); }
|
2116
|
-
|
2117
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose value is
|
2118
|
-
//! "value" or end() if that element does not exist.
|
2119
|
-
//!
|
2120
|
-
//! <b>Complexity</b>: Logarithmic.
|
2121
|
-
//!
|
2122
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2123
|
-
const_iterator find(const_reference value) const
|
2124
|
-
{ return tree_.find(value); }
|
2125
|
-
|
2126
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2127
|
-
//! value_compare. Usually key is the part of the value_type
|
2128
|
-
//! that is used in the ordering functor.
|
2129
|
-
//!
|
2130
|
-
//! <b>Effects</b>: Finds a const_iterator to the first element whose key is
|
2131
|
-
//! "key" according to the comparison functor or end() if that element
|
2132
|
-
//! does not exist.
|
2133
|
-
//!
|
2134
|
-
//! <b>Complexity</b>: Logarithmic.
|
2135
|
-
//!
|
2136
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2137
|
-
//!
|
2138
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2139
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2140
|
-
//! key type. Usually this key is part of the value_type.
|
2141
|
-
template<class KeyType, class KeyValueCompare>
|
2142
|
-
const_iterator find(const KeyType& key, KeyValueCompare comp) const
|
2143
|
-
{ return tree_.find(key, comp); }
|
2144
|
-
|
2145
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
2146
|
-
//! an empty range that indicates the position where those elements would be
|
2147
|
-
//! if they there is no elements with key k.
|
2148
|
-
//!
|
2149
|
-
//! <b>Complexity</b>: Logarithmic.
|
2150
|
-
//!
|
2151
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
2152
|
-
std::pair<iterator,iterator> equal_range(const_reference value)
|
2153
|
-
{ return tree_.equal_range(value); }
|
2154
|
-
|
2155
|
-
//! <b>Requires</b>: comp must imply the same element order as
|
2156
|
-
//! value_compare. Usually key is the part of the value_type
|
2157
|
-
//! that is used in the ordering functor.
|
2158
|
-
//!
|
2159
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
2160
|
-
//! according to the comparison functor or an empty range
|
2161
|
-
//! that indicates the position where those elements would be
|
2162
|
-
//! if they there is no elements with key k.
|
2163
|
-
//!
|
2164
|
-
//! <b>Complexity</b>: Logarithmic.
|
2165
|
-
//!
|
2166
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2167
|
-
//!
|
2168
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2169
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2170
|
-
//! key type. Usually this key is part of the value_type.
|
2171
|
-
template<class KeyType, class KeyValueCompare>
|
2172
|
-
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyValueCompare comp)
|
2173
|
-
{ return tree_.equal_range(key, comp); }
|
2174
|
-
|
2175
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k or
|
2176
|
-
//! an empty range that indicates the position where those elements would be
|
2177
|
-
//! if they there is no elements with key k.
|
2178
|
-
//!
|
2179
|
-
//! <b>Complexity</b>: Logarithmic.
|
2180
|
-
//!
|
2181
|
-
//! <b>Throws</b>: If the internal value_compare ordering function throws.
|
749
|
+
void clear_and_dispose(Disposer disposer);
|
750
|
+
|
751
|
+
//! @copydoc ::boost::intrusive::sgtree::count(const key_type &)const
|
752
|
+
size_type count(const key_type &key) const;
|
753
|
+
|
754
|
+
//! @copydoc ::boost::intrusive::sgtree::count(const KeyType&,KeyTypeKeyCompare)const
|
755
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
756
|
+
size_type count(const KeyType& key, KeyTypeKeyCompare comp) const;
|
757
|
+
|
758
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const key_type &)
|
759
|
+
iterator lower_bound(const key_type &key);
|
760
|
+
|
761
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const KeyType&,KeyTypeKeyCompare)
|
762
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
763
|
+
iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
764
|
+
|
765
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const key_type &)const
|
766
|
+
const_iterator lower_bound(const key_type &key) const;
|
767
|
+
|
768
|
+
//! @copydoc ::boost::intrusive::sgtree::lower_bound(const KeyType&,KeyTypeKeyCompare)const
|
769
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
770
|
+
const_iterator lower_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
771
|
+
|
772
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const key_type &)
|
773
|
+
iterator upper_bound(const key_type &key);
|
774
|
+
|
775
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const KeyType&,KeyTypeKeyCompare)
|
776
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
777
|
+
iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp);
|
778
|
+
|
779
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const key_type &)const
|
780
|
+
const_iterator upper_bound(const key_type &key) const;
|
781
|
+
|
782
|
+
//! @copydoc ::boost::intrusive::sgtree::upper_bound(const KeyType&,KeyTypeKeyCompare)const
|
783
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
784
|
+
const_iterator upper_bound(const KeyType& key, KeyTypeKeyCompare comp) const;
|
785
|
+
|
786
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const key_type &)
|
787
|
+
iterator find(const key_type &key);
|
788
|
+
|
789
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const KeyType&,KeyTypeKeyCompare)
|
790
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
791
|
+
iterator find(const KeyType& key, KeyTypeKeyCompare comp);
|
792
|
+
|
793
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const key_type &)const
|
794
|
+
const_iterator find(const key_type &key) const;
|
795
|
+
|
796
|
+
//! @copydoc ::boost::intrusive::sgtree::find(const KeyType&,KeyTypeKeyCompare)const
|
797
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
798
|
+
const_iterator find(const KeyType& key, KeyTypeKeyCompare comp) const;
|
799
|
+
|
800
|
+
//! @copydoc ::boost::intrusive::sgtree::equal_range(const key_type &)
|
801
|
+
std::pair<iterator,iterator> equal_range(const key_type &key);
|
802
|
+
|
803
|
+
//! @copydoc ::boost::intrusive::sgtree::equal_range(const KeyType&,KeyTypeKeyCompare)
|
804
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
805
|
+
std::pair<iterator,iterator> equal_range(const KeyType& key, KeyTypeKeyCompare comp);
|
806
|
+
|
807
|
+
//! @copydoc ::boost::intrusive::sgtree::equal_range(const key_type &)const
|
2182
808
|
std::pair<const_iterator, const_iterator>
|
2183
|
-
equal_range(
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
//! value_compare. Usually key is the part of the value_type
|
2188
|
-
//! that is used in the ordering functor.
|
2189
|
-
//!
|
2190
|
-
//! <b>Effects</b>: Finds a range containing all elements whose key is k
|
2191
|
-
//! according to the comparison functor or an empty range
|
2192
|
-
//! that indicates the position where those elements would be
|
2193
|
-
//! if they there is no elements with key k.
|
2194
|
-
//!
|
2195
|
-
//! <b>Complexity</b>: Logarithmic.
|
2196
|
-
//!
|
2197
|
-
//! <b>Throws</b>: If comp ordering function throws.
|
2198
|
-
//!
|
2199
|
-
//! <b>Note</b>: This function is used when constructing a value_type
|
2200
|
-
//! is expensive and the value_type can be compared with a cheaper
|
2201
|
-
//! key type. Usually this key is part of the value_type.
|
2202
|
-
template<class KeyType, class KeyValueCompare>
|
809
|
+
equal_range(const key_type &key) const;
|
810
|
+
|
811
|
+
//! @copydoc ::boost::intrusive::sgtree::equal_range(const KeyType&,KeyTypeKeyCompare)const
|
812
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
2203
813
|
std::pair<const_iterator, const_iterator>
|
2204
|
-
equal_range(const KeyType& key,
|
2205
|
-
|
2206
|
-
|
2207
|
-
//! <b>Requires</b>: 'lower_value' must not be greater than 'upper_value'. If
|
2208
|
-
//! 'lower_value' == 'upper_value', ('left_closed' || 'right_closed') must be false.
|
2209
|
-
//!
|
2210
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2211
|
-
//!
|
2212
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
2213
|
-
//!
|
2214
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
2215
|
-
//!
|
2216
|
-
//! <b>Complexity</b>: Logarithmic.
|
2217
|
-
//!
|
2218
|
-
//! <b>Throws</b>: If the predicate throws.
|
2219
|
-
//!
|
2220
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2221
|
-
//! and lower_bound for lower_value and upper_value.
|
814
|
+
equal_range(const KeyType& key, KeyTypeKeyCompare comp) const;
|
815
|
+
|
816
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const key_type &,const key_type &,bool,bool)
|
2222
817
|
std::pair<iterator,iterator> bounded_range
|
2223
|
-
(
|
2224
|
-
|
2225
|
-
|
2226
|
-
|
2227
|
-
//! ordering compatible with the strict weak ordering used to create the
|
2228
|
-
//! the tree.
|
2229
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
2230
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
2231
|
-
//!
|
2232
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2233
|
-
//!
|
2234
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
2235
|
-
//!
|
2236
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
2237
|
-
//!
|
2238
|
-
//! <b>Complexity</b>: Logarithmic.
|
2239
|
-
//!
|
2240
|
-
//! <b>Throws</b>: If "comp" throws.
|
2241
|
-
//!
|
2242
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2243
|
-
//! and lower_bound for lower_key and upper_key.
|
2244
|
-
template<class KeyType, class KeyValueCompare>
|
818
|
+
(const key_type &lower_key, const key_type &upper_key, bool left_closed, bool right_closed);
|
819
|
+
|
820
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)
|
821
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
2245
822
|
std::pair<iterator,iterator> bounded_range
|
2246
|
-
(const KeyType& lower_key, const KeyType& upper_key,
|
2247
|
-
|
2248
|
-
|
2249
|
-
//! <b>Requires</b>: 'lower_value' must not be greater than 'upper_value'. If
|
2250
|
-
//! 'lower_value' == 'upper_value', ('left_closed' || 'right_closed') must be false.
|
2251
|
-
//!
|
2252
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2253
|
-
//!
|
2254
|
-
//! first = lower_bound(lower_key) if left_closed, upper_bound(lower_key) otherwise
|
2255
|
-
//!
|
2256
|
-
//! second = upper_bound(upper_key) if right_closed, lower_bound(upper_key) otherwise
|
2257
|
-
//!
|
2258
|
-
//! <b>Complexity</b>: Logarithmic.
|
2259
|
-
//!
|
2260
|
-
//! <b>Throws</b>: If the predicate throws.
|
2261
|
-
//!
|
2262
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2263
|
-
//! and lower_bound for lower_value and upper_value.
|
2264
|
-
std::pair<const_iterator, const_iterator>
|
2265
|
-
bounded_range(const_reference lower_value, const_reference upper_value, bool left_closed, bool right_closed) const
|
2266
|
-
{ return tree_.bounded_range(lower_value, upper_value, left_closed, right_closed); }
|
2267
|
-
|
2268
|
-
//! <b>Requires</b>: KeyValueCompare is a function object that induces a strict weak
|
2269
|
-
//! ordering compatible with the strict weak ordering used to create the
|
2270
|
-
//! the tree.
|
2271
|
-
//! 'lower_key' must not be greater than 'upper_key' according to 'comp'. If
|
2272
|
-
//! 'lower_key' == 'upper_key', ('left_closed' || 'right_closed') must be false.
|
2273
|
-
//!
|
2274
|
-
//! <b>Effects</b>: Returns an a pair with the following criteria:
|
2275
|
-
//!
|
2276
|
-
//! first = lower_bound(lower_key, comp) if left_closed, upper_bound(lower_key, comp) otherwise
|
2277
|
-
//!
|
2278
|
-
//! second = upper_bound(upper_key, comp) if right_closed, lower_bound(upper_key, comp) otherwise
|
2279
|
-
//!
|
2280
|
-
//! <b>Complexity</b>: Logarithmic.
|
2281
|
-
//!
|
2282
|
-
//! <b>Throws</b>: If "comp" throws.
|
2283
|
-
//!
|
2284
|
-
//! <b>Note</b>: This function can be more efficient than calling upper_bound
|
2285
|
-
//! and lower_bound for lower_key and upper_key.
|
2286
|
-
template<class KeyType, class KeyValueCompare>
|
823
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed);
|
824
|
+
|
825
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const key_type &,const key_type &,bool,bool)const
|
2287
826
|
std::pair<const_iterator, const_iterator>
|
2288
|
-
bounded_range
|
2289
|
-
(const KeyType& lower_key, const KeyType& upper_key, KeyValueCompare comp, bool left_closed, bool right_closed) const
|
2290
|
-
{ return tree_.bounded_range(lower_key, upper_key, comp, left_closed, right_closed); }
|
2291
|
-
|
2292
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_multiset of
|
2293
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2294
|
-
//!
|
2295
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the sg_multiset
|
2296
|
-
//! that points to the value
|
2297
|
-
//!
|
2298
|
-
//! <b>Complexity</b>: Constant.
|
2299
|
-
//!
|
2300
|
-
//! <b>Throws</b>: Nothing.
|
2301
|
-
//!
|
2302
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
2303
|
-
//! is stateless.
|
2304
|
-
static iterator s_iterator_to(reference value)
|
2305
|
-
{ return tree_type::s_iterator_to(value); }
|
2306
|
-
|
2307
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_multiset of
|
2308
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2309
|
-
//!
|
2310
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
2311
|
-
//! sg_multiset that points to the value
|
2312
|
-
//!
|
2313
|
-
//! <b>Complexity</b>: Constant.
|
2314
|
-
//!
|
2315
|
-
//! <b>Throws</b>: Nothing.
|
2316
|
-
//!
|
2317
|
-
//! <b>Note</b>: This static function is available only if the <i>value traits</i>
|
2318
|
-
//! is stateless.
|
2319
|
-
static const_iterator s_iterator_to(const_reference value)
|
2320
|
-
{ return tree_type::s_iterator_to(value); }
|
2321
|
-
|
2322
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_multiset of
|
2323
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2324
|
-
//!
|
2325
|
-
//! <b>Effects</b>: Returns: a valid iterator i belonging to the sg_multiset
|
2326
|
-
//! that points to the value
|
2327
|
-
//!
|
2328
|
-
//! <b>Complexity</b>: Constant.
|
2329
|
-
//!
|
2330
|
-
//! <b>Throws</b>: Nothing.
|
2331
|
-
iterator iterator_to(reference value)
|
2332
|
-
{ return tree_.iterator_to(value); }
|
2333
|
-
|
2334
|
-
//! <b>Requires</b>: value must be an lvalue and shall be in a sg_multiset of
|
2335
|
-
//! appropriate type. Otherwise the behavior is undefined.
|
2336
|
-
//!
|
2337
|
-
//! <b>Effects</b>: Returns: a valid const_iterator i belonging to the
|
2338
|
-
//! sg_multiset that points to the value
|
2339
|
-
//!
|
2340
|
-
//! <b>Complexity</b>: Constant.
|
2341
|
-
//!
|
2342
|
-
//! <b>Throws</b>: Nothing.
|
2343
|
-
const_iterator iterator_to(const_reference value) const
|
2344
|
-
{ return tree_.iterator_to(value); }
|
2345
|
-
|
2346
|
-
//! <b>Requires</b>: value shall not be in a sg_multiset/sg_multiset.
|
2347
|
-
//!
|
2348
|
-
//! <b>Effects</b>: init_node puts the hook of a value in a well-known default
|
2349
|
-
//! state.
|
2350
|
-
//!
|
2351
|
-
//! <b>Throws</b>: Nothing.
|
2352
|
-
//!
|
2353
|
-
//! <b>Complexity</b>: Constant time.
|
2354
|
-
//!
|
2355
|
-
//! <b>Note</b>: This function puts the hook in the well-known default state
|
2356
|
-
//! used by auto_unlink and safe hooks.
|
2357
|
-
static void init_node(reference value)
|
2358
|
-
{ tree_type::init_node(value); }
|
2359
|
-
|
2360
|
-
//! <b>Effects</b>: Unlinks the leftmost node from the tree.
|
2361
|
-
//!
|
2362
|
-
//! <b>Complexity</b>: Average complexity is constant time.
|
2363
|
-
//!
|
2364
|
-
//! <b>Throws</b>: Nothing.
|
2365
|
-
//!
|
2366
|
-
//! <b>Notes</b>: This function breaks the tree and the tree can
|
2367
|
-
//! only be used for more unlink_leftmost_without_rebalance calls.
|
2368
|
-
//! This function is normally used to achieve a step by step
|
2369
|
-
//! controlled destruction of the tree.
|
2370
|
-
pointer unlink_leftmost_without_rebalance()
|
2371
|
-
{ return tree_.unlink_leftmost_without_rebalance(); }
|
2372
|
-
|
2373
|
-
//! <b>Requires</b>: replace_this must be a valid iterator of *this
|
2374
|
-
//! and with_this must not be inserted in any tree.
|
2375
|
-
//!
|
2376
|
-
//! <b>Effects</b>: Replaces replace_this in its position in the
|
2377
|
-
//! tree with with_this. The tree does not need to be rebalanced.
|
2378
|
-
//!
|
2379
|
-
//! <b>Complexity</b>: Constant.
|
2380
|
-
//!
|
2381
|
-
//! <b>Throws</b>: Nothing.
|
2382
|
-
//!
|
2383
|
-
//! <b>Note</b>: This function will break container ordering invariants if
|
2384
|
-
//! with_this is not equivalent to *replace_this according to the
|
2385
|
-
//! ordering rules. This function is faster than erasing and inserting
|
2386
|
-
//! the node, since no rebalancing or comparison is needed.
|
2387
|
-
void replace_node(iterator replace_this, reference with_this)
|
2388
|
-
{ tree_.replace_node(replace_this, with_this); }
|
2389
|
-
|
2390
|
-
//! <b>Effects</b>: Rebalances the tree.
|
2391
|
-
//!
|
2392
|
-
//! <b>Throws</b>: Nothing.
|
2393
|
-
//!
|
2394
|
-
//! <b>Complexity</b>: Linear.
|
2395
|
-
void rebalance()
|
2396
|
-
{ tree_.rebalance(); }
|
2397
|
-
|
2398
|
-
//! <b>Requires</b>: old_root is a node of a tree.
|
2399
|
-
//!
|
2400
|
-
//! <b>Effects</b>: Rebalances the subtree rooted at old_root.
|
2401
|
-
//!
|
2402
|
-
//! <b>Returns</b>: The new root of the subtree.
|
2403
|
-
//!
|
2404
|
-
//! <b>Throws</b>: Nothing.
|
2405
|
-
//!
|
2406
|
-
//! <b>Complexity</b>: Linear to the elements in the subtree.
|
2407
|
-
iterator rebalance_subtree(iterator root)
|
2408
|
-
{ return tree_.rebalance_subtree(root); }
|
2409
|
-
|
2410
|
-
//! <b>Returns</b>: The balance factor (alpha) used in this tree
|
2411
|
-
//!
|
2412
|
-
//! <b>Throws</b>: Nothing.
|
2413
|
-
//!
|
2414
|
-
//! <b>Complexity</b>: Constant.
|
2415
|
-
float balance_factor() const
|
2416
|
-
{ return tree_.balance_factor(); }
|
2417
|
-
|
2418
|
-
//! <b>Requires</b>: new_alpha must be a value between 0.5 and 1.0
|
2419
|
-
//!
|
2420
|
-
//! <b>Effects</b>: Establishes a new balance factor (alpha) and rebalances
|
2421
|
-
//! the tree if the new balance factor is stricter (less) than the old factor.
|
2422
|
-
//!
|
2423
|
-
//! <b>Throws</b>: Nothing.
|
2424
|
-
//!
|
2425
|
-
//! <b>Complexity</b>: Linear to the elements in the subtree.
|
2426
|
-
void balance_factor(float new_alpha)
|
2427
|
-
{ tree_.balance_factor(new_alpha); }
|
827
|
+
bounded_range(const key_type &lower_key, const key_type &upper_key, bool left_closed, bool right_closed) const;
|
2428
828
|
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
829
|
+
//! @copydoc ::boost::intrusive::sgtree::bounded_range(const KeyType&,const KeyType&,KeyTypeKeyCompare,bool,bool)const
|
830
|
+
template<class KeyType, class KeyTypeKeyCompare>
|
831
|
+
std::pair<const_iterator, const_iterator> bounded_range
|
832
|
+
(const KeyType& lower_key, const KeyType& upper_key, KeyTypeKeyCompare comp, bool left_closed, bool right_closed) const;
|
2432
833
|
|
2433
|
-
|
2434
|
-
|
2435
|
-
|
834
|
+
//! @copydoc ::boost::intrusive::sgtree::s_iterator_to(reference)
|
835
|
+
static iterator s_iterator_to(reference value);
|
836
|
+
|
837
|
+
//! @copydoc ::boost::intrusive::sgtree::s_iterator_to(const_reference)
|
838
|
+
static const_iterator s_iterator_to(const_reference value);
|
839
|
+
|
840
|
+
//! @copydoc ::boost::intrusive::sgtree::iterator_to(reference)
|
841
|
+
iterator iterator_to(reference value);
|
842
|
+
|
843
|
+
//! @copydoc ::boost::intrusive::sgtree::iterator_to(const_reference)const
|
844
|
+
const_iterator iterator_to(const_reference value) const;
|
845
|
+
|
846
|
+
//! @copydoc ::boost::intrusive::sgtree::init_node(reference)
|
847
|
+
static void init_node(reference value);
|
848
|
+
|
849
|
+
//! @copydoc ::boost::intrusive::sgtree::unlink_leftmost_without_rebalance
|
850
|
+
pointer unlink_leftmost_without_rebalance();
|
851
|
+
|
852
|
+
//! @copydoc ::boost::intrusive::sgtree::replace_node
|
853
|
+
void replace_node(iterator replace_this, reference with_this);
|
854
|
+
|
855
|
+
//! @copydoc ::boost::intrusive::sgtree::remove_node
|
856
|
+
void remove_node(reference value);
|
857
|
+
|
858
|
+
//! @copydoc ::boost::intrusive::sgtree::rebalance
|
859
|
+
void rebalance();
|
860
|
+
|
861
|
+
//! @copydoc ::boost::intrusive::sgtree::rebalance_subtree
|
862
|
+
iterator rebalance_subtree(iterator root);
|
863
|
+
|
864
|
+
//! @copydoc ::boost::intrusive::sgtree::balance_factor()
|
865
|
+
float balance_factor() const;
|
866
|
+
|
867
|
+
//! @copydoc ::boost::intrusive::sgtree::balance_factor(float)
|
868
|
+
void balance_factor(float new_alpha);
|
869
|
+
|
870
|
+
#endif //#ifdef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
2436
871
|
};
|
2437
872
|
|
2438
873
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
874
|
+
|
2439
875
|
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 sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y)
|
2446
|
-
#else
|
2447
|
-
(const sg_multiset_impl<Config> &x, const sg_multiset_impl<Config> &y)
|
2448
|
-
#endif
|
2449
|
-
{ return !(x == y); }
|
876
|
+
bool operator!= (const sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y);
|
2450
877
|
|
2451
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2452
878
|
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 sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y)
|
2459
|
-
#else
|
2460
|
-
(const sg_multiset_impl<Config> &x, const sg_multiset_impl<Config> &y)
|
2461
|
-
#endif
|
2462
|
-
{ return y < x; }
|
879
|
+
bool operator>(const sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y);
|
2463
880
|
|
2464
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2465
881
|
template<class T, class ...Options>
|
2466
|
-
|
2467
|
-
template<class Config>
|
2468
|
-
#endif
|
2469
|
-
inline bool operator<=
|
2470
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2471
|
-
(const sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y)
|
2472
|
-
#else
|
2473
|
-
(const sg_multiset_impl<Config> &x, const sg_multiset_impl<Config> &y)
|
2474
|
-
#endif
|
2475
|
-
{ return !(y < x); }
|
882
|
+
bool operator<=(const sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y);
|
2476
883
|
|
2477
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2478
884
|
template<class T, class ...Options>
|
2479
|
-
|
2480
|
-
template<class Config>
|
2481
|
-
#endif
|
2482
|
-
inline bool operator>=
|
2483
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2484
|
-
(const sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y)
|
2485
|
-
#else
|
2486
|
-
(const sg_multiset_impl<Config> &x, const sg_multiset_impl<Config> &y)
|
2487
|
-
#endif
|
2488
|
-
{ return !(x < y); }
|
885
|
+
bool operator>=(const sg_multiset_impl<T, Options...> &x, const sg_multiset_impl<T, Options...> &y);
|
2489
886
|
|
2490
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2491
887
|
template<class T, class ...Options>
|
2492
|
-
|
2493
|
-
|
2494
|
-
#endif
|
2495
|
-
inline void swap
|
2496
|
-
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2497
|
-
(sg_multiset_impl<T, Options...> &x, sg_multiset_impl<T, Options...> &y)
|
2498
|
-
#else
|
2499
|
-
(sg_multiset_impl<Config> &x, sg_multiset_impl<Config> &y)
|
2500
|
-
#endif
|
2501
|
-
{ x.swap(y); }
|
888
|
+
void swap(sg_multiset_impl<T, Options...> &x, sg_multiset_impl<T, Options...> &y);
|
889
|
+
|
890
|
+
#endif //#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
|
2502
891
|
|
2503
892
|
//! Helper metafunction to define a \c sg_multiset that yields to the same type when the
|
2504
893
|
//! same options (either explicitly or implicitly) are used.
|
2505
894
|
#if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
2506
895
|
template<class T, class ...Options>
|
2507
896
|
#else
|
2508
|
-
template<class T, class O1 =
|
2509
|
-
, class O3 =
|
897
|
+
template<class T, class O1 = void, class O2 = void
|
898
|
+
, class O3 = void, class O4 = void
|
899
|
+
, class O5 = void, class O6 = void>
|
2510
900
|
#endif
|
2511
901
|
struct make_sg_multiset
|
2512
902
|
{
|
2513
903
|
/// @cond
|
904
|
+
typedef typename pack_options
|
905
|
+
< sgtree_defaults,
|
906
|
+
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
907
|
+
O1, O2, O3, O4, O5, O6
|
908
|
+
#else
|
909
|
+
Options...
|
910
|
+
#endif
|
911
|
+
>::type packed_options;
|
912
|
+
|
913
|
+
typedef typename detail::get_value_traits
|
914
|
+
<T, typename packed_options::proto_value_traits>::type value_traits;
|
915
|
+
|
2514
916
|
typedef sg_multiset_impl
|
2515
|
-
|
2516
|
-
|
2517
|
-
|
2518
|
-
|
2519
|
-
|
2520
|
-
|
2521
|
-
|
2522
|
-
> implementation_defined;
|
917
|
+
< value_traits
|
918
|
+
, typename packed_options::key_of_value
|
919
|
+
, typename packed_options::compare
|
920
|
+
, typename packed_options::size_type
|
921
|
+
, packed_options::floating_point
|
922
|
+
, typename packed_options::header_holder_type
|
923
|
+
> implementation_defined;
|
2523
924
|
/// @endcond
|
2524
925
|
typedef implementation_defined type;
|
2525
926
|
};
|
@@ -2527,31 +928,31 @@ struct make_sg_multiset
|
|
2527
928
|
#ifndef BOOST_INTRUSIVE_DOXYGEN_INVOKED
|
2528
929
|
|
2529
930
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
2530
|
-
template<class T, class O1, class O2, class O3, class O4>
|
931
|
+
template<class T, class O1, class O2, class O3, class O4, class O5, class O6>
|
2531
932
|
#else
|
2532
933
|
template<class T, class ...Options>
|
2533
934
|
#endif
|
2534
935
|
class sg_multiset
|
2535
936
|
: public make_sg_multiset<T,
|
2536
937
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
2537
|
-
O1, O2, O3, O4
|
938
|
+
O1, O2, O3, O4, O5, O6
|
2538
939
|
#else
|
2539
940
|
Options...
|
2540
941
|
#endif
|
2541
942
|
>::type
|
2542
943
|
{
|
2543
|
-
typedef typename make_sg_multiset
|
2544
|
-
<T,
|
944
|
+
typedef typename make_sg_multiset<T,
|
2545
945
|
#if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
|
2546
|
-
O1, O2, O3, O4
|
946
|
+
O1, O2, O3, O4, O5, O6
|
2547
947
|
#else
|
2548
948
|
Options...
|
2549
949
|
#endif
|
2550
950
|
>::type Base;
|
951
|
+
|
2551
952
|
BOOST_MOVABLE_BUT_NOT_COPYABLE(sg_multiset)
|
2552
953
|
|
2553
954
|
public:
|
2554
|
-
typedef typename Base::
|
955
|
+
typedef typename Base::key_compare key_compare;
|
2555
956
|
typedef typename Base::value_traits value_traits;
|
2556
957
|
typedef typename Base::iterator iterator;
|
2557
958
|
typedef typename Base::const_iterator const_iterator;
|
@@ -2559,24 +960,32 @@ class sg_multiset
|
|
2559
960
|
//Assert if passed value traits are compatible with the type
|
2560
961
|
BOOST_STATIC_ASSERT((detail::is_same<typename value_traits::value_type, T>::value));
|
2561
962
|
|
2562
|
-
sg_multiset( const
|
963
|
+
sg_multiset( const key_compare &cmp = key_compare()
|
2563
964
|
, const value_traits &v_traits = value_traits())
|
2564
965
|
: Base(cmp, v_traits)
|
2565
966
|
{}
|
2566
967
|
|
2567
968
|
template<class Iterator>
|
2568
969
|
sg_multiset( Iterator b, Iterator e
|
2569
|
-
, const
|
970
|
+
, const key_compare &cmp = key_compare()
|
2570
971
|
, const value_traits &v_traits = value_traits())
|
2571
972
|
: Base(b, e, cmp, v_traits)
|
2572
973
|
{}
|
2573
974
|
|
2574
975
|
sg_multiset(BOOST_RV_REF(sg_multiset) x)
|
2575
|
-
: Base(
|
976
|
+
: Base(BOOST_MOVE_BASE(Base, x))
|
2576
977
|
{}
|
2577
978
|
|
2578
979
|
sg_multiset& operator=(BOOST_RV_REF(sg_multiset) x)
|
2579
|
-
{ this->Base::operator=(
|
980
|
+
{ return static_cast<sg_multiset &>(this->Base::operator=(BOOST_MOVE_BASE(Base, x))); }
|
981
|
+
|
982
|
+
template <class Cloner, class Disposer>
|
983
|
+
void clone_from(const sg_multiset &src, Cloner cloner, Disposer disposer)
|
984
|
+
{ Base::clone_from(src, cloner, disposer); }
|
985
|
+
|
986
|
+
template <class Cloner, class Disposer>
|
987
|
+
void clone_from(BOOST_RV_REF(sg_multiset) src, Cloner cloner, Disposer disposer)
|
988
|
+
{ Base::clone_from(BOOST_MOVE_BASE(Base, src), cloner, disposer); }
|
2580
989
|
|
2581
990
|
static sg_multiset &container_from_end_iterator(iterator end_iterator)
|
2582
991
|
{ return static_cast<sg_multiset &>(Base::container_from_end_iterator(end_iterator)); }
|