Joins an initializer list of string_view using a custom formatter.
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);
The joined string.
| 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. |