Commit Graph

1799 Commits

Author SHA1 Message Date
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
Christian Mazakas
21872edf83 Disable FOA tests for C++98 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
Christian Mazakas
d5fcc77579 Add assign_tests 2022-10-03 14:45:02 -07:00
Christian Mazakas
b0097982af Remove config checks, just rotely disable tests for unsupported C++ versions 2022-10-03 12:17:46 -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
2ae70cd05c Merge branch 'feature/foa_rc' of https://github.com/boostorg/unordered into feature/foa_rc 2022-10-03 18:50:15 +02:00
joaquintides
d370ae1095 stopped relying on __STDCPP_DEFAULT_NEW_ALIGNMENT__ for now 2022-10-03 18:49:24 +02:00
Christian Mazakas
5c48ad9a79 Update test Jamfile to use cxx14_constexpr as a requirement for targets so msvc gets run 2022-10-03 08:08:02 -07: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