digitalmars.D.bugs - Nested function seems unoverloadable
- "Artem Rebrov" <ar_other mail.ru> Jun 30 2006
- Thomas Kuehne <thomas-dloop kuehne.cn> Jul 07 2006
- Stewart Gordon <smjg_1998 yahoo.com> Jul 10 2006
void a(uint v) {}
void a(void* v) {}
void main()
{
void b(uint v){}
void b(void* v){} //reports an error
}
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jun 30 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-----
Jul 07 2006
Thomas Kuehne wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Artem Rebrov schrieb am 2006-06-30:
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.
What has that to do with anything? Stewart.
Jul 10 2006








Stewart Gordon <smjg_1998 yahoo.com>