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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user