Changeset 46c7668 in mainline
- Timestamp:
- 2018-07-05T21:41:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 323ae805
- Parents:
- c7d7368
- git-author:
- Dzejrou <dzejrou@…> (2018-05-14 23:04:30)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/impl/unordered_map.hpp
rc7d7368 r46c7668 266 266 template<class T> 267 267 pair<iterator, bool> insert( 268 enable_if_t<is_constructible_v<value_type, T&&>, T&&> val) 268 T&& val, 269 enable_if_t<is_constructible_v<value_type, T&&>>* = nullptr 270 ) 269 271 { 270 272 return emplace(forward<T>(val)); … … 284 286 iterator insert( 285 287 const_iterator hint, 286 enable_if_t<is_constructible_v<value_type, T&&>, T&&> val 288 T&& val, 289 enable_if_t<is_constructible_v<value_type, T&&>>* = nullptr 287 290 ) 288 291 { … … 940 943 template<class T> 941 944 iterator insert( 942 enable_if_t<is_constructible_v<value_type, T&&>, T&&> val 945 T&& val, 946 enable_if_t<is_constructible_v<value_type, T&&>>* = nullptr 943 947 ) 944 948 { … … 959 963 iterator insert( 960 964 const_iterator hint, 961 enable_if_t<is_constructible_v<value_type, T&&>, T&&> val 965 T&& val, 966 enable_if_t<is_constructible_v<value_type, T&&>>* = nullptr 962 967 ) 963 968 { … … 1160 1165 unordered_map<Key, Value, Hash, Pred, Alloc>& rhs) 1161 1166 { 1167 // TODO: this does not compare values, use is_permutation when we have it 1162 1168 return lhs.table_.is_eq_to(rhs.table_); 1163 1169 }
Note:
See TracChangeset
for help on using the changeset viewer.