Commit Graph
761 Commits
Author SHA1 Message Date
Christian Mazakas e9c3ed1531 Remove unnecessary self-alias checks in copy-assignment operators 2022-10-04 14:49:40 -07:00
Christian Mazakas 4cdfb2537a Implement erase(), get erase_tests passing 2022-10-04 11:48:09 -07:00
joaquintides b7e021ffc6 silenced VS warning C4714 2022-10-04 18:47:23 +02:00
joaquintides e69bb3aece unnamed unused parameters 2022-10-04 13:46:27 +02:00
joaquintides 06512a00e1 refactored bdfe294e61 and expanded to move assign and swap 2022-10-04 11:24:21 +02:00
Christian Mazakas bdfe294e61 Add temporary polyfill for foa table's assignment operator so that the definition of the allocator copy-assignment operator isn't required 2022-10-03 14:47:41 -07:00
Christian Mazakas ddb9f370af Update load_factor() impl to handle the case when capacity() is zero 2022-10-03 14:46:45 -07:00
Christian Mazakas b0c0384401 Fix small typo in increment() function to silence VS warnings 2022-10-03 14:46:19 -07:00
Christian Mazakas bf6e381ff2 Add expliicit destructors, copy assignment operators 2022-10-03 14:45:42 -07:00
joaquintides 2e3a8a0fc0 avoided VS warning C4706 2022-10-03 21:05:48 +02:00
joaquintides 357eed44a1 replaced homegrown ebo_base with boost::empty_value 2022-10-03 19:36:53 +02:00
joaquintides d370ae1095 stopped relying on __STDCPP_DEFAULT_NEW_ALIGNMENT__ for now 2022-10-03 18:49:24 +02:00
joaquintides 621b5b4ec1 shut down bogus VS warning 2022-10-02 11:14:19 +02:00
joaquintides 4dbc83ccbf documented VS specific bit 2022-10-02 11:13:49 +02:00
joaquintides 398a64b5e0 shut down unavoidable GCC shadowing warnings 2022-10-02 11:13:04 +02:00
joaquintides b926dbbbe9 eliminated shadowed declaration 2022-10-01 19:37:16 +02:00
joaquintides b244b33402 EBO-optimized table 2022-10-01 19:34:33 +02:00
joaquintides f2e4b25615 silenced conversion warning 2022-10-01 17:33:55 +02:00
joaquintides 29f2f1db2c added missing BOOST_RETHROWs 2022-10-01 12:58:37 +02:00
joaquintides cec09e1c61 fixed alignment issues apparent 32bit builds 2022-10-01 12:44:33 +02:00
joaquintides 36a42116e8 supported unaligned metadata access where potentially happening,
plus fixed some superfluous alignas specifiers
2022-09-30 17:06:31 +02:00
joaquintides d9dcaf8ba1 tried different formulation of prior 2022-09-30 16:17:40 +02:00
joaquintides 984cf13afd reintroduced 6110a0827c with a slightly different syntax
(prior caused ICEs on GCC11)
2022-09-30 16:15:11 +02:00
joaquintides ac41bf6e86 temporarily reverted 6110a0827c 2022-09-30 16:09:14 +02:00
joaquintides 5f21e3964e temporarily omitted _mm_loadu_si128 2022-09-30 13:57:49 +02:00
joaquintides 364cd86191 temporarily omitted alignas specifier 2022-09-30 13:52:25 +02:00
joaquintides b1449ca502 added unaligned load of __m128i 2022-09-30 12:27:10 +02:00
Christian Mazakas 6110a0827c Fix default initialiation warning for clang-3.7, clang-3.8 2022-09-29 13:57:16 -07:00
Christian Mazakas 71b64139da Add copy_tests 2022-09-29 13:46:03 -07:00
Christian Mazakas 3582ac91d7 Silence conversion warning in foa 2022-09-29 13:45:51 -07:00
Christian Mazakas 30997bd9ef Add constructor_tests 2022-09-29 12:50:56 -07:00
Christian Mazakas cb673135d2 Use static_cast to silence conversion warnings 2022-09-29 11:40:13 -07:00
Christian Mazakas 6ac1cf1a5f Add find_tests 2022-09-29 11:19:17 -07:00
Christian Mazakas 8f29a32a33 Simplify range-based insert() so it doesn't eagerly rehash so that insert_tests pass 2022-09-29 11:18:59 -07:00
Christian Mazakas faa6e91ed2 Fix conversion warning in reserve() 2022-09-29 11:16:58 -07:00
joaquintides 86956b0be1 added non-SIMD support 2022-09-29 19:24:15 +02:00
joaquintides fdc39982f3 fixed trivial error in #ifdefd-out code 2022-09-29 10:49:27 +02:00
Christian Mazakas 3af53a6598 Flesh out unordered_flat_map for insert_tests 2022-09-28 13:49:17 -07:00
Christian Mazakas 19c500de27 Silence conversion warning in foa table's emplace_impl() 2022-09-28 13:48:49 -07:00
Christian Mazakas 855d538ea3 Fix typo in foa table's empty() implementation 2022-09-28 13:48:21 -07:00
Christian Mazakas 6b1ef16e38 Add unordered_flat_set 2022-09-28 13:47:51 -07:00
Christian Mazakas 1577da25cc Add proper flat_map header + forwarding header 2022-09-28 13:47:00 -07:00
joaquintides c44695eb37 reverted 2022-09-28 20:48:30 +02:00
joaquintides 63fdf67568 un-inlined pow2_quadratic_prober memfuns to see it impacts performance 2022-09-28 20:19:08 +02:00
joaquintides 80cb7281ba reverted 2022-09-28 20:08:41 +02:00
joaquintides cefe5965be micro-optimized table_iterator ctor to see if it impacts performance 2022-09-28 19:52:22 +02:00
joaquintides 2a9f47ea2c reverted 2022-09-28 19:23:39 +02:00
joaquintides 85324f9a43 made microchange in find_impl to see if it impacts performance 2022-09-28 19:13:26 +02:00
joaquintides 2e776ad155 fixed clear 2022-09-28 17:53:58 +02:00
joaquintides f6544f69ca fixed macro usage 2022-09-28 17:26:12 +02:00