Generalized parameter
<p>I am wondering if it is possible to have a function parameter and not care what its type is. 
For example, I have a class with overriden &lt;&lt; operator. The only thing it does, though, is add the param to private ostringstream:</p>

<pre><code>CLog&amp; CLog::operator &lt;&lt;(const char * txt) {
    buffer &lt;&lt; txt;
    return *this;
}
</code></pre>

<p>However, this only allows me to write const char to the buffer. I need the parameter to be any type <code>ostringstream &lt;&lt;</code> accepts. Is that possible?</p>
