使用find或者count报错
error: invalid static_cast from type ‘const dev::FixedHash’ to type ‘std::size_t {aka long unsigned int}’
解决方案传递第三个参数,即hash函数,如下
tbb::concurrent_unordered_map m_vtxs;
concurrent_unordered_map 类 - 游戏蛮牛 - C++中文翻译用户手册
concurrent_unordered_map — oneAPI Specification 1.0-rev-3 documentation
如果要自定义比较函数,参考TBB之concurrent_hash_map_wenion的博客-CSDN博客