Memory allocation for C++ STL objects
<p>Suppose I am creating an object of STL map in C++ i.e <code>map&lt;string,char&gt;mymap``$</code>. Now, I want to know how memory is being allocated to this object? My point of confusion is that there is no dynamic allocation and we don't know the size of the container in prior. So, from where and how memory is allocated to the object <strong>mymap</strong>?</p>
