allocator_fixed_size Class
Describes an object that manages storage allocation and freeing for objects of type Type using a cache of type cache_freelist with a length managed by max_fixed_size.
Syntax
template <class Type>
class allocator_fixed_size;
Parameters
Type
The type of elements allocated by the allocator.
Remarks
The ALLOCATOR_DECL macro passes this class as the name parameter in the following statement: ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_fixed_size<10>), SYNC_DEFAULT, allocator_fixed_size);
Requirements
Header: <allocators>
Namespace: stdext
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for