public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/66893] disallowed initialization of reference with explicit user-defined conversion function
Date: Thu, 16 Jul 2015 12:25:00 -0000	[thread overview]
Message-ID: <bug-66893-4-Gm958Cmvbu@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66893-4@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 3292 bytes --]

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-07-16
            Summary|disallowed initialization   |disallowed initialization
                   |of reference with           |of reference with explicit
                   |user-defined conversion     |user-defined conversion
                   |function                    |function
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is a bug, but because of the rest of the paragraph not the part quoted
above:

  For direct-initialization, those explicit conversion functions that are not
  hidden within S and yield type “lvalue reference to cv2 T2” or “cv2 T2” or
  “rvalue reference to cv2 T2”, respectively, where T2 is the same type as T
  or can be converted to type T with a qualification conversion (4.4), are also
  candidate functions."
>From gcc-bugs-return-492538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jul 16 12:58:25 2015
Return-Path: <gcc-bugs-return-492538-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59266 invoked by alias); 16 Jul 2015 12:58:25 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59153 invoked by uid 48); 16 Jul 2015 12:58:13 -0000
From: "sfilippone at uniroma2 dot it" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/52846] [F2008] Support submodules
Date: Thu, 16 Jul 2015 12:58:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: sfilippone at uniroma2 dot it
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-52846-4-2ThYmfEYpa@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-52846-4@http.gcc.gnu.org/bugzilla/>
References: <bug-52846-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg01428.txt.bz2
Content-length: 236

https://gcc.gnu.org/bugzilla/show_bug.cgi?idR846

--- Comment #11 from Salvatore Filippone <sfilippone at uniroma2 dot it> ---
Created attachment 35995
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id5995&actioníit
test case


  parent reply	other threads:[~2015-07-16 12:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-16  3:44 [Bug c++/66893] New: disallowed initialization of reference with " barry.revzin at gmail dot com
2015-07-16 11:31 ` [Bug c++/66893] " redi at gcc dot gnu.org
2015-07-16 12:25 ` redi at gcc dot gnu.org [this message]
2021-09-06  8:53 ` [Bug c++/66893] disallowed initialization of reference with explicit " pinskia at gcc dot gnu.org

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-66893-4-Gm958Cmvbu@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).