C++11 Change `auto` Lambda to a different Lambda?
<p>Say I have the following variable containing a lambda:</p>

<pre><code>auto a = [] { return true; };
</code></pre>

<p>And I want <code>a</code> to return <code>false</code> later on. Could I do something along the lines of this? </p>

<pre><code>a = [] { return false; };
</code></pre>

<p>This syntax gives me the following errors:</p>

<pre><code>binary '=' : no operator found which takes a right-hand operand of type 
'main::&lt;lambda_a7185966f92d197a64e4878ceff8af4a&gt;' (or there is no acceptable conversion)

IntelliSense: no operator "=" matches these operands
        operand types are: lambda []bool ()-&gt;bool = lambda []bool ()-&gt;bool
</code></pre>

<p>Is there any way to achieve something like this? I would like to change the <code>auto</code> variable to a different lambda. I'm relitively a beginner so I may be missing some knowledge about <code>auto</code> or lambdas. Thanks.</p>