SafeAccess.as

Allows cast to interfaces and classes inside the chain.

struct SafeAccess(M)
ref @trusted
as
(
A
)
()
if (
!__traits(hasMember, M, "as") &&
(
is(A == class) ||
is(A == interface)
)
)
if (
is(M == class)
)

Meta