Changeset 875788a8 in mainline
- Timestamp:
- 2018-07-05T21:41:21Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82d256e
- Parents:
- 7a666789
- git-author:
- Dzejrou <dzejrou@…> (2018-04-24 16:32:18)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:21)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/internal/hash_table.hpp
r7a666789 r875788a8 57 57 return p.first; 58 58 } 59 60 const Key& operator()(pair<const Key, Value>& p) const noexcept 61 { 62 return p.first; 63 } 59 64 }; 60 65 … … 63 68 { 64 69 Key& operator()(Key& k) const noexcept 70 { 71 return k; 72 } 73 74 const Key& operator()(const Key& k) const noexcept 65 75 { 66 76 return k; … … 1078 1088 } 1079 1089 1090 const key_type& get_key(const value_type& val) 1091 { 1092 return key_extractor_(val); 1093 } 1094 1080 1095 /* private: */ 1081 1096 hash_table_bucket<value_type, size_type>* table_;
Note:
See TracChangeset
for help on using the changeset viewer.