[Development] Qt LTS & C++11 plans

Marc Mutz marc.mutz at kdab.com
Wed Nov 11 00:41:23 CET 2015

On Tuesday 10 November 2015 19:43:35 Olivier Goffart wrote:
> Likewise, Marc is trying to use std::declval and type traits
> in exception specification [https://codereview.qt-project.org/140132/]

declval is in use for exception specifications since at least 5.5 (in QPair).

As for type_traits, please note that for many of them, there is no other way 
to get at the information (std::is_trivial*, std::is_polymorphic, even some 
std::is_nothrow_constructible, because a seemingly equivalent noexcep operator 
(say, noexcept(T(std::declval<T>()) also includes the dtor).

I propose that whatever we decide here is checked for in machine-readable form 
in tst_compiler.


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 Experts

More information about the Development mailing list