#unordered_map — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #unordered_map, aggregated by home.social.
-
А давайте переложим данные из unordered_map в unordered_map
Посмотрим, что случается с порядком элементов на выходе такой вот функции template<class T> T RefillSimple(const T& x) { T res; for(auto& p : x) { res[p.first] = p.second; } return res; }
-
If you are curious, I have learnt it by reading the latest Raymond Chen's blog entries from August talking about STL implementations. These posts are a pretty interesting read:
* #pair #compressed_pair: https://devblogs.microsoft.com/oldnewthing/20230801-00/?p=108509
* #vector https://devblogs.microsoft.com/oldnewthing/20230802-00/?p=108524
* #string https://devblogs.microsoft.com/oldnewthing/20230803-00/?p=108532
* #list https://devblogs.microsoft.com/oldnewthing/20230804-00/?p=108547
* #map https://devblogs.microsoft.com/oldnewthing/20230807-00/?p=108562
* #unordered_map https://devblogs.microsoft.com/oldnewthing/20230808-00/?p=108572
* #deque https://devblogs.microsoft.com/oldnewthing/20230809-00/?p=108577 -
If you are curious, I have learnt it by reading the latest Raymond Chen's blog entries from August talking about STL implementations. These posts are a pretty interesting read:
* #pair #compressed_pair: https://devblogs.microsoft.com/oldnewthing/20230801-00/?p=108509
* #vector https://devblogs.microsoft.com/oldnewthing/20230802-00/?p=108524
* #string https://devblogs.microsoft.com/oldnewthing/20230803-00/?p=108532
* #list https://devblogs.microsoft.com/oldnewthing/20230804-00/?p=108547
* #map https://devblogs.microsoft.com/oldnewthing/20230807-00/?p=108562
* #unordered_map https://devblogs.microsoft.com/oldnewthing/20230808-00/?p=108572
* #deque https://devblogs.microsoft.com/oldnewthing/20230809-00/?p=108577