summaryrefslogtreecommitdiffstats
path: root/src/common/split.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: add iterator-based string splitterCasey Bodley2020-03-031-0/+107
ranged-for loop example: for (std::string_view s : split(input)) { ... container initialization example: auto parts = split(input); std::vector<std::string> strings; strings.assign(parts.begin(), parts.end()); Signed-off-by: Casey Bodley <cbodley@redhat.com>