Commit Graph

103 Commits

Author SHA1 Message Date
joaquintides
1fa2e84774 reverted 7caab66011 and f776ffa008 2022-10-10 19:24:14 +02:00
joaquintides
7caab66011 removed inline suggestion from hash_for 2022-10-10 19:01:55 +02:00
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
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
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
86d623a0f4 Pull mlf into detail::foa namespace for testing 2022-10-07 10:55:52 -07:00
joaquintides
d1982a664b stylistic 2022-10-07 18:56:41 +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
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
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