This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38796] [c++0x] defaulted operator= with non-default return type accepted
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2009 21:53:12 -0000
- Subject: [Bug c++/38796] [c++0x] defaulted operator= with non-default return type accepted
- References: <bug-38796-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jason at gcc dot gnu dot org 2009-10-12 21:53 -------
This is http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#906
Probably we should reject the declaration; certainly we shouldn't silently
change the return type.
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-10-12 21:53:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38796