Is there a prettier way to dereference a iterable pointer when being indexed with [i]? Sorry, I'm struggling to figure out how to word this better.
When grabbing a method (member function?) from the pointer I can simply dereference with the pointer operator ->. Ex.
if ( myPtr[i]->isRunning() == true ) ...
But if I'm not calling a method from the pointer I have to dereference it with parentheses and apostrophes like this (* )[i] which messes with my dyslexia.
if ( (*myPtr)[i] == nullptr ) ...
Does anybody know a way around this awful syntax?