What does '->' do?

Quick question:

What does -> do?
eg.
1
2
3
4
 if (tool[i]-> rc != 0)
        {
            ....     
        }


Thanks,
(Search on here brings up nothing!)
Last edited on
It is pointer member accesss. foo->bar is equivalent to (*foo).bar
http://en.cppreference.com/w/cpp/language/operator_member_access
Topic archived. No new replies allowed.