aboutsummaryrefslogtreecommitdiff
path: root/src/util/io.hpp
blob: 2c248f72b10674e1ba5f4f4d0f5f7b8ff3d043c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "util/concepts.hpp"

#include <concepts>
#include <filesystem>
#include <string>

template <typename ContainerType>
requires Container<ContainerType> && HasPushBack<ContainerType> &&
	std::same_as<typename ContainerType::value_type, std::string>
auto read_file_lines(const std::filesystem::path &path) -> ContainerType;

#include "io_impl.hpp"