carl
24.04
Computer ARithmetic Library
|
#include <LocalPool.h>
Data Structures | |
struct | content_equal |
struct | content_hash |
Public Member Functions | |
LocalPool (std::size_t _capacity=1000) | |
~LocalPool () | |
template<typename Key > | |
std::shared_ptr< LocalPoolElementWrapper< Content > > | add (std::shared_ptr< LocalPool< Content >> pool, Key &&c) |
Protected Member Functions | |
void | free (const LocalPoolElementWrapper< Content > *c) |
Private Types | |
using | UnderlyingSet = boost::intrusive::unordered_set< LocalPoolElementWrapper< Content > > |
Private Member Functions | |
void | check_rehash () |
Private Attributes | |
friend | LocalPoolElementWrapper< Content > |
IDPool | m_ids |
id allocator More... | |
pool::RehashPolicy | m_rehash_policy |
std::unique_ptr< typename UnderlyingSet::bucket_type[]> | m_pool_buckets |
UnderlyingSet | m_pool |
The pool. More... | |
Definition at line 51 of file LocalPool.h.
|
private |
Definition at line 77 of file LocalPool.h.
|
inline |
|
inline |
Definition at line 111 of file LocalPool.h.
|
inline |
|
inlineprivate |
Definition at line 94 of file LocalPool.h.
|
inlineprotected |
|
private |
Definition at line 52 of file LocalPool.h.
|
private |
id allocator
Definition at line 74 of file LocalPool.h.
|
private |
The pool.
Definition at line 80 of file LocalPool.h.
|
private |
Definition at line 78 of file LocalPool.h.
|
private |
Definition at line 76 of file LocalPool.h.