Visual Studio 2017 Part5at TECH
Visual Studio 2017 Part5 - 暇つぶし2ch213:デフォルトの名無しさん
18/03/22 14:44:21.26 ghmsMkp00.net
Visual Studio 2017 version 15.7 Preview 2 now available for download
URLリンク(www.neowin.net)
C++
Added five new rules enforcing items from the C++ Core Guidelines
regarding use of the Guidelines Support Library.
We allow public base classes in aggregate types, so that they can be
initialized using aggregate initialization syntax without writing boilerplate
constructors. In the braced initializer list, bases are initialized first, followed
by data members.
Extend template argument deduction for functions to constructors of
template classes – when you construct a class template you no longer
have to specify the arguments.
C++17 has changed the definition of qualification conversions. Previously,
these were permitted between multi-level pointers and mixed pointers,
such that qualifiers could often be added at levels other than the first;
however, this did not similarly apply to arrays.
Refined the expression evaluation order for major C++ operators that
were previously left to compiler implementation detail, e.g. member
access, assignment, and array index.
Expand the using declaration to support pack expansion semantics for
variadic base class members, which can then be used inside the derived class.
We are now complete with the full implementation of Expression SFINAE,
and have made the corresponding Standard Template Library changes.
Implemented parallel algorithms conforming to the ISO C++17 standard. See
the source file located at [VSInstallDir]\VC\Tools\MSVC\\include\yvals.h for
additional details.
In /std:c++17 mode, the warning level of C4834 ("discarding return value
of function
with 'nodiscard' attribute") is increased from W3 to W1. In addition, the
compiler can now deduce the type of a non-type template argument that
is declared with auto.


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch