Namespaces
Variants
Views
Actions

std::basic_filebuf<CharT,Traits>::~basic_filebuf

From cppreference.com
< cpp‎ | io‎ | basic filebuf
 
 
Input/output library
I/O manipulators
C-style I/O
Buffers
(deprecated in C++98)
Streams
Abstractions
File I/O
String I/O
Array I/O
(deprecated in C++98)
(deprecated in C++98)
(deprecated in C++98)
Synchronized Output
Types
Error category interface
(C++11)
 
 
virtual ~basic_filebuf();

Calls close() to close the associated file and destructs all other members of basic_filebuf. If an exception is thrown by close(), it is caught and not rethrown.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Notes

Typically called by the destructor of std::basic_fstream.

[edit] Example

[edit] See also

constructs a basic_filebuf object
(public member function) [edit]
flushes the put area buffer and closes the associated file
(public member function) [edit]