Loading...
Searching...
No Matches
pangea_detail::FileCloser Struct Reference
Public Member Functions | |
| void | operator() (FILE *file) const |
| Release an owned, non-null file stream. | |
Detailed Description
RAII closer keeps regular-file descriptors bounded on exception paths.
Definition at line 490 of file pangea.cpp.
Member Function Documentation
◆ operator()()
|
inline |
Release an owned, non-null file stream.
- Parameters
-
file Stream transferred to the deleter.
- Note
- Callers that need to detect flush/close failures must close explicitly.
Definition at line 494 of file pangea.cpp.
The documentation for this struct was generated from the following file:
- modules/pangea/pangea.cpp