/Src/Dependencies/Boost/boost/archive/polymorphic_text_woarchive.hpp

http://hadesmem.googlecode.com/ · C++ Header · 44 lines · 23 code · 12 blank · 9 comment · 1 complexity · 735b91554d84a37bf128b1de543e91e1 MD5 · raw file

  1. #ifndef BOOST_ARCHIVE_POLYMORPHIC_TEXT_WOARCHIVE_HPP
  2. #define BOOST_ARCHIVE_POLYMORPHIC_TEXT_WOARCHIVE_HPP
  3. // MS compatible compilers support #pragma once
  4. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  5. # pragma once
  6. #endif
  7. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  8. // polymorphic_text_oarchive.hpp
  9. // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
  10. // Use, modification and distribution is subject to the Boost Software
  11. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  12. // http://www.boost.org/LICENSE_1_0.txt)
  13. // See http://www.boost.org for updates, documentation, and revision history.
  14. #include <boost/config.hpp>
  15. #ifdef BOOST_NO_STD_WSTREAMBUF
  16. #error "wide char i/o not supported on this platform"
  17. #else
  18. #include <boost/archive/text_woarchive.hpp>
  19. #include <boost/archive/detail/polymorphic_oarchive_route.hpp>
  20. namespace boost {
  21. namespace archive {
  22. typedef detail::polymorphic_oarchive_route<
  23. text_woarchive_impl<naked_text_woarchive>
  24. > polymorphic_text_woarchive;
  25. } // namespace archive
  26. } // namespace boost
  27. // required by export
  28. BOOST_SERIALIZATION_REGISTER_ARCHIVE(
  29. boost::archive::polymorphic_text_woarchive
  30. )
  31. #endif // BOOST_NO_STD_WSTREAMBUF
  32. #endif // BOOST_ARCHIVE_POLYMORPHIC_TEXT_WOARCHIVE_HPP