absl::StrJoin

Joins the elements of a std::tuple using the default formatter.

Synopsis

Declared in <absl/strings/str_join.h>

template<typename... T>
std::string
StrJoin(
    std::tuple<T...> const& value,
    std::string_view separator);

Return Value

The joined string.

Parameters

NameDescription
valueThe tuple of elements to join.
separatorThe separator placed between joined elements.