mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
made operator[==|!=] non-templated
This commit is contained in:
@ -770,18 +770,14 @@ namespace boost {
|
||||
/// Equality
|
||||
///
|
||||
|
||||
template <class Key, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator==(
|
||||
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& lhs,
|
||||
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& rhs)
|
||||
concurrent_flat_map const& lhs, concurrent_flat_map const& rhs)
|
||||
{
|
||||
return lhs.table_ == rhs.table_;
|
||||
}
|
||||
|
||||
template <class Key, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator!=(
|
||||
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& lhs,
|
||||
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& rhs)
|
||||
concurrent_flat_map const& lhs, concurrent_flat_map const& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
@ -699,18 +699,14 @@ namespace boost {
|
||||
/// Equality
|
||||
///
|
||||
|
||||
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator==(
|
||||
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_flat_map const& lhs, unordered_flat_map const& rhs)
|
||||
{
|
||||
return lhs.table_ == rhs.table_;
|
||||
}
|
||||
|
||||
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator!=(
|
||||
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_flat_map const& lhs, unordered_flat_map const& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
@ -496,18 +496,14 @@ namespace boost {
|
||||
/// Equality
|
||||
///
|
||||
|
||||
template <class Key, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator==(
|
||||
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_flat_set const& lhs, unordered_flat_set const& rhs)
|
||||
{
|
||||
return lhs.table_ == rhs.table_;
|
||||
}
|
||||
|
||||
template <class Key, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator!=(
|
||||
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_flat_set const& lhs, unordered_flat_set const& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
@ -851,18 +851,14 @@ namespace boost {
|
||||
/// Equality
|
||||
///
|
||||
|
||||
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator==(
|
||||
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_node_map const& lhs, unordered_node_map const& rhs)
|
||||
{
|
||||
return lhs.table_ == rhs.table_;
|
||||
}
|
||||
|
||||
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator!=(
|
||||
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_node_map const& lhs, unordered_node_map const& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
@ -635,18 +635,14 @@ namespace boost {
|
||||
/// Equality
|
||||
///
|
||||
|
||||
template <class Key, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator==(
|
||||
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_node_set const& lhs, unordered_node_set const& rhs)
|
||||
{
|
||||
return lhs.table_ == rhs.table_;
|
||||
}
|
||||
|
||||
template <class Key, class Hash, class KeyEqual, class Allocator>
|
||||
friend bool operator!=(
|
||||
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& lhs,
|
||||
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& rhs)
|
||||
unordered_node_set const& lhs, unordered_node_set const& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
Reference in New Issue
Block a user