1// Boost io_fwd.hpp header file --------------------------------------------//
2
3// Copyright 2002 Daryle Walker. Use, modification, and distribution are subject
4// to the Boost Software License, Version 1.0. (See accompanying file
5// LICENSE_1_0.txt or a copy at <http://www.boost.org/LICENSE_1_0.txt>.)
6
7// See <http://www.boost.org/libs/io/> for the library's home page.
8
9#ifndef BOOST_IO_FWD_HPP
10#define BOOST_IO_FWD_HPP
11
12#include <iosfwd> // for std::char_traits (declaration)
13
14
15namespace boost
16{
17namespace io
18{
19
20
21// From <boost/io/ios_state.hpp> -------------------------------------------//
22
23class ios_flags_saver;
24class ios_precision_saver;
25class ios_width_saver;
26class ios_base_all_saver;
27
28template < typename Ch, class Tr = ::std::char_traits<Ch> >
29 class basic_ios_iostate_saver;
30template < typename Ch, class Tr = ::std::char_traits<Ch> >
31 class basic_ios_exception_saver;
32template < typename Ch, class Tr = ::std::char_traits<Ch> >
33 class basic_ios_tie_saver;
34template < typename Ch, class Tr = ::std::char_traits<Ch> >
35 class basic_ios_rdbuf_saver;
36template < typename Ch, class Tr = ::std::char_traits<Ch> >
37 class basic_ios_fill_saver;
38template < typename Ch, class Tr = ::std::char_traits<Ch> >
39 class basic_ios_locale_saver;
40template < typename Ch, class Tr = ::std::char_traits<Ch> >
41 class basic_ios_all_saver;
42
43typedef basic_ios_iostate_saver<char> ios_iostate_saver;
44typedef basic_ios_iostate_saver<wchar_t> wios_iostate_saver;
45typedef basic_ios_exception_saver<char> ios_exception_saver;
46typedef basic_ios_exception_saver<wchar_t> wios_exception_saver;
47typedef basic_ios_tie_saver<char> ios_tie_saver;
48typedef basic_ios_tie_saver<wchar_t> wios_tie_saver;
49typedef basic_ios_rdbuf_saver<char> ios_rdbuf_saver;
50typedef basic_ios_rdbuf_saver<wchar_t> wios_rdbuf_saver;
51typedef basic_ios_fill_saver<char> ios_fill_saver;
52typedef basic_ios_fill_saver<wchar_t> wios_fill_saver;
53typedef basic_ios_locale_saver<char> ios_locale_saver;
54typedef basic_ios_locale_saver<wchar_t> wios_locale_saver;
55typedef basic_ios_all_saver<char> ios_all_saver;
56typedef basic_ios_all_saver<wchar_t> wios_all_saver;
57
58class ios_iword_saver;
59class ios_pword_saver;
60class ios_all_word_saver;
61
62
63} // namespace io
64} // namespace boost
65
66
67#endif // BOOST_IO_FWD_HPP
68