title: openmp reduce technique
body: <p>I have this for loop that finds minimum and maximum length, as you can see I have two values to reduce here while looking at OpenMP I can only notice that it provides reduction technique for only one value.</p>
  
  <pre><code>for (size_t i = 0; i &lt; m_patterns.size(); ++i) 
  {// start for loop
      if (m_patterns[i].size() &lt; m_lmin)          
          m_lmin = m_patterns[i].size();          
      else if (m_patterns[i].size() &gt; m_lmax)           
          m_lmax = m_patterns[i].size();
   }// end for loop 
  </code></pre>
  
  <p>can I do the following </p>
  
  <pre><code> #pragma omp parallel for reduction (min:m_lmin,max:m_lmax)
  </code></pre>
  
  <p>or should I rewrite the for loop to two for loops one for the minimum and one for the maximum</p>
  
  <p>another question .. can I use tbb containers like concurrent_vector in OpenMP</p>