simple struct template

Hendrik Renken funsheep at gmx.net
Fri Mar 30 06:08:05 PDT 2007


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

dmd on linux32, gdc 0.23 on mac os:
"template instance forward reference to template declaration Vector(T)"

hendrik


More information about the Digitalmars-d-learn mailing list