<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div class="" style="">Could anyone who knows Clang comment how hard it would be to implement this (where would one start..) the desired feature is the ability for a method call a.f(b) to fall back to any suitable free-function f(a,b), for reasons explained in the first paper.</div><div class="" style="">Has anyone tried to implement this already?</div><div class="" style=""><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">With this you don't have to choose between the superior decoupling of free functions & the superior autocomplete/function chaining of methods. Having to make this arbitrary choice is C++'s biggest frustration
 for me</div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><a href="http://isocpp.org/files/papers/N4165.pdf" class="" style="">http://isocpp.org/files/papers/N4165.pdf</a><br class="" style=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br class="" style=""></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
 background-color: transparent; font-style: normal;"><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4174.pdf" class="" style="">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4174.pdf</a><br class="" style=""></div><div class="" style=""><br class="" style=""></div></div></body></html>