Braden Ganetsky
aff242dbaf
Optimize emplace(k,v) for fca containers
2024-02-11 11:22:28 -06:00
Braden Ganetsky
4e6d4ade6c
Optimize emplace(k,v) for foa and cfoa containers
2024-02-11 11:22:27 -06:00
Braden Ganetsky
4fbe450a65
Generalize alloc_cted_insert_type into allocator_constructed and remove the factory function alloc_make_insert_type()
2024-02-11 11:22:27 -06:00
Peter Dimov
c4dbda0f78
Add missing include
2024-02-08 20:52:34 +02:00
Braden Ganetsky
67c5cdb3a6
Optimize emplace()
for exactly a value_type
or init_type
argument ( #227 )
...
* Add structs to count special member functions
* Add failing emplace tests, that will pass after making the optimization
* Optimize emplace() to not allocate when we already have a value_type or init_type
* Fix newly failing cfoa tests
2023-12-31 18:56:14 +01:00
Braden Ganetsky
0d2751c5e1
Extract at()
's throw_exception calls into noinline function ( #223 )
...
* Create function `detail::throw_out_of_range()` to make `at()` more inlineable
* Replace `boost::throw_exception()` with `detail::throw_out_of_range()`
2023-12-19 17:08:08 +01:00
joaquintides
7fd94b9df7
Fix/bucket iterator indirection operator ( #220 rewrite) ( #221 )
...
* Add tests for member of pointer operator for bucket iterators
* Fix erroneous conversion from node* to value_type* in bucket iterators
Originally caughy by vslashg from PR https://github.com/boostorg/unordered/pull/220
* Update change log
* Update GHA config to use containers in C++20 builds for clang-14 as it's incompatible with libstdc++-13
* fixed Python installation problem
* tried variation of former fix
* tried another variation of former fix
* tried yet another variation
* editorial
---------
Co-authored-by: Christian Mazakas <christian.mazakas@gmail.com>
2023-11-17 08:51:40 +01:00
joaquintides
42df4f2749
removed lifting of swap and ==/!= operations
2023-10-22 20:16:05 +02:00
joaquintides
dbe93c765c
asserted allocator equality on unordered_node_(map|set)::merge and updated docs
2023-10-21 12:35:59 +02:00
joaquintides
ea4fc5e66d
fine-tuned element prefetching in unprotected_bulk_visit
2023-10-18 18:20:22 +02:00
Peter Dimov
0e19223e5b
Replace uses of boost::enable_if_t in deduction guides with std::enable_if_t
2023-10-12 13:13:56 +03:00
joaquintides
8ee48fe909
Feature/bulk visit ( #217 )
2023-10-11 12:50:28 +02:00
joaquintides
ef0b3a0cd8
fixed #201
2023-10-04 17:38:33 +02:00
Christian Mazakas
554ce65a69
Remove unnecessary forced inlining of bool conversion
2023-09-29 10:52:34 -07:00
Christian Mazakas
4fcc6a9cab
Manually implement explicit boolean conversion, removing header dependency on Core's polyfill
2023-09-29 08:03:49 -07:00
Christian Mazakas
0d61746fa3
Remove unnecessary requires_cxx11 header
2023-09-29 08:03:11 -07:00
Christian Mazakas
6728ffcf6d
Cleanup polyfilled type traits helpers to derive from integral constant
2023-09-29 07:42:58 -07:00
Christian Mazakas
aedebff4e1
Remove extraneous header include of Core's addressof impl
2023-09-28 21:27:46 -07:00
Christian Mazakas
47fa9cd17e
Pull triviality type traits into internal type_traits header
2023-09-28 21:27:46 -07:00
Christian Mazakas
f5bd5bc3d0
Cleanup default-constructiblity check for gcc-4
2023-09-28 12:52:13 -07:00
Christian Mazakas
9bc7876583
Update foa to be gcc-4.8 compliant
2023-09-28 08:31:14 -07:00
Christian Mazakas
bc764d34cf
Remove extraneous workarounds for gcc-4 in foa core header
2023-09-27 13:03:15 -07:00
Christian Mazakas
a9da328e1d
Add missing copyright to static_assert() header
2023-09-27 13:03:15 -07:00
Christian Mazakas
087f2052fc
Update include paths to use ContainerHash instead of Functional for hash
2023-09-27 13:03:15 -07:00
Christian Mazakas
51a75c0fd0
Replace usage of make_void with void_t
2023-09-27 13:03:15 -07:00
Christian Mazakas
ce5033c4a0
Update out-of-line definitions in prime_fmod to be conditional on pre-c++17 support
2023-09-27 13:03:15 -07:00
Christian Mazakas
bcbb13e0cf
Add missing licensing to opt_storage header
2023-09-27 13:03:15 -07:00
Christian Mazakas
7aac692162
Replace all usages of boost::addressof
with their std counterpart
2023-09-27 13:03:15 -07:00
Christian Mazakas
f1729bb8a1
Remove unused choice<n> helper structs
2023-09-27 12:21:15 -07:00
Christian Mazakas
b4884b7201
Relocate piecewise_construct to impl file, remove unnecessary fwd header
2023-09-27 12:21:15 -07:00
Christian Mazakas
6c97eabbb3
Refactor prime_fmod_size policy to use static members in lieu of namespace-scope ones
2023-09-27 11:44:45 -07:00
Christian Mazakas
9b1ec6cbce
Reinstate boost::unordered::piecewise_construct
...
Maintain backwards-compatibility for users instead of forcing them to change to `std::`
2023-09-27 11:44:45 -07:00
Christian Mazakas
3f3b2128ec
Update extract()
SFINAE to be friendly to msvc-14.0
...
msvc-14.0 seems to require the parameter pack be explicitly mentioned though no other compilers seem to have this issue
2023-09-27 11:44:45 -07:00
Christian Mazakas
d3e6be7356
Replace boost::addressof
with std::addressof
...
For some reason, gcc-5 and 6 don't like Boost's impl here but the std one seems to work
2023-09-27 11:44:45 -07:00
Christian Mazakas
777f2084a3
Remove dependency on TypeTraits
2023-09-27 11:44:45 -07:00
Christian Mazakas
9d8beff688
Remove dependency on Boost.Tuple
2023-09-27 11:44:45 -07:00
Christian Mazakas
91f63697a7
Replace <boost/limits> with STL <limits>
2023-09-27 11:44:44 -07:00
Christian Mazakas
22344ab27f
Add missing <algorithm> include for std::max
2023-09-27 11:44:44 -07:00
Christian Mazakas
d881d4d5e2
Remove Boost.StaticAssert
2023-09-27 11:44:44 -07:00
Christian Mazakas
15318f0e46
Refactor prime_fmod_size impl to no longer use Boost.Preprocessor
2023-09-27 11:44:44 -07:00
Christian Mazakas
e32f72d69c
Remove dependency on Boost.Utility in implementation.hpp
2023-09-27 11:44:44 -07:00
Christian Mazakas
e37e749b0b
Remove Boost.PP from implementation.hpp
2023-09-27 11:44:44 -07:00
Christian Mazakas
33dbd7cd76
Remove dependency on Boost.Move
2023-09-27 11:44:44 -07:00
Christian Mazakas
8f382e874d
Remove BOOST_COPYABLE_AND_MOVABLE
2023-09-27 11:44:44 -07:00
Christian Mazakas
bce9b5927a
Remove BOOST_MOVABLE_BUT_NOT_COPYABLE
2023-09-27 11:44:44 -07:00
Christian Mazakas
0c7b51cc16
Remove BOOST_NO_CXX11_RVALUE_REFERENCES
2023-09-27 11:44:44 -07:00
Christian Mazakas
3f0f8efbba
Remove BOOST_NO_CXX11_VARIADIC_TEMPLATES
2023-09-27 11:44:44 -07:00
Christian Mazakas
866ab46385
Remove BOOST_FWD_REF
2023-09-27 11:44:44 -07:00
Christian Mazakas
4cd1827104
Remove BOOST_RV_REF
2023-09-27 11:44:44 -07:00
Christian Mazakas
3bd7e93ac6
Remove BOOST_UNORDERED_TUPLE_ARGS
2023-09-27 11:44:44 -07:00