Thx Fran�ois,<br><br><div class="gmail_quote">2011/3/27 Fran�ois Mauger <span dir="ltr"><<a href="mailto:mauger@lpccaen.in2p3.fr">mauger@lpccaen.in2p3.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> >>> Olivier Tournaire a �crit :<div class="im"><br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br> <br> � �I suspect you have some other bits in your main that blanks the<br> � �test_parameters.xml �file...<br> <br> <br> Yes, probably. I tried my code removing all the other code in the main, and it works. What can cause this?<br> <br> </blockquote></div> Typically a second call to {{{std::ofstream ofs ("test_parameters.xml");}}} from a independant code block<br> invoked after your serialization bits.<br></blockquote><div><br></div><div>I never seen that. I somewhere else in my code creates ofstream but why that it clear my test_parameters.xml ofs? Putting the serialization code in the main but in a dedicated scope does the trick ...</div> <div>Really do not understand. Can someone explain?</div><div><br></div><div>Regards,</div><div><br></div><div>Olivier</div><div>�</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <br> frc<div><div></div><div class="h5"><br> <br> -- <br> Fran�ois Mauger �Groupe "Interactions Fondamentales et Nature du Neutrino"<br> �NEMO-3/SuperNEMO Collaboration<br> LPC Caen-CNRS/IN2P3-UCBN-ENSICAEN<br> D�partement de Physique -- Universit� de Caen Basse-Normandie<br> Adresse/address:<br> �Laboratoire de Physique Corpusculaire de Caen (UMR 6534)<br> �ENSICAEN �6, Boulevard du Marechal Juin<br> �14050 CAEN Cedex<br> �FRANCE<br> Courriel/e-mail: <a href="mailto:mauger@lpccaen.in2p3.fr" target="_blank">mauger@lpccaen.in2p3.fr</a> T�l./phone: � � �02 31 45 25 12 / (+33) 2 31 45 25 12<br> Fax: � � � � � � 02 31 45 25 49 / (+33) 2 31 45 25 49<br> <br> <br> _______________________________________________<br> Boost-users mailing list<br> <a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br> <a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br> </div></div></blockquote></div><br>