https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85671

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |9.0

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Liu Hao from comment #2)
> There is no difference in implementation as long as NRVO is in effect.

There is a difference.

Using move(path(__lhs) /= __rhs) has one copy construction and one non-elided
move construction.

What I've committed to trunk has a copy construction and an elided move
construction.

Reply via email to