MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SplitWords

Function SplitWords

TombEngine/Specific/trutils.cpp:163–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 std::vector<std::wstring> SplitWords(const std::wstring& input)
164 {
165 std::vector<std::wstring> words;
166 std::wstringstream stream(input);
167 std::wstring word;
168
169 while (stream >> word)
170 words.push_back(word);
171
172 return words;
173 }
174
175 int GetHash(const std::string& string)
176 {

Callers 1

AddStringMethod · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected