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
@@ -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);
}