public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46105] New: Ordering failure among partial specializations with non-deduced context
@ 2010-10-20 21:14 potswa at mac dot com
  2010-10-20 21:15 ` [Bug c++/46105] " potswa at mac dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: potswa at mac dot com @ 2010-10-20 21:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46105

           Summary: Ordering failure among partial specializations with
                    non-deduced context
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: potswa@mac.com


See attachment.

The second arguments of the two partial specializations evaluate to "void." If
void is substituted manually, the code works fine. (But the desired SFINAE side
effect is removed.)

As neither such argument contains a parameter in a deduced context, they should
not participate in deduction. Once the partial specialization has been
determined to match, the parameters should be substituted and evaluated to
simply void.


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

end of thread, other threads:[~2011-09-27  2:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20 21:14 [Bug c++/46105] New: Ordering failure among partial specializations with non-deduced context potswa at mac dot com
2010-10-20 21:15 ` [Bug c++/46105] " potswa at mac dot com
2010-10-20 21:18 ` potswa at mac dot com
2010-10-20 21:39 ` redi at gcc dot gnu.org
2010-10-27 20:53 ` pinskia at gcc dot gnu.org
2010-10-27 21:04 ` redi at gcc dot gnu.org
2011-09-25 12:57 ` paolo.carlini at oracle dot com
2011-09-26 18:30 ` jason at gcc dot gnu.org
2011-09-26 20:02 ` paolo.carlini at oracle dot com
2011-09-27  2:20 ` jason at gcc dot gnu.org
2011-09-27  2:22 ` jason at gcc dot gnu.org
2011-09-27  2:24 ` jason 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).