You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it will not generate the expected std::vectorstd::string, because some element is "", so maybe it is better to add a code to remove "". res.erase(std::remove(res.begin(), res.end(), ""), res.end());
The text was updated successfully, but these errors were encountered:
tianjixuetu
changed the title
【bug】tools.cpp - split_string function didn't not cover some situations
tools.cpp - split_string function didn't not cover some situations
Mar 10, 2024
for example, test some situation:
it will not generate the expected std::vectorstd::string, because some element is "", so maybe it is better to add a code to remove "".
res.erase(std::remove(res.begin(), res.end(), ""), res.end());
The text was updated successfully, but these errors were encountered: