Omittable parens is an evil
Manfred_Nowak
svv1999 at hotmail.com
Sat Jul 19 14:26:53 PDT 2008
Koroskin Denis wrote:
> writefln((&Test.test).mangleof); // prints PFZv, which is a
> pointer to function
>
Whre is the bug?
writefln( typeof( Test.test).stringof);
writefln( typeof( Test.test).mangleof);
writefln( typeof( Test.test()).stringof);
writefln( typeof( Test.test()).mangleof);
prints
(void())()
v
void
v
-manfred
--
Maybe some knowledge of some types of disagreeing and their relation
can turn out to be useful:
http://blog.createdebate.com/2008/04/07/writing-strong-arguments/
More information about the Digitalmars-d
mailing list