Joins an initializer list of string_view using a custom formatter.
Synopsis
Declared in <absl/strings/str_join.h>
template<typename Formatter>
std::string
StrJoin(
std::initializer_list<std::string_view> il,
std::string_view separator,
Formatter&& fmt);
Return Value
The joined string.
Parameters
Name |
Description |
il |
The initializer list of elements to join. |
separator |
The separator placed between joined elements. |
fmt |
The formatter used to convert each element to a string. |
Created with MrDocs