|
header_utils
|
Classes that implement object pools and pointers to them. More...
Classes | |
| struct | ghassanpl::pool< T, BLOCK_SIZE > |
| Very simple object pool implementation. More... | |
| struct | ghassanpl::thread_local_pool< T, BLOCK_SIZE > |
| A pool that can be used in a thread-local fashion. More... | |
Typedefs | |
| template<typename T> | |
| using | ghassanpl::pooled_ptr |
| A version of unique_ptr<T> that returns the object to the (thread-local) pool on destruction. | |
Functions | |
| template<typename T, typename... ARGS> | |
| thread_local_pool< T >::pooled_ptr | ghassanpl::make_pooled (ARGS &&... args) |
| Helper to create pooled_ptrs ala make_unique. | |
Classes that implement object pools and pointers to them.
| using ghassanpl::pooled_ptr |
| thread_local_pool< T >::pooled_ptr ghassanpl::make_pooled | ( | ARGS &&... | args | ) |
Helper to create pooled_ptrs ala make_unique.