Libmagicxx v5.1.1
A C++ wrapper library over the Magic Number Recognition Library.
Loading...
Searching...
No Matches
file_concepts::file_container Concept Reference

The file_container concept specifies the requirements of a container which can be used as a file container by the magic class. More...

#include <file_concepts.hpp>

Concept definition

template<typename ContainerType>
requires (ContainerType c, std::filesystem::path p){
c.push_back(p);
c.empty();
typename ContainerType::value_type;
} &&
std::ranges::range<ContainerType> &&
std::default_initializable<ContainerType> &&
std::same_as<typename ContainerType::value_type, std::filesystem::path>
The file_container concept specifies the requirements of a container which can be used as a file cont...
Definition file_concepts.hpp:18

Detailed Description

The file_container concept specifies the requirements of a container which can be used as a file container by the magic class.