[Development] Question about QCoreApplicationData::*_libpaths

Kevin Kofler kevin.kofler at chello.at
Thu Jan 21 05:27:50 CET 2016


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?

        Kevin Kofler




More information about the Development mailing list