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

TBB examples

andreib
Beginner
327 Views
Hi :)
There are some TBB examples that come with Intel Composer.
I found some statements I do not recognize in the examples, like this one (in /tbb/examples/task)
list.push_back( *new( allocate_child() ) SimpleSumTask(root->right,&y) );

It's not the classic way to use the new operator. What does it mean?
Thank you in advance,
andrei
0 Kudos
1 Reply
andreib
Beginner
327 Views
Sorry.
I found the answer here:
I didn't learn that at school as far as I remember :)
0 Kudos
Reply