Libmagicxx v5.1.1
A C++ wrapper library over the Magic Number Recognition Library.
|
Functions | |
template<typename ContainerType , typename StringConverterType > requires std::ranges::range<ContainerType> && requires (ContainerType c){c.empty(); typename ContainerType::value_type;} | |
std::string | to_string (const ContainerType &container, const std::string &value_separator, StringConverterType string_converter) |
Convert any container to string using the string_converter. | |
|
inline |
Convert any container to string using the string_converter.
ContainerType | The type of the container. |
StringConverterType | The type of the string converter callable. |
[in] | container | |
[in] | value_separator | The separator between the values of the container. |
[in] | string_converter | The callable that converts values of the container to string. |