The rule for determining when a base class function declaration introduced by a using-declaartion is hidden by a derived class function declaration does not take the template parameter list into account: http://eel.is/c++draft/namespace.udecl#15.sentence-1
So clang's behaviour is conforming and gcc's behaviour is not. At the very least, though, we should issue a warning for the using declaration, because this is a surprising rule. On Wed, 7 Nov 2018, 08:28 Werner LEMBERG <w...@gnu.org wrote: > > > Sure, that'd be great - http://bugs.llvm.org > > Done: > > https://bugs.llvm.org/show_bug.cgi?id=39581 > > > Werner >
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users