Skip to content

Commit 8378911

Browse files
committed
unordered_map::bucket : オーバーロードの概要を記載 #1189
1 parent 567ae39 commit 8378911

File tree

1 file changed

+3
-0
lines changed
  • reference/unordered_map/unordered_map

1 file changed

+3
-0
lines changed

reference/unordered_map/unordered_map/bucket.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ size_type bucket(const K& k) const; // (2) C++26
1515
## 概要
1616
指定したキーと等価な要素が格納されている場合、そのバケットのインデックス(添え字)を取得する。
1717
18+
- (1) : `key_type`型のキーを受け取って、バケットのインデックスを取得する
19+
- (2) : `key_type`と比較可能なキーを受け取って、バケットのインデックスを取得する
20+
1821
1922
## テンプレートパラメータ制約
2023
- (2) : `key_compare::is_transparent` が妥当な式であること

0 commit comments

Comments
 (0)