File tree Expand file tree Collapse file tree 12 files changed +18
-8
lines changed Expand file tree Collapse file tree 12 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const_iterator cbegin() const noexcept;
1818
1919## 戻り値
2020コンテナの先頭要素へのイテレータ。
21- ` const_iterator ` はメンバ型である。このクラステンプレートにおいて、これらはランダムアクセスイテレータである 。
21+ ` const_iterator ` はメンバ型である。このクラステンプレートにおいて、この型はランダムアクセスイテレータである 。
2222
2323
2424## 計算量
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const_iterator cend() const noexcept;
1515
1616## 戻り値
1717コンテナの末尾の次を参照するイテレータ。
18- ` const_iterator ` はいずれもメンバ型である 。このクラステンプレートにおいて、これらはランダムアクセスイテレータである 。
18+ ` const_iterator ` はメンバ型である 。このクラステンプレートにおいて、この型はランダムアクセスイテレータである 。
1919
2020
2121## 計算量
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ int main()
118118 }
119119}
120120```
121+ * erase[ color ff0000]
122+ * fm.begin()[ link begin.md]
123+ * fm.end()[ link end.md]
121124
122125#### 出力
123126```
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ int main()
6363 print("fm2", fm2);
6464}
6565```
66+ * swap[ color ff0000]
6667
6768### 出力
6869```
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const_iterator cbegin() const noexcept;
1818
1919## 戻り値
2020コンテナの先頭要素へのイテレータ。
21- ` const_iterator ` はメンバ型である。このクラステンプレートにおいて、これらはランダムアクセスイテレータである 。
21+ ` const_iterator ` はメンバ型である。このクラステンプレートにおいて、この型はランダムアクセスイテレータである 。
2222
2323
2424## 計算量
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const_iterator cend() const noexcept;
1515
1616## 戻り値
1717コンテナの末尾の次を参照するイテレータ。
18- ` const_iterator ` はいずれもメンバ型である 。このクラステンプレートにおいて、これらはランダムアクセスイテレータである 。
18+ ` const_iterator ` はメンバ型である 。このクラステンプレートにおいて、この型はランダムアクセスイテレータである 。
1919
2020
2121## 計算量
Original file line number Diff line number Diff line change @@ -118,6 +118,9 @@ int main()
118118 }
119119}
120120```
121+ * erase[ color ff0000]
122+ * fm.begin()[ link begin.md]
123+ * fm.end()[ link end.md]
121124
122125#### 出力
123126```
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ int main()
4747 // 事前条件の確認
4848 assert(keys.size() == values.size());
4949 assert(std::is_sorted(keys.begin(), keys.end()));
50- assert(std::adjacent_find(keys.begin(), keys.end()) == keys.end());
5150
5251 std::flat_multimap<std::string, int> fm;
5352
@@ -68,7 +67,6 @@ int main()
6867* replace[ color ff0000]
6968* fm.size()[ link size.md]
7069* std::is_sorted[ link /reference/algorithm/is_sorted.md]
71- * std::adjacent_find[ link /reference/algorithm/adjacent_find.md]
7270
7371### 出力
7472```
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ int main()
6363 print("fm2", fm2);
6464}
6565```
66+ * swap[ color ff0000]
6667
6768### 出力
6869```
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ int main()
4949
5050### 出力
5151```
52+ 3 : a
53+ 5 : d
54+ 15 : e
5255```
5356
5457## バージョン
You can’t perform that action at this time.
0 commit comments