mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-25 06:42:11 +00:00
improvements to extended type info system - unfortunately, these break the export.
[SVN r39568]
This commit is contained in:
@@ -18,8 +18,6 @@ namespace std{
|
||||
#endif
|
||||
|
||||
#include "test_tools.hpp"
|
||||
#include <boost/preprocessor/stringize.hpp>
|
||||
#include BOOST_PP_STRINGIZE(BOOST_ARCHIVE_TEST)
|
||||
#include <boost/detail/no_exceptions_support.hpp>
|
||||
#include <boost/archive/archive_exception.hpp>
|
||||
|
||||
@@ -61,13 +59,13 @@ int test_array(T)
|
||||
const T a_array[10]={T(),T(),T(),T(),T(),T(),T(),T(),T(),T()};
|
||||
{
|
||||
test_ostream os(testfile, TEST_STREAM_FLAGS);
|
||||
test_oarchive oa(os);
|
||||
test_oarchive oa(os, TEST_ARCHIVE_FLAGS);
|
||||
oa << boost::serialization::make_nvp("a_array", a_array);
|
||||
}
|
||||
{
|
||||
T a_array1[10];
|
||||
test_istream is(testfile, TEST_STREAM_FLAGS);
|
||||
test_iarchive ia(is);
|
||||
test_iarchive ia(is, TEST_ARCHIVE_FLAGS);
|
||||
ia >> boost::serialization::make_nvp("a_array", a_array1);
|
||||
|
||||
array_equal_to/*<A[10]>*/ Compare;
|
||||
@@ -77,7 +75,7 @@ int test_array(T)
|
||||
T a_array1[9];
|
||||
test_istream is(testfile, TEST_STREAM_FLAGS);
|
||||
BOOST_TRY {
|
||||
test_iarchive ia(is);
|
||||
test_iarchive ia(is, TEST_ARCHIVE_FLAGS);
|
||||
bool exception_invoked = false;
|
||||
BOOST_TRY {
|
||||
ia >> boost::serialization::make_nvp("a_array", a_array1);
|
||||
|
||||
Reference in New Issue
Block a user