Gromacs
2025.0-dev-20241011-013a99c
|
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 | |