Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Getting error when trying to use concurrent_hash_map in Visual Studio 12

Arvind_D_
Beginner
626 Views

Hi

I am trying to use concurrent hash map in a custom C++ project in Visual Studio 12.

I am using your code sample for a concurrent hash map that stores strings.

However this is the error I am getting-

Error:concurrent_hash_map is not a template.

How do I correct this error?

Thanks,

Arvind.

0 Kudos
3 Replies
Vladimir_P_1234567890
626 Views

haven't you decalred concurrent_hash_map before?

0 Kudos
Arvind_D_
Beginner
626 Views

Hi

I have declared it before, still its not working?

Yours sincerely,

Arvind.

0 Kudos
Arvind_D_
Beginner
626 Views

Hi

Yes I have declared concurrent hash map before

Yours sincerely,

Arvind.

0 Kudos
Reply