Commit Graph

909 Commits

Author SHA1 Message Date
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
joaquintides 63eaed843f stylistic 2022-10-15 11:15:29 +02:00
joaquintides 0b575dc983 s/const/constexpr in simde_mm_movemask_epi8 2022-10-15 11:14:36 +02:00
joaquintides b8d4df2b5c stylistic 2022-10-15 11:07:48 +02:00
joaquintides 3bf28d7b61 stylistic 2022-10-15 11:06:15 +02:00
joaquintides acc7f0ce5c refactored table_arrays dummy groups handling 2022-10-15 11:05:51 +02:00
joaquintides 1532e301d1 micro-optimized non-SIMD group15::match_impl 2022-10-15 10:51:28 +02:00
joaquintides e663812f24 editorial 2022-10-15 10:18:47 +02:00
Christian Mazakas e3c91ad812 Add erase_if tests 2022-10-14 13:37:26 -07:00
Christian Mazakas d02d4094e6 Add merge_tests 2022-10-14 13:37:26 -07:00
joaquintides 9a03d1e904 added design and implementation notes 2022-10-14 20:00:24 +02:00