このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
Polyspace でサポートされる C++14 言語の要素
次の表には、C++14 以降に導入された C++ 言語の要素と、対応する Polyspace® サポートの部分的なリストを示しています。サポートされていない設定がコードに含まれている場合、Polyspace ではコンパイル エラーがレポートされます。
C++14 標準参照 | 説明 | サポートあり |
---|---|---|
C++2014-N3323 | Implicit conversion from class type in certain contexts such as delete or switch statement. | この C++14 機能は、特定のコンテキストにおけるクラス タイプからの暗黙的な変換を可能にします。新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3462 | More SFINAE-friendly std::result_of | はい |
C++2014-N3472 | Binary literals, for instance, 0b100 . | はい |
C++2014-N3545 | operator() in integral_constant template of constexpr type | はい |
C++2014-N3637 | Relation between std::async and destructor of std::future | 新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3638 | Automatic deduction of return type for functions where an explicit return type is not specified | はい。 場合によっては、Code Prover でコンパイル エラーが表示されることがあります。 |
C++2014-N3642 | Suffixes for user-defined literals indicating time (h , min , s , ms , us , ns ) and strings (s ) | はい |
C++2014-N3648 | Initialization of captured members in lambda functions | はい。 場合によっては、初期化中に、Code Prover は対応するコンストラクターを必要以上の回数呼び出す可能性があります。 |
C++2014-N3649 | Generic (polymorphic) lambda expressions:
| はい |
C++2014-N3651 | Variable templates | はい |
C++2014-N3652 | Declarations, conditions and loops in constexpr functions. | はい |
C++2014-N3653 | Initialization of aggregate classes with fewer initializers than members For instance, this initialization has fewer initializers than members.メンバー struct S { int a; const char* b; int c; int d = b[a];}; S ss = { 1, "asdf" }; | はい |
C++2014-N3654 | std::quoted | はい |
C++2014-N3656 | std::make_unique | はい |
C++2014-N3658 | std::integer_sequence | はい |
C++2014-N3658 | std::shared_lock | いいえ。
|
C++2014-N3664 | Calling new and delete operators in batches. | C++14 機能では、new 演算子の連続呼び出しの実装方法が明確化されています。新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3668 | std::exchange | 部分的にサポート。 |
C++2014-N3670 | Using std::get with a data type to get one element in an std::tuple (provided there is only one element of the type in the tuple) | はい |
C++2014-N3671 | Overloads for std::equal , std::mismatch and std::is_permutation function templates that accept two separate ranges | はい |
C++2014-N3733 | Removal of std::gets from <cstdio> | はい |
C++2014-N3776 | Wording change for destructor of std::future | 新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3779 | std::complex literals representing pure imaginary numbers with suffix i , if or il | はい |
C++2014-N3781 | Use of single quotation mark as digit separator, for instance, 1'000 . | はい |
C++2014-N3786 | Prohibiting "out of thin air' results in C++14 | 新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3910 | Synchronizing behavior of signal handlers | 新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3924 | Discouraging use of rand() | 新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |
C++2014-N3927 | Lock-free executions | 新しい構文やキーワードは導入されていないため、C++14 に対する Polyspace サポートには影響しません。 |