Joins the elements of a range using the default formatter.

Synopsis

Declared in <absl/strings/str_join.h>

template<typename Range>
std::string
StrJoin(
    Range const& range,
    std::string_view separator);

Return Value

The joined string.

Parameters

Name

Description

range

The range of elements to join.

separator

The separator placed between joined elements.

Created with MrDocs