I'm testing HashCompare with a constructor on concurrent_hash_map. The original code on the document page(https://software.intel.com/en-us/node/506078) didn't compile. The error is
Thank you for reporting the problem. It appears that you have discovered a discrepancy between the documentation and implementation that exists in TBB for years. We will address it; for now, consider that code sample invalid.