title: Modern way to filter STL container?
body: <p>Coming back to C++ after years of C# I was wondering what the modern - read: C++11 - way of filtering an array would be, i.e. how can we achieve something similar to this Linq query:</p>
  
  <pre><code>var filteredElements = elements.Where(elm =&gt; elm.filterProperty == true);
  </code></pre>
  
  <p>In order to filter a vector of elements (<code>strings</code> for the sake of this question)?</p>
  
  <p>I sincerely hope the old STL style algorithms (or even extensions like <code>boost::filter_iterator</code>)  requiring <em>explicit methods</em> to be defined are superseded by now?</p>