basic_text_woprimitive.cpp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
  2. // basic_text_woprimitive.cpp:
  3. // (C) Copyright 2004 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 <ostream>
  9. #include <boost/config.hpp>
  10. #ifdef BOOST_NO_STD_WSTREAMBUF
  11. #error "wide char i/o not supported on this platform"
  12. #else
  13. #if (defined _MSC_VER) && (_MSC_VER == 1200)
  14. # pragma warning (disable : 4786) // too long name, harmless warning
  15. #endif
  16. #define BOOST_WARCHIVE_SOURCE
  17. #include <boost/serialization/config.hpp>
  18. #include <boost/archive/detail/auto_link_warchive.hpp>
  19. #include <boost/archive/impl/basic_text_oprimitive.ipp>
  20. namespace boost {
  21. namespace archive {
  22. template class basic_text_oprimitive<std::wostream> ;
  23. } // namespace archive
  24. } // namespace boost
  25. #endif // BOOST_NO_STD_WSTREAMBUF