Commit Graph

1966 Commits

Author SHA1 Message Date
Christian Mazakas
e543818e3e Add equality_tests 2022-10-07 14:15:32 -07:00
Christian Mazakas
e0bb258b39 Add load_factor_tests 2022-10-07 10:56:47 -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
Christian Mazakas
ad248ab76a Fix maybe-uninitialized warning in emplace_tests by explicitly initializing all data members of emplace_value 2022-10-06 09:55:26 -07:00
Christian Mazakas
f4888c7940 Enable C++11 builds 2022-10-06 09:55:26 -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
Christian Mazakas
2134116cbc Update test jamfile to use a build_foa command 2022-10-05 13:24:54 -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
joaquintides
48816135df refactored move assignment to silence warnings 2022-10-05 10:05:10 +02:00
joaquintides
4d0f698937 stylistic 2022-10-05 09:34:21 +02:00
Christian Mazakas
fdbc79d2a8 Silence -Werror=terminate warning in move assignment 2022-10-04 14:52:38 -07:00
Christian Mazakas
1a89b0aa14 Add missing size swap() call to move-assign operator for foa::table 2022-10-04 14:52:18 -07:00
Christian Mazakas
8e9b7cf259 Add move semantics to FOA containers 2022-10-04 14:51:45 -07:00
Christian Mazakas
bf6643844b Add foa_move_tests 2022-10-04 14:51:03 -07:00
Christian Mazakas
e9c3ed1531 Remove unnecessary self-alias checks in copy-assignment operators 2022-10-04 14:49:40 -07:00
Christian Mazakas
7dfcdc6da8 Split move_tests into post_move_tests so testing with the new FOA containers is feasible 2022-10-04 14:38:31 -07:00
Christian Mazakas
9ad7096851 Add missing assign_test cases 2022-10-04 11:48:09 -07:00
Christian Mazakas
4cdfb2537a Implement erase(), get erase_tests passing 2022-10-04 11:48:09 -07:00
Christian Mazakas
9280e13697 Add erase_tests 2022-10-04 11:48:09 -07:00