Rose::StringUtility::listToString
Generate a string from a container of strings.
Synopsis
Declared in <src/Rose/StringUtility/SplitJoin.h>
[[visibility]]
std::string
listToString(
std::list<std::string> const&,
bool separateStrings = false);
Description
The return value is the concatenation of substrings. Each substring is formed by adding a single space to the corresponding list element and an optional line feed. The line feeds are added only if separateStrings is true.
@{
Return Value
Joined string.
Parameters
Name |
Description |
separateStrings |
Whether to include line breaks. |
Created with MrDocs