mirror of
https://github.com/martinus/unordered_dense.git
synced 2026-01-18 17:21:27 +01:00
14 lines
299 B
C++
14 lines
299 B
C++
#include <ankerl/unordered_dense.h>
|
|
|
|
#include <iostream>
|
|
|
|
auto main() -> int {
|
|
auto map = ankerl::unordered_dense::map<int, std::string>();
|
|
map[123] = "hello";
|
|
map[987] = "world!";
|
|
|
|
for (auto const& [key, val] : map) {
|
|
std::cout << key << " => " << val << std::endl;
|
|
}
|
|
}
|