binary_wiarchive.cpp 1.4 KB

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