Recursive CRTP specialization for alternative type Type at index Idx.

Synopsis

Declared in <llvm/ADT/PointerUnion.h>

template<
    typename Derived,
    int Idx,
    typename Type,
    typename... Types>
class PointerUnionMembers<Derived, Idx, Type, Types...>
    : public PointerUnionMembers<Derived, Idx + 1, Types...>

Base Classes

Name

Description

PointerUnionMembers<Derived, Idx + 1, Types...>

CRTP base generating per‐type constructors and assignment operators.

Member Functions

Name

Description

PointerUnionMembers [constructor]

Constructors

operator=

Assign pointer V as this alternative type.

Using Declarations

Name

Description

Unnamed using

Inherit constructors for the remaining alternative types.

operator=

Inherit assignment operators for the remaining alternative types.

Created with MrDocs