CastInfo specialization for const PointerUnion sources.
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...>>>
| Name | Description |
|---|---|
ConstStrippingForwardingCast<To, PointerUnion<PTs...> const, CastInfo<To, PointerUnion<PTs...>>> | Forwards const cast sources to a non-const CastInfo implementation. |
| Name | Description |
|---|---|
DecayedFrom | From with cv-qualifiers and pointer removed. |
NonConstFrom | Non-const pointer or reference form of From used for forwarding. |
| Name | Description |
|---|---|
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. |