freelist::push

Adds a memory block to the list.

bool push(void* _Ptr);

Parameters

Parameter

Description

_Ptr

A pointer to the memory block to be added to the free list.

Return Value

true if the full function of the max class returns false; otherwise, the push function returns false.

Remarks

If the full function of the max class returns false, this member function adds the memory block pointed to by _Ptr to the head of the list.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

freelist Class