The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
createRCWithContext
mir
rc
ptr
createRCWithContext
(R value, mir_rcptr!F context)
@
system.mir_rcptr
!
R
createRCWithContext
(
R
F
)
(
return
R
value
,
return
const
mir_rcptr
!
F
context
)
if
(
is
(
R
== class) ||
is
(
R
== interface)
)
createRCWithContext
(R value, mir_rcptr!F context)
Return Value
Type:
shared pointer constructed with current context.
Meta
Source
See Implementation
mir
rc
ptr
aliases
RCPtr
functions
castTo
createRCWithContext
shareMember
structs
mir_rcptr
templates
createRC