Gromacs
2024.4
|
Declares guard pointer for RAII-style handling of cstdio FILE pointers.
Typedefs | |
using | gmx::FilePtr = std::unique_ptr< FILE, functor_wrapper< FILE, fclose_wrapper >> |
Simple guard pointer which calls fclose. See unique_cptr for details. | |
Functions | |
void | gmx::fclose_wrapper (FILE *fp) |
fclose wrapper to be used as unique_ptr deleter | |