dmd ~master (2023-11-01T14:17:50Z)
Dub
Repo
_d_interface_cast
rt
cast_
Attempts to cast Object o to class c. Returns o if successful, null if not.
extern (
C
) @
nogc
nothrow pure
void
*
_d_interface_cast
(
void
*
p
,
ClassInfo
c
)
Meta
Source
See Implementation
rt
cast_
functions
_d_interface_cast
_d_toObject
Attempts to cast Object o to class c. Returns o if successful, null if not.