tmp/tmpand8h3ja/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
### Header `<iosfwd>` synopsis <a id="iosfwd.syn">[[iosfwd.syn]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
namespace std {
|
| 5 |
+
template<class charT> class char_traits;
|
| 6 |
+
template<> class char_traits<char>;
|
| 7 |
+
template<> class char_traits<char16_t>;
|
| 8 |
+
template<> class char_traits<char32_t>;
|
| 9 |
+
template<> class char_traits<wchar_t>;
|
| 10 |
+
|
| 11 |
+
template<class T> class allocator;
|
| 12 |
+
|
| 13 |
+
template <class charT, class traits = char_traits<charT>>
|
| 14 |
+
class basic_ios;
|
| 15 |
+
template <class charT, class traits = char_traits<charT>>
|
| 16 |
+
class basic_streambuf;
|
| 17 |
+
template <class charT, class traits = char_traits<charT>>
|
| 18 |
+
class basic_istream;
|
| 19 |
+
template <class charT, class traits = char_traits<charT>>
|
| 20 |
+
class basic_ostream;
|
| 21 |
+
template <class charT, class traits = char_traits<charT>>
|
| 22 |
+
class basic_iostream;
|
| 23 |
+
|
| 24 |
+
template <class charT, class traits = char_traits<charT>,
|
| 25 |
+
class Allocator = allocator<charT>>
|
| 26 |
+
class basic_stringbuf;
|
| 27 |
+
template <class charT, class traits = char_traits<charT>,
|
| 28 |
+
class Allocator = allocator<charT>>
|
| 29 |
+
class basic_istringstream;
|
| 30 |
+
template <class charT, class traits = char_traits<charT>,
|
| 31 |
+
class Allocator = allocator<charT>>
|
| 32 |
+
class basic_ostringstream;
|
| 33 |
+
template <class charT, class traits = char_traits<charT>,
|
| 34 |
+
class Allocator = allocator<charT>>
|
| 35 |
+
class basic_stringstream;
|
| 36 |
+
|
| 37 |
+
template <class charT, class traits = char_traits<charT>>
|
| 38 |
+
class basic_filebuf;
|
| 39 |
+
template <class charT, class traits = char_traits<charT>>
|
| 40 |
+
class basic_ifstream;
|
| 41 |
+
template <class charT, class traits = char_traits<charT>>
|
| 42 |
+
class basic_ofstream;
|
| 43 |
+
template <class charT, class traits = char_traits<charT>>
|
| 44 |
+
class basic_fstream;
|
| 45 |
+
|
| 46 |
+
template <class charT, class traits = char_traits<charT>>
|
| 47 |
+
class istreambuf_iterator;
|
| 48 |
+
template <class charT, class traits = char_traits<charT>>
|
| 49 |
+
class ostreambuf_iterator;
|
| 50 |
+
|
| 51 |
+
using ios = basic_ios<char>;
|
| 52 |
+
using wios = basic_ios<wchar_t>;
|
| 53 |
+
|
| 54 |
+
using streambuf = basic_streambuf<char>;
|
| 55 |
+
using istream = basic_istream<char>;
|
| 56 |
+
using ostream = basic_ostream<char>;
|
| 57 |
+
using iostream = basic_iostream<char>;
|
| 58 |
+
|
| 59 |
+
using stringbuf = basic_stringbuf<char>;
|
| 60 |
+
using istringstream = basic_istringstream<char>;
|
| 61 |
+
using ostringstream = basic_ostringstream<char>;
|
| 62 |
+
using stringstream = basic_stringstream<char>;
|
| 63 |
+
|
| 64 |
+
using filebuf = basic_filebuf<char>;
|
| 65 |
+
using ifstream = basic_ifstream<char>;
|
| 66 |
+
using ofstream = basic_ofstream<char>;
|
| 67 |
+
using fstream = basic_fstream<char>;
|
| 68 |
+
|
| 69 |
+
using wstreambuf = basic_streambuf<wchar_t>;
|
| 70 |
+
using wistream = basic_istream<wchar_t>;
|
| 71 |
+
using wostream = basic_ostream<wchar_t>;
|
| 72 |
+
using wiostream = basic_iostream<wchar_t>;
|
| 73 |
+
|
| 74 |
+
using wstringbuf = basic_stringbuf<wchar_t>;
|
| 75 |
+
using wistringstream = basic_istringstream<wchar_t>;
|
| 76 |
+
using wostringstream = basic_ostringstream<wchar_t>;
|
| 77 |
+
using wstringstream = basic_stringstream<wchar_t>;
|
| 78 |
+
|
| 79 |
+
using wfilebuf = basic_filebuf<wchar_t>;
|
| 80 |
+
using wifstream = basic_ifstream<wchar_t>;
|
| 81 |
+
using wofstream = basic_ofstream<wchar_t>;
|
| 82 |
+
using wfstream = basic_fstream<wchar_t>;
|
| 83 |
+
|
| 84 |
+
template <class state> class fpos;
|
| 85 |
+
using streampos = fpos<char_traits<char>::state_type>;
|
| 86 |
+
using wstreampos = fpos<char_traits<wchar_t>::state_type>;
|
| 87 |
+
}
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
Default template arguments are described as appearing both in `<iosfwd>`
|
| 91 |
+
and in the synopsis of other headers but it is well-formed to include
|
| 92 |
+
both `<iosfwd>` and one or more of the other headers.[^1]
|
| 93 |
+
|