Debian Codegraph @

headers/iosfwd

raw
1 /* Copyright (C) 2015 Povilas Kanapickas <[email protected]>
2
3 This file is part of cppreference-doc
4
5 This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
6 Unported License. To view a copy of this license, visit
7 http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative
8 Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
9
10 Permission is granted to copy, distribute and/or modify this document
11 under the terms of the GNU Free Documentation License, Version 1.3 or
12 any later version published by the Free Software Foundation; with no
13 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
14 */
15
16 #ifndef CPPREFERENCE_IOSFWD_H
17 #define CPPREFERENCE_IOSFWD_H
18
19 namespace std {
20
21 template<class CharT> struct char_traits;
22
23 template<class T> class allocator;
24
25 class ios_base;
26 template<class CharT, class Traits = char_traits<CharT>> class basic_ios;
27
28 template<class CharT, class Traits = char_traits<CharT>> class basic_streambuf;
29 template<class CharT, class Traits = char_traits<CharT>> class basic_istream;
30 template<class CharT, class Traits = char_traits<CharT>> class basic_ostream;
31 template<class CharT, class Traits = char_traits<CharT>> class basic_iostream;
32
33 template<class CharT, class Traits = char_traits<CharT>> class basic_filebuf;
34 template<class CharT, class Traits = char_traits<CharT>> class basic_ifstream;
35 template<class CharT, class Traits = char_traits<CharT>> class basic_ofstream;
36 template<class CharT, class Traits = char_traits<CharT>> class basic_fstream;
37
38 template<class CharT, class Traits = char_traits<CharT>, class Alloc = allocator<CharT>>
39 class basic_stringbuf;
40 template<class CharT, class Traits = char_traits<CharT>, class Alloc = allocator<CharT>>
41 class basic_istringstream;
42 template<class CharT, class Traits = char_traits<CharT>, class Alloc = allocator<CharT>>
43 class basic_ostringstream;
44 template<class CharT, class Traits = char_traits<CharT>, class Alloc = allocator<CharT>>
45 class basic_stringstream;
46
47 template<class CharT, class Traits = char_traits<CharT>> class istreambuf_iterator;
48 template<class CharT, class Traits = char_traits<CharT>> class ostreambuf_iterator;
49
50 typedef basic_ios<char> ios;
51 typedef basic_ios<wchar_t> wios;
52
53 typedef basic_streambuf<char> streambuf;
54 typedef basic_istream<char> istream;
55 typedef basic_ostream<char> ostream;
56 typedef basic_iostream<char> iostream;
57
58 typedef basic_filebuf<char> filebuf;
59 typedef basic_ifstream<char> ifstream;
60 typedef basic_ofstream<char> ofstream;
61 typedef basic_fstream<char> fstream;
62
63 typedef basic_stringbuf<char> stringbuf;
64 typedef basic_istringstream<char> istringstream;
65 typedef basic_ostringstream<char> ostringstream;
66 typedef basic_stringstream<char> stringstream;
67
68 typedef basic_streambuf<wchar_t> wstreambuf;
69 typedef basic_istream<wchar_t> wistream;
70 typedef basic_ostream<wchar_t> wostream;
71 typedef basic_iostream<wchar_t> wiostream;
72
73 typedef basic_filebuf<wchar_t> wfilebuf;
74 typedef basic_ifstream<wchar_t> wifstream;
75 typedef basic_ofstream<wchar_t> wofstream;
76 typedef basic_fstream<wchar_t> wfstream;
77
78 typedef basic_stringbuf<wchar_t> wstringbuf;
79 typedef basic_istringstream<wchar_t> wistringstream;
80 typedef basic_ostringstream<wchar_t> wostringstream;
81 typedef basic_stringstream<wchar_t> wstringstream;
82
83 template<class state> class fpos;
84 typedef fpos<char_traits<char>::state_type> streampos;
85 typedef fpos<char_traits<wchar_t>::state_type> wstreampos;
86
87 } // namespace std
88
89 #endif // CPPREFERENCE_IOSFWD_H