[#absl-StrJoin-07] = xref:absl.adoc[absl]::StrJoin :relfileprefix: ../ :mrdocs: Joins the elements of an initializer list using a custom formatter. == Synopsis Declared in `<absl/strings/str_join.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename Formatter> requires !std::is_convertible_v<T, absl::string_view> std::string StrJoin( std::initializer_list<T> il, std::string_view separator, Formatter&& fmt); ---- == Return Value The joined string. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#