polymorphic_text_warchive.hpp 826 B

123456789101112131415161718
  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. #include <boost/config.hpp>
  7. #ifdef BOOST_NO_STD_WSTREAMBUF
  8. #error "wide char i/o not supported on this platform"
  9. #else
  10. #include <boost/archive/polymorphic_text_woarchive.hpp>
  11. typedef boost::archive::polymorphic_text_woarchive test_oarchive;
  12. typedef std::wofstream test_ostream;
  13. #include <boost/archive/polymorphic_text_wiarchive.hpp>
  14. typedef boost::archive::polymorphic_text_wiarchive test_iarchive;
  15. typedef std::wifstream test_istream;
  16. #define TEST_STREAM_FLAGS (std::ios_base::openmode)0
  17. #endif