class SetVector::TestAndEraseFromSet

Declaration

template <typename UnaryPredicate>
class SetVector::TestAndEraseFromSet { /* full declaration omitted */ };

Description

A wrapper predicate designed for use with std::remove_if. This predicate wraps a predicate suitable for use with std::remove_if to call set_.erase(x) on each element which is slated for removal.

Declared at: llvm/include/llvm/ADT/SetVector.h:272

Templates

UnaryPredicate

Method Overview

Methods

ΒΆTestAndEraseFromSet<UnaryPredicate>(
    UnaryPredicate P,
    llvm::SetVector::set_type& set_)

Declared at: llvm/include/llvm/ADT/SetVector.h:277

Parameters

UnaryPredicate P
llvm::SetVector::set_type& set_