On quinta-feira, 4 de outubro de 2012 12.44.21, Jan Kundrát wrote:
> That's the reason. I expect Q_CHECK_PTR's error message is not going to
> change, so in my opinion it's better to get 'ASSERT: "foo"' than "out of
> memory".

In Qt 5, Q_CHECK_PTR will throw std::bad_alloc in case it runs into a null
pointer. The end result is usually the same: the application aborts. Usually.
--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to