how come is this legal? 'void fun(int){ }' ?

Timothee Cour via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 13 18:20:23 PDT 2015


I understand this is legal for declaration wo definition (void fun(int);)
but why allow this:
void test(int){} ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150613/861f69cd/attachment.html>


More information about the Digitalmars-d-learn mailing list