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

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to