The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
CommonRCImpl.opCast
mir
rc
context
CommonRCImpl
C
opCast
()
C
opCast
()
C
opCast
()
C
opCast
()
C
opCast
()
mixintemplate
CommonRCImpl
()
pure nothrow @
nogc
const @
system
C
opCast
(
C
:
ThisTemplate
!
Q
Q
)
(
)
if
(
isImplicitlyConvertible
!(
immutable
(
T
)*,
Q
*) &&
!
isImplicitlyConvertible
!(
const
(
T
)*,
Q
*)
)
ThisTemplate
!(
const
T
)
lightConst
()
ThisTemplate
!(
immutable
T
)
lightImmutable
()
Meta
Source
See Implementation
mir
rc
context
CommonRCImpl
functions
_counter
lightConst
lightImmutable
moveToConst
opCast