Initial commit
This commit is contained in:
14
unordered_dense/all/test_package/test_package.cpp
Normal file
14
unordered_dense/all/test_package/test_package.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user