Skip to content

Commit 501a325

Browse files
committed
メンバ関数名を修正
try_emplace_hint というメンバ関数はありません。 提案文書では try_emplace_hint となっていますが、規格書では try_emplace に修正されています。
1 parent 9fbb233 commit 501a325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/flat_map/flat_map/insert_or_assign.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ iterator
8484
- `k`と等価なキーをもつ要素`e`が存在している場合、[`std::forward`](/reference/utility/forward.md)`<M>(obj)`を`e.second`に代入する
8585
- そうでなければ、以下と等価:
8686
```cpp
87-
try_emplace_hint(hint, std::forward<decltype(k)>(k), std::forward<M>(obj));
87+
try_emplace(hint, std::forward<decltype(k)>(k), std::forward<M>(obj));
8888
```
89-
* try_emplace_hint[link try_emplace.md]
89+
* try_emplace[link try_emplace.md]
9090
9191
9292
## 戻り値

0 commit comments

Comments
 (0)