title: How to make std::vector from other vector with specific filter?
body: <p>I have a <code>std::vector</code> filled with objects. I want to filter and copy all the elements for which some predicate returns <code>true</code> in to a new <code>std::vector</code>.</p>
  
  <p>I've looked at <code>find</code> and <code>search</code> functions but they only return iterators.</p>
  
  <p>I'm using <em>ObjC++</em> so I can use block functions as well as functors, if it helps. Can't use C++11 functions though.</p>