Skip to content

Commit 4164601

Browse files
committed
コード例を修正
1 parent 8960e70 commit 4164601

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

reference/unordered_map/unordered_map/key_eq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ int main()
5050
decltype(um)::key_equal eq{ um.key_eq() };
5151

5252
std::cout << "eq(\"1st\", \"2nd\") = " << eq("1st", "2nd") << std::endl;
53-
std::cout << "eq(\"1st\", \"2nd\") = " << eq("1st", "1st") << std::endl;
53+
std::cout << "eq(\"1st\", \"1st\") = " << eq("1st", "1st") << std::endl;
5454
}
5555
```
5656
* key_eq()[color ff0000]
5757

5858
### 出力
5959
```
6060
eq("1st", "2nd") = false
61-
eq("1st", "2nd") = true
61+
eq("1st", "1st") = true
6262
```
6363

6464
## バージョン

reference/unordered_map/unordered_multimap/key_eq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ int main()
5050
decltype(um)::key_equal eq{ um.key_eq() };
5151

5252
std::cout << "eq(\"1st\", \"2nd\") = " << eq("1st", "2nd") << std::endl;
53-
std::cout << "eq(\"1st\", \"2nd\") = " << eq("1st", "1st") << std::endl;
53+
std::cout << "eq(\"1st\", \"1st\") = " << eq("1st", "1st") << std::endl;
5454
}
5555
```
5656
* key_eq()[color ff0000]
5757

5858
### 出力
5959
```
6060
eq("1st", "2nd") = false
61-
eq("1st", "2nd") = true
61+
eq("1st", "1st") = true
6262
```
6363

6464
## バージョン

0 commit comments

Comments
 (0)