共用方式為


max_fixed_size::allocated

Increments the count of allocated memory blocks.

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

Parameters

Parameter

Description

_Nx

The increment value.

Remarks

The member function does nothing. 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_fixed_size Class