4#ifndef FILE_CONCEPTS_HPP
5#define FILE_CONCEPTS_HPP
17template <
typename ContainerType>
19 && std::default_initializable<ContainerType>
21 typename ContainerType::value_type,
22 std::filesystem::path>
23 &&
requires(ContainerType c, std::filesystem::path p) {
26 typename ContainerType::value_type;
39 const std::string& separator =
", "
45 [](
const std::filesystem::path& path) {
The file_container concept specifies the requirements of a container which can be used as a file cont...
Definition file_concepts.hpp:18
Definition file_concepts.hpp:11
std::string to_string(const file_container auto &container, const std::string &separator=", ")
Convert the file container to a string.
Definition file_concepts.hpp:37
std::string to_string(const ContainerType &container, const std::string &value_separator, StringConverterType string_converter)
Convert any container to string using the string_converter.
Definition utility.hpp:51