how to create template abstract class ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to create template abstract class ?

here is what I have done, it works but is it a correct way of doing this? https://code.sololearn.com/cSpZbMzJ0qhk/?ref=app

7th Feb 2018, 4:25 AM
code learner
code learner - avatar
3 Answers
+ 3
ok thanks
8th Feb 2018, 2:02 AM
code learner
code learner - avatar
+ 2
I think 'Wrap' should be a templated class as well so that 'HelpInt' can use template properties and you wont have to declare seperate Wrappers for other types.
7th Feb 2018, 4:43 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 1
template
10th Mar 2018, 7:29 PM
vignesh