On Tuesday 23. June 2015 10:17:40 Knoll Lars wrote: [...] > Qt 5.7: > * New compiler baseline with gcc 4.7 and VC++ 2012 > * Enable and use the C++11 features supported by these compilers > unconditionally
By "C++11 features", do you mean only core language feature, or can we also use standard library features. For example I would like to use std::enable_if instead of QtPrivate::QEnableIf [https://codereview.qt-project.org/140266] Clang would then gives better error messages because it knows about it. I would also want to use the type traits such as std::is_trivial and std::is_trivially_copyable [https://codereview.qt-project.org/140476] Likewise, Marc is trying to use std::declval and type traits in exception specification [https://codereview.qt-project.org/140132/] Not to mention that we already use directly things like std::move or std::forward. Since all of these are C++11 features supported by these compiler, I would assume that we can use them unconditionally. -- Olivier Woboq - Qt services and support - http://woboq.com - http://code.woboq.org _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development