Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Describes a max class object that limits a freelist object to a fixed maximum length.
template <std::size_t Max> class max_fixed_size
Parameters
Parameter |
Description |
|---|---|
Max |
The max class that determines the maximum number of elements to store in the freelist. |
Constructors
Constructs an object of type max_fixed_size. |
Member Functions
Increments the count of allocated memory blocks. |
|
Decrements the count of allocated memory blocks. |
|
Returns a value that specifies whether more memory blocks should be added to the free list. |
|
Decrements the count of memory blocks on the free list. |
|
Increments the count of memory blocks on the free list. |
Requirements
Header: <allocators>
Namespace: stdext