Struct Initialization syntax

rikki cattermole rikki at cattermole.co.nz
Wed Jul 25 04:42:58 UTC 2018


On 25/07/2018 5:55 AM, Neia Neutuladh wrote:
> 
> Similarly, struct initializer syntax everywhere slightly reduces the 
> need for named arguments, albeit with some inconvenience:

It actually doesn't surprisingly.
As long as you support it for templates as well.
At which point it creates a nice consistent experience.


More information about the Digitalmars-d mailing list