From 927e065f9829045247be7c0b3296408b6f577c1f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 12 Jun 2022 13:44:58 +0200 Subject: feat: add reading RLE files --- src/util/io.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/util/io.hpp (limited to 'src/util/io.hpp') diff --git a/src/util/io.hpp b/src/util/io.hpp new file mode 100644 index 0000000..2c248f7 --- /dev/null +++ b/src/util/io.hpp @@ -0,0 +1,14 @@ +#pragma once + +#include "util/concepts.hpp" + +#include +#include +#include + +template +requires Container && HasPushBack && + std::same_as +auto read_file_lines(const std::filesystem::path &path) -> ContainerType; + +#include "io_impl.hpp" -- cgit v1.2.3-18-g5258