InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes | List of all members
FileWrapper Struct Reference

#include <configparser.h>

Public Member Functions

 FileWrapper (FILE *file, bool use_pclose=false)
 
 operator bool ()
 
 operator FILE * ()
 

Public Attributes

FILE *const f
 
bool close_with_pclose
 

Detailed Description

RAII wrapper on FILE* to close files on exceptions


The documentation for this struct was generated from the following file: