Skip to content

Commit e3a41f9

Browse files
feat: ダングリング(dangling) -> ダングリング
1 parent c24e241 commit e3a41f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/functional/function_ref.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
## メンバ関数

reference/generator/generator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)