std::basic_filebuf

From Cppreference

< cpp | io
Jump to: navigation, search
Defined in header <fstream>

template<

    class charT,
    class Traits = std::char_traits<CharT>,
    class Allocator = std::allocator<CharT>

> class basic_filebuf;          //inherits basic_streambuf<charT, Traits, Allocator>

Two specializations for common character types are also defined:

Defined in header <streambuf>
Type Definition
filebuf basic_filebuf<char>
wfilebuf basic_filebuf<wchar_t>

[edit] Member types

Member type Definition
char_type CharT
traits_type Traits
int_type Traits::int_type
pos_type Traits::pos_type
off_type Traits::off_type

[edit] Member functions

[edit] See also

io/basic_streambuf, io/basic_stringbuf