forked from boostorg/unordered
Compare commits
11
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8149197fa8 | ||
|
|
c2484f05f0 | ||
|
|
f7e2132bdb | ||
|
|
07a8b2b14d | ||
|
|
2eac49f0ed | ||
|
|
6a8d7857e2 | ||
|
|
ef34ec5e87 | ||
|
|
518a5d2e1e | ||
|
|
3ea8a768ca | ||
|
|
4b877d363a | ||
|
|
2395db7bb9 |
@@ -17,7 +17,6 @@ on:
|
||||
- bugfix/**
|
||||
- fix/**
|
||||
- pr/**
|
||||
- feature/cfoa-size-padding
|
||||
|
||||
concurrency:
|
||||
group: ${{format('{0}:{1}', github.repository, github.ref)}}
|
||||
|
||||
@@ -132,7 +132,7 @@ by using `cvisit` overloads (for instance, `insert_or_cvisit`) and may result
|
||||
in higher parallelization. Consult the xref:#concurrent_flat_map[reference]
|
||||
for a complete list of available operations.
|
||||
|
||||
== Whole-table Visitation
|
||||
== Whole-Table Visitation
|
||||
|
||||
In the absence of iterators, `boost::concurrent_flat_map` provides `visit_all`
|
||||
as an alternative way to process all the elements in the map:
|
||||
|
||||
@@ -34,7 +34,7 @@ boost::unordered_set +
|
||||
boost::unordered_map +
|
||||
boost::unordered_multiset +
|
||||
boost::unordered_multimap
|
||||
^| N/A
|
||||
^|
|
||||
|
||||
^.^h|*Open addressing*
|
||||
^m| boost::unordered_node_set +
|
||||
@@ -85,7 +85,7 @@ namespace boost {
|
||||
}
|
||||
----
|
||||
|
||||
To store an object in an unordered associative container requires both a
|
||||
Storing an object in an unordered associative container requires both a
|
||||
key equality function and a hash function. The default function objects in
|
||||
the standard containers support a few basic types including integer types,
|
||||
floating point types, pointer types, and the standard strings. Since
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <type_traits>
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include "oneapi/tbb/spin_rw_mutex.h"
|
||||
|
||||
#if !defined(BOOST_UNORDERED_DISABLE_PARALLEL_ALGORITHMS)
|
||||
#if defined(BOOST_UNORDERED_ENABLE_PARALLEL_ALGORITHMS)|| \
|
||||
@@ -211,7 +212,7 @@ struct atomic_integral
|
||||
|
||||
struct group_access
|
||||
{
|
||||
using mutex_type=rw_spinlock;
|
||||
using mutex_type=tbb::spin_rw_mutex;
|
||||
using shared_lock_guard=shared_lock<mutex_type>;
|
||||
using exclusive_lock_guard=lock_guard<mutex_type>;
|
||||
using insert_counter_type=std::atomic<boost::uint32_t>;
|
||||
|
||||
@@ -1293,7 +1293,7 @@ public:
|
||||
hash_base{empty_init,std::move(x.h())},
|
||||
pred_base{empty_init,std::move(x.pred())},
|
||||
allocator_base{empty_init,std::move(x.al())},
|
||||
arrays(x.arrays),size_ctrl{x.size_ctrl}
|
||||
arrays(x.arrays),size_ctrl(x.size_ctrl)
|
||||
{
|
||||
x.arrays=x.new_arrays(0);
|
||||
x.size_ctrl.ml=x.initial_max_load();
|
||||
|
||||
Reference in New Issue
Block a user