When i use parallel_for on my defining struct ,It can not work.
The part of my code is :
struct Result //This is my defining struct.
void apfft(Result* T); //This is my defining function.
The following is my parallel code , but it does not work.
void operator()(const blocked_range
I try it many days,but i found i can not translate my own defining struct .
Please help me or instruct me . Many thanks.
The second parameter in a blocked_range constructor is exclusive (please check if this is what you meant), the second parameter in parallel_for should be a Body (FFTResult won't do what you want).