Share via


CMap::IsEmpty

Determines whether the map is empty.

BOOL IsEmpty( ) const;

Return Value

Nonzero if this map contains no elements; otherwise 0.

Example

See the example for CMap::RemoveAll.

Requirements

Header: afxtempl.h

See Also

Reference

CMap Class

Hierarchy Chart

CMap::GetCount