CRTP base generating per‐type constructors and assignment operators.
Synopsis
Declared in <llvm/ADT/PointerUnion.h>
template<
typename Derived,
int Idx,
typename... Types>
class PointerUnionMembers;
Description
Non‐template constructors allow implicit conversions (derived‐to‐base, non‐const‐to‐const).
Specializations
Name |
Description |
Terminal CRTP specialization when no alternative types remain. |
|
|
Recursive CRTP specialization for alternative type |
Derived Classes
Name |
Description |
A discriminated union of two or more pointer types, with the discriminator in the low bits of the pointer. |
|
|
Recursive CRTP specialization for alternative type |
Created with MrDocs