std::unordered_set<Key,Hash,KeyEqual,Allocator>::count
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
size_type count( const Key& key ) const; |
||
キー
key
持つ要素の数を返します。.Original:
Returns the number of elements with key
key
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
パラメータ
key | - | カウントする要素のキー値
Original: key value of the elements to count The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
値を返します
キー
key
持つ要素の数Original:
Number of elements with key
key
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
複雑
Amortized constant on average, worst case linear in the size of the container.
も参照してください
指定されたキーを持つ要素を探します (パブリックメンバ関数) | |
指定されたキーに一致する要素の範囲を返します (パブリックメンバ関数) |