Skip to content

Latest commit

 

History

History
64 lines (53 loc) · 1.78 KB

allocator-variable-size-class.md

File metadata and controls

64 lines (53 loc) · 1.78 KB
title allocator_variable_size Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
f1_keywords
allocators::allocator_variable_size
allocators/stdext::allocator_variable_size
allocator_variable_size
allocators/stdext::allocators::allocator_variable_size
stdext::allocators::allocator_variable_size
dev_langs
C++
helpviewer_keywords
allocator_variable_size class
ms.assetid c3aa4105-ae45-4385-bbbe-9f23060478cb
caps.latest.revision 16
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

allocator_variable_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_variable_size.

Syntax

template <class Type>  
class allocator_variable_size;

Parameters

Parameter Description
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_variable_size), SYNC_DEFAULT, allocator_variable_size);

Requirements

Header: <allocators>

Namespace: stdext

See Also

<allocators>