| 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 | #include <boost/archive/impl/basic_binary_oprimitive.ipp> |
|---|
| 21 | #include <boost/archive/impl/basic_binary_oarchive.ipp> |
|---|
| 22 | #include <boost/archive/impl/archive_pointer_oserializer.ipp> |
|---|
| 23 | |
|---|
| 24 | namespace boost { |
|---|
| 25 | namespace archive { |
|---|
| 26 | |
|---|
| 27 | // explicitly instantiate for this type of text stream |
|---|
| 28 | template class basic_binary_oprimitive< |
|---|
| 29 | binary_woarchive, |
|---|
| 30 | wchar_t, |
|---|
| 31 | std::char_traits<wchar_t> |
|---|
| 32 | >; |
|---|
| 33 | template class basic_binary_oarchive<binary_woarchive> ; |
|---|
| 34 | template class binary_oarchive_impl< |
|---|
| 35 | binary_woarchive, |
|---|
| 36 | wchar_t, |
|---|
| 37 | std::char_traits<wchar_t> |
|---|
| 38 | >; |
|---|
| 39 | template class detail::archive_pointer_oserializer<binary_woarchive> ; |
|---|
| 40 | |
|---|
| 41 | } // namespace archive |
|---|
| 42 | } // namespace boost |
|---|
| 43 | |
|---|
| 44 | #endif // BOOST_NO_STD_WSTREAMBUF |
|---|