[#util-Join-07] = xref:util.adoc[util]::Join :relfileprefix: ../ :mrdocs: `Join` overloads == Synopses Declared in `<util/string.h>` Join all container items using separator, without transforming them. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename S> auto xref:util/Join-01e.adoc[Join]( C const& container, S const& separator); ---- [.small]#xref:util/Join-01e.adoc[_» more..._]# Join all container items. Typically used to concatenate strings but accepts containers with elements of any type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename S, typename UnaryOp> auto xref:util/Join-012.adoc[Join]( C const& container, S const& separator, UnaryOp unary_op); ---- [.small]#xref:util/Join-012.adoc[_» more..._]# == Return Value * The concatenation of the items separated by separator. * The concatenation of the transformed items separated by separator. == Parameters [cols="1,4"] |=== | Name| Description | *container* | The items to join. | *separator* | The separator inserted between items. | *unary_op* | Apply this operator to each item |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#