A tagged pointer‐like type bound to a discriminant within a sum type.
Synopsis
Declared in <llvm/ADT/PointerSumType.h>
template<
uintptr_t N,
typename PointerArgT,
typename TraitsArgT = PointerLikeTypeTraits<PointerArgT>>
struct PointerSumTypeMember;
Description
A compile time pair of an integer tag and the pointer‐like type which it indexes within a sum type. Also allows the user to specify a particular traits class for pointer types with custom behavior such as over‐aligned allocation.