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

Movable item support for concurrent_vector

orhun
Beginner
110 Views
Hi all,
Are there any plans to support movable types in TBB containers?
I need specifially "tbb::concurrent_vector::push_back(T&& item)".
Thanks.
0 Kudos
1 Reply
Alexey_K_Intel3
Employee
110 Views

No specific plans yet, but certainly there is an intent to support C++11 new features, move semantics being one of the first. Most likely we will add it incrementally to different parts of TBB. If you need the vector to support it sooner, consider prototyping and contributing code to us :)

Reply