[Development] Qt LTS & C++11 plans

Knoll Lars Lars.Knoll at theqtcompany.com
Wed Nov 11 09:43:57 CET 2015


On 11/11/15 00:41, "Development on behalf of Marc Mutz" <development-bounces at qt-project.org on behalf of marc.mutz at kdab.com> wrote:



>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.

Fully agree to that. But as long as we can’t execute autotests on all platforms in the CI someone will need to manually check those on some of the target platforms if we extend the set of features used.

Cheers,
Lars



More information about the Development mailing list