tmp/tmp54mvijwm/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
| 1 |
### Header `<iosfwd>` synopsis <a id="iosfwd.syn">[[iosfwd.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
-
template<class charT>
|
| 6 |
-
template<>
|
| 7 |
-
template<>
|
| 8 |
-
template<>
|
| 9 |
-
template<>
|
|
|
|
| 10 |
|
| 11 |
template<class T> class allocator;
|
| 12 |
|
| 13 |
template<class charT, class traits = char_traits<charT>>
|
| 14 |
class basic_ios;
|
|
@@ -41,10 +42,17 @@ namespace std {
|
|
| 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 |
|
|
@@ -64,10 +72,13 @@ namespace std {
|
|
| 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 |
|
|
@@ -79,13 +90,19 @@ namespace std {
|
|
| 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
|
|
|
|
| 1 |
### Header `<iosfwd>` synopsis <a id="iosfwd.syn">[[iosfwd.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
+
template<class charT> struct char_traits;
|
| 6 |
+
template<> struct char_traits<char>;
|
| 7 |
+
template<> struct char_traits<char8_t>;
|
| 8 |
+
template<> struct char_traits<char16_t>;
|
| 9 |
+
template<> struct char_traits<char32_t>;
|
| 10 |
+
template<> struct char_traits<wchar_t>;
|
| 11 |
|
| 12 |
template<class T> class allocator;
|
| 13 |
|
| 14 |
template<class charT, class traits = char_traits<charT>>
|
| 15 |
class basic_ios;
|
|
|
|
| 42 |
template<class charT, class traits = char_traits<charT>>
|
| 43 |
class basic_ofstream;
|
| 44 |
template<class charT, class traits = char_traits<charT>>
|
| 45 |
class basic_fstream;
|
| 46 |
|
| 47 |
+
template<class charT, class traits = char_traits<charT>,
|
| 48 |
+
class Allocator = allocator<charT>>
|
| 49 |
+
class basic_syncbuf;
|
| 50 |
+
template<class charT, class traits = char_traits<charT>,
|
| 51 |
+
class Allocator = allocator<charT>>
|
| 52 |
+
class basic_osyncstream;
|
| 53 |
+
|
| 54 |
template<class charT, class traits = char_traits<charT>>
|
| 55 |
class istreambuf_iterator;
|
| 56 |
template<class charT, class traits = char_traits<charT>>
|
| 57 |
class ostreambuf_iterator;
|
| 58 |
|
|
|
|
| 72 |
using filebuf = basic_filebuf<char>;
|
| 73 |
using ifstream = basic_ifstream<char>;
|
| 74 |
using ofstream = basic_ofstream<char>;
|
| 75 |
using fstream = basic_fstream<char>;
|
| 76 |
|
| 77 |
+
using syncbuf = basic_syncbuf<char>;
|
| 78 |
+
using osyncstream = basic_osyncstream<char>;
|
| 79 |
+
|
| 80 |
using wstreambuf = basic_streambuf<wchar_t>;
|
| 81 |
using wistream = basic_istream<wchar_t>;
|
| 82 |
using wostream = basic_ostream<wchar_t>;
|
| 83 |
using wiostream = basic_iostream<wchar_t>;
|
| 84 |
|
|
|
|
| 90 |
using wfilebuf = basic_filebuf<wchar_t>;
|
| 91 |
using wifstream = basic_ifstream<wchar_t>;
|
| 92 |
using wofstream = basic_ofstream<wchar_t>;
|
| 93 |
using wfstream = basic_fstream<wchar_t>;
|
| 94 |
|
| 95 |
+
using wsyncbuf = basic_syncbuf<wchar_t>;
|
| 96 |
+
using wosyncstream = basic_osyncstream<wchar_t>;
|
| 97 |
+
|
| 98 |
template<class state> class fpos;
|
| 99 |
using streampos = fpos<char_traits<char>::state_type>;
|
| 100 |
using wstreampos = fpos<char_traits<wchar_t>::state_type>;
|
| 101 |
+
using u8streampos = fpos<char_traits<char8_t>::state_type>;
|
| 102 |
+
using u16streampos = fpos<char_traits<char16_t>::state_type>;
|
| 103 |
+
using u32streampos = fpos<char_traits<char32_t>::state_type>;
|
| 104 |
}
|
| 105 |
```
|
| 106 |
|
| 107 |
Default template arguments are described as appearing both in `<iosfwd>`
|
| 108 |
and in the synopsis of other headers but it is well-formed to include
|