I have a template class:
template<class T>
class CVariable
{
//lines ommited
};
and another class:
class CLengthUnits:public CUnits
{
//lines ommited
};
but when i try to return from a function:
CVariable<CLengthUnits>** PointsOfSection(void)
{
//lines ommited
}
the compiler gives me an error:
error C2143: syntax error : missing ';' before '<'
Anyone an idea?
The asterisks don't belong there. Remove them.
EDIT: In response to OP's comment, the following program compiles just fine for me:
I think there is something you are still not telling us.