Libmagicxx v5.1.1
A C++ wrapper library over the Magic Number Recognition Library.
Loading...
Searching...
No Matches
Concepts | Functions
file_concepts Namespace Reference

Concepts

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

Functions

std::string to_string (const file_container auto &container, const std::string &separator=", ")
 Convert the file container to a string.
 

Function Documentation

◆ to_string()

std::string file_concepts::to_string ( const file_container auto & container,
const std::string & separator = ", " )
inline

Convert the file container to a string.

Parameters
[in]containerThe container that holds the paths of the files.
[in]separatorThe separator between the paths of the files, default is ", ".
Returns
The container as a string.