Time complexity of C++ cout?
<p>What is the time complexity of making a <code>cout &lt;&lt;</code> in <strong>C++</strong>?</p>

<p>If I have a <code>cout</code> in a <strong>loop</strong>, for example:</p>

<pre><code>for(int i = 0; i &lt; 1000000 ;i++){
     std::cout &lt;&lt; i &lt;&lt; endl;
}
</code></pre>

<p>Without the <code>std::cout &lt;&lt; i &lt;&lt; endl;</code> would it be much faster the loop?</p>