Any way to automatically convert structs on return?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Aug 1 08:41:34 UTC 2024


No, D does not support implicit construction.

However in saying that, I will continue to argue in support of sum types 
when they get added to the language to support implicit construction!



More information about the Digitalmars-d-learn mailing list