|
2 | 2 | <feed xmlns="http://www.w3.org/2005/Atom"> |
3 | 3 | <title>cpprefjp - C++日本語リファレンス</title> |
4 | 4 | <link href="https://cpprefjp.github.io" /> |
5 | | - <updated>2026-02-22T05:37:55.670731</updated> |
6 | | - <id>59c549ea-0648-47d8-b9df-1fe830a42d98</id> |
| 5 | + <updated>2026-02-22T07:28:13.906028</updated> |
| 6 | + <id>0ca83e30-fee7-46ee-9cd1-2051c13bdd00</id> |
7 | 7 |
|
8 | 8 |
|
| 9 | + <entry> |
| 10 | + <title>crend -- fix typo. consterxpr -> constexpr</title> |
| 11 | + <link href="https://cpprefjp.github.io/reference/vector/vector/crend.html"/> |
| 12 | + <id>753047591a15e4e9e002e2cf6f50037dab061943:reference/vector/vector/crend.md</id> |
| 13 | + <updated>2026-02-22T16:23:47+09:00</updated> |
| 14 | + |
| 15 | + <summary type="html"><pre><code>diff --git a/reference/vector/vector/crend.md b/reference/vector/vector/crend.md |
| 16 | +index a807a9da3..eb2e30e2d 100644 |
| 17 | +--- a/reference/vector/vector/crend.md |
| 18 | ++++ b/reference/vector/vector/crend.md |
| 19 | +@@ -6,8 +6,8 @@ |
| 20 | + * cpp11[meta cpp] |
| 21 | + |
| 22 | + ```cpp |
| 23 | +-const_reverse_iterator crend() const noexcept; // (1) C++11 |
| 24 | +-consterxpr const_reverse_iterator crend() const noexcept; // (1) C++20 |
| 25 | ++const_reverse_iterator crend() const noexcept; // (1) C++11 |
| 26 | ++constexpr const_reverse_iterator crend() const noexcept; // (1) C++20 |
| 27 | + ``` |
| 28 | + |
| 29 | + ## 概要 |
| 30 | +</code></pre></summary> |
| 31 | + |
| 32 | + <author> |
| 33 | + <name>suomesta</name> |
| 34 | + <email>shawn316michaels@gmail.com</email> |
| 35 | + </author> |
| 36 | + </entry> |
| 37 | + |
9 | 38 | <entry> |
10 | 39 | <title>コンストラクタ -- fix some default constructors in <flat_map> and <flat_set></title> |
11 | 40 | <link href="https://cpprefjp.github.io/reference/flat_map/flat_multimap/op_constructor.html"/> |
@@ -32958,146 +32987,6 @@ index 0e73477f4..9a353c82a 100644 |
32958 | 32987 | - [P1004R2 Making `std::vector` constexpr](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1004r2.pdf) |
32959 | 32988 | +- [P1518R2 Stop Overconstraining Allocators in Container Deduction Guides](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1518r2.html) |
32960 | 32989 | + - C++23でのアロケータ引数を`type_identity_t`で包む変更 |
32961 | | -</code></pre></summary> |
32962 | | - |
32963 | | - <author> |
32964 | | - <name>Akira Takahashi</name> |
32965 | | - <email>faithandbrave@gmail.com</email> |
32966 | | - </author> |
32967 | | - </entry> |
32968 | | - |
32969 | | - <entry> |
32970 | | - <title>契約プログラミング [P2900R14] -- C++26対応として、導入予定だったcontract_violationクラスのevaluation_exceptionメンバ関数を削除 #1570</title> |
32971 | | - <link href="https://cpprefjp.github.io/lang/cpp26/contracts.html"/> |
32972 | | - <id>760b77527ea4fbab8125cfdb3ee965dce0857405:lang/cpp26/contracts.md</id> |
32973 | | - <updated>2026-02-13T17:56:17+09:00</updated> |
32974 | | - |
32975 | | - <summary type="html"><pre><code>diff --git a/lang/cpp26/contracts.md b/lang/cpp26/contracts.md |
32976 | | -index 6a77eabb5..a663549ae 100644 |
32977 | | ---- a/lang/cpp26/contracts.md |
32978 | | -+++ b/lang/cpp26/contracts.md |
32979 | | -@@ -413,7 +413,6 @@ void handle_contract_violation(const std::contracts::contract_violation&amp; violati |
32980 | | - - **検出モード** (`detection_mode`): 契約違反がどのように検出されたか(述語が`false`に評価されたか、例外が発生したか) |
32981 | | - - **ソースロケーション** (`location`): 違反した契約アサーションのソースファイル名、行番号、関数名 |
32982 | | - - **終了判定** (`is_terminating`): この違反後にプログラムが終了するかどうか |
32983 | | --- **評価例外** (`evaluation_exception`): 述語の評価中に例外が発生した場合、その例外オブジェクトへのアクセス |
32984 | | - |
32985 | | - #### ハンドラの動作 |
32986 | | - 契約違反が識別されると、`observe`または`enforce`セマンティクスの場合、契約違反ハンドラが呼び出される: |
32987 | | -</code></pre></summary> |
32988 | | - |
32989 | | - <author> |
32990 | | - <name>Akira Takahashi</name> |
32991 | | - <email>faithandbrave@gmail.com</email> |
32992 | | - </author> |
32993 | | - </entry> |
32994 | | - |
32995 | | - <entry> |
32996 | | - <title>contract_violation -- C++26対応として、導入予定だったcontract_violationクラスのevaluation_exceptionメンバ関数を削除 #1570</title> |
32997 | | - <link href="https://cpprefjp.github.io/reference/contracts/contract_violation.html"/> |
32998 | | - <id>760b77527ea4fbab8125cfdb3ee965dce0857405:reference/contracts/contract_violation.md</id> |
32999 | | - <updated>2026-02-13T17:56:17+09:00</updated> |
33000 | | - |
33001 | | - <summary type="html"><pre><code>diff --git a/reference/contracts/contract_violation.md b/reference/contracts/contract_violation.md |
33002 | | -index ce96a3a2b..b4fec7583 100644 |
33003 | | ---- a/reference/contracts/contract_violation.md |
33004 | | -+++ b/reference/contracts/contract_violation.md |
33005 | | -@@ -6,16 +6,7 @@ |
33006 | | - |
33007 | | - ```cpp |
33008 | | - namespace std::contracts { |
33009 | | -- class contract_violation { |
33010 | | -- public: |
33011 | | -- const char* comment() const noexcept; |
33012 | | -- contracts::detection_mode detection_mode() const noexcept; |
33013 | | -- exception_ptr evaluation_exception() const noexcept; |
33014 | | -- bool is_terminating() const noexcept; |
33015 | | -- assertion_kind kind() const noexcept; |
33016 | | -- source_location location() const noexcept; |
33017 | | -- evaluation_semantic semantic() const noexcept; |
33018 | | -- }; |
33019 | | -+ class contract_violation; |
33020 | | - } |
33021 | | - ``` |
33022 | | - |
33023 | | -@@ -28,11 +19,21 @@ namespace std::contracts { |
33024 | | - | ---- | ---- | ---- | |
33025 | | - | [`comment`](contract_violation/comment.md) | 契約違反の詳細を記録したchar列を返す | C++26 | |
33026 | | - | [`detection_mode`](contract_violation/detection_mode.md) | 契約違反が特定された方法を返す | C++26 | |
33027 | | --| [`evaluation_exception`](contract_violation/evaluation_exception.md) | 契約が例外を飛ばしたことによって終了した場合の例外へのポインタ | C++26 | |
33028 | | - | [`is_terminating`](contract_violation/is_terminating.md) | 契約違反によってプログラムがターミネートされるかを返す | C++26| |
33029 | | - | [`kind`](contract_violation/kind.md) | 違反した契約の種類 | C++26| |
33030 | | - | [`location`](contract_violation/location.md) | 契約違反が発生したソースコードの位置 | C++26| |
33031 | | - | [`semantic`](contract_violation/semantic.md) | 契約の評価方法 | C++26| |
33032 | | - |
33033 | | -+## バージョン |
33034 | | -+### 言語 |
33035 | | -+- C++26 |
33036 | | -+ |
33037 | | -+### 処理系 |
33038 | | -+- [Clang](/implementation.md#clang): ?? |
33039 | | -+- [GCC](/implementation.md#gcc): ?? |
33040 | | -+- [Visual C++](/implementation.md#visual_cpp): ?? |
33041 | | -+ |
33042 | | - ## 参照 |
33043 | | - - [Contracts for C++](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2900r14.pdf) |
33044 | | -+- [P3819R0 Remove `evaluation_exception()` from contract-violation handling](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3819r0.pdf) |
33045 | | -+ - 導入予定だった`evaluation_exception()`メンバ関数を削除する提案 |
33046 | | -</code></pre></summary> |
33047 | | - |
33048 | | - <author> |
33049 | | - <name>Akira Takahashi</name> |
33050 | | - <email>faithandbrave@gmail.com</email> |
33051 | | - </author> |
33052 | | - </entry> |
33053 | | - |
33054 | | - <entry> |
33055 | | - <title>evaluation_exception.md -- C++26対応として、導入予定だったcontract_violationクラスのevaluation_exceptionメンバ関数を削除 #1570</title> |
33056 | | - <link href="https://cpprefjp.github.io/reference/contracts/contract_violation/evaluation_exception.html"/> |
33057 | | - <id>760b77527ea4fbab8125cfdb3ee965dce0857405:reference/contracts/contract_violation/evaluation_exception.md</id> |
33058 | | - <updated>2026-02-13T17:56:17+09:00</updated> |
33059 | | - |
33060 | | - <summary type="html"><pre><code>diff --git a/reference/contracts/contract_violation/evaluation_exception.md b/reference/contracts/contract_violation/evaluation_exception.md |
33061 | | -deleted file mode 100644 |
33062 | | -index 4d9cc3a7e..000000000 |
33063 | | ---- a/reference/contracts/contract_violation/evaluation_exception.md |
33064 | | -+++ /dev/null |
33065 | | -@@ -1,35 +0,0 @@ |
33066 | | --# evaluation_exception |
33067 | | --* contracts[meta header] |
33068 | | --* std::contracts[meta namespace] |
33069 | | --* function[meta id-type] |
33070 | | --* cpp26[meta cpp] |
33071 | | --* contract_violation[meta class] |
33072 | | -- |
33073 | | --```cpp |
33074 | | --exception_ptr evaluation_exception() const noexcept; |
33075 | | --``` |
33076 | | -- |
33077 | | --## 概要 |
33078 | | --契約の判定時に例外が投げられた場合、その例外へのポインタを返す。 |
33079 | | -- |
33080 | | --例外が飛ばなければ、空の`std::exception_ptr`を返す。 |
33081 | | -- |
33082 | | --## 戻り値 |
33083 | | --契約の判定時に例外が投げられた場合、その例外へのポインタを返す。 |
33084 | | -- |
33085 | | --例外が飛ばなければ、空の`std::exception_ptr`を返す。 |
33086 | | -- |
33087 | | --## 例外 |
33088 | | --投げない |
33089 | | -- |
33090 | | --## バージョン |
33091 | | --### 言語 |
33092 | | --- C++26 |
33093 | | -- |
33094 | | --### 処理系 |
33095 | | --- [Clang](/implementation.md#clang): ?? |
33096 | | --- [GCC](/implementation.md#gcc): ?? |
33097 | | --- [Visual C++](/implementation.md#visual_cpp): ?? |
33098 | | -- |
33099 | | --## 参照 |
33100 | | --- [Contracts for C++](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2900r14.pdf) |
33101 | 32990 | </code></pre></summary> |
33102 | 32991 |
|
33103 | 32992 | <author> |
|
0 commit comments