[cfe-users] problem with `candidate template ignored: invalid explicitly-specified argument'

Werner LEMBERG via cfe-users cfe-users at lists.llvm.org
Wed Nov 7 11:03:18 PST 2018

> The rule for determining when a base class function declaration
> introduced by a using-declaration 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

Our main lilypond developer disagrees.  He writes:

  This link states:

    When a using-declarator brings declarations from a base class into
    a derived class, member functions and member function templates in
    the derived class override and/or hide member functions and member
    function templates with the same name, parameter-type-list,
    cv-qualification, and ref-qualifier (if any) in a base class
    (rather than conflicting).

  The parameter-type-list is a different one in this example since
  they contain a different member function pointer type.  Which is the
  reason we need the whole hooplahoop in the first place.

For context, the whole lilypond thread starts at



More information about the cfe-users mailing list