A nice D coding pattern

MattCoder via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 25 05:51:27 PST 2014


On Monday, 24 November 2014 at 22:50:33 UTC, bearophile wrote:
> And the @disable this() assures that a struct is correctly 
> initialized by the constructor.

In the statement: @disable this()

May I understand that you're "disabling" the "default"
constructor of the struct to use your own constructor?

Matheus.


More information about the Digitalmars-d-learn mailing list