This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52755] Error on use of implicitly deleted operator=
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Mar 2012 17:45:24 +0000
- Subject: [Bug c++/52755] Error on use of implicitly deleted operator=
- Auto-submitted: auto-generated
- References: <bug-52755-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52755
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-03-28 17:45:24 UTC ---
(In reply to comment #1)
> Assigning t2s needs to use the assignment operator, but that function can't be
> implicitly-defined because assigning the volatile member requires
> t1s::operator=(const volatile t1s&) which doesn't exist,
Actually that should say:
"t1s::operator=(const volatile t1s&) volatile" which doesn't exist,