text_woarchive.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  2. // text_woarchive.cpp:
  3. // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
  4. // Use, modification and distribution is subject to the Boost Software
  5. // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org for updates, documentation, and revision history.
  8. #include <boost/config.hpp>
  9. #ifdef BOOST_NO_STD_WSTREAMBUF
  10. #error "wide char i/o not supported on this platform"
  11. #else
  12. #define BOOST_WARCHIVE_SOURCE
  13. #include <boost/serialization/config.hpp>
  14. #include <boost/archive/text_woarchive.hpp>
  15. #include <boost/archive/detail/archive_serializer_map.hpp>
  16. // explicitly instantiate for this type of text stream
  17. #include <boost/archive/impl/archive_serializer_map.ipp>
  18. #include <boost/archive/impl/basic_text_oarchive.ipp>
  19. #include <boost/archive/impl/text_woarchive_impl.ipp>
  20. namespace boost {
  21. namespace archive {
  22. template class detail::archive_serializer_map<text_woarchive>;
  23. template class basic_text_oarchive<text_woarchive> ;
  24. template class text_woarchive_impl<text_woarchive> ;
  25. } // namespace archive
  26. } // namespace boost
  27. #endif // BOOST_NO_STD_WSTREAMBUF