Standard LibraryTypesSetMethodseraseOn this pageerase Method of Set. erase(const Object value) -> bool Removes the first occurrence of the specified value from the container. Parameters value: The value to remove.