What am I doing wrong? void f() {}
writeln(typeof(f).stringof); // prints "void()" writeln(is(f == function)); // prints "false"
Andrey Zherikov via Digitalmars-d-learn Mon, 08 Mar 2021 18:55:40 -0800
What am I doing wrong? void f() {}
writeln(typeof(f).stringof); // prints "void()" writeln(is(f == function)); // prints "false"