mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-30 20:22:09 +00:00
improvements to extended type info system - unfortunately, these break the export.
[SVN r39568]
This commit is contained in:
@@ -19,8 +19,6 @@ namespace std{
|
||||
#endif
|
||||
|
||||
#include "test_tools.hpp"
|
||||
#include <boost/preprocessor/stringize.hpp>
|
||||
#include BOOST_PP_STRINGIZE(BOOST_ARCHIVE_TEST)
|
||||
|
||||
#include <boost/serialization/valarray.hpp>
|
||||
|
||||
@@ -35,13 +33,13 @@ int test_main( int /* argc */, char* /* argv */[] )
|
||||
avalarray[1] = -42;
|
||||
{
|
||||
test_ostream os(testfile, TEST_STREAM_FLAGS);
|
||||
test_oarchive oa(os);
|
||||
test_oarchive oa(os, TEST_ARCHIVE_FLAGS);
|
||||
oa << boost::serialization::make_nvp("avalarray", avalarray);
|
||||
}
|
||||
std::valarray<int> avalarray1;
|
||||
{
|
||||
test_istream is(testfile, TEST_STREAM_FLAGS);
|
||||
test_iarchive ia(is);
|
||||
test_iarchive ia(is, TEST_ARCHIVE_FLAGS);
|
||||
ia >> boost::serialization::make_nvp("avalarray", avalarray1);
|
||||
}
|
||||
bool equal = ( avalarray.size() == avalarray1.size()
|
||||
|
||||
Reference in New Issue
Block a user