Class A
{
Private:
Type a;
}
How to declare a subclass inherits the base class template, then use?
CodePudding user response:
Class B: public ATemplate
Class B: publice A
.
CodePudding user response:
1) B2) B b1;
CodePudding user response:
Class B: public ACodePudding user response:
1) B