I found the problem - I just forgot the template arguments...
Sorry for bothering someone...
Mathias
Mathias Nenning wrote:
> Hello!
>
> I'm trying to derive a class "InfFEwith2D" from class "InfFE" but
> compiling my code will end up with the error:
>
> "./include/inf_fe_with_2D.H:68: error:
Hello!
I'm trying to derive a class "InfFEwith2D" from class "InfFE" but
compiling my code will end up with the error:
"./include/inf_fe_with_2D.H:68: error: expected class-name before ‘{’ token"
Here is my Code:
#ifndef _inf_fe_with_2D_h_
#define _inf_fe_with_2D_h_
//Own includes---