public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/64959] New: SFINAE in UDLs
@ 2015-02-06 12:48 d.truby at warwick dot ac.uk
  2015-02-08 22:09 ` [Bug c++/64959] " ville.voutilainen at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: d.truby at warwick dot ac.uk @ 2015-02-06 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64959
           Summary: SFINAE in UDLs
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.truby at warwick dot ac.uk

Created attachment 34684
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34684&action=edit
Preprocessed minimal code example

enable_if cannot be used to select between overloads of UDLs in C++11. This
should not be the case since the standard (section 2.14.8) requires the UDL to
be translated to a normal function call (where enable_if should be able to be
used in this way).

The attached code is a small example demonstrating the problem (note: clang
allows this example).


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

end of thread, other threads:[~2015-02-26 10:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-06 12:48 [Bug c++/64959] New: SFINAE in UDLs d.truby at warwick dot ac.uk
2015-02-08 22:09 ` [Bug c++/64959] " ville.voutilainen at gmail dot com
2015-02-09 15:09 ` andrea.azzarone at canonical dot com
2015-02-12 20:22 ` jason at gcc dot gnu.org
2015-02-26 11:30 ` paolo.carlini at oracle dot com

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).