title: Deallocate a stack object before execution gets out of the scope of the stack object?
body: <p>In C++, does RAII imply that   a stack object (an object allocated on a stack, e.g. a local variable in a function) is deallocated only when execution gets out of the scope of the stack object?</p>
  
  <p>What if I would like to deallocate a stack object a little bit before execution reaches the end of the scope of the stack object?</p>
  
  <p>Thanks.</p>