title: How does getline() evaluate as true or false in a while loop condition?
body: <p>For example <code>while(getline( , ))</code></p>
  
  <p>when is this kind of condition true/false and why are they used instead of other situational conditions?</p>