#ifndef WC3RE__COMMON_HH__ #define WC3RE__COMMON_HH__ #include #include struct FILEDeleter { void operator()(FILE* file) const { fclose(file); } }; using FILEUPtr = std::unique_ptr; #include "exceptions.hh" #endif