1 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 2 // binary_woarchive.cpp: 3 4 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . 5 // Use, modification and distribution is subject to the Boost Software 6 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt) 8 9 // See http://www.boost.org for updates, documentation, and revision history. 10 11 #include <boost/config.hpp> 12 13 #ifdef BOOST_NO_STD_WSTREAMBUF 14 #error "wide char i/o not supported on this platform" 15 #else 16 17 #define BOOST_WARCHIVE_SOURCE 18 #include <boost/archive/binary_woarchive.hpp> 19 20 // explicitly instantiate for this type of text stream 21 #include <boost/archive/impl/archive_serializer_map.ipp> 22 #include <boost/archive/impl/basic_binary_oprimitive.ipp> 23 #include <boost/archive/impl/basic_binary_oarchive.ipp> 24 25 namespace boost { 26 namespace archive { 27 28 template class detail::archive_serializer_map<binary_woarchive>; 29 template class basic_binary_oprimitive< 30 binary_woarchive, 31 wchar_t, 32 std::char_traits<wchar_t> 33 >; 34 template class basic_binary_oarchive<binary_woarchive> ; 35 template class binary_oarchive_impl< 36 binary_woarchive, 37 wchar_t, 38 std::char_traits<wchar_t> 39 >; 40 41 } // namespace archive 42 } // namespace boost 43 44 #endif // BOOST_NO_STD_WSTREAMBUF 45