I think because you are using templates that you should define both classes in the same header file so that compiler can find the template. Also for some reason I cannot understand the error message (a cannot determine its character encoding)
@sbonnalc
Do i have to declare the method again? Isn't it inherited from A? If I do declare the methods the errors go away, thank you, but it feels a bit silly to have to 're'-declare them.
@eypros
I forgot to copy the include(edited the original post), thank you. The error is what eclipse CDT tells me, there are some 'unreadable' characters.
@Floeps
Yes, you have to re-declare them if you want to re-implement them on your inherited class B.
If you use the inherited method without any change in the implementation, then, you don't have to re-declare them (like the getValue in your example).
I see, this is somewhat different from what I expected, as I had found that people use classes with virtual methods+destructors as (Java like) interfaces, this makes for a bit more work, but it should be okay, thank you.