hashmap_test.cpp 223 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#include <tbb/concurrent_hash_map.h>
#include <iostream>

int main() {
  tbb::concurrent_hash_map<int, int> map;
  map.insert({1, 2});
  decltype(map)::accessor a;
  std::cout << map.find(a, 1) << std::endl;

  return 0;
}