
27 Aug
2004
27 Aug
'04
6:27 a.m.
Michel Decima sent me following off-list: #include <fstream> #include <boost/config.hpp> #include "test_tools.hpp" int main() { const char * testfile = boost::archive::tmpnam(NULL); test_ostream os(testfile, TEST_STREAM_FLAGS); test_oarchive oa_implementation(os); os.close(); //! printf("no boom\n\n"); } this program does not throw an error (when compiled on como, backend MSVC71). Apparently calling close() before destroying objects makes big difference. B.