In a member function, I can parallelize using the shared member variable int *x like this
int *x
#pragma omp parallel for default(shared) for(int i=0;i
Don't know precisiely - but take a look through 32 OpenMP traps for C++ developers for sorting out most OpenMP problems