Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhu__Jing
Beginner
29 Views

Instance HashCompare doesn't compile

Hi,

  I'm testing HashCompare with a constructor. The example(https://gist.github.com/arewedancer/a6ac95ddd800b4da27a943a406bf8226) ; is the original code on the tbb document page(https://software.intel.com/en-us/node/506078) ; and I got the compilation error:

tbb_example.cc:31:64: error: no matching function for call to ‘tbb::interface5::concurrent_hash_map<std::basic_string<char>, int, VariantHashCompare>::concurrent_hash_map(VariantHashCompare)’
 VariantStringTable CaseSensitiveTable(VariantHashCompare(false));
                                                                ^   
                     
Please help, Thanks! 
 
Jing
 
                                       ^
0 Kudos
0 Replies
Reply