Erase all occurrences of V from container C.
Synopsis
Declared in <llvm/ADT/STLExtras.h>
template<
typename Container,
typename ValueType>
void
erase(
Container& C,
ValueType V);
Description
Equivalent to C.erase(remove(C.begin(), C.end(), V), C.end()).
Parameters
Name |
Description |
C |
Container to modify. |
V |
Value to erase. |
Created with MrDocs