23std::vector<std::string>
Split(std::string_view str, std::string_view delims,
bool skipEmpty )
25 std::vector<std::string> out;
29 while ((end = str.find_first_of(delims, beg)) != std::string::npos) {
30 if (!skipEmpty || end > beg)
31 out.emplace_back(str.substr(beg, end - beg));
34 if (!skipEmpty || str.size() > beg)
35 out.emplace_back(str.substr(beg, str.size() - beg));
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
std::vector< std::string > Split(std::string_view str, std::string_view delims, bool skipEmpty=false)
Splits a string at each character in delims.