doCopyOrMove

Handle the postblit call on lvalue, or the move of rvalue.

extern (D)
doCopyOrMove
(,,
Type t = null
)

Parameters

sc
Type: Scope*

the scope where the expression is encountered

e

the expression the needs to be moved or copied (source)

t
Type: Type

if the struct defines a copy constructor, the type of the destination

Return Value

The expression that copy constructs or moves the value.

Meta