A concurrent hash map in C++20 using std::async, constexpr and concepts.
Based on Java's ConcurrentHashMap
.
Requires g++10
for building. If you would like to test, you also require catch2
.
Build tests using make test
, or an example app use make main
Run the simple tests using ./test
after building.
This is a single header include. Include chashmap.h
to gain access to the library, make sure you compile with -lpthread
or your compiler's equivalent.