Share via


CAtlList::RemoveAll

 

Call this method to remove all of the elements from the list.

Syntax

void RemoveAll( ) throw( );

Remarks

This method removes all of the elements from the list and frees the allocated memory. In debugs builds, an ATLASSERT will be raised if all elements aren't deleted or if the list structure has become corrupted.

Example

See the example for CAtlList::IsEmpty.

Requirements

Header: atlcoll.h

See Also

CAtlList Class
CAtlList::RemoveAt