Commit Graph

816 Commits

Author SHA1 Message Date
joaquintides
69aff6f776 restored 16f86b0770 2022-10-10 18:55:03 +02:00
joaquintides
505a08cf95 temporarily reverted 16f86b0770 2022-10-10 18:34:45 +02:00
joaquintides
f776ffa008 removed temporary const ref in emplace_impl 2022-10-10 18:02:57 +02:00
joaquintides
a4c38c02c8 fixed empty_value index 2022-10-10 11:13:32 +02:00
joaquintides
889a81f034 stylistic 2022-10-10 09:36:12 +02:00
joaquintides
ad96ea632e stylistic 2022-10-10 09:34:10 +02:00
joaquintides
2955a966cf shut down unavoidable VS warning 2022-10-10 09:29:41 +02:00
joaquintides
3fbaf21b8c dropped hash_traits in favor of individual traits 2022-10-09 11:23:15 +02:00
joaquintides
32a7ed74e8 added missing const qualifier 2022-10-08 12:39:36 +02:00
joaquintides
3913fce638 dropped foa_mixer in favor of internal mix policy governed by hash_traits 2022-10-08 11:47:00 +02:00
joaquintides
16f86b0770 relied on implicit conversion for second overload of value_from 2022-10-08 10:18:20 +02:00
Christian Mazakas
2907083b73 Fixup implementation of equality operator 2022-10-07 15:31:16 -07:00
Christian Mazakas
1fa823d815 Fix erroneous usage of boost::is_convertible instead of std::is_convertible 2022-10-07 14:59:15 -07:00
Christian Mazakas
6e8e2112ba Rearrange SFINAE to appease msvc-14.0 in erase() member function template 2022-10-07 14:51:40 -07:00
Christian Mazakas
9560d10771 Fix shadowing warning in early gcc 2022-10-07 14:19:32 -07:00
Christian Mazakas
e543818e3e Add equality_tests 2022-10-07 14:15:32 -07:00
Christian Mazakas
d3ef0b9a4f Add rehash tests 2022-10-07 10:56:35 -07:00
Christian Mazakas
86d623a0f4 Pull mlf into detail::foa namespace for testing 2022-10-07 10:55:52 -07:00
Christian Mazakas
b964fa777c Add at_tests 2022-10-07 10:16:57 -07:00
joaquintides
cde017f791 added missing typename 2022-10-07 19:02:25 +02:00
joaquintides
d1982a664b stylistic 2022-10-07 18:56:41 +02:00
joaquintides
7e479d62dc added foa_mixer.hpp 2022-10-07 18:56:16 +02:00
joaquintides
6be32f3ba4 reverted 74c2ae627a and explicitly silenced VS warning 2022-10-07 16:38:19 +02:00
joaquintides
049a1ec8f6 reverted b3754b10c8 and 5fc929b829 and s/{}/() in arrays initialization 2022-10-07 16:32:57 +02:00
joaquintides
b3754b10c8 extended 5fc929b829 to member arrays 2022-10-07 13:50:02 +02:00
joaquintides
7441be730e removed spurious #include 2022-10-07 13:47:54 +02:00
joaquintides
38f9cb750a s/value_type/init_type 2022-10-07 12:17:16 +02:00
joaquintides
8a9aab57c0 s/std::move/type_policy::move in a couple of places 2022-10-07 12:15:24 +02:00
joaquintides
b61ec3a65a removed moved_type import (not used explicitly) 2022-10-07 12:10:14 +02:00
joaquintides
74c2ae627a avoided VS constant conditional expression warning 2022-10-07 11:34:13 +02:00
joaquintides
74ca1e50f3 return one lambda expression back in place (related to f1eb5d2106) 2022-10-07 11:27:54 +02:00
joaquintides
5fc929b829 initialized ml at ctor body (GCC 4.8/4.9 complains otherwise) 2022-10-07 11:23:05 +02:00
joaquintides
3aaf895514 restricted erase generic arg as per C++23 requirements
(hopefully fixes test errors in VS2015)
2022-10-07 11:19:20 +02:00
joaquintides
2057ccaeb5 stylistic 2022-10-07 10:44:28 +02:00
Christian Mazakas
dc7b8f3ff2 Remove extraneous overloads of key_from 2022-10-06 12:04:21 -07:00
Christian Mazakas
2b7e9d826d Fix warning in msvc-14.3 with C++20 about multiple implicit conversions being applied 2022-10-06 12:03:59 -07:00
joaquintides
c57470e0d3 SFINAED out third key_from overload and fixed insert accepted arg types 2022-10-06 20:02:03 +02:00
Christian Mazakas
6b1379a992 Update SFINAE to handle the case of the init_type and moved_type being the same 2022-10-06 10:45:49 -07:00
Christian Mazakas
f1eb5d2106 Workaround visibility bug in gcc-6 by un-nesting lambdas 2022-10-06 09:56:12 -07:00
joaquintides
d02b12c9a1 redesigned init_type/value_type machinery 2022-10-06 17:50:30 +02:00
Christian Mazakas
2cf9d5ac4c Add extra value_type() construction in range-based iterator insertion so implicitly convertible types are supported, i.e. test::proxy 2022-10-05 14:56:49 -07:00
Christian Mazakas
f3803fc071 Add emplace_tests 2022-10-05 13:31:10 -07:00
Christian Mazakas
a3c6235f3a Add insert_hint_tests 2022-10-05 13:30:59 -07:00
Christian Mazakas
7501eefd87 Updated unordered flat container to use declval instead of allocator_traits as old versions of clang don't have is_always_equal 2022-10-05 13:29:48 -07:00
joaquintides
b86143de46 made one overload of insert generic so that value_type is accepted 2022-10-05 20:38:51 +02:00
joaquintides
7c8045aab5 fixed init_type machinery 2022-10-05 18:46:38 +02:00
joaquintides
c15bd0092d introduced init_type/value_type 2022-10-05 18:09:57 +02:00
joaquintides
d233d83811 allow 100% fillup for small capacities 2022-10-05 14:49:42 +02:00
joaquintides
df0c375541 s/std::allocator_traits/boost::allocator_traits 2022-10-05 13:58:31 +02:00
joaquintides
886b1b4ded refactored table_arrays to solve alignment issues without an extra data member 2022-10-05 13:54:28 +02:00