Joins the elements of a range using a custom formatter.
Declared in <absl/strings/str_join.h>
template<
typename Range,
typename Formatter>
std::string
StrJoin(
Range const& range,
std::string_view separator,
Formatter&& fmt);
The joined string.
| Name | Description |
|---|---|
| range | The range of elements to join. |
| separator | The separator placed between joined elements. |
| fmt | The formatter used to convert each element to a string. |