Getting around forward references in templates?

Stewart Gordon smjg_1998 at yahoo.com
Mon May 7 05:23:40 PDT 2007


"Tristam MacDonald" <swiftcoder at gmail.com> wrote in message 
news:f1f6ac$2uvc$1 at digitalmars.com...
> So am I correct that it is impossible to forward reference a template 
> instantiation? And if so, why?

Because the compiler has bugs in it.

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

Generally, if you ever see the phrase "forward reference" in a compiler 
message, chances are it's a bug.

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

Stewart. 




More information about the Digitalmars-d mailing list