1 // (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com . 2 // Use, modification and distribution is subject to the Boost Software 3 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 // See http://www.boost.org for updates, documentation, and revision history. 7 // (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com . 8 // Use, modification and distribution is subject to the Boost Software 9 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 10 // http://www.boost.org/LICENSE_1_0.txt) 11 12 // See http://www.boost.org for updates, documentation, and revision history. 13 14 // binary_archive 15 #include <boost/archive/binary_oarchive.hpp> 16 typedef boost::archive::binary_oarchive test_oarchive; 17 typedef std::ofstream test_ostream; 18 19 #include <boost/archive/binary_iarchive.hpp> 20 typedef boost::archive::binary_iarchive test_iarchive; 21 typedef std::ifstream test_istream; 22 23 //#define TEST_STREAM_FLAGS (std::ios::binary | std::ios::in | std::ios::out) 24 #define TEST_STREAM_FLAGS (std::ios::binary) 25