llvm::CastInfo<To, PointerUnion<PTs...> const>

CastInfo specialization for const PointerUnion sources.

Synopsis

Declared in <llvm/ADT/PointerUnion.h>

template<
    typename To,
    typename... PTs>
struct CastInfo<To, PointerUnion<PTs...> const>
    : ConstStrippingForwardingCast<To, PointerUnion<PTs...> const, CastInfo<To, PointerUnion<PTs...>>>

Base Classes

NameDescription
ConstStrippingForwardingCast<To, PointerUnion<PTs...> const, CastInfo<To, PointerUnion<PTs...>>>Forwards const cast sources to a non-const CastInfo implementation.

Type Aliases

NameDescription
DecayedFrom From with cv-qualifiers and pointer removed.
NonConstFrom Non-const pointer or reference form of From used for forwarding.

Static Member Functions

NameDescription
castFailed Forwards the failed-cast sentinel to the non-const ForwardTo trait.
doCast Forwards the cast to the non-const ForwardTo trait.
doCastIfPossible Forwards a fallible cast to the non-const ForwardTo trait.
isPossible Forwards the possibility check to the non-const ForwardTo trait.