1
  6   ˆl–Ðz¾”*i?u8 pB¸ØÅ£�þB g^i¶]Ò;üÿÂƒh¹ÁÀ¿      Normal
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Ã590_‘I|¥‰ÓMdœv ©ƒ†ü+=ÃÂ N    ‹      Õ–ßoÚ0ÇßûWx~ØÐnšÚ$SG�†FQ¦iš¦ÈÄ†X$vf_ ì¯ŸC2A;Ð~h›”—ø|þúî>¶“Ø{Núó�Óy;¿‘éû7£aŸÐÀ‡Ë>@8«�«v§0SBÄü`»Ý¶·—mmV0ŸA‚Yz�Œ±Í‘ÓàÂ+}ÁñÁ¸k‰‡SD/	è­äÂÍÛYàb#caKE™È´ÙÕÍ«(ÍEâ¼èA®·ÂxPEsñ¡Nà-4ß•y»-‡µ/œ-ö©JÓ&dÃR¹R>E�ÓÀ“ÙŠXûd¬•…EÊÔº½’KJXŠ>ý4ìO>;`RÎ<F#–>}Ý÷Ç7?¤Á˜eÂvZsç4·41‹$Ó\.¥àgÅ÷•ø^~=0¬4¡°±‘9J­RpˆÇ¨±NmÎëG�˜cU%á?[?ZŒéíl0ž‡ÃYµ$¼q¨îOwŒSf„BJ#btã5Rÿ¹ZØüæ{—Ô¹J�„´ÈIåoPj­ôVƒºE<‰ÈìNÅ4Ø7ÇE>©ª×é½lu»­^‡t:×îIÎÝËùî–_ ¶…Í…â)ÛE™u4'¼„sz4:¥Am4!Ï¢/ÚFFØ"QÊP¨xn�Î�4Ò
¥ƒ`1Ê�ˆÖ’;¾Îæ£•öh¥Ý`4¡Ê?*?`ÕŽ#YdX�Áªßd êc.ø“øØß`ÀÂ²Õ×¾ûïq~ñfõ�Óƒý­Öƒê6ýHV'°    B   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þBG%Y¹H$qŒ@óÆƒtN¿Å_‹I|¥�+ýÿ¹ä³ÅÄ o    #ifndef BOOST_ARCHIVE_BASIC_TEXT_OPRIMITIVE_HPP
#define BOOST_ARCHIVE_BASIC_TEXT_OPRIMITIVE_HPP

// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif

/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// basic_text_oprimitive.hpp

// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

//  See http://www.boost.org for updates, documentation, and revision history.

// archives stored as text - note these ar templated on the basic
// stream templates to accommodate wide (and other?) kind of characters
//
// note the fact that on libraries without wide characters, ostream is
// is not a specialization of basic_ostream which in fact is not defined
// in such cases.   So we can't use basic_ostream<OStream::char_type> but rather
// use two template parameters

#include <iomanip>
#include <locale>
#include <cstddef> // size_t

#include <boost/config.hpp>
#include <boost/static_assert.hpp>
#include <boost/io/ios_state.hpp>

#include <boost/detail/workaround.hpp>
#if BOOST_WORKAROUND(BOOST_DINKUMWARE_STDLIB, == 1)
#include <boost/archive/dinkumware.hpp>
#endif

#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
    using ::size_t;
    #if ! defined(BOOST_DINKUMWARE_STDLIB) && ! defined(__SGI_STL_PORT)
        using ::locale;
    #endif
} // namespace std
#endif

#include <boost/type_traits/is_floating_point.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/limits.hpp>
#include <boost/integer.hpp>
#include <boost/io/ios_state.hpp>
#include <boost/serialization/throw_exception.hpp>
#include <boost/archive/basic_streambuf_locale_saver.hpp>
#include <boost/archive/codecvt_null.hpp>
#include <boost/archive/archive_exception.hpp>
#include <boost/archive/detail/abi_prefix.hpp> // must be the last header

namespace boost {
namespace archive {

/////////////////////////////////////////////////////////////////////////
// class basic_text_oprimitive - output of prmitives to stream
template<class OStream>
class BOOST_SYMBOL_VISIBLE basic_text_oprimitive
{
protected:
    OStream &os;
    io::ios_flags_saver flags_saver;
    io::ios_precision_saver precision_saver;

    #ifndef BOOST_NO_STD_LOCALE
    // note order! - if you change this, libstd++ will fail!
    // a) create new locale with new codecvt facet
    // b) save current locale
    // c) change locale to new one
    // d) use stream buffer
    // e) change locale back to original
    // f) destroy new codecvt facet
    boost::archive::codecvt_null<typename OStream::char_type> codecvt_null_facet;
    std::locale archive_locale;
    basic_ostream_locale_saver<
        typename OStream::char_type,
        typename OStream::traits_type
    > locale_saver;
    #endif

    /////////////////////////////////////////////////////////
    // fundamental types that need special treatment
    void save(const bool t){
        // trap usage of invalid uninitialized boolean which would
        // otherwise crash on load.
        BOOST_ASSERT(0 == static_cast<int>(t) || 1 == static_cast<int>(t));
        if(os.fail())
            boost::ser