Braden Ganetsky
9995c9beb0
Fix 'invalid argument' to boost::interprocess::shared_memory_object
2024-06-06 23:05:43 -05:00
joaquintides
f77bdb9b67
updated is_avalanching trait protocol
2024-05-29 19:51:32 +02:00
joaquintides
28fc689011
avoided shorten-64-to-32 and sign-conversion warnings
2024-05-05 18:30:42 +02:00
joaquintides
22d8cca03b
added stats to bulk visitation
2024-05-05 17:56:03 +02:00
joaquintides
223f64752d
implemented proper stats handling on concurrent<->unordered move construction
2024-05-03 18:04:21 +02:00
joaquintides
37451ecc94
relaxed checks for non-empty unsuccessful lookup stats
2024-05-03 13:07:09 +02:00
joaquintides
8452b30608
implemented proper stats handling on move assignment
2024-05-02 20:41:27 +02:00
joaquintides
d121c91c88
avoided shadowed declaration warning
2024-05-02 12:48:48 +02:00
joaquintides
6212f2642c
avoided spurious check of deleted copy ctor
2024-05-02 11:15:29 +02:00
joaquintides
d5605671bd
avoided shadowed local variable warnings
2024-05-02 10:22:14 +02:00
joaquintides
45c51840f7
avoided shadowed declaration warning
2024-05-02 09:52:58 +02:00
joaquintides
90ca4fb07e
avoided float-equal warnings
2024-05-02 09:49:11 +02:00
joaquintides
83ab4b4b9f
avoided unused-local-type warning
2024-05-01 21:32:49 +02:00
joaquintides
04006547a2
editorial
2024-05-01 20:57:02 +02:00
joaquintides
7b0e4da61e
editorial
2024-05-01 20:56:05 +02:00
joaquintides
0c1b719945
added missing typedefs
2024-05-01 20:52:36 +02:00
joaquintides
3b2eae07d4
avoided name hiding warning
2024-05-01 20:28:12 +02:00
joaquintides
b0c480839b
renamed test file
2024-05-01 18:27:45 +02:00
joaquintides
6215406c02
added tests for stats feature
2024-05-01 18:15:14 +02:00
Braden Ganetsky
553ce263fa
Fix pmr tests on macos-13
2024-03-24 12:22:45 -05:00
Braden Ganetsky
e63853d87d
Fix fca allocator swapping, and test that pmr allocator swap compiles
2024-03-24 12:22:45 -05:00
Braden Ganetsky
e816ba511c
Write pmr tests to check for no allocator propagation
2024-03-24 12:22:45 -05:00
Braden Ganetsky
82ba55e4a4
Write test pmr_emplace_erase to check basic functionality with pmr allocators
2024-03-24 12:22:44 -05:00
joaquintides
ccf9a76ebe
Fixed #237
2024-03-15 17:30:10 +01:00
joaquintides
15cfef6967
Fixed support for allocators with explicit copy constructors ( #234 )
...
* added tests for explicit allocators
* made explicit_alloc_ctor_tests work
by adhering to the principle that classes templated with Allocator should accept exactly Allocator objects
* removed TMP machinery older compilers choke about
* initialized variables
* updated release notes
* fixed PR number
2024-02-17 18:58:48 +01:00
Braden Ganetsky
1d25c1c053
Update copyright notices
2024-02-11 11:22:28 -06:00
Braden Ganetsky
f411968ffd
Add tests for immovable key_type
2024-02-11 11:22:26 -06:00
Braden Ganetsky
be7c63e1bf
Add foa and fca tests for emplace(k,v)
2024-02-10 11:10:28 -06: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
joaquintides and Christian Mazakas
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
ef0b3a0cd8
fixed #201
2023-10-04 17:38:33 +02:00
Christian Mazakas
c37d9a3bf1
Clean up tests to properly use boost::unordered::piecewise_construct and ensure it's a humble alias for its std counterpart
2023-09-29 08:29:06 -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
7aac692162
Replace all usages of boost::addressof with their std counterpart
2023-09-27 13:03: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
423eb08f00
Work around bugs in gcc's analysis
...
Under `-m32 -O3` builds, it seems like gcc gets confused by the usage of malloc and calloc so we opt into the C++ versions, operator new and delete
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
15318f0e46
Refactor prime_fmod_size impl to no longer use Boost.Preprocessor
2023-09-27 11:44:44 -07:00
Christian Mazakas
b02d013d44
Add missing <algorithm> include
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
c6aa90651c
Final cleanup of BOOST_NO_CXX11_*
2023-09-27 11:44:44 -07:00
Christian Mazakas
cddb7cb8b1
Remove BOOST_NO_CXX11_NOEXCEPT
2023-09-27 11:44:44 -07:00
Christian Mazakas
a36a7327eb
Remove BOOST_NO_CXX11_ALLOCATOR
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
8d59040ece
Remove BOOST_COPY_ASSIGN_REF
2023-09-27 11:44:44 -07:00
Christian Mazakas
15d04295d6
Disable self-move warnings for gcc in node_handle_tests
2023-09-27 11:44:44 -07:00