How do you call the overloaded index operator from a derived class?

I have a based class text with an overloaded index operator my dervied class HtmlText does not have an overloaded index operator. How do i call the operator from my derived class? I tried using this[i] but it doesn't work
2 Replies
CaramelCorn
CaramelCorn3y ago
you could use ParentClass::operator
Revan
RevanOP3y ago
tyty
Want results from more Discord servers?
Add your server