Arrow member selection

Just wanted to ask if arrow member selection operator is used to access a pointer from any function or its only used to access pointers from classes only?

From whichever you like

a -> b is equivalent to (*a).b; where you can use one, you can use other.
thanks
Topic archived. No new replies allowed.