1// Copyright Vladimir Prus 2004.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt
4// or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6#include <boost/config.hpp>
7
8#ifdef BOOST_NO_STD_WSTREAMBUF
9#error "wide char i/o not supported on this platform"
10#endif
11
12// include boost implementation of utf8 codecvt facet
13# define BOOST_ARCHIVE_SOURCE
14#include <boost/archive/detail/decl.hpp>
15#define BOOST_UTF8_BEGIN_NAMESPACE \
16 namespace boost { namespace archive { namespace detail {
17#define BOOST_UTF8_DECL BOOST_ARCHIVE_DECL
18#define BOOST_UTF8_END_NAMESPACE }}}
19#include <boost/detail/utf8_codecvt_facet.ipp>
20#undef BOOST_UTF8_END_NAMESPACE
21#undef BOOST_UTF8_DECL
22#undef BOOST_UTF8_BEGIN_NAMESPACE
23

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