title: Why does << operator cut off characters with cout?
body: <p>I am using std::getline in a while loop and printing the output with cout, I find that the beginnings of my line are being cut off when I am printing:</p>
  
  <p>works as expected:</p>
  
  <pre><code>std::string line;
  while(std::getline(csv, line)) {
   std::cout &lt;&lt; line &lt;&lt; std::endl
  }
  </code></pre>
  
  <p>doesn't work as expected, cuts the first two characters out of my line</p>
  
  <pre><code>std::string line;
  while(std::getline(csv, line)) {
   std::cout &lt;&lt; line &lt;&lt; "  " &lt;&lt; std::endl
  }
  </code></pre>
  
  <p>I've never noticed this behaviour before, why is it happening now?</p>