set_subtract overloads

Synopses

Declared in <llvm/ADT/SetOperations.h>

set_subtract(A, B) ‐ Compute A := A ‐ B

template<
    class S1Ty,
    class S2Ty>
void
set_subtract(
    S1Ty& S1,
    S2Ty const& S2);

Subtract S2 from S1, classifying removed and remaining elements.

template<
    class S1Ty,
    class S2Ty>
void
set_subtract(
    S1Ty& S1,
    S2Ty const& S2,
    S1Ty& Removed,
    S1Ty& Remaining);

Parameters

Name

Description

S1

Set from which elements of S2 are removed.

S2

Set of elements to remove from S1.

Removed

Receives elements of S2 that were present in and removed from S1.

Remaining

Receives elements of S2 that were not present in S1.

Created with MrDocs