1/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
2// binary_wiarchive.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_wiarchive.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_binary_iprimitive.ipp>
24#include <boost/archive/impl/basic_binary_iarchive.ipp>
25
26namespace boost {
27namespace archive {
28
29// explicitly instantiate for this type of text stream
30template class detail::archive_serializer_map<binary_wiarchive>;
31template class basic_binary_iprimitive<
32 binary_wiarchive,
33 wchar_t,
34 std::char_traits<wchar_t>
35>;
36template class basic_binary_iarchive<binary_wiarchive> ;
37template class binary_iarchive_impl<
38 binary_wiarchive,
39 wchar_t,
40 std::char_traits<wchar_t>
41>;
42
43} // namespace archive
44} // namespace boost
45
46#endif // BOOST_NO_STD_WSTREAMBUF
47
48

source code of boost/libs/serialization/src/binary_wiarchive.cpp