Hi,<div><br></div><div>I have an assert when exiting my application using the serialization lib of boost 1.38.</div><div><br></div><div><div>�� �BOOST_DLLEXPORT static T & get_instance() {</div><div>�� � � �static detail::singleton_wrapper<T> t;</div> <div>�� � � �// refer to instance, causing it to be instantiated (and</div><div>�� � � �// initialized at startup on working compilers)</div><div>�� � � �assert(! detail::singleton_wrapper<T>::m_is_destroyed);</div> <div>�� � � �use(instance);</div><div>�� � � �return static_cast<T &>(t);</div><div>�� �}</div><div><br></div><div>The same code doesn't assert on windows XP so I guess that's something messy with static allocation on the iphone platform.</div> <div>On the iphone, the load/save code works well as long as it's not called when the application exit.</div><div><br></div><div>As far I as I understand, I need to move my exit code somewhere else, when those singleton are still allocated.</div> <div>Can somebody confirm that? Or maybe I'm missing something...</div><div><br></div><div>Any feedback warmly welcome!</div><div><br></div><div>thanks</div></div>