improvements to extended type info system - unfortunately, these break the export.

[SVN r39568]
This commit is contained in:
Robert Ramey
2007-09-27 04:10:56 +00:00
parent c3eed9577f
commit ca5be78419
70 changed files with 284 additions and 492 deletions

View File

@@ -21,8 +21,6 @@ namespace std{
#endif
#include "test_tools.hpp"
#include <boost/preprocessor/stringize.hpp>
#include BOOST_PP_STRINGIZE(BOOST_ARCHIVE_TEST)
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/binary_object.hpp>
@@ -71,7 +69,7 @@ int test_main( int /* argc */, char* /* argv */[] )
int i1 = 34790;
{
test_ostream os(testfile, TEST_STREAM_FLAGS);
test_oarchive oa(os);
test_oarchive oa(os, TEST_ARCHIVE_FLAGS);
oa << BOOST_SERIALIZATION_NVP(a);
// note: add a little bit on the end of the archive to detect
// failure of text mode binary.
@@ -79,7 +77,7 @@ int test_main( int /* argc */, char* /* argv */[] )
}
{
test_istream is(testfile, TEST_STREAM_FLAGS);
test_iarchive ia(is);
test_iarchive ia(is, TEST_ARCHIVE_FLAGS);
ia >> BOOST_SERIALIZATION_NVP(a1);
ia >> BOOST_SERIALIZATION_NVP(i1);
}