simple struct template

Hendrik Renken funsheep at gmx.net
Fri Mar 30 06:04:56 PDT 2007


> alias Vector!(float) Vectorf;
> alias Vector!(double) Vectord;
> 
> Should work; if not, what error message is the compiler giving you?

gdc 0.23 on Mac OS X (gcc 4.0.1):
"template instance forward reference to template declaration Vector(T)"



More information about the Digitalmars-d-learn mailing list