C++: Difference between revisions

Line 194: Line 194:
#include <fstream>
#include <fstream>
#include <string>
#include <string>
#include <string_view>


std::string get_file_contents(std::string_view filename) {
std::string get_file_contents(std::string_view filename) {