utils: introduce trim()

This commit is contained in:
2021-10-03 16:47:35 +02:00
parent 164b2c19ee
commit 5037a17fba
2 changed files with 19 additions and 0 deletions

View File

@@ -93,5 +93,7 @@ template <class T> inline std::string toString(const T &v)
return std::string(v.begin(), v.end());
}
std::string trim(const std::string &str);
} // namespace utils
#endif