7#ifndef BOOST_NOWIDE_IOSTREAM_HPP_INCLUDED
8#define BOOST_NOWIDE_IOSTREAM_HPP_INCLUDED
16#include <boost/config/abi_prefix.hpp>
23#pragma warning(disable : 4251)
28#if !defined(BOOST_WINDOWS) && !defined(BOOST_NOWIDE_DOXYGEN)
37 class console_output_buffer;
38 class console_input_buffer;
40 class BOOST_NOWIDE_DECL winconsole_ostream :
public std::ostream
43 winconsole_ostream(
bool isBuffered, winconsole_ostream* tieStream);
44 ~winconsole_ostream();
47 std::unique_ptr<console_output_buffer> d;
49 std::ios_base::Init init_;
52 class BOOST_NOWIDE_DECL winconsole_istream :
public std::istream
55 explicit winconsole_istream(winconsole_ostream* tieStream);
56 ~winconsole_istream();
59 std::unique_ptr<console_input_buffer> d;
61 std::ios_base::Init init_;
72 extern BOOST_NOWIDE_DECL detail::winconsole_istream
cin;
78 extern BOOST_NOWIDE_DECL detail::winconsole_ostream
cout;
84 extern BOOST_NOWIDE_DECL detail::winconsole_ostream
cerr;
90 extern BOOST_NOWIDE_DECL detail::winconsole_ostream
clog;
102#include <boost/config/abi_suffix.hpp>
detail::winconsole_ostream clog
Same as std::clog, but uses UTF-8.
detail::winconsole_istream cin
Same as std::cin, but uses UTF-8.
detail::winconsole_ostream cerr
Same as std::cerr, but uses UTF-8.
detail::winconsole_ostream cout
Same as std::cout, but uses UTF-8.