TBB examples

TBB examples

Bild des Benutzers andreib

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

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers andreib

Sorry. I found the answer here: http://publib.boulder.ibm.com/infocenter/macxhelp/v6v81/index.jsp?topic=... I didn't learn that at school as far as I remember :)

Melden Sie sich an, um einen Kommentar zu hinterlassen.