C++ line output
<pre><code>cout &lt;&lt; boolalpha ("1" &lt; "0") &lt;&lt; endl;
</code></pre>

<p>I was compiling this recently as a spin off from some course work I was doing. Why does this produce <code>true</code> when I execute it? </p>

<pre><code>cout &lt;&lt; boolalpha (string("1") &lt; string("0")) &lt;&lt; endl;
</code></pre>

<p>does the comparison as expected.</p>
