title: Does qt have something like find_if from STL?
body: <p>Imagine I have a struct like this:</p>
  
  <pre><code>typedef struct
  {
      foo *fara;
      int id;
  } fooToIDWrapper_t;
  </code></pre>
  
  <p>and a <code>QLinkedList&lt;fooToIDWrapper_t *&gt; FooWrapper;</code> like that,</p>
  
  <p>Now I want to get the iterator where the lists <code>fooToIDWrapper_t</code>-node matches a specfic id.</p>
  
  <p>with STL's <code>std:find_if()</code> I could achieve this, by doing (just example code to demonstrate, not checked for compilability):</p>
  
  <pre><code>vector&lt;fooToIDWrapper_t&gt; bar;
  
  auto pred = [ID](const fooToIDWrapper&amp; item) {
      return item.id == ID;
  };
  
  std::find_if(std::begin(bar), std::end(bar), pred) != std::end(bar);
  </code></pre>
  
  <p>Does there an similiar algorithm exist in qt? and if not so, as I assume, what way I could achieve this in qt?</p>