How does the address of stringstream buffer changes
<p>When i use &lt;&lt; operator to put values in buffer sometimes the address of buffer changes. does it copy the values to new address or move them to a new address in memory and how can i know the address where data is stored in?</p>

<p>Also, I'd be interested in a book that covers about streams in c++.</p>
