how come is this legal? 'void fun(int){ }' ?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jun 13 18:22:04 PDT 2015
Sometimes you have empty functions and/or unused parameters just
to fulfill some interface but you don't actually care about the
arguments passed. No need to name them if you aren't going to use
them.
More information about the Digitalmars-d-learn
mailing list