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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.0

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The total sum of copies + moves is now lower, so even types without move
semantics will benefit:

Printing counts of numbers of calls to comparator copy + move constructors.
Before queue construction: 0 + 0
After queue construction : 1 + 2
After 3 calls to push    : 4 + 8
After 3 calls to pop     : 9 + 14

Reply via email to