Files
ConanPackages/unordered_dense/all/test_package/test_package.cpp
2026-01-23 22:15:36 +01:00

15 lines
384 B
C++

// sited from https://github.com/martinus/unordered_dense/blob/main/example/main.cpp
#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;
}
}