Skip to content

Commit

Permalink
unordered_map::insert_or_assign() : 微修正
Browse files Browse the repository at this point in the history
  • Loading branch information
onihusube committed Mar 23, 2023
1 parent e4a8ac3 commit fd8b500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/unordered_map/unordered_map/insert_or_assign.md
Expand Up @@ -21,7 +21,7 @@ iterator insert_or_assign(const_iterator hint, key_type&& k, M&& obj);
* pair[link /reference/utility/pair.md]
## 概要
引数 `k` で指定されたキーが存在しなければ対応する値を引数 `obj` の値として要素を挿入し(`insert`)、さもなければ(`or`)、そのキーに対応する値に引数 `obj` を代入する(`assign`)。
引数 `k` で指定されたキーが存在しなければ対応する値を引数 `obj` のキーとして要素を挿入し(`insert`)、さもなければ(`or`)、そのキーに対応する値に引数 `obj` を代入する(`assign`)。
引数 `hint` は、`k` を検索する際のヒントに使用される。(が、実際に使用されることはないものと思われる。[`emplace_hint`](emplace_hint.md) の備考を参照)
Expand Down

0 comments on commit fd8b500

Please sign in to comment.