1 #ifndef gamgee__file_utils__guard
2 #define gamgee__file_utils__guard
std::shared_ptr< std::ifstream > make_shared_ifstream(std::ifstream *ifstream_ptr)
wraps a pre-allocated ifstream in a shared_ptr with correct deleter
Definition: file_utils.cpp:12
a functor object to delete an ifstream
Definition: file_utils.h:14
void operator()(std::ifstream *p) const
Definition: file_utils.h:15
Definition: exceptions.h:9