Heyho,
i've been using omp for some time and i wonder, whether there is a good way to storage data. Something like a reduce function for std::vector or anything like that would be perfect.
Anyway...Which container is save? I used std::vector>, but there were some problems with push_back. I had to resize my vector first an than change to content. I am sure that there has to be a better way. Thanks for any sugestions.
P.S.
I beg for pardon. My english isn't that good.