http://d.puremagic.com/issues/show_bug.cgi?id=2597





------- Comment #1 from jarrett.billings...@gmail.com  2009-01-21 08:02 -------
(In reply to comment #0)

> auto d(T)(T x) { return 5; }
> auto e(int x) { return 5; }
> 
> d works, e doesn't. Should it?

Of course it should.  Why does this work:

auto e = (int x) { return 5; }

but not:

auto e(int x) { return 5; }

?

Wouldn't the two use.. more or less the exact same mechanism?


-- 

Reply via email to