title: C++ : cout with a terenary if-statement
body: <p>I get this ERROR: "error: overloaded function with no contextual type information".</p>
  
  <pre><code>cout &lt;&lt; (i % 5 == 0) ? endl : "";
  </code></pre>
  
  <p>Is what I am doing possible; am I just doing it wrong, or do I have to overload the &lt;&lt; operator?</p>