04.05.2019, 02:16, "Иван Комиссаров" <abba...@gmail.com>:
> What I am talking about is that explicit is better than implicit. Taking an 
> address of an object on a stack and passing it to a function that (possibly 
> can) delete your object is not explicit.

That's why I advocate use of non-constant references instead of pointers where 
possbile. They never transfer ownership and state that clearly.

-- 
Regards,
Konstantin

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

Reply via email to