Joins an initializer list of string_view using the default formatter.

Synopsis

Declared in <absl/strings/str_join.h>

std::string
StrJoin(
    std::initializer_list<std::string_view> il,
    std::string_view separator);

Return Value

The joined string.

Parameters

Name

Description

il

The initializer list of elements to join.

separator

The separator placed between joined elements.

Created with MrDocs