template<typename... PTs>
struct wpi::CastInfoPointerUnionImpl< PTs >
We can't (at least, at this moment with C++14) declare CastInfo as a friend of PointerUnion like this:
template<typename To>
A discriminated union of two or more pointer types, with the discriminator in the low bit of the poin...
Definition: PointerUnion.h:163
This struct provides a method for customizing the way a cast is performed.
Definition: Casting.h:476
The compiler complains 'Partial specialization cannot be declared as a friend'. So we define this struct to be a bridge between CastInfo and PointerUnion.