To make a struct noncopyable, add @disable this(this); to it, then compiler will give an error on an attempt to copy it.

Reply via email to