public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100779] New: Partial specialization with non-deducible template parameters accepted
@ 2021-05-26 19:08 ppalka at gcc dot gnu.org
  2021-05-26 19:15 ` [Bug c++/100779] " ppalka at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-05-26 19:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100779

            Bug ID: 100779
           Summary: Partial specialization with non-deducible template
                    parameters accepted
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ppalka at gcc dot gnu.org
  Target Milestone: ---

template <int> struct A;
template <class> struct B;
template <class T> struct B<A<sizeof(T)>> { };

This partial specialization should be rejected because its template parameter T
is not deducible.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-27 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 19:08 [Bug c++/100779] New: Partial specialization with non-deducible template parameters accepted ppalka at gcc dot gnu.org
2021-05-26 19:15 ` [Bug c++/100779] " ppalka at gcc dot gnu.org
2021-05-26 23:49 ` ppalka at gcc dot gnu.org
2021-05-27 16:37 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).