does the shared keyword work with mutable structs?

Kagamin spam at here.lot
Fri Mar 9 10:42:47 UTC 2018


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


More information about the Digitalmars-d-learn mailing list