Partager via


max_variable_size::allocated

Increments the count of allocated memory blocks.

void allocated(std::size_t _Nx = 1);

Parameters

Parameter

Description

_Nx

The increment value.

Remarks

This member function adds _Nx to the stored value _Nallocs. This member function is called after each successful call by cache_freelist::allocate to operator new. The argument _Nx is the number of memory blocks in the chunk allocated by operator new.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

max_variable_size Class