KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/include/boost/test/detail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/boost/test/detail/wrap_io_saver.hpp
//  (C) Copyright Gennadiy Rozental 2005.
//  Distributed under 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/libs/test for the library home page.
//
//  File        : $RCSfile: wrap_io_saver.hpp,v $
//
//  Version     : $Revision: 1.1 $
//
//  Description : wraps io savers staff to be provide workaround for classic iostreams
// ***************************************************************************

#ifndef BOOST_WRAP_IO_SAVER_HPP_011605GER
#define BOOST_WRAP_IO_SAVER_HPP_011605GER

#if defined(BOOST_STANDARD_IOSTREAMS)
#include <boost/io/ios_state.hpp>
#endif

namespace boost {

namespace unit_test {

#if defined(BOOST_STANDARD_IOSTREAMS)

typedef ::boost::io::ios_base_all_saver io_saver_type;

#else

struct io_saver_type {
    explicit io_saver_type( std::ostream& ) {}
    void     restore() {}
};

#endif

} // namespace unit_test

} // namespace boost

// ***************************************************************************
//  Revision History :
//  
//  $Log: wrap_io_saver.hpp,v $
//  Revision 1.1  2005/04/30 16:48:21  rogeeff
//  io saver warkaround for classic io is shared
//
//  Revision 1.1  2005/02/20 08:27:06  rogeeff
//  This a major update for Boost.Test framework. See release docs for complete list of fixes/updates
//
// ***************************************************************************

#endif // BOOST_WRAP_IO_SAVER_HPP_011605GER


Anon7 - 2021