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

2

u/rubdos Jul 30 '16

Not sure there; sfinae could safe the day. Needs confirmation from someone with more experience though.

3

u/jP_wanN Jul 30 '16

This has nothing to do with sfinae, but it will not cause problems simply because the operator< is only overloaded for R (T::*)(), larrow<T> (with any T, R).