Libmagicxx v5.1.1
A C++ wrapper library over the Magic Number Recognition Library.
Loading...
Searching...
No Matches
Namespaces | Functions
utility.hpp File Reference
#include <string>
#include <ranges>
#include <concepts>
#include <algorithm>
#include <functional>
Include dependency graph for utility.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  utility
 

Functions

template<typename ContainerType , typename StringConverterType >
requires std::ranges::range<ContainerType> && requires (ContainerType c){c.empty(); typename ContainerType::value_type;}
std::string utility::to_string (const ContainerType &container, const std::string &value_separator, StringConverterType string_converter)
 Convert any container to string using the string_converter.