__move_postblit

Ported from D runtime, this function is released under the boost license.

Recursively calls the opPostMove callbacks of a struct and its members if they're defined.

When moving a struct instance, the compiler emits a call to this function after blitting the instance and before releasing the original instance's memory.

pragma(inline, true) @nogc @system
void
__move_postblit
(
T
)
(,)

Parameters

newLocation T

reference to struct instance being moved into

oldLocation T

reference to the original instance

Notes: __move_postblit will do nothing if the type does not support elaborate moves.

Meta