title: std::endl is of unknown type when overloading operator<<
body: <p>I overloaded operator &lt;&lt; </p>
  
  <pre><code>template &lt;Typename T&gt;
  UIStream&amp; operator&lt;&lt;(const T);
  
  UIStream my_stream;
  my_stream &lt;&lt; 10 &lt;&lt; " heads";
  </code></pre>
  
  <p>Works but:</p>
  
  <pre><code>my_stream &lt;&lt; endl;
  </code></pre>
  
  <p>Gives compilation error:</p>
  
  <blockquote>
    <p>error C2678: binary '&lt;&lt;' : no operator found which takes a left-hand operand of type 'UIStream' (or there is no acceptable conversion)</p>
  </blockquote>
  
  <p>What is the work around for making <code>my_stream &lt;&lt; endl</code> work?</p>