[Issue 9112] Uniform construction for built-in types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 7 02:29:16 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=9112



--- Comment #25 from bearophile_hugs at eml.cc 2014-03-07 02:29:05 PST ---
This is a nice improvement for D.

But there's still some asymmetry between built-in types and user defined ones:

template Foo(alias T) {
    alias Foo = T;
}
struct Bar {}
Foo!Bar y1; // OK
Foo!int y2; // error
void main() {}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list