File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ void clear() noexcept;
5050- ` clear() ` がバケット数([ ` bucket_count ` ] ( bucket_count.md ) ` () ` )を縮小することを規格は要求していない。
5151実装によっては ` clear() ` 後もバケット配列が維持され、動的メモリが残る場合がある。
5252- バケット数を初期状態まで縮小させたいときには ` clear() ` の代わりに以下のように操作する
53- ``` cpp
54- um = std::unordered_map<std::string, int >();
55- ```
53+ ``` cpp
54+ um = std::unordered_map<std::string, int >();
55+ ```
5656
5757
5858## 例
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ void clear() noexcept;
5050- ` clear() ` がバケット数([ ` bucket_count ` ] ( bucket_count.md ) ` () ` )を縮小することを規格は要求していない。
5151実装によっては ` clear() ` 後もバケット配列が維持され、動的メモリが残る場合がある。
5252- バケット数を初期状態まで縮小させたいときには ` clear() ` の代わりに以下のように操作する
53- ``` cpp
54- um = std::unordered_multimap<std::string, int >();
55- ```
53+ ``` cpp
54+ um = std::unordered_multimap<std::string, int >();
55+ ```
5656
5757
5858## 例
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ void clear() noexcept;
5050- ` clear() ` がバケット数([ ` bucket_count ` ] ( bucket_count.md ) ` () ` )を縮小することを規格は要求していない。
5151実装によっては ` clear() ` 後もバケット配列が維持され、動的メモリが残る場合がある。
5252- バケット数を初期状態まで縮小させたいときには ` clear() ` の代わりに以下のように操作する
53- ``` cpp
54- ums = std::unordered_multiset<int >();
55- ```
53+ ``` cpp
54+ ums = std::unordered_multiset<int >();
55+ ```
5656
5757
5858## 例
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ void clear() noexcept;
5050- ` clear() ` がバケット数([ ` bucket_count ` ] ( bucket_count.md ) ` () ` )を縮小することを規格は要求していない。
5151実装によっては ` clear() ` 後もバケット配列が維持され、動的メモリが残る場合がある。
5252- バケット数を初期状態まで縮小させたいときには ` clear() ` の代わりに以下のように操作する
53- ``` cpp
54- us = std::unordered_set<int >();
55- ```
53+ ``` cpp
54+ us = std::unordered_set<int >();
55+ ```
5656
5757
5858## 例
You can’t perform that action at this time.
0 commit comments