made operator[==|!=] non-templated

This commit is contained in:
joaquintides
2023-05-12 11:41:50 +02:00
parent 511e2b3272
commit dacc1c8234
5 changed files with 10 additions and 30 deletions

View File

@ -770,18 +770,14 @@ namespace boost {
/// Equality /// Equality
/// ///
template <class Key, class Hash, class KeyEqual, class Allocator>
friend bool operator==( friend bool operator==(
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& lhs, concurrent_flat_map const& lhs, concurrent_flat_map const& rhs)
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& rhs)
{ {
return lhs.table_ == rhs.table_; return lhs.table_ == rhs.table_;
} }
template <class Key, class Hash, class KeyEqual, class Allocator>
friend bool operator!=( friend bool operator!=(
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& lhs, concurrent_flat_map const& lhs, concurrent_flat_map const& rhs)
concurrent_flat_map<Key, Hash, KeyEqual, Allocator> const& rhs)
{ {
return !(lhs == rhs); return !(lhs == rhs);
} }

View File

@ -699,18 +699,14 @@ namespace boost {
/// Equality /// Equality
/// ///
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
friend bool operator==( friend bool operator==(
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& lhs, unordered_flat_map const& lhs, unordered_flat_map const& rhs)
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
{ {
return lhs.table_ == rhs.table_; return lhs.table_ == rhs.table_;
} }
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
friend bool operator!=( friend bool operator!=(
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& lhs, unordered_flat_map const& lhs, unordered_flat_map const& rhs)
unordered_flat_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
{ {
return !(lhs == rhs); return !(lhs == rhs);
} }

View File

@ -496,18 +496,14 @@ namespace boost {
/// Equality /// Equality
/// ///
template <class Key, class Hash, class KeyEqual, class Allocator>
friend bool operator==( friend bool operator==(
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& lhs, unordered_flat_set const& lhs, unordered_flat_set const& rhs)
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& rhs)
{ {
return lhs.table_ == rhs.table_; return lhs.table_ == rhs.table_;
} }
template <class Key, class Hash, class KeyEqual, class Allocator>
friend bool operator!=( friend bool operator!=(
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& lhs, unordered_flat_set const& lhs, unordered_flat_set const& rhs)
unordered_flat_set<Key, Hash, KeyEqual, Allocator> const& rhs)
{ {
return !(lhs == rhs); return !(lhs == rhs);
} }

View File

@ -851,18 +851,14 @@ namespace boost {
/// Equality /// Equality
/// ///
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
friend bool operator==( friend bool operator==(
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& lhs, unordered_node_map const& lhs, unordered_node_map const& rhs)
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
{ {
return lhs.table_ == rhs.table_; return lhs.table_ == rhs.table_;
} }
template <class Key, class T, class Hash, class KeyEqual, class Allocator>
friend bool operator!=( friend bool operator!=(
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& lhs, unordered_node_map const& lhs, unordered_node_map const& rhs)
unordered_node_map<Key, T, Hash, KeyEqual, Allocator> const& rhs)
{ {
return !(lhs == rhs); return !(lhs == rhs);
} }

View File

@ -635,18 +635,14 @@ namespace boost {
/// Equality /// Equality
/// ///
template <class Key, class Hash, class KeyEqual, class Allocator>
friend bool operator==( friend bool operator==(
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& lhs, unordered_node_set const& lhs, unordered_node_set const& rhs)
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& rhs)
{ {
return lhs.table_ == rhs.table_; return lhs.table_ == rhs.table_;
} }
template <class Key, class Hash, class KeyEqual, class Allocator>
friend bool operator!=( friend bool operator!=(
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& lhs, unordered_node_set const& lhs, unordered_node_set const& rhs)
unordered_node_set<Key, Hash, KeyEqual, Allocator> const& rhs)
{ {
return !(lhs == rhs); return !(lhs == rhs);
} }