共用方式為


max_fixed_size::full

Returns a value that specifies whether more memory blocks should be added to the free list.

bool full();

Return Value

true if Max <= _Nblocks; otherwise, false.

Remarks

This member function is called by cache_freelist::deallocate. If the call returns true, deallocate puts the memory block on the free list; if it returns false, deallocate calls operator delete to deallocate the block.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

max_fixed_size Class