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 15 namespace boost 16 { 17 namespace io 18 { 19 20 21 // From <boost/io/ios_state.hpp> -------------------------------------------// 22 23 class ios_flags_saver; 24 class ios_precision_saver; 25 class ios_width_saver; 26 class ios_base_all_saver; 27 28 template < typename Ch, class Tr = ::std::char_traits<Ch> > 29 class basic_ios_iostate_saver; 30 template < typename Ch, class Tr = ::std::char_traits<Ch> > 31 class basic_ios_exception_saver; 32 template < typename Ch, class Tr = ::std::char_traits<Ch> > 33 class basic_ios_tie_saver; 34 template < typename Ch, class Tr = ::std::char_traits<Ch> > 35 class basic_ios_rdbuf_saver; 36 template < typename Ch, class Tr = ::std::char_traits<Ch> > 37 class basic_ios_fill_saver; 38 template < typename Ch, class Tr = ::std::char_traits<Ch> > 39 class basic_ios_locale_saver; 40 template < typename Ch, class Tr = ::std::char_traits<Ch> > 41 class basic_ios_all_saver; 42 43 typedef basic_ios_iostate_saver<char> ios_iostate_saver; 44 typedef basic_ios_iostate_saver<wchar_t> wios_iostate_saver; 45 typedef basic_ios_exception_saver<char> ios_exception_saver; 46 typedef basic_ios_exception_saver<wchar_t> wios_exception_saver; 47 typedef basic_ios_tie_saver<char> ios_tie_saver; 48 typedef basic_ios_tie_saver<wchar_t> wios_tie_saver; 49 typedef basic_ios_rdbuf_saver<char> ios_rdbuf_saver; 50 typedef basic_ios_rdbuf_saver<wchar_t> wios_rdbuf_saver; 51 typedef basic_ios_fill_saver<char> ios_fill_saver; 52 typedef basic_ios_fill_saver<wchar_t> wios_fill_saver; 53 typedef basic_ios_locale_saver<char> ios_locale_saver; 54 typedef basic_ios_locale_saver<wchar_t> wios_locale_saver; 55 typedef basic_ios_all_saver<char> ios_all_saver; 56 typedef basic_ios_all_saver<wchar_t> wios_all_saver; 57 58 class ios_iword_saver; 59 class ios_pword_saver; 60 class ios_all_word_saver; 61 62 63 } // namespace io 64 } // namespace boost 65 66 67 #endif // BOOST_IO_FWD_HPP 68