How does alias exactly work

Ruby The Roobster michaeleverestc79 at gmail.com
Tue Sep 29 01:46:56 UTC 2020


I thought alias could work like this with classes:

alias test = MyClass(3,"H",9.1); //Assume the constructor 
parameters for MyClass are (int,string,double).

Can anybody fix this code?


More information about the Digitalmars-d-learn mailing list