Last change
on this file since 30 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
1.2 KB
|
Line | |
---|
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_FSTREAM_HPP_INCLUDED |
---|
8 | #define BOOST_IOSTREAMS_DETAIL_FSTREAM_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 <fstream> |
---|
17 | #else |
---|
18 | # include <fstream.h> |
---|
19 | #endif |
---|
20 | |
---|
21 | #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES |
---|
22 | # define BOOST_IOSTREAMS_BASIC_IFSTREAM(Ch, Tr) std::basic_ifstream<Ch, Tr> |
---|
23 | # define BOOST_IOSTREAMS_BASIC_OFSTREAM(Ch, Tr) std::basic_ofstream<Ch, Tr> |
---|
24 | # define BOOST_IOSTREAMS_BASIC_FSTREAM(Ch, Tr) std::basic_fstream<Ch, Tr> |
---|
25 | # define BOOST_IOSTREAMS_BASIC_FILEBUF(Ch) std::basic_filebuf<Ch> |
---|
26 | #else |
---|
27 | # define BOOST_IOSTREAMS_BASIC_IFSTREAM(Ch, Tr) std::ifstream |
---|
28 | # define BOOST_IOSTREAMS_BASIC_OFSTREAM(Ch, Tr) std::ofstream |
---|
29 | # define BOOST_IOSTREAMS_BASIC_FILEBUF(Ch) std::filebuf |
---|
30 | #endif |
---|
31 | |
---|
32 | #endif // #ifndef BOOST_IOSTREAMS_DETAIL_FSTREAM_HPP_INCLUDED |
---|
Note: See
TracBrowser
for help on using the repository browser.