tmp/tmp9623yxad/{from.md → to.md}
RENAMED
|
@@ -1,36 +1,40 @@
|
|
| 1 |
### Header `<fstream>` synopsis <a id="fstream.syn">[[fstream.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
|
|
|
| 5 |
template<class charT, class traits = char_traits<charT>>
|
| 6 |
class basic_filebuf;
|
| 7 |
|
| 8 |
template<class charT, class traits>
|
| 9 |
void swap(basic_filebuf<charT, traits>& x, basic_filebuf<charT, traits>& y);
|
| 10 |
|
| 11 |
using filebuf = basic_filebuf<char>;
|
| 12 |
using wfilebuf = basic_filebuf<wchar_t>;
|
| 13 |
|
|
|
|
| 14 |
template<class charT, class traits = char_traits<charT>>
|
| 15 |
class basic_ifstream;
|
| 16 |
|
| 17 |
template<class charT, class traits>
|
| 18 |
void swap(basic_ifstream<charT, traits>& x, basic_ifstream<charT, traits>& y);
|
| 19 |
|
| 20 |
using ifstream = basic_ifstream<char>;
|
| 21 |
using wifstream = basic_ifstream<wchar_t>;
|
| 22 |
|
|
|
|
| 23 |
template<class charT, class traits = char_traits<charT>>
|
| 24 |
class basic_ofstream;
|
| 25 |
|
| 26 |
template<class charT, class traits>
|
| 27 |
void swap(basic_ofstream<charT, traits>& x, basic_ofstream<charT, traits>& y);
|
| 28 |
|
| 29 |
using ofstream = basic_ofstream<char>;
|
| 30 |
using wofstream = basic_ofstream<wchar_t>;
|
| 31 |
|
|
|
|
| 32 |
template<class charT, class traits = char_traits<charT>>
|
| 33 |
class basic_fstream;
|
| 34 |
|
| 35 |
template<class charT, class traits>
|
| 36 |
void swap(basic_fstream<charT, traits>& x, basic_fstream<charT, traits>& y);
|
|
|
|
| 1 |
### Header `<fstream>` synopsis <a id="fstream.syn">[[fstream.syn]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std {
|
| 5 |
+
// [filebuf], class template basic_filebuf
|
| 6 |
template<class charT, class traits = char_traits<charT>>
|
| 7 |
class basic_filebuf;
|
| 8 |
|
| 9 |
template<class charT, class traits>
|
| 10 |
void swap(basic_filebuf<charT, traits>& x, basic_filebuf<charT, traits>& y);
|
| 11 |
|
| 12 |
using filebuf = basic_filebuf<char>;
|
| 13 |
using wfilebuf = basic_filebuf<wchar_t>;
|
| 14 |
|
| 15 |
+
// [ifstream], class template basic_ifstream
|
| 16 |
template<class charT, class traits = char_traits<charT>>
|
| 17 |
class basic_ifstream;
|
| 18 |
|
| 19 |
template<class charT, class traits>
|
| 20 |
void swap(basic_ifstream<charT, traits>& x, basic_ifstream<charT, traits>& y);
|
| 21 |
|
| 22 |
using ifstream = basic_ifstream<char>;
|
| 23 |
using wifstream = basic_ifstream<wchar_t>;
|
| 24 |
|
| 25 |
+
// [ofstream], class template basic_ofstream
|
| 26 |
template<class charT, class traits = char_traits<charT>>
|
| 27 |
class basic_ofstream;
|
| 28 |
|
| 29 |
template<class charT, class traits>
|
| 30 |
void swap(basic_ofstream<charT, traits>& x, basic_ofstream<charT, traits>& y);
|
| 31 |
|
| 32 |
using ofstream = basic_ofstream<char>;
|
| 33 |
using wofstream = basic_ofstream<wchar_t>;
|
| 34 |
|
| 35 |
+
// [fstream], class template basic_fstream
|
| 36 |
template<class charT, class traits = char_traits<charT>>
|
| 37 |
class basic_fstream;
|
| 38 |
|
| 39 |
template<class charT, class traits>
|
| 40 |
void swap(basic_fstream<charT, traits>& x, basic_fstream<charT, traits>& y);
|