4#ifndef FILE_CONCEPTS_HPP
5#define FILE_CONCEPTS_HPP
17template <
typename ContainerType>
19 requires (ContainerType c, std::filesystem::path p){
22 typename ContainerType::value_type;
24 std::ranges::range<ContainerType> &&
25 std::default_initializable<ContainerType> &&
26 std::same_as<typename ContainerType::value_type, std::filesystem::path>;
40 [](
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:30