What does -> mean in C++?
It's to access a member function or member variable of an object through a pointer, as opposed to a regular variable or reference. So :
a->b
means (*a).b
If
a
is a pointer, a->b
is the member b
of which a
points to.source: link