Skip to content

Commit 2aa170e

Browse files
committed
execution/operation_state: LWG4200
1 parent 86a0ae3 commit 2aa170e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/execution/execution/operation_state.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ namespace std::execution {
99
template<class O>
1010
concept operation_state =
1111
derived_from<typename O::operation_state_concept, operation_state_t> &&
12-
is_object_v<O> &&
1312
requires (O& o) {
14-
{ start(o) } noexcept;
13+
start(o);
1514
};
1615

1716
struct operation_state_t {}; // タグ型
@@ -25,8 +24,8 @@ namespace std::execution {
2524
2625
下記をみたすクラス型はOperation Stateとみなせる。
2726
28-
- `operation_state_t`をメンバ型`O::operation_state_concept`として定義するクラス型
29-
- `O`型の左辺値`o`に対して[`execution::start`](start.md)`(o)`が有効な式かつ例外送出されないこと
27+
- `operation_state_t`をメンバ型`O::operation_state_concept`として定義する
28+
- `O`型の左辺値`o`に対して[`execution::start`](start.md)`(o)`が有効な式
3029
3130
非同期操作の生存期間中に`operation_state`オブジェクトが破棄されると、未定義の動作を引き起こす。
3231
@@ -89,3 +88,4 @@ int main()
8988

9089
## 参照
9190
- [P2300R10 `std::execution`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html)
91+
- [LWG 4200. The `operation_state` concept can be simplified](https://cplusplus.github.io/LWG/issue4200)

0 commit comments

Comments
 (0)