What is the order of destruction for variables initialized through constructor initilization set?
<p>suppose i have class A,B and C</p>

<p>if i then have container as follows</p>

<pre><code>Container::Container()
:A(10),B(20),C(30)
{
   //Do something specific
}
</code></pre>

<p>Now if i call the destructor of Container, i.e ~Container()
I notice that destructors are getting called in the reverse order
i.e ~C(), ~B() and then ~A()</p>

<p>Is this something always fixed order ? 
Can anyone throw some more light on the order of destructors for construction initialization set ?</p>
