MCPcopy Create free account
hub / github.com/ccache/ccache / split_into

Function split_into

src/ccache/util/string.cpp:42–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41template<typename T>
42std::vector<T>
43split_into(std::string_view string,
44 const char* separators,
45 util::Tokenizer::Mode mode,
46 util::Tokenizer::IncludeDelimiter include_delimiter)
47
48{
49 std::vector<T> result;
50 for (const auto token :
51 util::Tokenizer(string, separators, mode, include_delimiter)) {
52 result.emplace_back(token);
53 }
54 return result;
55}
56
57} // namespace
58

Callers

nothing calls this directly

Calls 1

TokenizerClass · 0.85

Tested by

no test coverage detected