Nim Expert · Lesson 3

Lifetime hooks

Custom =destroy, =copy, =sink, and =wasMoved for resource-owning types.

Lessons · Nim Expert · Lesson 3 of 10

Lifetime hooks

Custom =destroy, =copy, =sink, and =wasMoved for resource-owning types.

Illustration for Nim
Custom =destroy, =copy, =sink, and =wasMoved for resource-owning types.