http://d.puremagic.com/issues/show_bug.cgi?id=5693
Summary: Problem with address of template struct opCall Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-03-03 17:40:53 PST --- struct Foo { void opCall(T)() {} } void main() { auto x = &Foo(); } DMD 2.052 shows: test.d(5): Error: template test.Foo.opCall(T) does not match any function template declaration test.d(5): Error: template test.Foo.opCall(T) cannot deduce template function from argument types !()() And then dmd crashes. (I am not sure the keyword below is correct.) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------