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.

TBB examples

andreib
Beginner
160 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
160 Views
Sorry.
I found the answer here:
I didn't learn that at school as far as I remember :)
Reply