|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86611 - trunk/boost/archive/detail
From: ramey_at_[hidden]
Date: 2013-11-10 20:57:48
Author: ramey
Date: 2013-11-10 20:57:48 EST (Sun, 10 Nov 2013)
New Revision: 86611
URL: http://svn.boost.org/trac/boost/changeset/86611
Log:
changed codecvt_utf8 so that serialization uses the standard one if available. If there is no standard one available, it uses the one in boost/utility.
Text files modified:
trunk/boost/archive/detail/utf8_codecvt_facet.hpp | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
Modified: trunk/boost/archive/detail/utf8_codecvt_facet.hpp
==============================================================================
--- trunk/boost/archive/detail/utf8_codecvt_facet.hpp Sun Nov 10 20:56:19 2013 (r86610)
+++ trunk/boost/archive/detail/utf8_codecvt_facet.hpp 2013-11-10 20:57:48 EST (Sun, 10 Nov 2013) (r86611)
@@ -7,15 +7,17 @@
#ifndef BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
#define BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
-#define BOOST_UTF8_BEGIN_NAMESPACE \
- namespace boost { namespace archive { namespace detail {
-#define BOOST_UTF8_DECL
-#define BOOST_UTF8_END_NAMESPACE }}}
+#ifdef BOOST_NO_CXX11_HDR_CODECVT
+ #define BOOST_UTF8_BEGIN_NAMESPACE \
+ namespace boost { namespace archive { namespace detail {
+ #define BOOST_UTF8_DECL
+ #define BOOST_UTF8_END_NAMESPACE }}}
-#include <boost/detail/utf8_codecvt_facet.hpp>
-
-#undef BOOST_UTF8_END_NAMESPACE
-#undef BOOST_UTF8_DECL
-#undef BOOST_UTF8_BEGIN_NAMESPACE
+ #include <boost/detail/utf8_codecvt_facet.hpp>
+ #undef BOOST_UTF8_END_NAMESPACE
+ #undef BOOST_UTF8_DECL
+ #undef BOOST_UTF8_BEGIN_NAMESPACE
+#endif // BOOST_NO_CXX11_HDR_CODECVT
#endif // BOOST_ARCHIVE_DETAIL_UTF8_CODECVT_FACET_HPP
+
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk