Standard C++ Library Reference ISO/IEC (VERSION3)

Next
<fstream>
Include the iostreams standard header <fstream> to define several classes that support
iostreams operations on sequences stored in external files.
namespace std {
template<class Elem, class Tr = char_traits<Elem> >
class basic_filebuf;
typedef basic_filebuf<char> filebuf;
typedef basic_filebuf<wchar_t> wfilebuf;
template<class Elem, class Tr = char_traits<Elem> >
class basic_ifstream;
typedef basic_ifstream<char> ifstream;
typedef basic_ifstream<wchar_t> wifstream;
template<class Elem, class Tr = char_traits<Elem> >
class basic_ofstream;
typedef basic_ofstream<char> ofstream;
typedef basic_ofstream<wchar_t> wofstream;
template<class Elem, class Tr = char_traits<Elem> >
class basic_fstream;
typedef basic_fstream<char> fstream;
typedef basic_fstream<wchar_t> wfstream;
};
basic_filebuf
template <class Elem, class Tr = char_traits<Elem> >
class basic_filebuf : public basic_streambuf<Elem, Tr> {
public:
typedef typename basic_streambuf<Elem, Tr>::char_type
char_type;
typedef typename basic_streambuf<Elem, Tr>::traits_type
traits_type;
typedef typename basic_streambuf<Elem, Tr>::int_type
int_type;
typedef typename basic_streambuf<Elem, Tr>::pos_type
pos_type;
typedef typename basic_streambuf<Elem, Tr>::off_type