title: using std::find_if with std::string
body: <p>I'm being stupid here but I can't get the function signature for the predicate going to find_if when iterating over a string:</p>
  
  <pre><code>bool func( char );
  
  std::string str;
  std::find_if( str.begin(), str.end(), func ) )
  </code></pre>
  
  <p>In this instance google has not been my friend :( Is anyone here?</p>