util::Join

Join all container items using separator, without transforming them.

Synopsis

Declared in <util/string.h>

template<
    typename C,
    typename S>
auto
Join(
    C const& container,
    S const& separator);

Return Value

The concatenation of the items separated by separator.

Parameters

NameDescription
containerThe items to join.
separatorThe separator inserted between items.