mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-22 03:32:25 +00:00
addressed user complaint and rolled back change which called desstructor
This commit is contained in:
@@ -134,6 +134,7 @@ test-suite "serialization" :
|
||||
if ! $(BOOST_ARCHIVE_LIST) {
|
||||
test-suite "serialization2" :
|
||||
[ test-bsl-run-no-lib test_inclusion ]
|
||||
[ test-bsl-run-no-lib test_inclusion2 ]
|
||||
[ test-bsl-run test_dll_exported : : dll_polymorphic_derived2_lib ]
|
||||
[ test-bsl-run test_dll_simple : : dll_a_lib ]
|
||||
[ compile test_dll_plugin.cpp ]
|
||||
@@ -149,7 +150,7 @@ if ! $(BOOST_ARCHIVE_LIST) {
|
||||
[ test-bsl-run test_smart_cast ]
|
||||
[ test-bsl-run test_codecvt_null ]
|
||||
|
||||
#[ test-bsl-run test_z ]
|
||||
# [ test-bsl-run test_z ]
|
||||
|
||||
# should fail compilation
|
||||
[ compile-fail test_not_serializable.cpp ]
|
||||
|
||||
@@ -555,7 +555,8 @@ int main()
|
||||
assert(base64 == output);
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
#elif 0
|
||||
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
|
||||
@@ -597,4 +598,23 @@ int main()
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
#include <boost/archive/binary_iarchive.hpp>
|
||||
#include <boost/serialization/vector.hpp>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
void f()
|
||||
{
|
||||
std::stringstream iss;
|
||||
boost::archive::binary_iarchive ar(iss);
|
||||
std::vector<int> out;
|
||||
ar >> out;
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user