[Issue 1569] New: I cannot override opCall as a template function. It is very strange for a C++ programmer.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 10 07:02:49 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1569
Summary: I cannot override opCall as a template function. It is
very strange for a C++ programmer.
Product: DGCC aka GDC
Version: 0.24
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: glue layer
AssignedTo: dvdfrdmn at users.sf.net
ReportedBy: pop.atry at gmail.com
struct S {
void opCall(int n)() {
}
}
unittest {
S s;
s!(1)(); // error
}
--
More information about the D.gnu
mailing list