「cpp/container/multimap/equal range」の版間の差分
提供: cppreference.com
細 (r2.7.3) (ロボットによる 追加: en:cpp/container/multimap/equal range) |
TranslationBot (トーク | 投稿記録) (Translated from the English version using Google Translate) |
||
1行: | 1行: | ||
− | {{ | + | {{|equal_range}} |
− | + | ||
− | + | [[:cpp/container/multimap/equal range]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[ | + |
2012年10月26日 (金) 07:00時点における版
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
std::pair<iterator,iterator> equal_range( const Key& key ); |
||
std::pair<const_iterator,const_iterator> equal_range( const Key& key ) const; |
||
コンテナにキー
key
持つすべての要素を含む範囲を返します。 The range is defined by two iterators, one pointing to the first element that is not less than key
and another pointing to the first element greater than key
. The first iterator may be alternatively obtained with lower_bound()
, the second - with upper_bound()
.Original:
Returns a range containing all elements with key
key
in the container. The range is defined by two iterators, one pointing to the first element that is not less than key
and another pointing to the first element greater than key
. The first iterator may be alternatively obtained with lower_bound()
, the second - with upper_bound()
.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 to compare the elements to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
値を返します
std::pair containing a pair of iterators defining the wanted range: the first pointing to the first element that is not less than key
and the second pointing to the first element greater than key
.
If there are no elements not less than key
, past-the-end (see end()
) iterator is returned as the first element. Similarly if there are no elements greater than key
, past-the-end iterator is returned as the second element.
複雑
Logarithmic in the size of the container.
も参照してください
指定されたキーを持つ要素を探します (パブリックメンバ関数) | |
指定されたキーより大きい最初の要素を指すイテレータを返します (パブリックメンバ関数) | |
指定されたキーより小さくない最初の要素を指すイテレータを返します (パブリックメンバ関数) |