名前空間
変種

「cpp/container/multiset」の版間の差分

提供: cppreference.com
r2.7.3) (ロボットによる 追加: de, en, fr, it, pt, zh 除去: ja
Use {{lc}}. Update links. Various fixes.
17行目: 17行目:


===メンバータイプ===
===メンバータイプ===
{{dcl list begin}}
{{begin}}
{{dcl list hitem |{{tr| メンバー·タイプ | Member type }}| Definition}}
{{hitem |{{tr| メンバー·タイプ | Member type }}| Definition}}
{{dcl list template | cpp/container/dcl list key_type | multiset}}
{{| cpp/container/key_type | multiset}}
{{dcl list template | cpp/container/dcl list value_type | multiset}}
{{| cpp/container/value_type | multiset}}
{{dcl list template | cpp/container/dcl list size_type | multiset}}
{{| cpp/container/size_type | multiset}}
{{dcl list template | cpp/container/dcl list difference_type | multiset}}
{{| cpp/container/difference_type | multiset}}
{{dcl list template | cpp/container/dcl list key_compare | multiset}}
{{| cpp/container/key_compare | multiset}}
{{dcl list template | cpp/container/dcl list value_compare2 | multiset}}
{{| cpp/container/value_compare2 | multiset}}
{{dcl list template | cpp/container/dcl list allocator_type | multiset}}
{{| cpp/container/allocator_type | multiset}}
{{dcl list template | cpp/container/dcl list reference | multiset}}
{{| cpp/container/reference | multiset}}
{{dcl list template | cpp/container/dcl list const_reference | multiset}}
{{| cpp/container/const_reference | multiset}}
{{dcl list template | cpp/container/dcl list pointer | multiset}}
{{| cpp/container/pointer | multiset}}
{{dcl list template | cpp/container/dcl list const_pointer | multiset}}
{{| cpp/container/const_pointer | multiset}}
{{dcl list template | cpp/container/dcl list iterator | multiset}}
{{| cpp/container/iterator | multiset}}
{{dcl list template | cpp/container/dcl list const_iterator | multiset}}
{{| cpp/container/const_iterator | multiset}}
{{dcl list template | cpp/container/dcl list reverse_iterator | multiset}}
{{| cpp/container/reverse_iterator | multiset}}
{{dcl list template | cpp/container/dcl list const_reverse_iterator | multiset}}
{{| cpp/container/const_reverse_iterator | multiset}}
{{dcl list end}}
{{end}}






===メンバ関数===
===メンバ関数===
{{dcl list begin}}
{{begin}}
{{dcl list template | cpp/container/dcl list constructor | multiset}}
{{| cpp/container/constructor | multiset}}
{{dcl list template | cpp/container/dcl list destructor | multiset}}
{{| cpp/container/destructor | multiset}}
{{dcl list template | cpp/container/dcl list operator{{=}} | multiset}}
{{| cpp/container/operator{{=}} | multiset}}
{{dcl list template | cpp/container/dcl list get_allocator | multiset}}
{{| cpp/container/get_allocator | multiset}}


{{dcl list h2 |{{tr| イテレータ| Iterators}}}}
{{h2 |{{tr| イテレータ| Iterators}}}}
{{dcl list template | cpp/container/dcl list begin | multiset}}
{{| cpp/container/begin | multiset}}
{{dcl list template | cpp/container/dcl list end | multiset}}
{{| cpp/container/end | multiset}}
{{dcl list template | cpp/container/dcl list rbegin | multiset}}
{{| cpp/container/rbegin | multiset}}
{{dcl list template | cpp/container/dcl list rend | multiset}}
{{| cpp/container/rend | multiset}}


{{dcl list h2 |{{tr| 容量| Capacity}}}}
{{h2 |{{tr| 容量| Capacity}}}}
{{dcl list template | cpp/container/dcl list empty | multiset}}
{{| cpp/container/empty | multiset}}
{{dcl list template | cpp/container/dcl list size | multiset}}
{{| cpp/container/size | multiset}}
{{dcl list template | cpp/container/dcl list max_size | multiset}}
{{| cpp/container/max_size | multiset}}


{{dcl list h2 |{{tr| 修飾子| Modifiers}}}}
{{h2 |{{tr| 修飾子| Modifiers}}}}
{{dcl list template | cpp/container/dcl list clear | multiset}}
{{| cpp/container/clear | multiset}}
{{dcl list template | cpp/container/dcl list insert | multiset}}
{{| cpp/container/insert | multiset}}
{{dcl list template | cpp/container/dcl list emplace | multiset}}
{{| cpp/container/emplace | multiset}}
{{dcl list template | cpp/container/dcl list emplace_hint | multiset}}
{{| cpp/container/emplace_hint | multiset}}
{{dcl list template | cpp/container/dcl list erase | multiset}}
{{| cpp/container/erase | multiset}}
{{dcl list template | cpp/container/dcl list swap | multiset}}
{{| cpp/container/swap | multiset}}


{{dcl list h2 |{{tr| ルック| Lookup}}}}
{{h2 |{{tr| ルック| Lookup}}}}
{{dcl list template | cpp/container/dcl list count | multiset}}
{{| cpp/container/count | multiset}}
{{dcl list template | cpp/container/dcl list find | multiset}}
{{| cpp/container/find | multiset}}
{{dcl list template | cpp/container/dcl list equal_range | multiset}}
{{| cpp/container/equal_range | multiset}}
{{dcl list template | cpp/container/dcl list lower_bound | multiset}}
{{| cpp/container/lower_bound | multiset}}
{{dcl list template | cpp/container/dcl list upper_bound | multiset}}
{{| cpp/container/upper_bound | multiset}}


{{dcl list h2 |{{tr| オブザーバー| Observers}}}}
{{h2 |{{tr| オブザーバー| Observers}}}}
{{dcl list template | cpp/container/dcl list key_comp | multiset}}
{{| cpp/container/key_comp | multiset}}
{{dcl list template | cpp/container/dcl list value_comp | multiset}}
{{| cpp/container/value_comp | multiset}}
{{dcl list end}}
{{end}}


===非メンバ関数===
===非メンバ関数===
{{dcl list begin}}
{{begin}}
{{dcl list template | cpp/container/dcl list operator_cmp | multiset}}
{{| cpp/container/operator_cmp | multiset}}
{{dcl list template | cpp/container/dcl list swap2 | multiset}}
{{| cpp/container/swap2 | multiset}}
{{dcl list end}}
{{end}}


[[de:cpp/container/multiset]]
[[de:cpp/container/multiset]]

2013年7月2日 (火) 19:37時点における版

<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.
同等のものを比較する要素の順序は、挿入の順序で変化しない。 (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.
std::multisetContainerの要件を満たし、AllocatorAwareContainerAssociativeContainerReversibleContainer.
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.

メンバータイプ

メンバー·タイプ
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 [edit]
value_type Key [edit]
size_type 符号なし整数型 (通常 std::size_t) [edit]
difference_type 符号付き整数型 (通常 std::ptrdiff_t) [edit]
key_compare Compare [edit]
value_compare Compare [edit]
allocator_type Allocator [edit]
reference
Allocator::reference (C++11未満)
value_type& (C++11以上)
[edit]
const_reference
Allocator::const_reference (C++11未満)
const value_type& (C++11以上)
[edit]
pointer
Allocator::pointer (C++11未満)
std::allocator_traits<Allocator>::pointer (C++11以上)
[edit]
const_pointer
Allocator::const_pointer (C++11未満)
std::allocator_traits<Allocator>::const_pointer (C++11以上)
[edit]
iterator const LegacyBidirectionalIterator [edit]
const_iterator const LegacyBidirectionalIterator [edit]
reverse_iterator std::reverse_iterator<iterator> [edit]
const_reverse_iterator std::reverse_iterator<const_iterator> [edit]


メンバ関数

multiset を構築します
(パブリックメンバ関数) [edit]
multiset を破棄します
(パブリックメンバ関数) [edit]
コンテナに値を代入します
(パブリックメンバ関数) [edit]
関連付けられているアロケータを返します
(パブリックメンバ関数) [edit]
イテレータ
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
先頭を指すイテレータを返します
(パブリックメンバ関数) [edit]
終端を指すイテレータを返します
(パブリックメンバ関数) [edit]
先頭を指す逆イテレータを返します
(パブリックメンバ関数) [edit]
終端を指す逆イテレータを返します
(パブリックメンバ関数) [edit]
容量
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コンテナが空かどうか調べます
(パブリックメンバ関数) [edit]
要素数を返します
(パブリックメンバ関数) [edit]
可能な最大の要素数を返します
(パブリックメンバ関数) [edit]
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
すべての要素を削除します
(パブリックメンバ関数) [edit]
要素またはノード (C++17以上)を挿入します
(パブリックメンバ関数) [edit]
(C++11)
要素をその場で構築します
(パブリックメンバ関数) [edit]
ヒントを使用して要素をその場で構築します
(パブリックメンバ関数) [edit]
要素を削除します
(パブリックメンバ関数) [edit]
(C++11)
内容を入れ替えます
(パブリックメンバ関数) [edit]
ルック
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
指定されたキーと一致する要素の数を返します
(パブリックメンバ関数) [edit]
指定されたキーを持つ要素を探します
(パブリックメンバ関数) [edit]
指定されたキーに一致する要素の範囲を返します
(パブリックメンバ関数) [edit]
指定されたキーより小さくない最初の要素を指すイテレータを返します
(パブリックメンバ関数) [edit]
指定されたキーより大きい最初の要素を指すイテレータを返します
(パブリックメンバ関数) [edit]
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
キーを比較する関数を返します
(パブリックメンバ関数) [edit]
value_type 型のオブジェクト内のキーを比較する関数を返します
(パブリックメンバ関数) [edit]

非メンバ関数

(C++20で削除)(C++20で削除)(C++20で削除)(C++20で削除)(C++20で削除)(C++20)
multiset 内の値を辞書的に比較します
(関数テンプレート) [edit]
std::swap アルゴリズムの特殊化
(関数テンプレート) [edit]