Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zweistein
Beginner
32 Views

tbb::parallel_invoke memberfunction

Hello,
How can i call a memberfunction with parallel_invoke?
I need this:
tbb::parallel_invoke(
[]() { this->initPostConsequence() }
);
but this is not accessible.
0 Kudos
1 Reply
ARCH_R_Intel
Employee
32 Views

Try adding "this" to the capture list. E.g. [this]() { this->initPostConsequence() }