struct PointerSumTypeMember

Declaration

template <uintptr_t N,
          typename PointerArgT,
          typename TraitsArgT = PointerLikeTypeTraits<PointerArgT>>
struct PointerSumTypeMember { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/ADT/PointerSumType.h:27

Templates

uintptr_t N
PointerArgT
TraitsArgT = PointerLikeTypeTraits<PointerArgT>