名前空間
変種
操作

operator=,!=(std::unordered_set)

提供: cppreference.com

 
 
 
のstd :: unordered_set
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::unordered_set
unordered_set::~unordered_set
unordered_set::operator=
unordered_set::get_allocator
イテレータ
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::begin
unordered_set::cbegin
unordered_set::end
unordered_set::cend
容量
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::erase
unordered_set::size
unordered_set::max_size
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::clear
unordered_set::insert
unordered_set::emplace
unordered_set::emplace_hint
unordered_set::erase
unordered_set::swap
ルック
Original:
Lookup
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::count
unordered_set::find
unordered_set::equal_range
バケットインターフェイス
Original:
Bucket interface
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::begin2
unordered_set::end2
unordered_set::bucket_count
unordered_set::max_bucket_count
unordered_set::bucket_size
unordered_set::bucket
ハッシュポリシー
Original:
Hash policy
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::load_factor
unordered_set::max_load_factor
unordered_set::rehash
unordered_set::reserve
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unordered_set::hash_function
unordered_set::key_eq
 
template< class Key, class Hash, class KeyEqual, class Allocator >

void operator=( unordered_set<Key,Hash,KeyEqual,Allocator> &lhs,

                unordered_set<Key,Hash,KeyEqual,Allocator> &rhs);
(1)
template< class Key, class Hash, class KeyEqual, class Allocator >

void operator!=( unordered_set<Key,Hash,KeyEqual,Allocator> &lhs,

                 unordered_set<Key,Hash,KeyEqual,Allocator> &rhs);
(2)
2順不同コンテナの内容を比較.
Original:
Compares the contents of two unordered containers.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2の内容は、コンテナを順不同lhsrhs次の条件を満たす場合、等価です
Original:
The contents of two unordered containers lhs and rhs are equivalent if the following conditions hold:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • lhs.size() == rhs.size()
  • :等価鍵の各グループは[lhs_eq1, lhs_eq2)、次のプロパティがあり、他のコンテナ[rhs_eq1, rhs_eq2)、で同等のキーの対応するグループがあります
    Original:
    each group of equivalent keys [lhs_eq1, lhs_eq2) has a corresponding group of equivalent keys in the other container [rhs_eq1, rhs_eq2), that has the following properties:
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

lhs, rhs -
比較するためにコンテナを順不同
Original:
unordered containers to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

1)
trueコンテナの内容が同等であるかどうか、そうでなければfalse
Original:
true if the contents of the containers are equivalent, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
trueコンテナの内容が等しくない場合、falseそうでなければ
Original:
true if the contents of the containers are not equivalent, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 複雑

N comparisons of the keys in the average case, N2 in the worst case, where N is the size of the container.