[Issue 810] New: Cannot forward reference template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 7 03:43:00 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=810
Summary: Cannot forward reference template
Product: D
Version: 1.00
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P3
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: deewiant at gmail.com
OtherBugsDependingO 340
nThis:
They don't get much shorter than this:
Template!(int) stack;
template Template(T) {}
Flip the two lines and the code compiles.
--
More information about the Digitalmars-d-bugs
mailing list