Does is(f == function) work?

Andrey Zherikov andrey.zherikov at gmail.com
Tue Mar 9 02:50:11 UTC 2021


What am I doing wrong?

void f() {}

writeln(typeof(f).stringof);   // prints "void()"

writeln(is(f == function));    // prints "false"


More information about the Digitalmars-d-learn mailing list