binary_archive.hpp 993 B

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