Is this ok to do or have i forgot my manners?Thank you
struct A {
virtual A* func()=0;
};
template <typename T=int>
struct B : public A {
A* func () {
return this;
}
};
typedef B<> B_int;
typedef B<float> B_float;
struct C : public B_int {
A* func () {
return this;
}
};