std::basic_filebuf<CharT,Traits>::basic_filebuf (3) - Linux Manuals
std::basic_filebuf<CharT,Traits>::basic_filebuf: std::basic_filebuf<CharT,Traits>::basic_filebuf
Command to display std::basic_filebuf<CharT,Traits>::basic_filebuf
manual in Linux: $ man 3 std::basic_filebuf<CharT,Traits>::basic_filebuf
NAME
std::basic_filebuf<CharT,Traits>::basic_filebuf - std::basic_filebuf<CharT,Traits>::basic_filebuf
Synopsis
basic_filebuf(); (1)
basic_filebuf( const std::basic_filebuf& rhs ) = delete; (2) (since C++11)
basic_filebuf( std::basic_filebuf&& rhs ); (3) (since C++11)
Contructs new std::basic_filebuf object.
1) Constructs a std::basic_filebuf object, initializing the base class by calling the default constructor of std::basic_streambuf. The created basic_filebuf is not associated with a file, and is_open() returns false.
2) The copy constructor is deleted; std::basic_filebuf is not CopyConstructible
3) Move-constructs a std::basic_filebuf object by moving all contents from another std::basic_filebuf object rhs, including the buffers, the associated file, the locale, the openmode, the is_open variable, and all other state. After move, rhs is not associated with a file and rhs.is_open()==false. The member pointers of the base class std::basic_streambuf of rhs and of the base class of *this are guaranteed to point to different buffers (unless null).
Parameters
rhs - another basic_filebuf
Notes
Typically called by the constructor of std::basic_fstream.
Example
This section is incomplete
Reason: no example
See also
operator= assigns a basic_filebuf object
(public member function)
(C++11)
destructor destructs a basic_filebuf object and closes the file if it is open
(virtual public member function)
[virtual]
Pages related to std::basic_filebuf<CharT,Traits>::basic_filebuf
- std::basic_filebuf<CharT,Traits>::close (3) - std::basic_filebuf<CharT,Traits>::close
- std::basic_filebuf<CharT,Traits>::imbue (3) - std::basic_filebuf<CharT,Traits>::imbue
- std::basic_filebuf<CharT,Traits>::is_open (3) - std::basic_filebuf<CharT,Traits>::is_open
- std::basic_filebuf<CharT,Traits>::open (3) - std::basic_filebuf<CharT,Traits>::open
- std::basic_filebuf<CharT,Traits>::operator= (3) - std::basic_filebuf<CharT,Traits>::operator=
- std::basic_filebuf<CharT,Traits>::overflow (3) - std::basic_filebuf<CharT,Traits>::overflow
- std::basic_filebuf<CharT,Traits>::pbackfail (3) - std::basic_filebuf<CharT,Traits>::pbackfail
- std::basic_filebuf<CharT,Traits>::seekoff (3) - std::basic_filebuf<CharT,Traits>::seekoff
- std::basic_filebuf<CharT,Traits>::seekpos (3) - std::basic_filebuf<CharT,Traits>::seekpos
- std::basic_filebuf<CharT,Traits>::setbuf (3) - std::basic_filebuf<CharT,Traits>::setbuf
- std::basic_filebuf<CharT,Traits>::showmanyc (3) - std::basic_filebuf<CharT,Traits>::showmanyc
- std::basic_filebuf<CharT,Traits>::swap (3) - std::basic_filebuf<CharT,Traits>::swap
- std::basic_filebuf<CharT,Traits>::sync (3) - std::basic_filebuf<CharT,Traits>::sync
- std::basic_filebuf<CharT,Traits>::uflow (3) - std::basic_filebuf<CharT,Traits>::uflow
- std::basic_filebuf<CharT,Traits>::underflow (3) - std::basic_filebuf<CharT,Traits>::underflow
- std::basic_filebuf<CharT,Traits>::~basic_filebuf (3) - std::basic_filebuf<CharT,Traits>::~basic_filebuf
- std::basic_filebuf (3) - std::basic_filebuf
- std::basic_fstream (3) - std::basic_fstream