Loading...
Searching...
No Matches
camera_lens_detail::FileCloser Struct Reference
Public Member Functions | |
| void | operator() (FILE *file) const |
| Close the stream owned by a File handle. | |
Detailed Description
Definition at line 108 of file camera_lens.cpp.
Member Function Documentation
◆ operator()()
|
inline |
Close the stream owned by a File handle.
- Parameters
-
file Non-null stream handed off by the unique pointer.
Scope cleanup cannot report close errors; output paths that need to detect write failures must check them before relinquishing ownership.
Definition at line 113 of file camera_lens.cpp.
The documentation for this struct was generated from the following file:
- src/camera_lens.cpp