1// Copyright (c) 2001 Ronald Garcia, Indiana University (garcia@osl.iu.edu)
2// Andrew Lumsdaine, Indiana University (lums@osl.iu.edu).
3// Distributed under the Boost Software License, Version 1.0. (See
4// accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#ifndef BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
8#define BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
9
10#include <boost/config.hpp>
11
12#ifdef BOOST_NO_STD_WSTREAMBUF
13#error "wide char i/o not supported on this platform"
14#endif
15
16// use boost's utf8 codecvt facet
17#include <boost/archive/detail/decl.hpp>
18#define BOOST_UTF8_BEGIN_NAMESPACE \
19 namespace boost { namespace archive { namespace detail {
20#define BOOST_UTF8_END_NAMESPACE }}}
21
22#include <boost/detail/utf8_codecvt_facet.hpp>
23
24#undef BOOST_UTF8_END_NAMESPACE
25#undef BOOST_UTF8_DECL
26#undef BOOST_UTF8_BEGIN_NAMESPACE
27
28#endif // BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
29

source code of boost/libs/serialization/include/boost/archive/detail/utf8_codecvt_facet.hpp