ΒΆtemplate <typename Sep, typename... Args>
inline std::string join_items(Sep Separator,
                              Args&&... Items)

Description

Joins the strings in the parameter pack \p Items, adding \p Separator between the elements. All arguments must be implicitly convertible to std::string, or there should be an overload of std::string::operator+=() that accepts the argument explicitly.

Declared at: llvm/include/llvm/ADT/StringExtras.h:486

Templates

Sep
Args

Parameters

Sep Separator
Args&&... Items