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

Movable item support for concurrent_vector

orhun
Beginner
421 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-Kukanov
Employee
421 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 :)

0 Kudos
Reply