Trouble initializing a templated class

quakkels via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 5 09:50:12 PDT 2014


> When I run the dmd compiler, I get this error:
>
> 	>dmd templateExp.d
> 	teamplteExp.d(12): Error: class teamplteExp.SomeClass(T : 
> BaseClass) is used as a type
>

This is actually:
	templateExp.d(12): Error: class templateExp.SomeClass(T : 
BaseClass) is used as a type


More information about the Digitalmars-d-learn mailing list