Commit Graph

919 Commits

Author SHA1 Message Date
joaquintides
5e639a97a4 passed BOOST_UNORDERED_ASSUME a true boolean 2022-10-26 10:39:34 +02:00
joaquintides
fb315252b3 added missing BOOST_FORCEINLINE 2022-10-25 19:53:18 +02:00
joaquintides
d12ed06c3d removed #ifdef'd out code 2022-10-25 19:53:03 +02:00
joaquintides
49fc08b934 refactored emplace_impl to improve inlining 2022-10-25 19:48:19 +02:00
Christian Mazakas
4f0edf9013 Decorate containers with more BOOST_FORCEINLINE 2022-10-25 09:01:38 -07:00
joaquintides
2afd1c5c9a copied Neon group15::is_sentinel from foa_unordered_rc.hpp
(possible performance impact)
2022-10-25 14:45:38 +02:00
joaquintides
e29bf7a4a0 reverted 2022-10-25 14:31:27 +02:00
joaquintides
7db310f6d2 reverted 0b575dc983 (may affect performance) 2022-10-25 11:48:41 +02:00
Christian Mazakas
955dab4637 Add missing init_type overloads for insert(hint) 2022-10-24 11:17:05 -07:00
Christian Mazakas
375d7157b6 Add tests for missing typedefs in flat containers 2022-10-24 09:54:57 -07:00
joaquintides
d8f226d429 reverted "Push up partial refactor for older msvc"
This reverts commit 627ffe4ed7.
2022-10-22 12:28:04 +02:00
Christian Mazakas
627ffe4ed7 Push up partial refactor for older msvc 2022-10-21 15:38:19 -07:00
Christian Mazakas
e0b680ac29 Update insert(Iterator, Iterator) overloads to use emplace internally instead of insert()'ing 2022-10-21 11:24:34 -07:00
joaquintides
2aa62c63c1 stylistic 2022-10-21 10:46:22 +02:00
joaquintides
c9d1b6009e stylistic 2022-10-21 10:02:49 +02:00
joaquintides
1d553447a0 refactored insert overloads 2022-10-21 10:01:51 +02:00
Christian Mazakas
703f8d1065 Delete boost-level headers as they're no longer considered idiomatic and update all tests to use the test/helpers/unorderd.hpp header where applicable 2022-10-20 15:25:40 -07:00
Christian Mazakas
fe32f153a2 Add draft of insert(init_type&&) for unordered_flat_map 2022-10-20 14:59:33 -07:00
Christian Mazakas
59f4da0a47 Add init_type public typedefs 2022-10-20 14:58:38 -07:00
joaquintides
99ad45ed77 removed spurious consts 2022-10-20 20:02:55 +02:00
joaquintides
d93875a65e refactored value_from and insert overloads 2022-10-20 19:48:17 +02:00
Christian Mazakas
c1d5902911 Remove unnecessary value_type conversion by expanding overloads for value_from() 2022-10-20 08:43:42 -07:00
joaquintides
2f048ea6ac s/=/== 2022-10-19 17:50:21 +02:00
joaquintides
f3353c9be3 made sure source values are destroyed on copy-based rehash 2022-10-19 17:42:59 +02:00
joaquintides
8a1562cc78 implemented strong exception guarantee on rehash and single insert/emplace 2022-10-19 15:46:57 +02:00
joaquintides
8e42367a62 stylistic 2022-10-18 19:33:52 +02:00
joaquintides
d13a9dcaaf stylistic 2022-10-18 18:35:41 +02:00
joaquintides
64cb43ce32 protected against hash throwing in nosize_transfer_element 2022-10-18 17:42:22 +02:00
joaquintides
c9340390b0 completed previous commit 2022-10-18 17:28:57 +02:00
joaquintides
c76f44a8b3 hardened unchecked_rehash against exceptions thrown in the middle of value move construction 2022-10-18 16:18:05 +02:00
joaquintides
2290375515 replaced try blocks with scope guards 2022-10-18 16:14:29 +02:00
joaquintides
a200af610f refactored table's allocator-extended copy tor 2022-10-18 15:41:33 +02:00
joaquintides
2cb1d2bdf0 removed duplicated call to destroy 2022-10-18 15:25:54 +02:00
joaquintides
ac2bc8d615 made group initialization more straightforward 2022-10-18 12:17:40 +02:00
Christian Mazakas
27c386d47b Revert "used regular method for group resetting in clear"
This reverts commit eb5351b2c6.
2022-10-17 13:20:01 -07:00
Christian Mazakas
cf6f4023bb Make sure mask is properly cleared during rehash cleanup 2022-10-17 13:19:57 -07:00
joaquintides
6e4e5ead03 made Neon group15 compatible with A32 2022-10-17 18:43:48 +02:00
joaquintides
eb5351b2c6 used regular method for group resetting in clear 2022-10-17 18:21:41 +02:00
joaquintides
599dee204f micro-optimized table destruction 2022-10-17 18:00:15 +02:00
joaquintides
6b1d2f13da made clear reset overflow bytes 2022-10-17 17:51:43 +02:00
joaquintides
b0f6bb128f micro-optimized group loops 2022-10-17 09:43:22 +02:00
joaquintides
0389e0bc16 reverted 2022-10-16 22:17:53 +02:00
joaquintides
9246c30178 activated alternative impl of nosize_unchecked_emplace_at 2022-10-16 21:33:40 +02:00
joaquintides
bb6b57d1a4 typo 2022-10-16 17:45:17 +02:00
joaquintides
4fa61b98eb made rehash work with exact capacities, refactored capacity calculations 2022-10-16 10:11:47 +02:00
joaquintides
5535faf3cc introduced internal noshrink_reserve 2022-10-15 18:56:46 +02:00
joaquintides
ec389cdecd kept adding design/implementation notes 2022-10-15 18:33:59 +02:00
joaquintides
7c5bad60c6 reordered #includes 2022-10-15 13:14:32 +02:00
joaquintides
cc75360f4c kept adding design/implementation notes 2022-10-15 12:38:39 +02:00
joaquintides
3a0b752363 reorganized function definitions 2022-10-15 11:17:51 +02:00