[Development] QVector now has rvalue push_back (was: Re: HEADS UP: potential trouble from a recent QVector change)

Thiago Macieira thiago.macieira at intel.com
Mon Jul 20 20:10:48 CEST 2015


On Monday 20 July 2015 14:06:33 Marc Mutz wrote:
> https://codereview.qt-project.org/121810
> 
> So start using qMove() or pass temporaries in your QVector::append() calls.

What's the difference in std::vector between an rvalue push_back and 
emplace_back?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list