First life-signs of type functions

Stefan Koch uplink.coder at googlemail.com
Wed May 6 11:58:36 UTC 2020


Hello Guys,

After a bit of fiddling the following code (and only that because 
I need do partial evaluation of the semantic pass on the function 
body manually ...)
Now works on the Talias branch

string F(alias y)
{
     return y.stringof;
}
static assert(F!(ulong) == "ulong");
static assert(F!(uint) == "uint");



More information about the Digitalmars-d mailing list