| 29 | /// @see std::erase_if |
| 30 | template<class Pred> |
| 31 | void erase_if(const Pred& pred) { |
| 32 | auto it = this->begin(); |
| 33 | while (it != this->end()) { |
| 34 | if (pred(*it)) it = this->erase(it); |
| 35 | else ++it; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | /// <summary>Checks if this set contains a specific value.</summary> |
| 40 | /// |
no test coverage detected