public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/87063] Const subobject with const assignment operator, but operator anyway deleted [not found] <bug-87063-4@http.gcc.gnu.org/bugzilla/> @ 2024-04-06 23:02 ` pinskia at gcc dot gnu.org 2024-04-06 23:07 ` pinskia at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-04-06 23:02 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87063 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- EDG also rejects this: ``` "<source>", line 21: error: function "foo::operator=(const foo &)" (declared implicitly) cannot be referenced -- it is a deleted function a = foo(); ^ ``` I remember there being a defect report in this area too. ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/87063] Const subobject with const assignment operator, but operator anyway deleted [not found] <bug-87063-4@http.gcc.gnu.org/bugzilla/> 2024-04-06 23:02 ` [Bug c++/87063] Const subobject with const assignment operator, but operator anyway deleted pinskia at gcc dot gnu.org @ 2024-04-06 23:07 ` pinskia at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-04-06 23:07 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87063 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=89305 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#253 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-06 23:07 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-87063-4@http.gcc.gnu.org/bugzilla/> 2024-04-06 23:02 ` [Bug c++/87063] Const subobject with const assignment operator, but operator anyway deleted pinskia at gcc dot gnu.org 2024-04-06 23:07 ` pinskia 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).