Header file functions/misc.hpp