|
-
March 14th, 2002, 01:17 PM
#1
pointer to a parametrized template
Hello, everybody!
I'm trying to do some programming in VC6, and ran into the following problem. I made a CMatrix<template T> class, that does some simple matrix calculations. Now I defined a (normal) class, in which I wanted to use a couple of these CMatrix'es in the following way:
CMatrix<double> *a;
(in the definition)
and to use a new operator with the parameterisation on these pointers later.
The compiler gives loads of errors :
missing ';' before '<'
'CMatrix' missing storage class or type specifiers
syntax error '<'
unexpected tokens preceding ';'
To me this makes no sense. Is this kind of thing impossible? Can anybody please help me?
Henk
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|