Commit Graph

2804 Commits

Author SHA1 Message Date
joaquintides
05b66e1034 added stats to boost::unordered_flat_map 2024-04-28 18:44:40 +02:00
joaquintides
e712c37e9f added stats to foa::table 2024-04-28 18:44:23 +02:00
joaquintides
73582be563 fixed #240 2024-04-03 20:07:04 +02:00
Peter Dimov
fb41bdc82d Update .appveyor.yml 2024-03-25 17:35:26 +02:00
joaquintides
7c84969249 Merge pull request #239 from k3DW/feature/229
Add unordered container `pmr` aliases
2024-03-25 09:58:29 +01: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
Braden Ganetsky
626db552ab Write pmr memory resource 'counted_new_delete_resource' 2024-03-24 10:47:02 -05:00
Braden Ganetsky
5d16a36921 Update docs 2024-03-24 10:47:02 -05:00
Braden Ganetsky
16732c5c4c Add unordered container pmr aliases 2024-03-23 14:02:53 -05:00
joaquintides
5e6b9291de Merge pull request #238 from boostorg/fix/gh-237
Fixed bug in the `const` version of `unordered_multimap::find(k, hash, eq)`
boost-1.85.0
2024-03-16 09:18:41 +01: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
boost-1.85.0.beta1
2024-02-17 18:58:48 +01:00
joaquintides
7692065552 Merge pull request #230 from k3DW/feature/226
Optimize `emplace()` for arguments of the form `k, v`
2024-02-12 17:24:49 +01:00
Braden Ganetsky
bbad4735aa Update reference 2024-02-11 11:22:28 -06:00
Braden Ganetsky
1d25c1c053 Update copyright notices 2024-02-11 11:22:28 -06:00
Braden Ganetsky
260418e4ee Fix cfoa tests 2024-02-11 11:22:28 -06:00
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
Braden Ganetsky
bd5c9fc740 Add cfoa tests for emplace(k,v) 2024-02-11 11:22:27 -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
Peter Dimov
1df37051ae Add msvc-14.1, msvc-14.2 /permissive- to Drone 2024-02-08 20:55:54 +02:00
Peter Dimov
c4dbda0f78 Add missing include 2024-02-08 20:52:34 +02:00
Peter Dimov
fa895edac2 Add msvc-14.3 /permissive- to Drone 2024-02-08 20:10:50 +02:00
Peter Dimov
43186b04d1 Add msvc-14.3 /permissive- to GHA 2024-02-08 19:59:47 +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
joaquintides
75a94781d5 Fix/b2 5.0.0 (#228)
updated CI after b2 5.0.0 new requirements on the compiler used for self-build
2023-12-30 22:11:11 +01:00
joaquintides
76185abe80 extended workaround to GCC 4.9 2023-12-30 19:41:13 +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
f493603f5c [skip ci] editorial boost-1.84.0 2023-12-01 12:22:48 +01:00
Peter Dimov
74ca1b0e74 Update test/CMakeLists.txt 2023-11-30 17:54:53 +02:00
Peter Dimov
7b16324869 Regenerate CMakeLists.txt 2023-11-30 17:40:41 +02:00
joaquintides
6680e86b38 [skip ci] typo 2023-11-25 09:49:24 +01:00
joaquintides
3e76b1cf68 [skip ci] beautified some badges 2023-11-19 18:45:21 +01:00
joaquintides
22f29718e4 changed drone badges 2023-11-19 09:48:38 +01:00
joaquintides
f7c7f8fdd2 [skip ci] added Drone badges 2023-11-18 11:30:47 +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
1c0e54ee3e updated boost::unordered_[multi]set and boost::unordered_(flat|node)_map benchmarks boost-1.84.0.beta1 2023-11-06 18:20:36 +01:00
joaquintides
329022b23c removed unnecesary picture tags README.md 2023-10-31 09:38:53 +01:00
joaquintides
47f5be3a3f typo 2023-10-31 08:59:21 +01:00
joaquintides
de2ac0ce33 revamped README.md 2023-10-29 18:46:51 +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