C++ How to have "NOT" (!) in Predicate?
<p>It might be a stupid question but just wonder if there is any workaround. :) </p>

<p>Is there any way to have "Not" in Predicate? </p>

<p>Example:</p>

<pre><code>std::remove_if(s.begin(), s.end(), !IsCorrect); 
//                                 ^
</code></pre>

<p>Or, Do I have to create IsNotCorrect function anyways? </p>
