Concepts | |
concept | range_container |
Define requirements for a range container. | |
concept | string_converter |
Define requirements for a string converter. | |
Functions | |
template<range_container ContainerType, typename StringConverterType > requires string_converter< typename ContainerType::value_type, StringConverterType> | |
std::string | to_string (const ContainerType &container, const std::string &value_separator, StringConverterType string_converter) |
Convert any container to string using the string_converter. | |
|
inlinenodiscard |
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. |