This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55038] c++11: operator +=


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]