12 s.erase(
remove(s.begin(), s.end(),
' '), s.end());
13 s.erase(
remove(s.begin(), s.end(),
'\t'), s.end());
20 auto const pos = path.find(
":");
21 if (pos == string::npos) {
22 pname_path = std::make_pair(
"", path);
25 pname_path = make_pair(path.substr(0, pos), path.substr(pos + 1));
void parse_path_spec(std::string path_spec, std::pair< std::string, std::string > &output)
void remove_whitespace(std::string &)