On 04/10/2017 08:18 AM, Jakub Jelinek wrote:
Hi!
I'd like to ping 2 patches:
P2 PR c++/80176
http://gcc.gnu.org/ml/gcc-patches/2017-04/msg00027.html
reference binding to static member function
This smells fishy. There's no reason one cannot have an overload set
containing both static and non-static functions, in any order. So it'll
be 'random' as to which member of the set OVL_CURRENT looks at.
You at least want '&& !OVL_NEXT (..)' there to make sure you just have a
single static fn (if that's what you want?)
nathan
--
Nathan Sidwell