chsvlib
chsv helper source code

◆ MapErase()

EXTERN_C bool Chusov::MapErase ( HCHSVMAP  hMap,
HCHSVMAPITERATOR  hWhere 
)
noexcept

The function removes an element specified by the iterator from the map.

Parameters
[in]hMapis a handle to a map instance containing element to be removed.
[in]hWhereis an iterator of an existing element to be removed from the map.
Returns
The function returns true on success and false on failure. Call GetLastChsvError to get extended error information.
Remarks
The complexity is \(O(1)\).
Declared in chsvmap.h.
See also
MapInsert;
MapInsertByPtr.