The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
upcast
arsd
generic
Does an upcast, but throws instead of returning null if it fails
T
upcast
(
T
R
)
(
R
r
)
if
(
is
(
T
:
R
)
)
arsd
generic
functions
notNull
upcast
Suggestion Box / Bug Report
Does an upcast, but throws instead of returning null if it fails