binary_woarchive.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  2. // binary_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/archive/binary_woarchive.hpp>
  14. // explicitly instantiate for this type of text stream
  15. #include <boost/archive/impl/archive_serializer_map.ipp>
  16. #include <boost/archive/impl/basic_binary_oprimitive.ipp>
  17. #include <boost/archive/impl/basic_binary_oarchive.ipp>
  18. namespace boost {
  19. namespace archive {
  20. template class detail::archive_serializer_map<binary_woarchive>;
  21. template class basic_binary_oprimitive<
  22. binary_woarchive,
  23. wchar_t,
  24. std::char_traits<wchar_t>
  25. >;
  26. template class basic_binary_oarchive<binary_woarchive> ;
  27. template class binary_oarchive_impl<
  28. binary_woarchive,
  29. wchar_t,
  30. std::char_traits<wchar_t>
  31. >;
  32. } // namespace archive
  33. } // namespace boost
  34. #endif // BOOST_NO_STD_WSTREAMBUF