It seems to me that clang has some problems when using omp collapse in template function.
I\'ve attached a minimal example. Clang (9, 10, 11) can\'t compile it, while gcc