mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-29 07:52:09 +00:00
Added testing of array-optimized binary archives and merged changes from RC_1_34_0
[SVN r33883]
This commit is contained in:
22
test/array_binary_archive.hpp
Normal file
22
test/array_binary_archive.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
// (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com .
|
||||
// Use, modification and distribution is subject to the Boost Software
|
||||
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
// (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com .
|
||||
// Use, modification and distribution is subject to the Boost Software
|
||||
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// See http://www.boost.org for updates, documentation, and revision history.
|
||||
|
||||
// binary_archive
|
||||
#include <boost/archive/array/binary_oarchive.hpp>
|
||||
typedef boost::archive::array::binary_oarchive test_oarchive;
|
||||
typedef std::ofstream test_ostream;
|
||||
#include <boost/archive/array/binary_iarchive.hpp>
|
||||
typedef boost::archive::array::binary_iarchive test_iarchive;
|
||||
typedef std::ifstream test_istream;
|
||||
#define TEST_STREAM_FLAGS std::ios::binary
|
||||
|
||||
Reference in New Issue
Block a user