Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
2421 Discussions

Getting error when trying to use concurrent_hash_map in Visual Studio 12

Arvind_D_
Beginner
113 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_Intel2
113 Views

haven't you decalred concurrent_hash_map before?

Arvind_D_
Beginner
113 Views

Hi

I have declared it before, still its not working?

Yours sincerely,

Arvind.

Arvind_D_
Beginner
113 Views

Hi

Yes I have declared concurrent hash map before

Yours sincerely,

Arvind.

Reply