how to find the maximum size of ostream class in c++
<p>I am assigning <code>std::ostream *pout_ = output_.get();</code><br>
where <code>output_</code> is <code>scoped_ptr&lt;std::stringstream&gt; output_;</code></p>

<p>after assigning i am filling <code>*pout_ &lt;&lt;"large strings";</code> appx 1172528 characters.</p>

<p>But after some extent i am not able to insert charcters inside <code>*pout_</code>. I tried surfing on the net whats the maximum size of this class but couldn't find.</p>

<p>Someone please tell how much characters maximum i can store in <code>*pout_</code>. Is there any function which can tell me the maximum size of this class??</p>
