Named constructors

Neia Neutuladh neia at ikeran.org
Wed Jan 9 21:41:34 UTC 2019


On Wed, 09 Jan 2019 20:54:48 +0000, JN wrote:
> I was going to say that this post will be mostly ignored and people will
> present some template magic to partially implement such feature (just
> add few imports and some boilerplate code),
> but I guess I got beaten to it :)

It's handy when writing the DIP to have as many workarounds as possible. 
Then you can show why they aren't good enough in advance and save a round 
of drafts.


More information about the Digitalmars-d mailing list