- FreeMode
- FreeMode
- Total
- IsSorted
- SortMode
- CreateElement
- Add
- Insert
- DetachCurrent
- DeleteCurrent
- Delete
- Clear
- IndexOf
- GetNodeAtIndex
- GetFirstNode
- GetPrevNode
- GetCurrentNode
- GetNextNode
- GetLastNode
- Sort
- MoveToIndex
- Exchange
- CompareList
- Search
- Save
- Load
- Type
DeleteCurrent
Removes the element from the current position in the list.
bool DeleteCurrent() |
Return Value
true - successful, false - cannot remove the element.
Note
If the memory management is enabled, memory for the removed element is deallocated.
Example:
//--- example for CList::DeleteCurrent()
|