template <typename T>
class Foo {
TtVar;
public:
Foo (Tt): tVar(t) {
};
class FooDerived: public Foo<std::string> 0 ;
int main()
FooDerived d;
return Of
}
Answers
Answered by
2
template [ type name U ]
Similar questions
Business Studies,
3 months ago
Computer Science,
3 months ago
Math,
3 months ago
Business Studies,
8 months ago
Math,
1 year ago