[Development] Basing Qt Creator Coding Style on C++ Core Guidelines?

Konstantin Tokarev annulen at yandex.ru
Sat Nov 19 21:51:41 CET 2016



19.11.2016, 09:46, "Marc Mutz" <marc.mutz at kdab.com>:
> On Saturday 19 November 2016 02:17:27 Konstantin Tokarev wrote:
>>  > If we do nothing else, we should at least use owner<T> whereever
>>  > possible.
>>
>>  Wouldn't it be a better idea to use standard language feature to indicate
>>  ownership, i.e. std::unique_ptr, wherever it makes sense?
>
> Yes, if we could. But BC (see above) and SC will make this impossible for a
> long time to come.

IIRC Qt Creator keeps BC and SC compatibility only between patch releases, so
there is no real urge to introduce surrogate types instead of migration to
std::unique_ptr

>
> --
> Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
> KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
> Tel: +49-30-521325470
> KDAB - The Qt, C++ and OpenGL Experts

-- 
Regards,
Konstantin



More information about the Development mailing list