Mercurial > minori
diff include/core/strings.h @ 231:69f4768a820c
chore: merge divergent branches
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:43:41 -0500 |
parents | f784b5b1914c |
children | 862d0d8619f6 |
line wrap: on
line diff
--- a/include/core/strings.h Sat Jan 13 09:42:02 2024 -0500 +++ b/include/core/strings.h Sat Jan 13 09:43:41 2024 -0500 @@ -3,6 +3,7 @@ #include <string> #include <vector> +#include <set> #include <sstream> #include <cstdint> @@ -16,6 +17,7 @@ * into a string, separated by delimiters. */ std::string Implode(const std::vector<std::string>& vector, const std::string& delimiter); +std::string Implode(const std::set<std::string>& set, const std::string& delimiter); std::vector<std::string> Split(const std::string &text, const std::string& delimiter); /* Substring removal functions */