File indexing completed on 2025-01-18 09:38:50
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_IOSTREAMS_DETAIL_FSTREAM_HPP_INCLUDED
0009 #define BOOST_IOSTREAMS_DETAIL_FSTREAM_HPP_INCLUDED
0010
0011 #if defined(_MSC_VER)
0012 # pragma once
0013 #endif
0014
0015 #include <boost/iostreams/detail/config/wide_streams.hpp>
0016 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
0017 # include <fstream>
0018 #else
0019 # include <fstream.h>
0020 #endif
0021
0022 #ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES
0023 # define BOOST_IOSTREAMS_BASIC_IFSTREAM(Ch, Tr) std::basic_ifstream<Ch, Tr>
0024 # define BOOST_IOSTREAMS_BASIC_OFSTREAM(Ch, Tr) std::basic_ofstream<Ch, Tr>
0025 # define BOOST_IOSTREAMS_BASIC_FSTREAM(Ch, Tr) std::basic_fstream<Ch, Tr>
0026 # define BOOST_IOSTREAMS_BASIC_FILEBUF(Ch) std::basic_filebuf<Ch>
0027 #else
0028 # define BOOST_IOSTREAMS_BASIC_IFSTREAM(Ch, Tr) std::ifstream
0029 # define BOOST_IOSTREAMS_BASIC_OFSTREAM(Ch, Tr) std::ofstream
0030 # define BOOST_IOSTREAMS_BASIC_FILEBUF(Ch) std::filebuf
0031 #endif
0032
0033 #endif