static local variable and static local object initialization
<p>In VC++2008  there is a serious difference in initialization of  static local variable and static local object.  Static local variable is  initialized  before main() and  its definition statement within the function is skipped.  Static local object is  initialized  by  0 value  before main() and  its definition statement within the function is executed only once . Constructor is started  and object is  initialized  by appropiate value. All that can be seen in Debug mode. Does this solution correspond to the existing C++ Standard?</p>
