Function Dune::XT::Common::make_ofstream

Function Dune::XT::Common::make_ofstream

int Dune::XT::Common::make_ofstream(const boost::filesystem::path &path, const std::ios_base::openmode mode = std::ios_base::out)

creates the directories leading up to path (if needed) and returns an ofstream opened on it