「cpp/container/multiset」の版間の差分
提供: cppreference.com
細 r2.7.3) (ロボットによる 追加: de, en, fr, it, pt, zh 除去: ja |
細 Use {{lc}}. Update links. Various fixes. |
||
| 17行目: | 17行目: | ||
===メンバータイプ=== | ===メンバータイプ=== | ||
{{ | {{begin}} | ||
{{ | {{hitem |{{tr| メンバー·タイプ | Member type }}| Definition}} | ||
{{ | {{| cpp/container/key_type | multiset}} | ||
{{ | {{| cpp/container/value_type | multiset}} | ||
{{ | {{| cpp/container/size_type | multiset}} | ||
{{ | {{| cpp/container/difference_type | multiset}} | ||
{{ | {{| cpp/container/key_compare | multiset}} | ||
{{ | {{| cpp/container/value_compare2 | multiset}} | ||
{{ | {{| cpp/container/allocator_type | multiset}} | ||
{{ | {{| cpp/container/reference | multiset}} | ||
{{ | {{| cpp/container/const_reference | multiset}} | ||
{{ | {{| cpp/container/pointer | multiset}} | ||
{{ | {{| cpp/container/const_pointer | multiset}} | ||
{{ | {{| cpp/container/iterator | multiset}} | ||
{{ | {{| cpp/container/const_iterator | multiset}} | ||
{{ | {{| cpp/container/reverse_iterator | multiset}} | ||
{{ | {{| cpp/container/const_reverse_iterator | multiset}} | ||
{{ | {{end}} | ||
===メンバ関数=== | ===メンバ関数=== | ||
{{ | {{begin}} | ||
{{ | {{| cpp/container/constructor | multiset}} | ||
{{ | {{| cpp/container/destructor | multiset}} | ||
{{ | {{| cpp/container/operator{{=}} | multiset}} | ||
{{ | {{| cpp/container/get_allocator | multiset}} | ||
{{ | {{h2 |{{tr| イテレータ| Iterators}}}} | ||
{{ | {{| cpp/container/begin | multiset}} | ||
{{ | {{| cpp/container/end | multiset}} | ||
{{ | {{| cpp/container/rbegin | multiset}} | ||
{{ | {{| cpp/container/rend | multiset}} | ||
{{ | {{h2 |{{tr| 容量| Capacity}}}} | ||
{{ | {{| cpp/container/empty | multiset}} | ||
{{ | {{| cpp/container/size | multiset}} | ||
{{ | {{| cpp/container/max_size | multiset}} | ||
{{ | {{h2 |{{tr| 修飾子| Modifiers}}}} | ||
{{ | {{| cpp/container/clear | multiset}} | ||
{{ | {{| cpp/container/insert | multiset}} | ||
{{ | {{| cpp/container/emplace | multiset}} | ||
{{ | {{| cpp/container/emplace_hint | multiset}} | ||
{{ | {{| cpp/container/erase | multiset}} | ||
{{ | {{| cpp/container/swap | multiset}} | ||
{{ | {{h2 |{{tr| ルック| Lookup}}}} | ||
{{ | {{| cpp/container/count | multiset}} | ||
{{ | {{| cpp/container/find | multiset}} | ||
{{ | {{| cpp/container/equal_range | multiset}} | ||
{{ | {{| cpp/container/lower_bound | multiset}} | ||
{{ | {{| cpp/container/upper_bound | multiset}} | ||
{{ | {{h2 |{{tr| オブザーバー| Observers}}}} | ||
{{ | {{| cpp/container/key_comp | multiset}} | ||
{{ | {{| cpp/container/value_comp | multiset}} | ||
{{ | {{end}} | ||
===非メンバ関数=== | ===非メンバ関数=== | ||
{{ | {{begin}} | ||
{{ | {{| cpp/container/operator_cmp | multiset}} | ||
{{ | {{| cpp/container/swap2 | multiset}} | ||
{{ | {{end}} | ||
[[de:cpp/container/multiset]] | [[de:cpp/container/multiset]] | ||
2013年7月2日 (火) 19:37時点における版
|
|
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
<metanoindex/>
<tbody> </tbody>| ヘッダ <set> で定義
|
||
template< class Key, class Compare = std::less<Key>, class Allocator = std::allocator<Key> > class multiset; |
||
MultiSetは、Key型のオブジェクトのソートセットを含む連想コンテナです。セットとは異なり、同じ値を持つ複数のキーは許可されています。ソートはキーの比較関数比較を使用して行われます。検索、挿入、および削除の操作は、対数の複雑さを持っている.
Original:
Multiset is an associative container that contains a sorted set of objects of type Key. Unlike set, multiple keys with equal values are allowed. Sorting is done using the key comparison function Compare. Search, insertion, and removal operations have logarithmic complexity.
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.
同等のものを比較する要素の順序は、挿入の順序で変化しない。 (C++11以上)
Original:
The order of the elements that compare equivalent is the order of insertion and does not change. (C++11以上)
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.
std::multisetContainerの要件を満たし、AllocatorAwareContainer、AssociativeContainerとReversibleContainer.Original:
std::multiset meets the requirements of Container, AllocatorAwareContainer, AssociativeContainer and ReversibleContainer.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.
メンバータイプ
メンバー·タイプ
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition | ||||
key_type
|
Key
| ||||
value_type
|
Key
| ||||
size_type
|
符号なし整数型 (通常 std::size_t) | ||||
difference_type
|
符号付き整数型 (通常 std::ptrdiff_t) | ||||
key_compare
|
Compare
| ||||
value_compare
|
Compare
| ||||
allocator_type
|
Allocator
| ||||
reference
|
| ||||
const_reference
|
| ||||
pointer
|
| ||||
const_pointer
|
| ||||
iterator
|
const LegacyBidirectionalIterator | ||||
const_iterator
|
const LegacyBidirectionalIterator | ||||
reverse_iterator
|
std::reverse_iterator<iterator>
| ||||
const_reverse_iterator
|
std::reverse_iterator<const_iterator>
|
メンバ関数
multiset を構築します (パブリックメンバ関数) | |
multiset を破棄します (パブリックメンバ関数) | |
| コンテナに値を代入します (パブリックメンバ関数) | |
| 関連付けられているアロケータを返します (パブリックメンバ関数) | |
Original: Iterators The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| 先頭を指すイテレータを返します (パブリックメンバ関数) | |
| 終端を指すイテレータを返します (パブリックメンバ関数) | |
| 先頭を指す逆イテレータを返します (パブリックメンバ関数) | |
| 終端を指す逆イテレータを返します (パブリックメンバ関数) | |
Original: Capacity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| コンテナが空かどうか調べます (パブリックメンバ関数) | |
| 要素数を返します (パブリックメンバ関数) | |
| 可能な最大の要素数を返します (パブリックメンバ関数) | |
Original: Modifiers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| すべての要素を削除します (パブリックメンバ関数) | |
| 要素またはノード (C++17以上)を挿入します (パブリックメンバ関数) | |
(C++11) |
要素をその場で構築します (パブリックメンバ関数) |
(C++11) |
ヒントを使用して要素をその場で構築します (パブリックメンバ関数) |
| 要素を削除します (パブリックメンバ関数) | |
(C++11) |
内容を入れ替えます (パブリックメンバ関数) |
Original: Lookup The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| 指定されたキーと一致する要素の数を返します (パブリックメンバ関数) | |
| 指定されたキーを持つ要素を探します (パブリックメンバ関数) | |
| 指定されたキーに一致する要素の範囲を返します (パブリックメンバ関数) | |
| 指定されたキーより小さくない最初の要素を指すイテレータを返します (パブリックメンバ関数) | |
| 指定されたキーより大きい最初の要素を指すイテレータを返します (パブリックメンバ関数) | |
Original: Observers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| キーを比較する関数を返します (パブリックメンバ関数) | |
| value_type 型のオブジェクト内のキーを比較する関数を返します (パブリックメンバ関数) | |
非メンバ関数
(C++20で削除)(C++20で削除)(C++20で削除)(C++20で削除)(C++20で削除)(C++20) |
multiset 内の値を辞書的に比較します (関数テンプレート) |
| std::swap アルゴリズムの特殊化 (関数テンプレート) |