Changeset 2cb7f53 in mainline
- Timestamp:
- 2018-07-05T21:41:22Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f080f2a
- Parents:
- 8830faa
- git-author:
- Dzejrou <dzejrou@…> (2018-04-29 20:21:43)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:22)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/unordered_set.hpp
r8830faa r2cb7f53 450 450 451 451 template<class K, class H, class P, class A> 452 friend bool operator==( unordered_set<K, H, P, A>&,453 unordered_set<K, H, P, A>&);452 friend bool operator==(const unordered_set<K, H, P, A>&, 453 const unordered_set<K, H, P, A>&); 454 454 }; 455 455 … … 866 866 867 867 template<class K, class H, class P, class A> 868 friend bool operator==( unordered_multiset<K, H, P, A>&,869 unordered_multiset<K, H, P, A>&);868 friend bool operator==(const unordered_multiset<K, H, P, A>&, 869 const unordered_multiset<K, H, P, A>&); 870 870 }; 871 871 … … 887 887 888 888 template<class Key, class Hash, class Pred, class Alloc> 889 bool operator==( unordered_set<Key, Hash, Pred, Alloc>& lhs,890 unordered_set<Key, Hash, Pred, Alloc>& rhs)889 bool operator==(const unordered_set<Key, Hash, Pred, Alloc>& lhs, 890 const unordered_set<Key, Hash, Pred, Alloc>& rhs) 891 891 { 892 892 return lhs.table_.is_eq_to(rhs.table_); … … 894 894 895 895 template<class Key, class Hash, class Pred, class Alloc> 896 bool operator!=( unordered_set<Key, Hash, Pred, Alloc>& lhs,897 unordered_set<Key, Hash, Pred, Alloc>& rhs)896 bool operator!=(const unordered_set<Key, Hash, Pred, Alloc>& lhs, 897 const unordered_set<Key, Hash, Pred, Alloc>& rhs) 898 898 { 899 899 return !(lhs == rhs); … … 901 901 902 902 template<class Key, class Hash, class Pred, class Alloc> 903 bool operator==( unordered_multiset<Key, Hash, Pred, Alloc>& lhs,904 unordered_multiset<Key, Hash, Pred, Alloc>& rhs)903 bool operator==(const unordered_multiset<Key, Hash, Pred, Alloc>& lhs, 904 const unordered_multiset<Key, Hash, Pred, Alloc>& rhs) 905 905 { 906 906 return lhs.table_.is_eq_to(rhs.table_); … … 908 908 909 909 template<class Key, class Value, class Hash, class Pred, class Alloc> 910 bool operator!=( unordered_multiset<Key, Hash, Pred, Alloc>& lhs,911 unordered_multiset<Key, Hash, Pred, Alloc>& rhs)910 bool operator!=(const unordered_multiset<Key, Hash, Pred, Alloc>& lhs, 911 const unordered_multiset<Key, Hash, Pred, Alloc>& rhs) 912 912 { 913 913 return !(lhs == rhs);
Note:
See TracChangeset
for help on using the changeset viewer.