erase method

bool erase(
  1. T element
)

Removes element from the set (C++ STL style).

Returns true if the element was removed, or false if it was not found.

Implementation

bool erase(T element) {
  return _container.remove(element);
}