Shared counter to be used with capped_allocator. More...
Public Member Functions | |
| shared_counter (value_type max_value) | |
Constructs counter using default "operator new". | |
| template<typename Alloc> | |
| shared_counter (value_type max_value, const Alloc &alloc) | |
| Allocates counter using the provided allocator. | |
Shared counter to be used with capped_allocator.
| Counter | underlying counter type. |
|
explicit |
Constructs counter using default "operator new".
| bond::ext::shared_counter< Counter >::shared_counter | ( | value_type | max_value, |
| const Alloc & | alloc ) |
Allocates counter using the provided allocator.