Commit Graph
212 Commits
Author SHA1 Message Date
Christian Mazakas 5f68c0f8dd Add missing <algorithm> include for std::max 2023-09-22 15:40:46 -07:00
Christian Mazakas 5439279300 Remove Boost.StaticAssert 2023-09-22 15:40:46 -07:00
Christian Mazakas 75303f438c Refactor prime_fmod_size impl to no longer use Boost.Preprocessor 2023-09-22 15:40:46 -07:00
Christian Mazakas 4d4dcbbb67 Remove dependency on Boost.Utility in implementation.hpp 2023-09-22 15:40:46 -07:00
Christian Mazakas 6f4e833e43 Remove Boost.PP from implementation.hpp 2023-09-22 15:40:46 -07:00
Christian Mazakas 3e05333b63 Remove dependency on Boost.Move 2023-09-22 15:40:46 -07:00
Christian Mazakas f5e6804869 Remove BOOST_MOVABLE_BUT_NOT_COPYABLE 2023-09-22 15:40:46 -07:00
Christian Mazakas 0fcece193f Remove BOOST_NO_CXX11_RVALUE_REFERENCES 2023-09-22 15:40:46 -07:00
Christian Mazakas bf698adbe5 Remove BOOST_NO_CXX11_VARIADIC_TEMPLATES 2023-09-22 15:40:46 -07:00
Christian Mazakas 0fa3942782 Remove BOOST_FWD_REF 2023-09-22 15:40:46 -07:00
Christian Mazakas 7fe4eb1d15 Remove BOOST_RV_REF 2023-09-22 15:40:46 -07:00
Christian Mazakas 7eb6a011c1 Remove BOOST_UNORDERED_TUPLE_ARGS 2023-09-22 15:40:46 -07:00
Christian Mazakas 14e8c2418c Remove BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT 2023-09-22 15:40:46 -07:00
Christian Mazakas 30a05c39da Remove usage of boost::forward 2023-09-22 15:40:46 -07:00
Christian Mazakas 27f1f6d841 Remove usage of BOOST_UNORDERED_CXX11_CONSTRUCTION 2023-09-22 15:40:46 -07:00
Christian Mazakas fdc5cc83ff Remove usage of BOOST_NO_CXX11_HDR_TYPE_TRAITS 2023-09-22 15:40:46 -07:00
Christian Mazakas 32c2fde321 Remove BOOST_UNORDERED_EMPLACE_TEMPLATE machinery 2023-09-22 15:40:46 -07:00
Christian Mazakas 451b74d956 Replace boost::move with std::move 2023-09-22 15:40:46 -07:00
Christian Mazakas 552224888c Remove BOOST_NOEXCEPT 2023-09-22 15:40:45 -07:00
joaquintides ca2a46f290 complied with https://github.com/boostorg/core/commit/5f6fe65 2023-08-25 19:45:16 +02:00
joaquintides d007a5a7bd renamed serialize_node_pointer as serialize_tracked_address (editorial) 2023-08-25 11:34:39 +02:00
joaquintides 5239b101e2 added serialization support (pending docs and testing) 2023-08-17 10:20:25 +02:00
Christian Mazakas dce386068b Remove extraneous semicolons 2023-06-21 07:46:53 -07:00
Christian Mazakas 2386188d69 Relocate macros needed by test suite into detail/fwd.hpp 2023-03-20 12:43:57 -07:00
Christian Mazakas 7d77f1d478 Add transparent insert() overloads to unordered_[flat]_set 2022-12-19 12:46:46 -08:00
Christian Mazakas 867e60113b Add SFINAE helpers to type_traits.hpp 2022-11-07 15:55:29 -08:00
Christian Mazakas 5e5addd82d Update how the required number of buckets is calculated to nest the max call 2022-10-27 08:17:10 -07:00
Christian Mazakas 05f9668597 Refactor transparent type traits into their own header so they can be shared with FOA impl 2022-10-10 14:18:11 -07:00
Christian Mazakas 9a9b8e0a7b Update rehashing implementation to better reflect STL conformance 2022-09-13 12:33:21 -07:00
Christian Mazakas 5ad86f559f Clean up implementation of recalculate_max_load() to avoid std::floor/std::ceil 2022-09-13 12:33:21 -07:00
Christian Mazakas dea6ce164c Remove erroneous unconditional call to reserve() from move_assign() when pocma is false 2022-09-12 13:16:45 -07:00
Christian Mazakas db9d9d1f77 Update implementation to support a default-constructible table and grouped_bucket_array 2022-08-30 15:20:31 -07:00
Christian Mazakas 6f342bf119 Set default_bucket_count to zero 2022-08-30 15:20:31 -07:00
Christian Mazakas f9eae4153f Update code to be valid when the internal buckets_ data member is moved-from 2022-08-18 09:04:53 -07:00
Christian Mazakas 91e78fd746 Add erase_node() function to table, creating an optimizer-friendly function 2022-07-25 11:35:23 -07:00
Christian Mazakas 90b2536a99 Relace usage of BOOST_FORCEINLINE with plain inline to prevent warnings from certain versions of msvc 2022-06-21 08:42:52 -07:00
Christian Mazakas f1481f0deb Remove dependency on Boost.Detail 2022-06-21 08:42:52 -07:00
Christian Mazakas b1a9cde690 Remove dependency on Boost.Iterator 2022-06-21 08:42:52 -07:00
Alexander Grund 707b40e8c2 Workaround Segfault of Clang 3.8
Clang 3.8 segfaults during name mangling of `make_index_seq`.
Hence replace it by using type aliases.
2022-06-09 11:04:20 +02:00
Christian Mazakas 613a997694 Fix -Wmaybe-unitialized warning in gcc-12 by laundering the result of reinterpret_cast<> in functions helper 2022-06-07 09:03:48 -07:00
Flamefire d0ac539d09 Fix compilation on Clang < 3.8
`val_alloc` is used in the other branch of the #ifdef too.
2022-06-03 11:07:49 +02:00
Peter Dimov 72fe06aa00 Remove unused include, removes dependency on Detail 2022-06-02 19:15:12 +03:00
Christian Mazakas 5a456eb295 Refactor internal implementation to use "fast closed-addressing" aka fca 2022-06-01 11:49:09 -07:00
Christian Mazakas c322cc5621 Implement erase_if() for Unordered via function template in detail namespace 2022-02-23 11:36:48 -08:00
Christian Mazakas aa96d87502 Fix shadowing warning in early versions of gcc 2022-02-11 11:33:46 -08:00
Peter Dimov 0794cfec9e Avoid -Wlong-long in mix64_policy 2022-02-09 07:13:27 +02:00
Peter Dimov 2f331b7a8b Update mix64_policy to use Fibonacci hashing 2022-01-19 04:11:08 +02:00
Peter Dimov d96d5335b4 Update mix32_policy to use Fibonacci hashing 2022-01-19 04:01:46 +02:00
Peter Dimov 2751b3515b Add bcount_log2_ to table, pass it to the policy 2022-01-19 02:33:37 +02:00
Peter Dimov bf86730a62 Add mix32_policy 2022-01-18 21:31:53 +02:00