I'm using ITBB 4.1 and I have this problem that concurrent_unordered_map can't compile without the index type being default constructible.
However this don't follow C++ containers requirements (in C++11 at least).
Most of the time this wouldn't be a big problem, but it prenvents me to do this for example:
tbb::concurrent_unordered_map< std::type_index, MyFunctor > m_translation_table;
I think I'll use a type_info pointer instead but this is not supposed to be portable AFAIK.
So, are there plans to fix this? Or does the concurrency feature prevent accepting non-default-constructible indice?