[Development] Question about QCoreApplicationData::*_libpaths

Thiago Macieira thiago.macieira at intel.com
Thu Jan 21 05:35:58 CET 2016

On Thursday 21 January 2016 05:27:50 Kevin Kofler wrote:
> Thiago Macieira wrote:
> > The copy constructor is called once, then the move constructor. If
> > value_type's move constructor is not noexcept, then it may throw after the
> > container resized.
> Throwing an exception in a move constructor is really, really horrible. I
> can see why a copy constructor would throw (out of memory, failure to
> duplicate some other resource), but a move?


But the class in question may not have a move constructor. In the absence of 
one, the copy constructor gets called.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list