join overloads
Declared in <llvm/ADT/StringExtras.h>
Joins the strings in the range [R.begin(), R.end()), adding Separator] between the elements.
template<typename Range>
std::string
join(
Range&& R,
StringRef Separator);
» more...
Joins the strings in the range [Begin, End), adding Separator between] the elements.
template<typename IteratorT>
std::string
join(
IteratorT Begin,
IteratorT End,
StringRef Separator);
» more...
The joined string.
| Name | Description |
|---|---|
| R | range of strings to join |
| Separator | text inserted between consecutive elements |
| Begin | start of the range of strings to join |
| End | end of the range of strings to join |