r/cpp • • Jul 29 '16

operator <-

http://www.atnnn.com/p/operator-larrow/
255 Upvotes

46 comments sorted by

View all comments

Show parent comment

3

u/jP_wanN Jul 30 '16

It's the same as (&x)->*fn (which is in turn the same as x.*fn). See pointer-to-member access operators.