D Medium · Lesson 10

Struct lifetime and RAII

Destructors, copy constructors, @disable this(this), move semantics, and deterministic cleanup.

Lessons · D Medium · Lesson 10 of 10

Struct lifetime and RAII

Destructors, copy constructors, @disable this(this), move semantics, and deterministic cleanup.

Illustration for D
Destructors, copy constructors, @disable this(this), move semantics, and deterministic cleanup.