This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55038] c++11: 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: Tue, 23 Oct 2012 17:15:29 +0000
- Subject: [Bug c++/55038] c++11: operator +=
- Auto-submitted: auto-generated
- References: <bug-55038-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55038
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-23 17:15:29 UTC ---
(In reply to comment #0)
> I transfer code to c++(2011) version and hear: the main goal is to advance
> using an rvalue.
> But standard say that operators +=,++,-=,-- must have an lvalue from the left
> side.
> Who are writes the standard?
> And why I must to write cover class?
> And I want to hear an advice.
GCC's Bugzilla is not for advice, please take these sort of questions to
somewhere more suitable e.g.
https://groups.google.com/a/isocpp.org/group/std-discussion