public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "d.truby at warwick dot ac.uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/64959] New: SFINAE in UDLs
Date: Fri, 06 Feb 2015 12:48:00 -0000	[thread overview]
Message-ID: <bug-64959-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2015-02-06 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 12:48 d.truby at warwick dot ac.uk [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64959-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).