doCopyOrMove

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

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

Parameters

sc Scope*

the scope where the expression is encountered

e Expression

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

t 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