Skip to content

Commit

Permalink
fix closing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
yknishidate committed Sep 21, 2023
1 parent 852dd81 commit 4838b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/cpp20/coroutines.md
Expand Up @@ -601,7 +601,7 @@ C++20コルーチンはスタックレスコルーチンとして導入された
(本ページ執筆時点では[提案文書P0876R10](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0876r10.pdf)が最新)

C++20コルーチンでは、コルーチン・ステートのために動的メモリ確保が行われる可能性がある。
一定条件を満たせばコンパイラ最適化によって動的メモリ確保が省略されるとしているが、言語仕様として動的メモリ確保を避ける仕様も検討された(通称"Core Coroutines")
一定条件を満たせばコンパイラ最適化によって動的メモリ確保が省略されるとしているが、言語仕様として動的メモリ確保を避ける仕様も検討された(通称"Core Coroutines"
最終的には既に実績のあるCoroutinesTS(発案者の名前にちなみ"Gor-routines"と呼ばれた)ベースのコルーチン仕様が採用されることになった。

C++20コルーチンに関するキーワードは、いずれも接頭辞`co_`が付与されている。
Expand Down

0 comments on commit 4838b94

Please sign in to comment.