Brian Silverman | 8867871 | 2018-08-04 23:56:48 -0700 | [diff] [blame^] | 1 | /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
| 2 | // text_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 | #ifdef BOOST_NO_STD_WSTREAMBUF |
| 13 | #error "wide char i/o not supported on this platform" |
| 14 | #else |
| 15 | |
| 16 | #define BOOST_WARCHIVE_SOURCE |
| 17 | #include <boost/serialization/config.hpp> |
| 18 | #include <boost/archive/text_woarchive.hpp> |
| 19 | #include <boost/archive/detail/archive_serializer_map.hpp> |
| 20 | |
| 21 | // explicitly instantiate for this type of text stream |
| 22 | #include <boost/archive/impl/archive_serializer_map.ipp> |
| 23 | #include <boost/archive/impl/basic_text_oarchive.ipp> |
| 24 | #include <boost/archive/impl/text_woarchive_impl.ipp> |
| 25 | |
| 26 | namespace boost { |
| 27 | namespace archive { |
| 28 | |
| 29 | template class detail::archive_serializer_map<text_woarchive>; |
| 30 | template class basic_text_oarchive<text_woarchive> ; |
| 31 | template class text_woarchive_impl<text_woarchive> ; |
| 32 | |
| 33 | } // namespace archive |
| 34 | } // namespace boost |
| 35 | |
| 36 | #endif // BOOST_NO_STD_WSTREAMBUF |