Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Erases elements in a forward list that matches a specified value.
void remove(const Type& _Val);
Parameters
Parameter |
Description |
|---|---|
_Val |
The value which, if held by an element, will result in that element's removal from the list. |
Remarks
The member function removes from the controlled sequence all elements, designated by the iterator P, for which *P == _Val.
The member function never throws an exception.
Requirements
Header: <forward_list>
Namespace: std