forked from boostorg/unordered
made operator[==|!=] non-templated
This commit is contained in:
1 parent
511e2b3272
commit
dacc1c8234
5 files changed
+10
-30
No files matched your search
@@ -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