File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace std {
3535 - `operator bool`を提供しない。
3636- メンバ関数・メンバ変数を参照する場合は、[`std::constant_arg`](/reference/utility/constant_arg_t.md)タグを利用する。
3737 - 対象オブジェクトの束縛タイミングは、構築時または呼び出し時のいずれもサポートする。
38- - ダングリング(dangling)参照を避けるため 、左辺値(lvalue)のみを取り扱う。
38+ - ダングリング参照を避けるため 、左辺値(lvalue)のみを取り扱う。
3939
4040
4141## メンバ関数
Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ int main()
318318 // もし fizzbuzz() 戻り値型が std::generator<std::string_view> であった場合、
319319 // 変数 vec は std::vector<std::string_view> 型となる。このときコルーチン内部実装の
320320 // std::to_string() の戻り値 std::string オブジェクトはco_yield式末尾で寿命が切れるため、
321- // 各要素 vec[i] に格納される std::string_view はダングリング(dangling)状態になってしまう 。
321+ // 各要素 vec[i] に格納される std::string_view はダングリング状態になってしまう 。
322322
323323 for (const auto& e : vec) {
324324 std::cout << e << std::endl;
You can’t perform that action at this time.
0 commit comments