This template class is used to instantiate a specialized implementation of the folding set to the node class T. T must be a subclass of FoldingSetNode and implement a Profile function.

Synopsis

Declared in <llvm/ADT/FoldingSet.h>

template<
    class T,
    class Trait = FoldingSetTrait<T>>
using FoldingSet = FoldingSetImpl<T, Trait>;

Description

Note that this set type is movable and move‐assignable. However, its moved‐from state is not a valid state for anything other than move‐assigning and destroying. This is primarily to enable movable APIs that incorporate these objects.

Created with MrDocs