mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-02 21:12:18 +00:00
Merge.
[SVN r42338]
This commit is contained in:
@@ -30,8 +30,12 @@ int test_main( int /* argc */, char* /* argv */[] )
|
||||
BOOST_REQUIRE(NULL != testfile);
|
||||
|
||||
// test array of objects
|
||||
std::complex<float> a(std::rand(),std::rand());
|
||||
std::complex<double> b(std::rand(),std::rand());
|
||||
std::complex<float> a(static_cast<float>(std::rand()),
|
||||
static_cast<float>(std::rand()));
|
||||
|
||||
std::complex<double> b(static_cast<double>(std::rand()),
|
||||
static_cast<double>(std::rand()));
|
||||
|
||||
{
|
||||
test_ostream os(testfile, TEST_STREAM_FLAGS);
|
||||
test_oarchive oa(os);
|
||||
|
||||
Reference in New Issue
Block a user