名前空間
変種
操作

「cpp/container/unordered set/count」の版間の差分

提供: cppreference.com
(Translated from the English version using Google Translate)
 
(1版:Translate from the English version)

2012年10月30日 (火) 16:04時点における版

 
 
 
 
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.

目次

パラメータ

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.

複雑

Amortized constant on average, worst case linear in the size of the container.

も参照してください

指定されたキーを持つ要素を探します
(パブリックメンバ関数) [edit]
指定されたキーに一致する要素の範囲を返します
(パブリックメンバ関数) [edit]