This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ PATCH for c++/81102, wrong error with partial specialization


Two issues here: one, we were failing to look through references when
comparing types, so we decided that a function type in a template
non-type argument didn't match a reference-to-function type in the
type of the non-type parameter.

With that fixed, I also needed to move the C++17 non-type auto
handling down past that type comparison.

Tested x86_64-pc-linux-gnu, applying to trunk and 7.

Attachment: 81102.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]