source: NonGTP/Boost/boost/iostreams/detail/iostream.hpp @ 857

Revision 857, 1.2 KB checked in by igarcia, 19 years ago (diff)
RevLine 
[857]1// (C) Copyright Jonathan Turkanis 2003.
2// Distributed under the Boost Software License, Version 1.0. (See accompanying
3// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4
5// See http://www.boost.org/libs/iostreams for documentation.
6
7#ifndef BOOST_IOSTREAMS_DETAIL_IOSTREAM_HPP_INCLUDED
8#define BOOST_IOSTREAMS_DETAIL_IOSTREAM_HPP_INCLUDED
9
10#if defined(_MSC_VER) && (_MSC_VER >= 1020)
11# pragma once
12#endif             
13                 
14#include <boost/iostreams/detail/config/wide_streams.hpp>
15#ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
16# include <istream>
17# include <ostream>
18#else
19# include <iostream.h>
20#endif
21
22#ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
23# define BOOST_IOSTREAMS_BASIC_ISTREAM(ch, tr) std::basic_istream< ch, tr >
24# define BOOST_IOSTREAMS_BASIC_OSTREAM(ch, tr) std::basic_ostream< ch, tr >
25# define BOOST_IOSTREAMS_BASIC_IOSTREAM(ch, tr) std::basic_iostream< ch, tr >
26#else
27# define BOOST_IOSTREAMS_BASIC_STREAMBUF(ch, tr) std::streambuf
28# define BOOST_IOSTREAMS_BASIC_ISTREAM(ch, tr) std::istream
29# define BOOST_IOSTREAMS_BASIC_OSTREAM(ch, tr) std::ostream
30# define BOOST_IOSTREAMS_BASIC_IOSTREAM(ch, tr) std::iostream
31#endif
32
33#endif // #ifndef BOOST_IOSTREAMS_DETAIL_IOSTREAM_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.