Pointer to pointer


I've been Google-ing this around but I couldn't find a straight answer.

I have an intricate structure of classes and getting to a bottom member or method can take a lot of dereferencing.Something like this:
or even longer chains ...
Will this have an impact on the runtime application performance, or is it just compiler related?
Not really. The main point of concern is that you never check any of your pointers for NULL.
I see.This could prove to be a problem.But since right now it's a small project I'll just be sloppy. Thank you for your quick reply.
You are violating the Principle of Least Knowledge with this sort of approach.

Topic archived. No new replies allowed.