|
header_utils
|
A pool that can be used in a thread-local fashion. More...
#include <pools.h>
Inherits ghassanpl::pool< T, 1024 >.
Public Types | |
| using | pooled_ptr |
Public Member Functions | |
| T * | create (ARGS &&... args) |
| void | destroy (T *ptr) |
| void | clear () |
| size_t | capacity () const noexcept |
| size_t | capacity_in_bytes () const noexcept |
| size_t | free_elements () const noexcept |
| size_t | allocated_elements () const noexcept |
Static Public Member Functions | |
| static auto & | get_pool () |
| template<typename... ARGS> | |
| static pooled_ptr | make_pooled (ARGS &&... args) |
A pool that can be used in a thread-local fashion.
| using ghassanpl::thread_local_pool< T, BLOCK_SIZE >::pooled_ptr |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinenoexceptinherited |
|
inlinestatic |
|
inlinestatic |