How do you call a base template class function from a derived template class?

so i have this dervied class setup and i want to call a base function from the derived class. So i used this statement attached. But i get an error saying I can't use it without template arguments. What arguements do i need to give for collection? do i put in T,100 in collection?
3 Replies
Eakam
Eakam2y ago
Can you not just call it? add(item) That function should be available in the derived class
emp0864
emp08642y ago
@revan4477 Collection<T, 100>::add(item);
Revan
RevanOP2y ago
Tyty yeah I can just call add(item) and the <T,100 > works
Want results from more Discord servers?
Add your server