unless you're declaring the type as a class purely so that it's forced to be a reference type.
You can do a struct as a reference type too - just make it a pimpl handle.
Adam D. Ruppe via Digitalmars-d-learn Sat, 28 Apr 2018 07:11:02 -0700
unless you're declaring the type as a class purely so that it's forced to be a reference type.
You can do a struct as a reference type too - just make it a pimpl handle.