#pragma once #include #include inline std::string slurp(std::string file_name){ std::ifstream f(file_name); if (!f) throw std::runtime_error(std::string("Unable to open file: ") + file_name); return {std::istreambuf_iterator(f), std::istreambuf_iterator()}; }