Peter Dimov
|
08e0fee141
|
Enable fastmod on clang-cl and other pretenders such as Intel
|
2022-06-25 01:44:14 +03:00 |
|
Peter Dimov
|
31cffd8412
|
Fix reversed condition
|
2022-06-25 01:06:15 +03:00 |
|
Peter Dimov
|
0f71fe28a2
|
Fix typos; do not undefine macros needed for tests
|
2022-06-25 01:04:22 +03:00 |
|
Christian Mazakas
|
90b2536a99
|
Relace usage of BOOST_FORCEINLINE with plain inline to prevent warnings from certain versions of msvc
|
2022-06-21 08:42:52 -07:00 |
|
Christian Mazakas
|
f1481f0deb
|
Remove dependency on Boost.Detail
|
2022-06-21 08:42:52 -07:00 |
|
Christian Mazakas
|
b1a9cde690
|
Remove dependency on Boost.Iterator
|
2022-06-21 08:42:52 -07:00 |
|
Alexander Grund
|
707b40e8c2
|
Workaround Segfault of Clang 3.8
Clang 3.8 segfaults during name mangling of `make_index_seq`.
Hence replace it by using type aliases.
|
2022-06-09 11:04:20 +02:00 |
|
Christian Mazakas
|
613a997694
|
Fix -Wmaybe-unitialized warning in gcc-12 by laundering the result of reinterpret_cast<> in functions helper
|
2022-06-07 09:03:48 -07:00 |
|
Christian Mazakas
|
0106ed3d91
|
Rename functions used to efficiently calculate modulo, update associated comments
|
2022-06-03 09:28:17 -07:00 |
|
Flamefire
|
d0ac539d09
|
Fix compilation on Clang < 3.8
`val_alloc` is used in the other branch of the #ifdef too.
|
2022-06-03 11:07:49 +02:00 |
|
Peter Dimov
|
712d20079a
|
Fix alignment_of include
|
2022-06-02 21:46:07 +03:00 |
|
Peter Dimov
|
72fe06aa00
|
Remove unused include, removes dependency on Detail
|
2022-06-02 19:15:12 +03:00 |
|
Christian Mazakas
|
5a456eb295
|
Refactor internal implementation to use "fast closed-addressing" aka fca
|
2022-06-01 11:49:09 -07:00 |
|
Christian Mazakas
|
ad639ffb61
|
Lower version of dinkumware check as msvc-12.0 supports piecewise construction
|
2022-06-01 11:49:09 -07:00 |
|
Peter Dimov
|
0d3ece98c1
|
Merge pull request #106 from cmazakas/missing-nodiscard
Add missing `[[nodiscard]]` qualifiers as outlined by C++20
|
2022-02-24 18:00:00 +02:00 |
|
Christian Mazakas
|
3d952d3c0f
|
Add missing [[nodiscard]] qualifiers as outlined by C++20
|
2022-02-23 14:26:28 -08:00 |
|
Christian Mazakas
|
c322cc5621
|
Implement erase_if() for Unordered via function template in detail namespace
|
2022-02-23 11:36:48 -08:00 |
|
Christian Mazakas
|
aa96d87502
|
Fix shadowing warning in early versions of gcc
|
2022-02-11 11:33:46 -08:00 |
|
Christian Mazakas
|
e2b6865938
|
Fix C4800 warnings in msvc by manually comparing pointers to 0
|
2022-02-10 08:37:53 -08:00 |
|
Peter Dimov
|
0794cfec9e
|
Avoid -Wlong-long in mix64_policy
|
2022-02-09 07:13:27 +02:00 |
|
Peter Dimov
|
2f331b7a8b
|
Update mix64_policy to use Fibonacci hashing
|
2022-01-19 04:11:08 +02:00 |
|
Peter Dimov
|
d96d5335b4
|
Update mix32_policy to use Fibonacci hashing
|
2022-01-19 04:01:46 +02:00 |
|
Peter Dimov
|
2751b3515b
|
Add bcount_log2_ to table, pass it to the policy
|
2022-01-19 02:33:37 +02:00 |
|
Peter Dimov
|
bf86730a62
|
Add mix32_policy
|
2022-01-18 21:31:53 +02:00 |
|
Peter Dimov
|
98494420c5
|
Add a BOOST_ASSERT to mix64_policy to check that the bucket_count is a power of two
|
2022-01-18 20:52:05 +02:00 |
|
Peter Dimov
|
7717ff01a1
|
Use bit_ceil and bit_floor in mix64_policy
|
2022-01-18 20:40:23 +02:00 |
|
Peter Dimov
|
d6576ed2f1
|
Remove the special case in pick_policy for integral types (refs #50)
|
2022-01-18 19:25:32 +02:00 |
|
Christian Mazakas
|
97734fd895
|
Implement unordered_multiset::contains()
|
2022-01-13 12:51:50 -08:00 |
|
Christian Mazakas
|
f5d470c531
|
Implement unordered_set::contains()
|
2022-01-13 08:03:54 -08:00 |
|
Christian Mazakas
|
ad8a11bb49
|
Implement unordered_multimap::contains()
|
2022-01-12 12:57:27 -08:00 |
|
Christian Mazakas
|
a26e1c0f41
|
Implement unordered_map::contains()
|
2022-01-12 10:36:40 -08:00 |
|
Christian Mazakas
|
1c459e6ee6
|
Implement heterogeneous extract() for multiset
|
2022-01-05 08:14:58 -08:00 |
|
Christian Mazakas
|
abc7327116
|
Implement heterogeneous extract() for set
|
2022-01-04 11:50:20 -08:00 |
|
Christian Mazakas
|
d5e5c08b87
|
Implement heterogeneous count() for multiset
|
2022-01-04 09:05:17 -08:00 |
|
Christian Mazakas
|
56f11f94d8
|
Implement heterogeneous count() for set
|
2022-01-03 15:48:51 -08:00 |
|
Christian Mazakas
|
1ab8cc4c0f
|
Implement heterogeneous erase() for multiset
|
2022-01-03 13:54:06 -08:00 |
|
Christian Mazakas
|
202a438044
|
Implement heterogeneous find() for multiset
|
2022-01-03 07:59:36 -08:00 |
|
Christian Mazakas
|
f813bbdf86
|
Implement heterogeneous equal_range() for multiset
|
2021-12-29 10:36:23 -08:00 |
|
Christian Mazakas
|
57a2b65488
|
Implement heterogeneous equal_range() for set
|
2021-12-27 12:20:52 -08:00 |
|
Christian Mazakas
|
9c07cf60a6
|
Deprecate table::erase_key_unique()
|
2021-12-23 13:12:52 -08:00 |
|
Christian Mazakas
|
36324af017
|
Implement heterogeneous erase() for set
|
2021-12-23 13:03:08 -08:00 |
|
Christian Mazakas
|
05373cbb6b
|
Implement heterogeneous find() for set
|
2021-12-23 09:54:12 -08:00 |
|
Christian Mazakas
|
77c4a09a9b
|
Implement heterogeneous count() for multimap
|
2021-12-22 12:59:52 -08:00 |
|
Christian Mazakas
|
ec288246d0
|
Implement heterogeneous extract() for multimap
|
2021-12-21 13:22:18 -08:00 |
|
Christian Mazakas
|
57054f7451
|
Implement heterogeneous erase() for multimap
|
2021-12-21 09:27:00 -08:00 |
|
Christian Mazakas
|
1c6c085127
|
Update unordered_map to use singular type trait for erase() / extract() SFINAE
|
2021-12-21 09:27:00 -08:00 |
|
Christian Mazakas
|
ff4d25d454
|
Add transparent_non_iterable type trait for usage in erase() / extract() SFINAE
|
2021-12-21 09:27:00 -08:00 |
|
Christian Mazakas
|
85cb09ae6d
|
Add erase_key_equiv_impl() member function
|
2021-12-21 09:27:00 -08:00 |
|
Christian Mazakas
|
19d2fe8738
|
Implement heterogeneous equal_range() for multimap
|
2021-12-20 09:28:04 -08:00 |
|
Christian Mazakas
|
d8fe1a17cc
|
Replace usage of compound is_transparent type trait with singular usage of are_transparent
|
2021-12-17 09:53:16 -08:00 |
|