Remove Activ libs and includes
This commit is contained in:
1 parent
28ed30c944
commit
4b718994be
10967 files changed
-2306716
No files matched your search
@@ -1,45 +0,0 @@
|
||||
// (C) Copyright 2013 Vicente J. Botet Escriba
|
||||
// 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)
|
||||
|
||||
|
||||
#ifndef ACTIV_BOOST_THREAD_OSTREAM_BUFFER_HPP
|
||||
#define ACTIV_BOOST_THREAD_OSTREAM_BUFFER_HPP
|
||||
|
||||
#include <ActivBoost/thread/detail/config.hpp>
|
||||
#include <ActivBoost/thread/detail/delete.hpp>
|
||||
#include <sstream>
|
||||
|
||||
#include <ActivBoost/config/abi_prefix.hpp>
|
||||
|
||||
namespace Boost
|
||||
{
|
||||
|
||||
template <typename OStream>
|
||||
class ostream_buffer
|
||||
{
|
||||
public:
|
||||
typedef std::basic_ostringstream<typename OStream::char_type, typename OStream::traits_type> stream_type;
|
||||
ostream_buffer(OStream& os) :
|
||||
os_(os)
|
||||
{
|
||||
}
|
||||
~ostream_buffer()
|
||||
{
|
||||
os_ << o_str_.str();
|
||||
}
|
||||
stream_type& stream()
|
||||
{
|
||||
return o_str_;
|
||||
}
|
||||
private:
|
||||
OStream& os_;
|
||||
stream_type o_str_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#include <ActivBoost/config/abi_suffix.hpp>
|
||||
|
||||
#endif // header
|
||||
Reference in new issue
Block a user