Nested function seems unoverloadable
Thomas Kuehne
thomas-dloop at kuehne.cn
Fri Jul 7 10:06:50 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Artem Rebrov schrieb am 2006-06-30:
>
> void a(uint v) {}
> void a(void* v) {}
>
> void main()
> {
> void b(uint v){}
> void b(void* v){} //reports an error
> }
http://www.digitalmars.com/d/function.html
# Unlike module level declarations, declarations within function scope are
# processed in order.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFErkpkLK5blCcjpWoRAuy9AJwPSVwxYrtp+nGiG/blAdrtBwiyjQCfXIes
X8WBkkDBlt3RTRMfoHH70tU=
=0/JD
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list